Skip to content

Commit

Permalink
Resolves #38.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjordan committed Mar 31, 2019
1 parent 8d23b76 commit b94a31c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,15 +273,15 @@ See [CONTRIBUTING.md](docs/CONTRIBUTING.md). Functional and unit tests, and addi

### Running tests

Riprap uses the PHPUnit Bridge component, which, while [recommended practice](https://symfony.com/doc/current/testing.html), is overly complex. To get this to install properly, you need to use Composer to first remove the PHPUnit Bridge component, and then reinstall it:
Riprap uses the PHPUnit Bridge component, which, while [recommended practice](https://symfony.com/doc/current/testing.html), is overly complex. To get this to install properly, you need to use Composer to first remove the PHPUnit Bridge component, and then reinstall it, as described in the Symfony documentation:

`composer remove symfony/phpunit-bridge`
`composer require symfony/phpunit-bridge`

Reinstalling it installs PHPUnit and all of its dependencies. Once that is complete, from within the `riprap` directory, run:
1. `composer remove symfony/phpunit-bridge`
1. `composer require --dev symfony/phpunit-bridge`

`./bin/phpunit`

Running this command after reinstalling PHPUnit Bridge installs PHPUnit and all of its dependencies, and then runs the Riprap tests.

### Coding standards

Riprap follows the [PSR2](https://www.php-fig.org/psr/psr-2/) coding standard. To check you code, from within the `riprap` directory, run:
Expand Down

0 comments on commit b94a31c

Please sign in to comment.