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 12
12
"phpcompatibility/phpcompatibility-wp" : " ^2"
13
13
},
14
14
"require-dev" : {
15
- "wp-coding-standards/wpcs" : " ^1"
15
+ "wp-coding-standards/wpcs" : " ^1" ,
16
+ "overtrue/phplint" : " ^1.2"
16
17
},
17
18
"scripts" : {
18
19
"post-update-cmd" : [
22
23
" cd php52; composer install; cd .."
23
24
],
24
25
"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"
26
28
}
27
29
}
You can’t perform that action at this time.
0 commit comments