Skip to content

IntersectionType: Extract describeType() method #25017

IntersectionType: Extract describeType() method

IntersectionType: Extract describeType() method #25017

Triggered via pull request January 17, 2026 18:11
Status Failure
Total duration 4m 49s
Artifacts 1

static-analysis.yml

on: pull_request
Generate baseline
1m 35s
Generate baseline
Generate PHP baseline
1m 42s
Generate PHP baseline
Matrix: PHPStan with result cache
Matrix: PHPStan
Fit to window
Zoom out
Zoom in

Annotations

19 errors and 6 warnings
PHPStan (8.4, ubuntu-latest, 1)
Process completed with exit code 2.
PHPStan (8.4, ubuntu-latest, 1)
Child process error: PHPStan process crashed because it reached configured PHP memory limit: 448M Increase your memory limit in php.ini or run PHPStan with --memory-limit CLI option. while running parallel worker
PHPStan (8.3, ubuntu-latest, 1)
Process completed with exit code 2.
PHPStan (8.3, ubuntu-latest, 1)
Child process error: PHPStan process crashed because it reached configured PHP memory limit: 448M Increase your memory limit in php.ini or run PHPStan with --memory-limit CLI option. while running parallel worker
PHPStan (8.5, ubuntu-latest, 1)
Process completed with exit code 2.
PHPStan (8.5, ubuntu-latest, 1)
Child process error (exit code 255): PHP Fatal error: Allowed memory size of 469762048 bytes exhausted (tried to allocate 262144 bytes) in /home/runner/work/phpstan-src/phpstan-src/vendor/nikic/php-parser/lib/PhpParser/PrettyPrinter/Standard.php on line 649 Stack trace: #0 /home/runner/work/phpstan-src/phpstan-src/vendor/nikic/php-parser/lib/PhpParser/PrettyPrinterAbstract.php(610): PhpParser\PrettyPrinter\Standard->pExpr_ConstFetch(Object(PhpParser\Node\Expr\ConstFetch), 1000, 1000) #1 /home/runner/work/phpstan-src/phpstan-src/vendor/nikic/php-parser/lib/PhpParser/PrettyPrinterAbstract.php(285): PhpParser\PrettyPrinterAbstract->p(Object(PhpParser\Node\Expr\ConstFetch)) #2 /home/runner/work/phpstan-src/phpstan-src/src/Node/Printer/ExprPrinter.php(26): PhpParser\PrettyPrinterAbstract->prettyPrintExpr(Object(PhpParser\Node\Expr\ConstFetch)) #3 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/MutatingScope.php(892): PHPStan\Node\Printer\ExprPrinter->printExpr(Object(PhpParser\Node\Expr\ConstFetch)) #4 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/MutatingScope.php(872): PHPStan\Analyser\MutatingScope->getNodeKey(Object(PhpParser\Node\Expr\ConstFetch)) #5 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(5687): PHPStan\Analyser\MutatingScope->getType(Object(PhpParser\Node\Expr\ConstFetch)) #6 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(4023): PHPStan\Analyser\NodeScopeResolver->processArgs(Object(PhpParser\Node\Stmt\Expression), Object(PHPStan\Reflection\Php\PhpMethodReflection), NULL, Object(PHPStan\Reflection\ExtendedFunctionVariant), Object(PhpParser\Node\Expr\New_), Object(PHPStan\Analyser\MutatingScope), Object(PHPStan\Analyser\ExpressionResultStorage), Object(Closure), Object(PHPStan\Analyser\ExpressionContext)) #7 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(5688): PHPStan\Analyser\NodeScopeResolver->processExprNode(Object(PhpParser\Node\Stmt\Expression), Object(PhpParser\Node\Expr\New_), Object(PHPStan\Analyser\MutatingScope), Object(PHPStan\Analyser\ExpressionResultStorage), Object(Closure), Object(PHPStan\Analyser\ExpressionContext)) #8 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(4023): PHPStan\Analyser\NodeScopeResolver->processArgs(Object(PhpParser\Node\Stmt\Expression), Object(PHPStan\Reflection\Php\PhpMethodReflection), NULL, Object(PHPStan\Reflection\ExtendedFunctionVariant), Object(PhpParser\Node\Expr\New_), Object(PHPStan\Analyser\MutatingScope), Object(PHPStan\Analyser\ExpressionResultStorage), Object(Closure), Object(PHPStan\Analyser\ExpressionContext)) #9 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(3582): PHPStan\Analyser\NodeScopeResolver->processExprNode(Object(PhpParser\Node\Stmt\Expression), Object(PhpParser\Node\Expr\New_), Object(PHPStan\Analyser\MutatingScope), Object(PHPStan\Analyser\ExpressionResultStorage), Object(Closure), Object(PHPStan\Analyser\ExpressionContext)) #10 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(5688): PHPStan\Analyser\NodeScopeResolver->processExprNode(Object(PhpParser\Node\Stmt\Expression), Object(PhpParser\Node\Expr\Array_), Object(PHPStan\Analyser\MutatingScope), Object(PHPStan\Analyser\ExpressionResultStorage), Object(Closure), Object(PHPStan\Analyser\ExpressionContext)) #11 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(4023): PHPStan\Analyser\NodeScopeResolver->processArgs(Object(PhpParser\Node\Stmt\Expression), Object(PHPStan\Reflection\Php\PhpMethodReflection), NULL, Object(PHPStan\Reflection\ExtendedFunctionVariant), Object(PhpParser\Node\Expr\New_), Object(PHPStan\Analyser\MutatingScope), Object(PHPStan\Analyser\ExpressionResultStorage), Object(Closure), Object(PHPStan\Analyser\ExpressionContext)) #12 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(3582): PHPStan\Analyser\NodeScopeResolver->processExprNode(Object(PhpParser\Node\Stmt\Expression), Object(PhpParser\Node\Expr\New_), Object(PHPStan\Analyser\Mu
PHPStan (7.4, ubuntu-latest, 0)
Process completed with exit code 2.
PHPStan (7.4, ubuntu-latest, 0): src/Type/TypeCombinator.php#L1119
Parameter #1 $array (non-empty-list<PHPStan\Type\Type>) of array_values is already a list, call has no effect.
PHPStan (8.4, windows-latest, 0)
Process completed with exit code 1.
PHPStan (8.4, windows-latest, 0)
Child process error: PHPStan process crashed because it reached configured PHP memory limit: 448M Increase your memory limit in php.ini or run PHPStan with --memory-limit CLI option. while running parallel worker
PHPStan (8.1, ubuntu-latest, 1)
Process completed with exit code 1.
PHPStan (8.1, ubuntu-latest, 1)
Process completed with exit code 2.
PHPStan (8.1, ubuntu-latest, 1)
Child process error: PHPStan process crashed because it reached configured PHP memory limit: 448M Increase your memory limit in php.ini or run PHPStan with --memory-limit CLI option. while running parallel worker
PHPStan (8.0, ubuntu-latest, 0)
Process completed with exit code 1.
PHPStan (8.0, ubuntu-latest, 0)
Process completed with exit code 2.
PHPStan (8.0, ubuntu-latest, 0)
Child process error: PHPStan process crashed because it reached configured PHP memory limit: 448M Increase your memory limit in php.ini or run PHPStan with --memory-limit CLI option. while running parallel worker
PHPStan (7.4, windows-latest, 0)
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
PHPStan (7.4, windows-latest, 0)
Process completed with exit code 1.
PHPStan (7.4, windows-latest, 0): src/Type/TypeCombinator.php#L1119
Parameter #1 $array (non-empty-list<PHPStan\Type\Type>) of array_values is already a list, call has no effect.
PHPStan (8.4, ubuntu-latest, 1)
No files were found with the provided path: baseline-php-8.4.neon. No artifacts will be uploaded.
PHPStan (8.3, ubuntu-latest, 1)
No files were found with the provided path: baseline-php-8.3.neon. No artifacts will be uploaded.
PHPStan (8.5, ubuntu-latest, 1)
No files were found with the provided path: baseline-php-8.5.neon. No artifacts will be uploaded.
PHPStan (8.4, windows-latest, 0)
No files were found with the provided path: baseline-php-8.4.neon. No artifacts will be uploaded.
PHPStan (8.1, ubuntu-latest, 1)
No files were found with the provided path: baseline-php-8.1.neon. No artifacts will be uploaded.
PHPStan (8.0, ubuntu-latest, 0)
No files were found with the provided path: baseline-php-8.0.neon. No artifacts will be uploaded.

Artifacts

Produced during runtime
Name Size Digest
baseline-7.4
332 Bytes
sha256:d81f9ff3571a5464b18602523b952887d459535798f46f42bf2bd7a9a0fd2eb4