Skip to content

fix: CI — remove invalid PHPCS sniff, add WooCommerce stubs, ignore W… #4

fix: CI — remove invalid PHPCS sniff, add WooCommerce stubs, ignore W…

fix: CI — remove invalid PHPCS sniff, add WooCommerce stubs, ignore W… #4

Triggered via push March 1, 2026 23:55
Status Failure
Total duration 36s
Artifacts

ci.yml

on: push
PHP Coding Standards
22s
PHP Coding Standards
Static Analysis
33s
Static Analysis
PHP 7.4 Compatibility
18s
PHP 7.4 Compatibility
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 10 warnings
PHP Coding Standards: includes/class-webdecoy-activator.php#L27
Tabs must be used to indent lines; spaces are not allowed
PHP Coding Standards: includes/class-webdecoy-activator.php#L26
Tabs must be used to indent lines; spaces are not allowed
PHP Coding Standards: includes/class-webdecoy-activator.php#L24
Tabs must be used to indent lines; spaces are not allowed
PHP Coding Standards: includes/class-webdecoy-activator.php#L23
Tabs must be used to indent lines; spaces are not allowed
PHP Coding Standards: includes/class-webdecoy-activator.php#L22
Tabs must be used to indent lines; spaces are not allowed
PHP Coding Standards: includes/class-webdecoy-activator.php#L21
Tabs must be used to indent lines; spaces are not allowed
PHP Coding Standards: includes/class-webdecoy-activator.php#L20
Opening brace should be on the same line as the declaration for class WebDecoy_Activator
PHP Coding Standards: includes/class-webdecoy-activator.php#L13
Tabs must be used to indent lines; spaces are not allowed
PHP Coding Standards: includes/class-webdecoy-activator.php#L12
Expected 1 spaces before closing parenthesis; 0 found
PHP Coding Standards: includes/class-webdecoy-activator.php#L12
Expected 1 spaces after opening parenthesis; 0 found
Static Analysis: webdecoy.php#L1376
Unreachable statement - code above always terminates.
Static Analysis: webdecoy.php#L1226
Unreachable statement - code above always terminates.
Static Analysis: webdecoy.php#L1217
Unreachable statement - code above always terminates.
Static Analysis: webdecoy.php#L1207
Unreachable statement - code above always terminates.
Static Analysis: webdecoy.php#L281
Strict comparison using === between string and false will always evaluate to false.
Static Analysis: includes/class-webdecoy-behavioral-scorer.php#L178
Strict comparison using === between mixed~(0|0.0|''|'0'|array{}|false|null) and '0' will always evaluate to false.
Static Analysis: includes/class-webdecoy-behavioral-scorer.php#L150
Else branch is unreachable because ternary operator condition is always true.
Static Analysis: includes/class-webdecoy-behavioral-scorer.php#L150
Comparison operation ">" between 1|2|3 and 0 is always true.
Static Analysis: admin/partials/blocked-ips-page.php#L34
Right side of && is always true.
Static Analysis: admin/partials/blocked-ips-page.php#L21
Right side of && is always true.
PHP Coding Standards: includes/class-webdecoy-activator.php#L148
Array double arrow not aligned correctly; expected 14 space(s) between "'block_action'" and double arrow, but found 1.
PHP Coding Standards: includes/class-webdecoy-activator.php#L145
Array double arrow not aligned correctly; expected 10 space(s) between "'custom_allowlist'" and double arrow, but found 1.
PHP Coding Standards: includes/class-webdecoy-activator.php#L144
Array double arrow not aligned correctly; expected 9 space(s) between "'block_ai_crawlers'" and double arrow, but found 1.
PHP Coding Standards: includes/class-webdecoy-activator.php#L143
Array double arrow not aligned correctly; expected 9 space(s) between "'allow_social_bots'" and double arrow, but found 1.
PHP Coding Standards: includes/class-webdecoy-activator.php#L142
Array double arrow not aligned correctly; expected 6 space(s) between "'allow_search_engines'" and double arrow, but found 1.
PHP Coding Standards: includes/class-webdecoy-activator.php#L139
Array double arrow not aligned correctly; expected 10 space(s) between "'min_threat_level'" and double arrow, but found 1.
PHP Coding Standards: includes/class-webdecoy-activator.php#L138
Array double arrow not aligned correctly; expected 8 space(s) between "'min_score_to_block'" and double arrow, but found 1.
PHP Coding Standards: includes/class-webdecoy-activator.php#L137
Array double arrow not aligned correctly; expected 15 space(s) between "'sensitivity'" and double arrow, but found 1.
PHP Coding Standards: includes/class-webdecoy-activator.php#L136
Array double arrow not aligned correctly; expected 19 space(s) between "'enabled'" and double arrow, but found 1.
PHP Coding Standards: includes/class-webdecoy-activator.php#L133
Array double arrow not aligned correctly; expected 19 space(s) between "'api_key'" and double arrow, but found 1.