Skip to content

Commit

Permalink
Make commands executable in IDE (#301)
Browse files Browse the repository at this point in the history
Co-authored-by: Christopher Georg <[email protected]>
  • Loading branch information
Chris53897 and Chris8934 authored Mar 14, 2024
1 parent abccc17 commit dd72784
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 10 deletions.
4 changes: 2 additions & 2 deletions doc/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ Perform the following steps to install and use the basic functionality of the On

Download the bundle via composer:

```
$> php composer.phar require oneup/flysystem-bundle
```sh
composer require oneup/flysystem-bundle
```

Composer will now fetch and install this bundle in the vendor directory `vendor/oneup`
Expand Down
26 changes: 18 additions & 8 deletions doc/tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,33 @@ Testing the Bundle

In order to run the UnitTests of this bundle, clone it first

$> git clone git://github.com/1up-lab/OneupFlysystemBundle.git
```sh
git clone git://github.com/1up-lab/OneupFlysystemBundle.git
```

After the cloning process, install all vendors by running the corresponding composer command.

$> composer install --dev
```sh
composer install --dev
```

## Run PHPUnit
You can run the unit tests by simply performing the follwowing command:
You can run the unit tests by simply performing the following command:

$> vendor/bin/phpunit
```sh
git vendor/bin/phpunit
```

## Run PHPStan
You can run the static php analyzer by simply performing the follwowing command:
You can run the static php analyzer by simply performing the following command:

$> vendor/bin/phpstan analyze src/ tests/ --level=max
```sh
vendor/bin/phpstan analyze src/ tests/ --level=max
```

## Run php-cs-fixer
You can run the php code style fixer by simply performing the follwowing command:
You can run the php code style fixer by simply performing the following command:

$> vendor/bin/php-cs-fixer fix
```sh
vendor/bin/php-cs-fixer fix
```

0 comments on commit dd72784

Please sign in to comment.