Skip to content

Update prefixes

Update prefixes #1079

Triggered via pull request August 5, 2024 05:05
Status Failure
Total duration 37s
Artifacts

basic-qa.yml

on: pull_request
Run code sniffs
27s
Run code sniffs
PHPStan
26s
PHPStan
Matrix: ruleset-tests
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 4 warnings
Ruleset test: PHP latest on PHPCS dev
Process completed with exit code 1.
Ruleset test: PHP latest on PHPCS stable
The job was canceled because "latest_dev" failed.
Ruleset test: PHP latest on PHPCS stable
Process completed with exit code 1.
Ruleset test: PHP latest on PHPCS lowest
The job was canceled because "latest_dev" failed.
Ruleset test: PHP latest on PHPCS lowest
Process completed with exit code 1.
Run code sniffs: WordPress/Tests/DateTime/CurrentTimeTimestampUnitTest.php#L10
Namespaces declared by a theme/plugin should start with the theme/plugin prefix. Found: "WordPressCS\WordPress\Tests\DateTime".
Run code sniffs: WordPress/Tests/PHP/PregQuoteDelimiterUnitTest.php#L10
Namespaces declared by a theme/plugin should start with the theme/plugin prefix. Found: "WordPressCS\WordPress\Tests\PHP".
Run code sniffs: WordPress/Tests/DateTime/RestrictedFunctionsUnitTest.php#L10
Namespaces declared by a theme/plugin should start with the theme/plugin prefix. Found: "WordPressCS\WordPress\Tests\DateTime".
Run code sniffs: Tests/bootstrap.php#L18
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "PHP_CODESNIFFER_IN_TESTS".
Run code sniffs: Tests/bootstrap.php#L21
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$ds".
Run code sniffs: Tests/bootstrap.php#L27
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$phpcsDir".
Run code sniffs: Tests/bootstrap.php#L28
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$composerPHPCSPath".
Run code sniffs: Tests/bootstrap.php#L32
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$phpcsDir".
Run code sniffs: Tests/bootstrap.php#L38
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$phpcsDir".
Run code sniffs: Tests/bootstrap.php#L63
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$wpcsStandards".
Run code sniffs
Process completed with exit code 2.
Run code sniffs: WordPress/Sniffs/NamingConventions/PrefixAllGlobalsSniff.php#L581
Found precision alignment of 2 spaces.
Run code sniffs: WordPress/Sniffs/NamingConventions/PrefixAllGlobalsSniff.php#L581
var_dump() found. Debug code should not normally be used in production.
Run code sniffs: WordPress/Sniffs/NamingConventions/PrefixAllGlobalsSniff.php#L737
Found precision alignment of 2 spaces.
Run code sniffs: WordPress/Sniffs/NamingConventions/PrefixAllGlobalsSniff.php#L737
var_dump() found. Debug code should not normally be used in production.