Feature - Oxygen builder integration #1818
pr-code-sniff.yml
on: pull_request
Code sniff (PHP 7.4 , WP Latest)
21s
Annotations
11 errors and 3 warnings
Code sniff (PHP 7.4 , WP Latest)
Process completed with exit code 2.
|
Code sniff (PHP 7.4 , WP Latest):
addons/Addons.php#L1
Filenames should be all lowercase with hyphens as word separators. Expected addons.php, but found Addons.php.
|
Code sniff (PHP 7.4 , WP Latest):
addons/Addons.php#L1
Class file names should be based on the class name with "class-" prepended. Expected class-addons.php, but found Addons.php.
|
Code sniff (PHP 7.4 , WP Latest):
addons/Addons.php#L47
The magic class constant ClassName::class was not available in PHP 5.4 or earlier
|
Code sniff (PHP 7.4 , WP Latest):
addons/OxygenBuilder/Helper.php#L1
Filenames should be all lowercase with hyphens as word separators. Expected helper.php, but found Helper.php.
|
Code sniff (PHP 7.4 , WP Latest):
addons/OxygenBuilder/Helper.php#L1
Class file names should be based on the class name with "class-" prepended. Expected class-helper.php, but found Helper.php.
|
Code sniff (PHP 7.4 , WP Latest):
addons/OxygenBuilder/Helper.php#L51
Expected 1 space after FUNCTION keyword; 0 found
|
Code sniff (PHP 7.4 , WP Latest):
addons/OxygenBuilder/OxygenBuilder.php#L1
Filenames should be all lowercase with hyphens as word separators. Expected oxygenbuilder.php, but found OxygenBuilder.php.
|
Code sniff (PHP 7.4 , WP Latest):
addons/OxygenBuilder/OxygenBuilder.php#L1
Class file names should be based on the class name with "class-" prepended. Expected class-oxygenbuilder.php, but found OxygenBuilder.php.
|
Code sniff (PHP 7.4 , WP Latest):
addons/OxygenBuilder/OxygenBuilder.php#L7
There must be exactly one blank line after the file comment
|
Code sniff (PHP 7.4 , WP Latest):
addons/OxygenBuilder/OxygenBuilder.php#L53
Function closing brace must go on the next line following the body; found 1 blank lines before brace
|
Code sniff (PHP 7.4 , WP Latest)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
|
Code sniff (PHP 7.4 , WP Latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Code sniff (PHP 7.4 , WP Latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|