Skip to content

PHPStan level 9

PHPStan level 9 #296

Triggered via pull request July 3, 2025 14:56
Status Failure
Total duration 30s
Artifacts

code-quality.yml

on: pull_request
code-quality  /  Lint GitHub Actions workflows
5s
code-quality / Lint GitHub Actions workflows
code-quality  /  Lint PHP files
15s
code-quality / Lint PHP files
code-quality  /  Lint Gherkin Feature files
13s
code-quality / Lint Gherkin Feature files
code-quality  /  Spell check
8s
code-quality / Spell check
code-quality  /  PHPCS
17s
code-quality / PHPCS
code-quality  /  PHPStan
27s
code-quality / PHPStan
Fit to window
Zoom out
Zoom in

Annotations

10 errors
code-quality / PHPCS
Process completed with exit code 1.
code-quality / PHPCS: tests/phpstan/scan-files.php#L9
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "DB_COLLATE".
code-quality / PHPCS: tests/phpstan/scan-files.php#L8
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "DB_CHARSET".
code-quality / PHPCS: tests/phpstan/scan-files.php#L7
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "DB_PASSWORD".
code-quality / PHPCS: tests/phpstan/scan-files.php#L6
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "DB_USER".
code-quality / PHPCS: tests/phpstan/scan-files.php#L5
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "DB_NAME".
code-quality / PHPCS: tests/phpstan/scan-files.php#L4
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "DB_HOST".
code-quality / PHPCS: tests/phpstan/scan-files.php#L3
Namespace declarations without a namespace name are not allowed.
code-quality / PHPCS: tests/phpstan/scan-files.php#L3
Namespace declarations using the curly brace syntax are not allowed.
code-quality / PHPCS
Process completed with exit code 1.