File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -138,14 +138,14 @@ Add the PHP tools as NPM scripts to package.json – see the full example in [e
138138
139139 "phpstan" : " ./vendor/bin/phpstan --no-progress analyse" ,
140140
141- "phpcs" : " ./vendor/bin/php-cs-fixer fix --verbose --diff --dry-run" ,
142- "phpcs:apply" : " ./vendor/bin/php-cs-fixer fix --verbose --diff" ,
141+ "phpcs" : " npm run phpcs:apply -- --dry-run" ,
142+ "phpcs:apply" : " ./vendor/bin/php-cs-fixer fix --verbose --diff" ,
143143
144- "rector" : " ./vendor/bin/ rector process --dry-run" ,
144+ "rector" : " npm run rector:apply -- --dry-run" ,
145145 "rector:apply" : " ./vendor/bin/rector process" ,
146146
147- "phpunit" : " ./vendor/bin/phpunit" ,
148- "phpunit:short" : " npm run phpunit -- --no-coverage" ,
147+ "phpunit" : " ./vendor/bin/phpunit --testdox " ,
148+ "phpunit:short" : " npm run phpunit -- --no-coverage"
149149 }
150150}
151151```
Original file line number Diff line number Diff line change 1212
1313 "phpstan" : " ./vendor/bin/phpstan --no-progress analyse" ,
1414
15- "phpcs" : " ./vendor/bin/php-cs-fixer fix --verbose --diff --dry-run" ,
16- "phpcs:apply" : " ./vendor/bin/php-cs-fixer fix --verbose --diff" ,
15+ "phpcs" : " npm run phpcs:apply -- --dry-run" ,
16+ "phpcs:apply" : " ./vendor/bin/php-cs-fixer fix --verbose --diff" ,
1717
18- "rector" : " ./vendor/bin/ rector process --dry-run" ,
18+ "rector" : " npm run rector:apply -- --dry-run" ,
1919 "rector:apply" : " ./vendor/bin/rector process" ,
2020
21- "phpunit" : " ./vendor/bin/phpunit" ,
22- "phpunit:short" : " npm run phpunit -- --no-coverage" ,
21+ "phpunit" : " ./vendor/bin/phpunit --testdox " ,
22+ "phpunit:short" : " npm run phpunit -- --no-coverage"
2323 }
24- }
24+ }
You can’t perform that action at this time.
0 commit comments