Feature - Bricks Builder Comaptibility #1794
pr-code-sniff.yml
on: pull_request
Code sniff (PHP 7.4 , WP Latest)
18s
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#L48
The magic class constant ClassName::class was not available in PHP 5.4 or earlier
|
Code sniff (PHP 7.4 , WP Latest):
addons/Addons.php#L49
The magic class constant ClassName::class was not available in PHP 5.4 or earlier
|
Code sniff (PHP 7.4 , WP Latest):
addons/BricksBuilder/BricksBuilder.php#L1
Filenames should be all lowercase with hyphens as word separators. Expected bricksbuilder.php, but found BricksBuilder.php.
|
Code sniff (PHP 7.4 , WP Latest):
addons/BricksBuilder/BricksBuilder.php#L1
Class file names should be based on the class name with "class-" prepended. Expected class-bricksbuilder.php, but found BricksBuilder.php.
|
Code sniff (PHP 7.4 , WP Latest):
addons/BricksBuilder/BricksBuilder.php#L7
There must be exactly one blank line after the file comment
|
Code sniff (PHP 7.4 , WP Latest):
addons/BricksBuilder/BricksBuilder.php#L69
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):
addons/BricksBuilder/BricksFormWidget.php#L1
Filenames should be all lowercase with hyphens as word separators. Expected bricksformwidget.php, but found BricksFormWidget.php.
|
Code sniff (PHP 7.4 , WP Latest):
addons/BricksBuilder/BricksFormWidget.php#L1
Class file names should be based on the class name with "class-" prepended. Expected class-bricksformwidget.php, but found BricksFormWidget.php.
|
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/
|