File tree Expand file tree Collapse file tree 3 files changed +4
-7
lines changed Expand file tree Collapse file tree 3 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 66install : composer install --no-interaction --prefer-source
77script :
88 - bin/phpunit
9- - bin/phpcs --standard=Magento Magento/ --extensions=php
9+ - vendor/ bin/phpcs --standard=Magento Magento/ --extensions=php
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ Or require `magento/magento-coding-standard` inside your project using `compose
1818#### Verify installation
1919Command should return the list of installed coding standards including Magento.
2020```
21- $ bin/phpcs -i
21+ $ vendor/ bin/phpcs -i
2222```
2323### Usage
2424Once installed, you can run ` phpcs ` from the command-line to analyse your code ` MyAwesomeExtension `
Original file line number Diff line number Diff line change 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}
You can’t perform that action at this time.
0 commit comments