Skip to content

feat: add rule to prevent comments after attributes #21764

feat: add rule to prevent comments after attributes

feat: add rule to prevent comments after attributes #21764

Triggered via pull request September 13, 2025 12:35
Status Failure
Total duration 6m 57s
Artifacts 6

phar.yml

on: pull_request
Download base SHA PHAR
0s
Download base SHA PHAR
integration-tests  /  Check PHAR checksum
4s
integration-tests / Check PHAR checksum
extension-tests  /  Check PHAR checksum
8s
extension-tests / Check PHAR checksum
other-tests  /  Check PHAR checksum
7s
other-tests / Check PHAR checksum
Commit PHAR
Commit PHAR
Checksum PHAR
Checksum PHAR
PHAR Prefix Diff
PHAR Prefix Diff
Matrix: integration-tests / integration-run-phpstan
Matrix: integration-tests / integration-tests
Matrix: extension-tests / Extension Tests
Matrix: other-tests / Other Tests
integration-tests  /  Integration - Update baselines
0s
integration-tests / Integration - Update baselines
Fit to window
Zoom out
Zoom in

Annotations

61 errors and 1 notice
extension-tests / Extension Tests (7.4, phpstan-nette)
Process completed with exit code 2.
extension-tests / Extension Tests (7.4, phpstan-beberlei-assert)
Process completed with exit code 2.
extension-tests / Extension Tests (7.4, phpstan-phpunit)
Process completed with exit code 2.
extension-tests / Extension Tests (7.4, phpstan-mockery)
Process completed with exit code 2.
extension-tests / Extension Tests (7.4, phpstan-strict-rules)
Process completed with exit code 2.
extension-tests / Extension Tests (7.4, phpstan-webmozart-assert)
Process completed with exit code 2.
extension-tests / Extension Tests (7.4, phpstan-deprecation-rules)
Process completed with exit code 2.
other-tests / Other Tests (ubuntu-latest, 7.4, cd e2e/dup-classes ../../phpstan )
Process completed with exit code 255.
extension-tests / Extension Tests (7.4, phpstan-symfony)
Process completed with exit code 2.
extension-tests / Extension Tests (7.4, phpdoc-parser)
Process completed with exit code 2.
integration-tests / Integration - Rector tests
Process completed with exit code 1.
integration-tests / Integration - Rector tests
Cannot apply patch 0 (https://raw.githubusercontent.com/rectorphp/vendor-patches/main/patches/symfony-console-helper-helper-php.patch)!
extension-tests / Extension Tests (8.5, phpstan-mockery)
Process completed with exit code 2.
integration-tests / Integration - rectorphp/rector-src
Process completed with exit code 1.
integration-tests / Integration - rectorphp/rector-src
Process completed with exit code 1.
integration-tests / Integration - rectorphp/rector-src
Cannot apply patch 0 (https://raw.githubusercontent.com/rectorphp/vendor-patches/main/patches/symfony-console-helper-helper-php.patch)!
extension-tests / Extension Tests (7.4, phpstan-dibi)
Process completed with exit code 2.
extension-tests / Extension Tests (7.4, phpstan-doctrine)
Process completed with exit code 2.
integration-tests / Integration - bladestan/bladestan
Process completed with exit code 1.
integration-tests / Integration - bladestan/bladestan: src/TemplateCompiler/PHPStan/FileAnalyserProvider.php#L37
Method Bladestan\TemplateCompiler\PHPStan\FileAnalyserProvider::provide() throws checked exception PHPStan\DependencyInjection\MissingServiceException but it's missing from the PHPDoc `@throws` tag.
integration-tests / Integration - bladestan/bladestan: src/NodeAnalyzer/ViewVariableAnalyzer.php#L50
Method Bladestan\NodeAnalyzer\ViewVariableAnalyzer::resolve() throws checked exception ValueError but it's missing from the PHPDoc `@throws` tag.
integration-tests / Integration - shipmonk-rnd/phpstan-rules
Process completed with exit code 1.
integration-tests / Integration - shipmonk-rnd/phpstan-rules
Process completed with exit code 1.
integration-tests / Integration - shipmonk-rnd/phpstan-rules: src/Rule/ForbidCheckedExceptionInCallableRule.php#L0
Ignored error pattern #^Method PHPStan\\Analyser\\NodeScopeResolver\:\:processExprNode\(\) invoked with 5 parameters, 6 required\.$# (arguments.count) in path /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/Rule/ForbidCheckedExceptionInCallableRule.php was not matched in reported errors.
integration-tests / Integration - laravel/framework
Process completed with exit code 1.
integration-tests / Integration - laravel/framework: types/Support/Helpers.php#L66
Unreachable statement - code above always terminates.
integration-tests / Integration - laravel/framework: types/Support/Helpers.php#L47
Unreachable statement - code above always terminates.
integration-tests / Integration - Larastan tests PHP 8.3, ^11.15
Process completed with exit code 1.
other-tests / Other Tests (7.4, windows-latest, cd e2e/name-conflict composer install cp ../../phpstan vendor/p...
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677

Artifacts

Produced during runtime
Name Size Digest
baselines-bladestan-baseline.neon
510 Bytes
sha256:7e4b20c41d5b945a3ec1c1a509f15299d73046cac8586c133b4ad91e800e8d70
baselines-laravel-types-baseline.neon
317 Bytes
sha256:1544d5f23288efd254a2ad41c597a7a97995f5ceb281dcd513dfef6b8336c0be
baselines-rector-baseline.neon
506 Bytes
sha256:c0a20ca7ee7dcd441c7a057b3257a5a924f0a2a572295df018a460230af8ba29
baselines-shipmonk-rnd-baseline.neon
371 Bytes
sha256:d18f696bcd9bc4b97f5f6b85f4d334bff276309431352f6edb6421c30815d0c9
phar-file
3.66 MB
sha256:ee30c20c787c237ff02befc609c8be4c0cd23d235ca74ef9dc4398a6c870d4f2
phar-file-checksum
3.66 MB
sha256:a5e7f0b56efbe22f3860274be04696fc14373a4996b0e24b2520194a0dab670d