File tree Expand file tree Collapse file tree 3 files changed +587
-11
lines changed Expand file tree Collapse file tree 3 files changed +587
-11
lines changed Original file line number Diff line number Diff line change 1+ path : ./
2+ jobs : 10
3+ cache : build/phplint.cache
4+ extensions :
5+ - php
6+ exclude :
7+ - vendor
Original file line number Diff line number Diff line change 1212 "phpcompatibility/phpcompatibility-wp" : " ^2"
1313 },
1414 "require-dev" : {
15- "wp-coding-standards/wpcs" : " ^1"
15+ "wp-coding-standards/wpcs" : " ^1" ,
16+ "overtrue/phplint" : " ^1.2"
1617 },
1718 "scripts" : {
1819 "post-update-cmd" : [
2223 " cd php52; composer install; cd .."
2324 ],
2425 "phpcs" : " phpcs --standard=src/ruleset-wordpress.xml wpengine-phpcompat.php load-files.php src/*.php" ,
25- "phpcs:fix" : " phpcbf --standard=src/ruleset-wordpress.xml wpengine-phpcompat.php load-files.php src/*.php"
26+ "phpcs:fix" : " phpcbf --standard=src/ruleset-wordpress.xml wpengine-phpcompat.php load-files.php src/*.php" ,
27+ "lint" : " phplint --no-cache --exclude=vendor"
2628 }
2729}
You can’t perform that action at this time.
0 commit comments