Skip to content

Fix Namespace_ stmts type parameter definition #956

Fix Namespace_ stmts type parameter definition

Fix Namespace_ stmts type parameter definition #956

Triggered via pull request October 19, 2025 11:17
Status Failure
Total duration 1m 8s
Artifacts

main.yml

on: pull_request
PHP 7.4 Unit Tests (with coverage)
14s
PHP 7.4 Unit Tests (with coverage)
PHP 7.4 Code on PHP 8.4 Integration Tests
35s
PHP 7.4 Code on PHP 8.4 Integration Tests
PHP 8.4 Code on PHP 7.4 Integration Tests
1m 4s
PHP 8.4 Code on PHP 7.4 Integration Tests
PHPStan
28s
PHPStan
PHP-CS-Fixer
15s
PHP-CS-Fixer
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors
PHP 7.4 Unit Tests (with coverage)
Process completed with exit code 2.
PHP 8.3 Unit Tests
Process completed with exit code 2.
PHP 8.4 Unit Tests
Process completed with exit code 2.
PHP 8.5 Unit Tests
Process completed with exit code 2.
PHP 8.2 Unit Tests
Process completed with exit code 2.
PHP 8.1 Unit Tests
Process completed with exit code 2.
PHPStan
Process completed with exit code 1.
PHPStan: lib/PhpParser/Parser/Php8.php#L1418
Parameter #2 $stmts of class PhpParser\Node\Stmt\Namespace_ constructor expects array<PhpParser\Node\Stmt>, null given.
PHPStan: lib/PhpParser/Parser/Php7.php#L1429
Parameter #2 $stmts of class PhpParser\Node\Stmt\Namespace_ constructor expects array<PhpParser\Node\Stmt>, null given.
PHP 8.0 Unit Tests
Process completed with exit code 2.