File tree 3 files changed +4
-7
lines changed
3 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 6
6
install : composer install --no-interaction --prefer-source
7
7
script :
8
8
- 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
18
18
#### Verify installation
19
19
Command should return the list of installed coding standards including Magento.
20
20
```
21
- $ bin/phpcs -i
21
+ $ vendor/ bin/phpcs -i
22
22
```
23
23
### Usage
24
24
Once installed, you can run ` phpcs ` from the command-line to analyse your code ` MyAwesomeExtension `
Original file line number Diff line number Diff line change 13
13
"require-dev" : {
14
14
"phpunit/phpunit" : " ^4.0 || ^5.0 || ^6.0 || ^7.0"
15
15
},
16
- "config" : {
17
- "bin-dir" : " bin"
18
- },
19
16
"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 ../../.."
22
19
}
23
20
}
You can’t perform that action at this time.
0 commit comments