Skip to content

Commit f71798a

Browse files
author
Robert Egginton
committed
Updated paths for phpunit and README.md
1 parent b8f3d43 commit f71798a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ php:
55
- 7.1
66
install: composer install --no-interaction --prefer-source
77
script:
8-
- bin/phpunit
8+
- vendor/bin/phpunit
99
- vendor/bin/phpcs --standard=Magento Magento/ --extensions=php

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ $ vendor/bin/phpcs -i
2323
### Usage
2424
Once installed, you can run `phpcs` from the command-line to analyse your code `MyAwesomeExtension`
2525
```
26-
$ bin/phpcs --standard=Magento app/code/MyAwesomeExtension
26+
$ vendor/bin/phpcs --standard=Magento app/code/MyAwesomeExtension
2727
```
2828
## Where to contribute
2929
- Documentation of existing rules. See [ExtDN PHP CodeSniffer rules for Magento 2](https://github.com/extdn/extdn-phpcs) as a good example.
@@ -43,7 +43,7 @@ $ bin/phpcs --standard=Magento app/code/MyAwesomeExtension
4343
All rules should be covered by unit tests. Each `Test.php` class should be accompanied by a `Test.inc` file to allow for unit testing based upon the PHP CodeSniffer parent class `AbstractSniffUnitTest`.
4444
You can verify your code by running
4545
```
46-
$ bin/phpunit
46+
$ vendor/bin/phpunit
4747
```
4848

4949
## License

0 commit comments

Comments
 (0)