fix: translate strings on various pages #626
phpcs.yml
on: pull_request
Run PHPCS inspection
21s
Annotations
10 errors and 17 warnings
Run PHPCS inspection:
includes/Free/Form_Element.php#L456
Opening parenthesis of a multi-line function call must be the last content on the line
|
Run PHPCS inspection:
includes/Free/Form_Element.php#L459
Closing parenthesis of a multi-line function call must be on a line by itself
|
Run PHPCS inspection:
includes/Admin/Admin_Subscription.php#L60
A function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
Run PHPCS inspection:
includes/Admin/Admin_Subscription.php#L432
Variable "$timeType_array" is not in valid snake_case format, try "$time_type_array"
|
Run PHPCS inspection:
includes/Admin/Admin_Subscription.php#L443
Variable "$timeType_array" is not in valid snake_case format, try "$time_type_array"
|
Run PHPCS inspection:
includes/Admin/Admin_Subscription.php#L602
Empty IF statement detected
|
Run PHPCS inspection:
includes/Admin/Admin_Subscription.php#L625
A function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
Run PHPCS inspection:
includes/Admin/Admin_Subscription.php#L626
A function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
Run PHPCS inspection:
includes/Admin/Admin_Subscription.php#L719
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
|
Run PHPCS inspection:
includes/Admin/Admin_Subscription.php#L719
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
|
Run PHPCS inspection
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, pat-s/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Run PHPCS inspection
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, pat-s/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run PHPCS inspection
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/
|
Run PHPCS inspection
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/
|
Run PHPCS inspection
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/
|
Run PHPCS inspection
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/
|
Run PHPCS inspection
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/
|
Run PHPCS inspection:
includes/Free/Form_Element.php#L148
This comment is 54% valid code; is this commented out code?
|
Run PHPCS inspection:
includes/Free/Form_Element.php#L357
Stand-alone post-increment statement found. Use pre-increment instead: ++$count.
|
Run PHPCS inspection:
includes/Free/Form_Element.php#L503
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.
|
Run PHPCS inspection:
includes/Admin/Admin_Subscription.php#L60
Processing form data without nonce verification.
|
Run PHPCS inspection:
includes/Admin/Admin_Subscription.php#L60
Processing form data without nonce verification.
|
Run PHPCS inspection:
includes/Admin/Admin_Subscription.php#L102
Loose comparisons are not allowed. Expected: "==="; Found: "=="
|
Run PHPCS inspection:
includes/Admin/Admin_Subscription.php#L129
Loose comparisons are not allowed. Expected: "==="; Found: "=="
|
Run PHPCS inspection:
includes/Admin/Admin_Subscription.php#L141
Loose comparisons are not allowed. Expected: "==="; Found: "=="
|
Run PHPCS inspection:
includes/Admin/Admin_Subscription.php#L170
Loose comparisons are not allowed. Expected: "==="; Found: "=="
|
Run PHPCS inspection:
includes/Admin/Admin_Subscription.php#L209
Loose comparisons are not allowed. Expected: "==="; Found: "=="
|