File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 }
1313 ],
1414 "require" : {
15- "wp-cli/wp-cli" : " ^2.12 "
15+ "wp-cli/wp-cli" : " ^2.13 "
1616 },
1717 "require-dev" : {
1818 "wp-cli/wp-cli-tests" : " ^5"
Original file line number Diff line number Diff line change 5151 </properties >
5252 </rule >
5353
54+ <exclude-pattern >/tests/phpstan/scan-files</exclude-pattern >
5455</ruleset >
Original file line number Diff line number Diff line change @@ -7,7 +7,10 @@ parameters:
77 - vendor/wp-cli/wp-cli/php
88 scanFiles:
99 - vendor/php-stubs/wordpress-stubs/wordpress-stubs.php
10+ - tests/phpstan/scan-files.php
1011 treatPhpDocTypesAsCertain: false
1112 ignoreErrors:
1213 - identifier: missingType.parameter
1314 - identifier: missingType.return
15+ dynamicConstantNames:
16+ - ABSPATH
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ define ( 'ABSPATH ' , '' );
4+ define ( 'MINUTE_IN_SECONDS ' , 60 );
You can’t perform that action at this time.
0 commit comments