File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626 "phpstan/phpstan" : " ^1.10" ,
2727 "szepeviktor/phpstan-wordpress" : " ^1.3" ,
2828 "php-stubs/wordpress-stubs" : " ^6.4" ,
29+ "php-stubs/woocommerce-stubs" : " ^9.0" ,
2930 "dealerdirect/phpcodesniffer-composer-installer" : " ^1.0"
3031 },
3132 "config" : {
Original file line number Diff line number Diff line change 4848 <rule ref =" Generic.Formatting.MultipleStatementAlignment" >
4949 <severity >0</severity >
5050 </rule >
51- <rule ref =" WordPress.WhiteSpace.PrecisionAlignment" >
52- <severity >0</severity >
53- </rule >
5451
5552 <config name =" minimum_supported_wp_version" value =" 5.6" />
5653</ruleset >
Original file line number Diff line number Diff line change 11parameters :
2- level : 5
2+ level : 4
33 paths :
44 - webdecoy.php
55 - includes/
@@ -11,3 +11,10 @@ parameters:
1111 - sdk/src/
1212 bootstrapFiles :
1313 - vendor/php-stubs/wordpress-stubs/wordpress-stubs.php
14+ - vendor/php-stubs/woocommerce-stubs/woocommerce-stubs.php
15+ ignoreErrors :
16+ - ' #Constant ARRAY_A not found #'
17+ - ' #Constant OBJECT_K not found #'
18+ - ' #Constant MINUTE_IN_SECONDS not found #'
19+ - ' #Constant HOUR_IN_SECONDS not found #'
20+ - ' #Constant LOGGED_IN_COOKIE not found #'
You can’t perform that action at this time.
0 commit comments