Repository navigation
UnionType: inline array_map() call #24966
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
static-analysis.yml
on: pull_request
Generate baseline
1m 48s
Generate PHP baseline
1m 40s
Matrix: PHPStan with result cache
Matrix: PHPStan
Annotations
24 errors and 8 warnings
|
PHPStan with result cache (8.3)
Process completed with exit code 2.
|
|
PHPStan with result cache (8.3)
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/src/Analyser/NodeScopeResolver.php on line 3928
Stack trace:
#0 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(5694): 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))
#1 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(4029): 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))
#2 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(5694): 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))
#3 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(4029): 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))
#4 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(3588): 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))
#5 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(5694): 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))
#6 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(4029): 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(5694): 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(4029): 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(3588): PHPStan\Analyser\NodeScopeResolver->processExprNode(Object(PhpPa
|
|
PHPStan (8.4, ubuntu-latest, 0)
Process completed with exit code 2.
|
|
PHPStan (8.4, 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 with result cache (8.2)
Process completed with exit code 2.
|
|
PHPStan with result cache (8.2)
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.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 with result cache (8.4)
Process completed with exit code 2.
|
|
PHPStan with result cache (8.4)
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, windows-latest, 0)
Process completed with exit code 1.
|
|
PHPStan (8.3, windows-latest, 0)
Child process error (exit code 255): PHP Fatal error: Allowed memory size of 469762048 bytes exhausted (tried to allocate 262144 bytes) in D:\a\phpstan-src\phpstan-src\src\Rules\Methods\CallStaticMethodsRule.php on line 85
Fatal error: Allowed memory size of 469762048 bytes exhausted (tried to allocate 262144 bytes) in D:\a\phpstan-src\phpstan-src\src\Rules\Methods\CallStaticMethodsRule.php on line 85
PHP Fatal error: Allowed memory size of 469762048 bytes exhausted (tried to allocate 262144 bytes) in D:\a\phpstan-src\phpstan-src\vendor\symfony\console\Helper\Helper.php on line 103
Fatal error: Allowed memory size of 469762048 bytes exhausted (tried to allocate 262144 bytes) in D:\a\phpstan-src\phpstan-src\vendor\symfony\console\Helper\Helper.php on line 103
while running parallel worker
|
|
PHPStan (8.2, windows-latest, 0)
Process completed with exit code 1.
|
|
PHPStan (8.2, 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 (8.5, windows-latest, 0)
Process completed with exit code 1.
|
|
PHPStan (8.5, windows-latest, 0)
Child process error (exit code 255): PHP Fatal error: Allowed memory size of 469762048 bytes exhausted (tried to allocate 262144 bytes) in D:\a\phpstan-src\phpstan-src\vendor\nikic\php-parser\lib\PhpParser\PrettyPrinter\Standard.php on line 33
Stack trace:
#0 D:\a\phpstan-src\phpstan-src\vendor\nikic\php-parser\lib\PhpParser\PrettyPrinterAbstract.php(610): PhpParser\PrettyPrinter\Standard->pArg(Object(PhpParser\Node\Arg), 1000, 1000)
#1 D:\a\phpstan-src\phpstan-src\vendor\nikic\php-parser\lib\PhpParser\PrettyPrinterAbstract.php(475): PhpParser\PrettyPrinterAbstract->p(Object(PhpParser\Node\Arg))
#2 D:\a\phpstan-src\phpstan-src\vendor\nikic\php-parser\lib\PhpParser\PrettyPrinterAbstract.php(490): PhpParser\PrettyPrinterAbstract->pImplode(Array, ', ')
#3 D:\a\phpstan-src\phpstan-src\vendor\nikic\php-parser\lib\PhpParser\PrettyPrinter\Standard.php(1195): PhpParser\PrettyPrinterAbstract->pCommaSeparated(Array)
#4 D:\a\phpstan-src\phpstan-src\vendor\nikic\php-parser\lib\PhpParser\PrettyPrinter\Standard.php(561): PhpParser\PrettyPrinter\Standard->pMaybeMultiline(Array)
#5 D:\a\phpstan-src\phpstan-src\vendor\nikic\php-parser\lib\PhpParser\PrettyPrinterAbstract.php(610): PhpParser\PrettyPrinter\Standard->pExpr_StaticCall(Object(PhpParser\Node\Expr\StaticCall), 1000, 1000)
#6 D:\a\phpstan-src\phpstan-src\vendor\nikic\php-parser\lib\PhpParser\PrettyPrinterAbstract.php(285): PhpParser\PrettyPrinterAbstract->p(Object(PhpParser\Node\Expr\StaticCall))
#7 D:\a\phpstan-src\phpstan-src\src\Node\Printer\ExprPrinter.php(26): PhpParser\PrettyPrinterAbstract->prettyPrintExpr(Object(PhpParser\Node\Expr\StaticCall))
#8 D:\a\phpstan-src\phpstan-src\src\Analyser\MutatingScope.php(892): PHPStan\Node\Printer\ExprPrinter->printExpr(Object(PhpParser\Node\Expr\StaticCall))
#9 D:\a\phpstan-src\phpstan-src\src\Analyser\MutatingScope.php(872): PHPStan\Analyser\MutatingScope->getNodeKey(Object(PhpParser\Node\Expr\StaticCall))
#10 D:\a\phpstan-src\phpstan-src\src\Analyser\MutatingScope.php(4998): PHPStan\Analyser\MutatingScope->getType(Object(PhpParser\Node\Expr\StaticCall))
#11 D:\a\phpstan-src\phpstan-src\src\Analyser\MutatingScope.php(1277): PHPStan\Analyser\MutatingScope->exactInstantiation(Object(PhpParser\Node\Expr\New_), Object(PhpParser\Node\Name\FullyQualified))
#12 D:\a\phpstan-src\phpstan-src\src\Analyser\MutatingScope.php(875): PHPStan\Analyser\MutatingScope->resolveType('new \\PHPStan\\Ty...', Object(PhpParser\Node\Expr\New_))
#13 D:\a\phpstan-src\phpstan-src\src\Analyser\MutatingScope.php(1289): PHPStan\Analyser\MutatingScope->getType(Object(PhpParser\Node\Expr\New_))
#14 D:\a\phpstan-src\phpstan-src\src\Reflection\InitializerExprTypeResolver.php(641): PHPStan\Analyser\MutatingScope->{closure:PHPStan\Analyser\MutatingScope::resolveType():1289}(Object(PhpParser\Node\Expr\New_))
#15 D:\a\phpstan-src\phpstan-src\src\Analyser\MutatingScope.php(1289): PHPStan\Reflection\InitializerExprTypeResolver->getArrayType(Object(PhpParser\Node\Expr\Array_), Object(Closure))
#16 D:\a\phpstan-src\phpstan-src\src\Analyser\MutatingScope.php(875): PHPStan\Analyser\MutatingScope->resolveType('[new \\PHPStan\\T...', Object(PhpParser\Node\Expr\Array_))
#17 D:\a\phpstan-src\phpstan-src\src\Analyser\MutatingScope.php(1289): PHPStan\Analyser\MutatingScope->getType(Object(PhpParser\Node\Expr\Array_))
#18 D:\a\phpstan-src\phpstan-src\src\Reflection\InitializerExprTypeResolver.php(641): PHPStan\Analyser\MutatingScope->{closure:PHPStan\Analyser\MutatingScope::resolveType():1289}(Object(PhpParser\Node\Expr\Array_))
#19 D:\a\phpstan-src\phpstan-src\src\Analyser\MutatingScope.php(1289): PHPStan\Reflection\InitializerExprTypeResolver->getArrayType(Object(PhpParser\Node\Expr\Array_), Object(Closure))
#20 D:\a\phpstan-src\phpstan-src\src\Analyser\MutatingScope.php(875): PHPStan\Analyser\MutatingScope->resolveType('[[new \\PHPStan\\...', Object(PhpParser\Node\Expr\Array_))
#21 D:\a\phpstan-src\phpstan-src\src\Rules\FunctionReturnTypeCheck.php(80): PHPStan\Analyser\MutatingScope->getType(Object(PhpParser\Node\Expr\Array_))
#22 D:\a\phpstan-src\phpstan-src\src\Rules\Methods\Retur
|
|
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, ubuntu-latest, 0)
No files were found with the provided path: baseline-php-8.4.neon. No artifacts will be uploaded.
|
|
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, windows-latest, 0)
No files were found with the provided path: baseline-php-8.3.neon. No artifacts will be uploaded.
|
|
PHPStan (8.2, windows-latest, 0)
No files were found with the provided path: baseline-php-8.2.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.
|
|
PHPStan (8.5, windows-latest, 0)
No files were found with the provided path: baseline-php-8.5.neon. No artifacts will be uploaded.
|