Skip to content

Namespace fix, 2nd try #20

Namespace fix, 2nd try

Namespace fix, 2nd try #20

Triggered via push December 10, 2023 20:31
Status Failure
Total duration 25s
Artifacts

cs.yml

on: push
Check code style
16s
Check code style
Fit to window
Zoom out
Zoom in

Annotations

8 errors
Check code style: tests/bootstrap.php#L8
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$_tests_dir".
Check code style: tests/bootstrap.php#L11
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$_tests_dir".
Check code style: tests/bootstrap.php#L15
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$_phpunit_polyfills_path".
Check code style: tests/bootstrap.php#L17
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "WP_TESTS_PHPUNIT_POLYFILLS_PATH".
Check code style: tests/bootstrap.php#L31
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "_manually_load_plugin".
Check code style: tests/phpunit/helper-functions/test-class-admin.php#L10
The namespace declaration must follow the file-level docblock in the file header
Check code style
Process completed with exit code 1.
Check code style
Process completed with exit code 1.