Feature/subscription gutenberg block - #1838
Closed
sapayth wants to merge 10 commits into
Closed
Annotations
10 errors and 13 warnings
|
includes/Blocks/SubscriptionPacks.php#L100
Expected 1 space between the comma and "'label'". Found: 15 spaces
|
|
includes/Blocks/SubscriptionPacks.php#L73
Closing parenthesis of a multi-line function call must be on a line by itself
|
|
includes/Blocks/SubscriptionPacks.php#L71
Opening parenthesis of a multi-line function call must be the last content on the line
|
|
includes/Blocks/SubscriptionPacks.php#L48
Closing parenthesis of a multi-line function call must be on a line by itself
|
|
includes/Blocks/SubscriptionPacks.php#L43
Opening parenthesis of a multi-line function call must be the last content on the line
|
|
templates/subscriptions/listing.php#L67
Closing PHP tag must be on a line by itself
|
|
templates/subscriptions/listing.php#L57
Closing PHP tag must be on a line by itself
|
|
templates/subscriptions/listing.php#L56
Array keys must be surrounded by spaces unless they contain a string or an integer.
|
|
templates/subscriptions/listing.php#L56
Expected exactly one space after opening parenthesis; " " found.
|
|
templates/subscriptions/listing.php#L54
The use of count() inside a loop condition is not allowed; assign the return value to a variable and use the variable in the loop condition instead
|
|
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v2, pat-s/always-upload-cache@v1.1.4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
class/subscription.php#L102
wp_redirect() found. Using wp_safe_redirect(), along with the "allowed_redirect_hosts" filter if needed, can help avoid any chances of malicious redirects within code. It is also important to remember to call exit() after a redirect so that no other unwanted code is executed.
|
|
class/subscription.php#L20
This comment is 60% valid code; is this commented out code?
|
|
class/subscription.php#L12
Property name "$_instance" should not be prefixed with an underscore to indicate visibility
|
|
includes/Blocks/SubscriptionPacks.php#L103
When a multi-item array uses associative keys, each value should start on a new line.
|
|
includes/Blocks/SubscriptionPacks.php#L102
When a multi-item array uses associative keys, each value should start on a new line.
|
|
includes/Blocks/SubscriptionPacks.php#L101
When a multi-item array uses associative keys, each value should start on a new line.
|
|
includes/Blocks/SubscriptionPacks.php#L100
When a multi-item array uses associative keys, each value should start on a new line.
|
|
templates/subscriptions/listing.php#L56
Loose comparisons are not allowed. Expected: "==="; Found: "=="
|
|
templates/subscriptions/listing.php#L54
Avoid function calls in a FOR loop test part
|
|
templates/subscriptions/listing.php#L53
Loose comparisons are not allowed. Expected: "!=="; Found: "!="
|
|
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
The logs for this run have expired and are no longer available.
Loading