Skip to content

Move attribute handling into parser #580

Move attribute handling into parser

Move attribute handling into parser #580

Triggered via push August 13, 2023 08:40
Status Failure
Total duration 1m 10s
Artifacts

main.yml

on: push
PHP 7.1 Unit Tests (with coverage)
48s
PHP 7.1 Unit Tests (with coverage)
PHP 7.3 Code on PHP 8.0 Integration Tests
35s
PHP 7.3 Code on PHP 8.0 Integration Tests
PHP 8.2 Code on PHP 7.1 Integration Tests
59s
PHP 8.2 Code on PHP 7.1 Integration Tests
Matrix: phpstan
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

12 errors
PHP 7.2 Unit Tests
Process completed with exit code 1.
PHP 7.4 Unit Tests
The job was canceled because "_7_2" failed.
PHP 7.3 Unit Tests
The job was canceled because "_7_2" failed.
PHP 8.2 PHPStan: lib/PhpParser/ParserAbstract.php#L1
Ignored error pattern #^Variable \$tokenValue might not be defined\.$# in path /home/runner/work/PHP-Parser/PHP-Parser/lib/PhpParser/ParserAbstract.php was not matched in reported errors.
PHP 8.2 PHPStan: lib/PhpParser/ParserAbstract.php#L160
Property PhpParser\ParserAbstract::$dropTokens (array<int, bool>) does not accept array<int, int>.
PHP 8.2 PHPStan: lib/PhpParser/ParserAbstract.php#L476
Method PhpParser\ParserAbstract::getAttributes() return type has no value type specified in iterable type array.
PHP 8.2 PHPStan: lib/PhpParser/ParserAbstract.php#L494
Method PhpParser\ParserAbstract::getAttributesForToken() has no return type specified.
PHP 8.2 PHPStan: lib/PhpParser/ParserAbstract.php#L899
Method PhpParser\ParserAbstract::getCommentsBeforeToken() return type has no value type specified in iterable type array.
PHP 8.2 PHPStan: lib/PhpParser/ParserAbstract.php#L920
PHPDoc tag @param references unknown parameter: $comments
PHP 8.2 PHPStan: lib/PhpParser/ParserAbstract.php#L920
PHPDoc tag @return with type array<string, mixed> is incompatible with native type PhpParser\Node\Stmt\Nop|null.
PHP 8.2 PHPStan
Process completed with exit code 1.
PHP 7.1 Unit Tests (with coverage)
Process completed with exit code 1.