Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,35 +10,35 @@ Exercism exercises in PHP
### All dependencies

```shell
> ./bin/install.sh
./bin/install.sh
```

### Only tests dependencies

```shell
> ./bin/install-phpunit-9.sh
./bin/install-phpunit-9.sh
```

### Only style-check dependencies

```shell
> ./bin/install-phpcs.sh
./bin/install-phpcs.sh
```

## Running Unit Test Suite

### PHPUnit 9

```shell
> PHPUNIT_BIN="./bin/phpunit-9.phar" ./bin/test.sh
PHPUNIT_BIN="./bin/phpunit-9.phar" ./bin/test.sh
```

## Running Style Checker

### PSR-12 rules

```shell
> PHPCS_BIN="./bin/phpcs.phar" PHPCS_RULES="./phpcs-php.xml" ./bin/lint.sh
PHPCS_BIN="./bin/phpcs.phar" PHPCS_RULES="./phpcs-php.xml" ./bin/lint.sh
```

## Contributing
Expand Down