Skip to content

Commit b8f3d43

Browse files
author
Robert Egginton
committed
Change bin directory
1 parent 2e5e855 commit b8f3d43

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ php:
66
install: composer install --no-interaction --prefer-source
77
script:
88
- bin/phpunit
9-
- bin/phpcs --standard=Magento Magento/ --extensions=php
9+
- vendor/bin/phpcs --standard=Magento Magento/ --extensions=php

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Or require `magento/magento-coding-standard` inside your project using `compose
1818
#### Verify installation
1919
Command should return the list of installed coding standards including Magento.
2020
```
21-
$ bin/phpcs -i
21+
$ vendor/bin/phpcs -i
2222
```
2323
### Usage
2424
Once installed, you can run `phpcs` from the command-line to analyse your code `MyAwesomeExtension`

composer.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,8 @@
1313
"require-dev": {
1414
"phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0"
1515
},
16-
"config": {
17-
"bin-dir": "bin"
18-
},
1916
"scripts": {
20-
"post-install-cmd": "bin/phpcs --config-set installed_paths ../../..",
21-
"post-update-cmd": "bin/phpcs --config-set installed_paths ../../.."
17+
"post-install-cmd": "vendor/bin/phpcs --config-set installed_paths ../../..",
18+
"post-update-cmd": "vendor/bin/phpcs --config-set installed_paths ../../.."
2219
}
2320
}

0 commit comments

Comments
 (0)