File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 ],
1919 "require" : {
2020 "php" : " >=8.2" ,
21- "squizlabs/php_codesniffer" : " ^3.7|^4.0" ,
21+ "squizlabs/php_codesniffer" : " ^3.7|| ^4.0" ,
2222 "dealerdirect/phpcodesniffer-composer-installer" : " ^1.1"
2323 },
2424 "require-dev" : {
25- "phpunit/phpunit" : " ^9.6|^11.5" ,
26- "phpcsstandards/phpcsdevtools" : " ^1.0"
25+ "phpunit/phpunit" : " ^9.6||^11.5" ,
26+ "phpcsstandards/phpcsdevtools" : " ^1.0" ,
27+ "php-parallel-lint/php-parallel-lint" : " ^1.4"
2728 },
2829 "minimum-stability" : " dev" ,
2930 "autoload" : {
3738 }
3839 },
3940 "scripts" : {
41+ "lint" : " @php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --exclude vendor --exclude .git" ,
4042 "cs" : " @php ./vendor/bin/phpcs --standard=yCodeTech" ,
4143 "cbf" : " @php ./vendor/bin/phpcbf --standard=yCodeTech" ,
4244 "test" : [
5658 "check-completeness" : " @php ./vendor/bin/phpcs-check-feature-completeness ./yCodeTech"
5759 },
5860 "scripts-descriptions" : {
61+ "lint" : " Run PHP Parallel Lint to check for syntax errors in PHP files." ,
5962 "cs" : " Run PHPCS to check for coding standards violations." ,
6063 "cbf" : " Run PHPCBF to fix coding standards violations." ,
6164 "test" : " Run PHPUnit tests without code coverage." ,
You can’t perform that action at this time.
0 commit comments