Add support for PHP 8.5 #[\NoDiscard]
#22426
static-analysis.yml
on: pull_request
Generate baseline
1m 52s
Generate PHP baseline
1m 48s
Matrix: PHPStan with result cache
Matrix: PHPStan
Annotations
73 errors and 7 notices
PHPStan with result cache (8.5)
Process completed with exit code 2.
|
PHPStan with result cache (8.5)
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/MutatingScope.php on line 842
Stack trace:
#0 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/MutatingScope.php(780): PHPStan\Analyser\MutatingScope->resolveType('self::createRef...', Object(PhpParser\Node\Expr\StaticCall))
#1 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/MutatingScope.php(2722): PHPStan\Analyser\MutatingScope->getType(Object(PhpParser\Node\Expr\StaticCall))
#2 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(2463): PHPStan\Analyser\MutatingScope->getNativeType(Object(PhpParser\Node\Expr\StaticCall))
#3 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(5483): PHPStan\Analyser\NodeScopeResolver->{closure:PHPStan\Analyser\NodeScopeResolver::processExprNode():2438}(Object(PHPStan\Analyser\MutatingScope))
#4 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(2431): PHPStan\Analyser\NodeScopeResolver->processAssignVar(Object(PHPStan\Analyser\MutatingScope), Object(PhpParser\Node\Stmt\Expression), Object(PhpParser\Node\Expr\Variable), Object(PhpParser\Node\Expr\StaticCall), Object(Closure), Object(PHPStan\Analyser\ExpressionContext), Object(Closure), true)
#5 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(898): PHPStan\Analyser\NodeScopeResolver->processExprNode(Object(PhpParser\Node\Stmt\Expression), Object(PhpParser\Node\Expr\Assign), Object(PHPStan\Analyser\MutatingScope), Object(Closure), Object(PHPStan\Analyser\ExpressionContext))
#6 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(404): PHPStan\Analyser\NodeScopeResolver->processStmtNode(Object(PhpParser\Node\Stmt\Expression), Object(PHPStan\Analyser\MutatingScope), Object(Closure), Object(PHPStan\Analyser\StatementContext))
#7 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(753): PHPStan\Analyser\NodeScopeResolver->processStmtNodes(Object(PhpParser\Node\Stmt\ClassMethod), Array, Object(PHPStan\Analyser\MutatingScope), Object(Closure), Object(PHPStan\Analyser\StatementContext))
#8 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(404): PHPStan\Analyser\NodeScopeResolver->processStmtNode(Object(PhpParser\Node\Stmt\ClassMethod), Object(PHPStan\Analyser\MutatingScope), Object(PHPStan\Node\ClassStatementsGatherer), Object(PHPStan\Analyser\StatementContext))
#9 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(999): PHPStan\Analyser\NodeScopeResolver->processStmtNodes(Object(PhpParser\Node\Stmt\Class_), Array, Object(PHPStan\Analyser\MutatingScope), Object(PHPStan\Node\ClassStatementsGatherer), Object(PHPStan\Analyser\StatementContext))
#10 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(404): PHPStan\Analyser\NodeScopeResolver->processStmtNode(Object(PhpParser\Node\Stmt\Class_), Object(PHPStan\Analyser\MutatingScope), Object(Closure), Object(PHPStan\Analyser\StatementContext))
#11 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(945): PHPStan\Analyser\NodeScopeResolver->processStmtNodes(Object(PhpParser\Node\Stmt\Namespace_), Array, Object(PHPStan\Analyser\MutatingScope), Object(Closure), Object(PHPStan\Analyser\StatementContext))
#12 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(334): PHPStan\Analyser\NodeScopeResolver->processStmtNode(Object(PhpParser\Node\Stmt\Namespace_), Object(PHPStan\Analyser\MutatingScope), Object(Closure), Object(PHPStan\Analyser\StatementContext))
#13 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/FileAnalyser.php(247): PHPStan\Analyser\NodeScopeResolver->processNodes(Array, Object(PHPStan\Analyser\MutatingScope), Object(Closure))
#14 /home/runner/work/phpstan-src/phpstan-src/src/Command/WorkerCommand.php(236): PHPStan\Analyser\FileAnalyser->analyseFile('/home/runner/wo...', Array, Object(PHPStan\Rules\LazyRegist
|
PHPStan with result cache (8.5)
Child process error (exit code 255): PHP Fatal error: Class PHPStan\Reflection\Php\EnumCasesMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining method (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/Php/EnumCasesMethodReflection.php on line 17
Stack trace:
#0 /home/runner/work/phpstan-src/phpstan-src/vendor/composer/ClassLoader.php(576): include()
#1 /home/runner/work/phpstan-src/phpstan-src/vendor/composer/ClassLoader.php(427): {closure:Composer\Autoload\ClassLoader::initializeIncludeClosure():575}('/home/runner/wo...')
#2 /home/runner/work/phpstan-src/phpstan-src/src/Reflection/Php/PhpClassReflectionExtension.php(539): Composer\Autoload\ClassLoader->loadClass('PHPStan\\Reflect...')
#3 /home/runner/work/phpstan-src/phpstan-src/src/Reflection/Php/PhpClassReflectionExtension.php(485): PHPStan\Reflection\Php\PhpClassReflectionExtension->createMethod(Object(PHPStan\Reflection\ClassReflection), Object(PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod), false)
#4 /home/runner/work/phpstan-src/phpstan-src/src/Reflection/ClassReflection.php(574): PHPStan\Reflection\Php\PhpClassReflectionExtension->getNativeMethod(Object(PHPStan\Reflection\ClassReflection), 'cases')
#5 /home/runner/work/phpstan-src/phpstan-src/vendor/shipmonk/dead-code-detector/src/Provider/ApiPhpDocUsageProvider.php(94): PHPStan\Reflection\ClassReflection->getNativeMethod('cases')
#6 /home/runner/work/phpstan-src/phpstan-src/vendor/shipmonk/dead-code-detector/src/Provider/ApiPhpDocUsageProvider.php(47): ShipMonk\PHPStan\DeadCode\Provider\ApiPhpDocUsageProvider->isApiMember(Object(PHPStan\Reflection\ClassReflection), Object(PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod))
#7 /home/runner/work/phpstan-src/phpstan-src/vendor/shipmonk/dead-code-detector/src/Provider/ApiPhpDocUsageProvider.php(30): ShipMonk\PHPStan\DeadCode\Provider\ApiPhpDocUsageProvider->shouldMarkMemberAsUsed(Object(PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod))
#8 /home/runner/work/phpstan-src/phpstan-src/vendor/shipmonk/dead-code-detector/src/Provider/ReflectionBasedMemberUsageProvider.php(63): ShipMonk\PHPStan\DeadCode\Provider\ApiPhpDocUsageProvider->shouldMarkMethodAsUsed(Object(PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod))
#9 /home/runner/work/phpstan-src/phpstan-src/vendor/shipmonk/dead-code-detector/src/Provider/ReflectionBasedMemberUsageProvider.php(31): ShipMonk\PHPStan\DeadCode\Provider\ReflectionBasedMemberUsageProvider->getMethodUsages(Object(PHPStan\Reflection\ClassReflection))
#10 /home/runner/work/phpstan-src/phpstan-src/vendor/shipmonk/dead-code-detector/src/Collector/ProvidedUsagesCollector.php(66): ShipMonk\PHPStan\DeadCode\Provider\ReflectionBasedMemberUsageProvider->getUsages(Object(PHPStan\Node\InClassNode), Object(PHPStan\Analyser\MutatingScope))
#11 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/FileAnalyser.php(180): ShipMonk\PHPStan\DeadCode\Collector\ProvidedUsagesCollector->processNode(Object(PHPStan\Node\InClassNode), Object(PHPStan\Analyser\MutatingScope))
#12 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(961): PHPStan\Analyser\FileAnalyser->{closure:PHPStan\Analyser\FileAnalyser::analyseFile():101}(Object(PHPStan\Node\InClassNode), Object(PHPStan\Analyser\MutatingScope))
#13 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(404): PHPStan\Analyser\NodeScopeResolver->processStmtNode(Object(PhpParser\Node\Stmt\Enum_), Object(PHPStan\Analyser\MutatingScope), Object(Closure), Object(PHPStan\Analyser\StatementContext))
#14 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(945): PHPStan\Analyser\NodeScopeResolver->processStmtNodes(Object(PhpParser\Node\Stmt\Namespace_), Array, Object(PHPStan\Analyser\MutatingScope), Object(Closure), Object(PHPStan\Analyser\StatementContext))
#15 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(334): PHPStan\Analyser\NodeScope
|
PHPStan with result cache (8.5)
Child process error (exit code 255): PHP Fatal error: Class PHPStan\Rules\RestrictedUsage\RewrittenDeclaringClassMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining method (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in /home/runner/work/phpstan-src/phpstan-src/src/Rules/RestrictedUsage/RewrittenDeclaringClassMethodReflection.php on line 13
Stack trace:
#0 /home/runner/work/phpstan-src/phpstan-src/vendor/composer/ClassLoader.php(576): include()
#1 /home/runner/work/phpstan-src/phpstan-src/vendor/composer/ClassLoader.php(427): {closure:Composer\Autoload\ClassLoader::initializeIncludeClosure():575}('/home/runner/wo...')
#2 [internal function]: Composer\Autoload\ClassLoader->loadClass('PHPStan\\Rules\\R...')
#3 /home/runner/work/phpstan-src/phpstan-src/vendor/nette/di/src/DI/Helpers.php(250): class_exists('PHPStan\\Rules\\R...')
#4 /home/runner/work/phpstan-src/phpstan-src/vendor/nette/di/src/DI/Container.php(307): Nette\DI\Helpers::normalizeClass('PHPStan\\Rules\\R...')
#5 /home/runner/work/phpstan-src/phpstan-src/src/DependencyInjection/Nette/NetteContainer.php(61): Nette\DI\Container->findByType('PHPStan\\Rules\\R...')
#6 /home/runner/work/phpstan-src/phpstan-src/src/DependencyInjection/MemoizingContainer.php(45): PHPStan\DependencyInjection\Nette\NetteContainer->findServiceNamesByType('PHPStan\\Rules\\R...')
#7 /home/runner/work/phpstan-src/phpstan-src/vendor/shipmonk/dead-code-detector/src/Provider/PhpStanUsageProvider.php(36): PHPStan\DependencyInjection\MemoizingContainer->findServiceNamesByType('PHPStan\\Rules\\R...')
#8 /home/runner/work/phpstan-src/phpstan-src/vendor/shipmonk/dead-code-detector/src/Provider/PhpStanUsageProvider.php(27): ShipMonk\PHPStan\DeadCode\Provider\PhpStanUsageProvider->isConstructorCallInPhpStanDic(Object(PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod))
#9 /home/runner/work/phpstan-src/phpstan-src/vendor/shipmonk/dead-code-detector/src/Provider/ReflectionBasedMemberUsageProvider.php(63): ShipMonk\PHPStan\DeadCode\Provider\PhpStanUsageProvider->shouldMarkMethodAsUsed(Object(PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod))
#10 /home/runner/work/phpstan-src/phpstan-src/vendor/shipmonk/dead-code-detector/src/Provider/ReflectionBasedMemberUsageProvider.php(31): ShipMonk\PHPStan\DeadCode\Provider\ReflectionBasedMemberUsageProvider->getMethodUsages(Object(PHPStan\Reflection\ClassReflection))
#11 /home/runner/work/phpstan-src/phpstan-src/vendor/shipmonk/dead-code-detector/src/Collector/ProvidedUsagesCollector.php(66): ShipMonk\PHPStan\DeadCode\Provider\ReflectionBasedMemberUsageProvider->getUsages(Object(PHPStan\Node\InClassNode), Object(PHPStan\Analyser\MutatingScope))
#12 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/FileAnalyser.php(180): ShipMonk\PHPStan\DeadCode\Collector\ProvidedUsagesCollector->processNode(Object(PHPStan\Node\InClassNode), Object(PHPStan\Analyser\MutatingScope))
#13 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(961): PHPStan\Analyser\FileAnalyser->{closure:PHPStan\Analyser\FileAnalyser::analyseFile():101}(Object(PHPStan\Node\InClassNode), Object(PHPStan\Analyser\MutatingScope))
#14 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(404): PHPStan\Analyser\NodeScopeResolver->processStmtNode(Object(PhpParser\Node\Stmt\Class_), Object(PHPStan\Analyser\MutatingScope), Object(Closure), Object(PHPStan\Analyser\StatementContext))
#15 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(945): PHPStan\Analyser\NodeScopeResolver->processStmtNodes(Object(PhpParser\Node\Stmt\Namespace_), Array, Object(PHPStan\Analyser\MutatingScope), Object(Closure), Object(PHPStan\Analyser\StatementContext))
#16 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(334): PHPStan\Analyser\NodeScopeResolver->processStmtNode(Object(PhpParser\Node\Stmt\Namespace_), Object(PHPStan\Analyser\MutatingScope), Object(Closure), Object(PHPStan\Analyser\StatementContext))
#17 /home/runner/work/p
|
PHPStan with result cache (8.5)
Child process error (exit code 255): PHP Fatal error: Class PHPStan\Reflection\Php\EnumCasesMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining method (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/Php/EnumCasesMethodReflection.php on line 17
Stack trace:
#0 /home/runner/work/phpstan-src/phpstan-src/vendor/composer/ClassLoader.php(576): include()
#1 /home/runner/work/phpstan-src/phpstan-src/vendor/composer/ClassLoader.php(427): {closure:Composer\Autoload\ClassLoader::initializeIncludeClosure():575}('/home/runner/wo...')
#2 [internal function]: Composer\Autoload\ClassLoader->loadClass('PHPStan\\Reflect...')
#3 /home/runner/work/phpstan-src/phpstan-src/vendor/nette/di/src/DI/Helpers.php(250): class_exists('PHPStan\\Reflect...')
#4 /home/runner/work/phpstan-src/phpstan-src/vendor/nette/di/src/DI/Container.php(307): Nette\DI\Helpers::normalizeClass('PHPStan\\Reflect...')
#5 /home/runner/work/phpstan-src/phpstan-src/src/DependencyInjection/Nette/NetteContainer.php(61): Nette\DI\Container->findByType('PHPStan\\Reflect...')
#6 /home/runner/work/phpstan-src/phpstan-src/src/DependencyInjection/MemoizingContainer.php(45): PHPStan\DependencyInjection\Nette\NetteContainer->findServiceNamesByType('PHPStan\\Reflect...')
#7 /home/runner/work/phpstan-src/phpstan-src/vendor/shipmonk/dead-code-detector/src/Provider/PhpStanUsageProvider.php(36): PHPStan\DependencyInjection\MemoizingContainer->findServiceNamesByType('PHPStan\\Reflect...')
#8 /home/runner/work/phpstan-src/phpstan-src/vendor/shipmonk/dead-code-detector/src/Provider/PhpStanUsageProvider.php(27): ShipMonk\PHPStan\DeadCode\Provider\PhpStanUsageProvider->isConstructorCallInPhpStanDic(Object(PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod))
#9 /home/runner/work/phpstan-src/phpstan-src/vendor/shipmonk/dead-code-detector/src/Provider/ReflectionBasedMemberUsageProvider.php(63): ShipMonk\PHPStan\DeadCode\Provider\PhpStanUsageProvider->shouldMarkMethodAsUsed(Object(PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod))
#10 /home/runner/work/phpstan-src/phpstan-src/vendor/shipmonk/dead-code-detector/src/Provider/ReflectionBasedMemberUsageProvider.php(31): ShipMonk\PHPStan\DeadCode\Provider\ReflectionBasedMemberUsageProvider->getMethodUsages(Object(PHPStan\Reflection\ClassReflection))
#11 /home/runner/work/phpstan-src/phpstan-src/vendor/shipmonk/dead-code-detector/src/Collector/ProvidedUsagesCollector.php(66): ShipMonk\PHPStan\DeadCode\Provider\ReflectionBasedMemberUsageProvider->getUsages(Object(PHPStan\Node\InClassNode), Object(PHPStan\Analyser\MutatingScope))
#12 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/FileAnalyser.php(180): ShipMonk\PHPStan\DeadCode\Collector\ProvidedUsagesCollector->processNode(Object(PHPStan\Node\InClassNode), Object(PHPStan\Analyser\MutatingScope))
#13 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(961): PHPStan\Analyser\FileAnalyser->{closure:PHPStan\Analyser\FileAnalyser::analyseFile():101}(Object(PHPStan\Node\InClassNode), Object(PHPStan\Analyser\MutatingScope))
#14 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(404): PHPStan\Analyser\NodeScopeResolver->processStmtNode(Object(PhpParser\Node\Stmt\Class_), Object(PHPStan\Analyser\MutatingScope), Object(Closure), Object(PHPStan\Analyser\StatementContext))
#15 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(945): PHPStan\Analyser\NodeScopeResolver->processStmtNodes(Object(PhpParser\Node\Stmt\Namespace_), Array, Object(PHPStan\Analyser\MutatingScope), Object(Closure), Object(PHPStan\Analyser\StatementContext))
#16 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(334): PHPStan\Analyser\NodeScopeResolver->processStmtNode(Object(PhpParser\Node\Stmt\Namespace_), Object(PHPStan\Analyser\MutatingScope), Object(Closure), Object(PHPStan\Analyser\StatementContext))
#17 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/FileAnalyser
|
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (8.1, ubuntu-latest)
Child process error (exit code 255): PHP Fatal error: Class PHPStan\Rules\RestrictedUsage\RewrittenDeclaringClassMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in /home/runner/work/phpstan-src/phpstan-src/src/Rules/RestrictedUsage/RewrittenDeclaringClassMethodReflection.php on line 13
Fatal error: Class PHPStan\Rules\RestrictedUsage\RewrittenDeclaringClassMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in /home/runner/work/phpstan-src/phpstan-src/src/Rules/RestrictedUsage/RewrittenDeclaringClassMethodReflection.php on line 13
while running parallel worker
|
PHPStan (8.1, ubuntu-latest)
Child process error (exit code 255): PHP Fatal error: Class PHPStan\Reflection\Php\EnumCasesMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/Php/EnumCasesMethodReflection.php on line 17
Fatal error: Class PHPStan\Reflection\Php\EnumCasesMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/Php/EnumCasesMethodReflection.php on line 17
while running parallel worker
|
Generate PHP baseline
Process completed with exit code 2.
|
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 with result cache (8.4)
Child process error (exit code 255): PHP Fatal error: Class PHPStan\Rules\RestrictedUsage\RewrittenDeclaringClassMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in /home/runner/work/phpstan-src/phpstan-src/src/Rules/RestrictedUsage/RewrittenDeclaringClassMethodReflection.php on line 13
Fatal error: Class PHPStan\Rules\RestrictedUsage\RewrittenDeclaringClassMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in /home/runner/work/phpstan-src/phpstan-src/src/Rules/RestrictedUsage/RewrittenDeclaringClassMethodReflection.php on line 13
while running parallel worker
|
PHPStan with result cache (8.4)
Child process error (exit code 255): PHP Fatal error: Class PHPStan\Reflection\Php\EnumCasesMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/Php/EnumCasesMethodReflection.php on line 17
Fatal error: Class PHPStan\Reflection\Php\EnumCasesMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/Php/EnumCasesMethodReflection.php on line 17
while running parallel worker
|
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (8.2, ubuntu-latest)
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.2, ubuntu-latest)
Child process error (exit code 255): PHP Fatal error: Class PHPStan\Rules\RestrictedUsage\RewrittenDeclaringClassMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in /home/runner/work/phpstan-src/phpstan-src/src/Rules/RestrictedUsage/RewrittenDeclaringClassMethodReflection.php on line 13
Fatal error: Class PHPStan\Rules\RestrictedUsage\RewrittenDeclaringClassMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in /home/runner/work/phpstan-src/phpstan-src/src/Rules/RestrictedUsage/RewrittenDeclaringClassMethodReflection.php on line 13
while running parallel worker
|
PHPStan (8.2, ubuntu-latest)
Child process error (exit code 255): PHP Fatal error: Class PHPStan\Reflection\Php\EnumCasesMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/Php/EnumCasesMethodReflection.php on line 17
Fatal error: Class PHPStan\Reflection\Php\EnumCasesMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/Php/EnumCasesMethodReflection.php on line 17
while running parallel worker
|
PHPStan (8.4, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (8.4, ubuntu-latest)
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 1149
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 1149
PHP Fatal error: Allowed memory size of 469762048 bytes exhausted (tried to allocate 262144 bytes) in /home/runner/work/phpstan-src/phpstan-src/vendor/symfony/console/Formatter/OutputFormatter.php on line 189
Fatal error: Allowed memory size of 469762048 bytes exhausted (tried to allocate 262144 bytes) in /home/runner/work/phpstan-src/phpstan-src/vendor/symfony/console/Formatter/OutputFormatter.php on line 189
while running parallel worker
|
PHPStan (8.4, ubuntu-latest)
Child process error (exit code 255): PHP Fatal error: Class PHPStan\Rules\RestrictedUsage\RewrittenDeclaringClassMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in /home/runner/work/phpstan-src/phpstan-src/src/Rules/RestrictedUsage/RewrittenDeclaringClassMethodReflection.php on line 13
Fatal error: Class PHPStan\Rules\RestrictedUsage\RewrittenDeclaringClassMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in /home/runner/work/phpstan-src/phpstan-src/src/Rules/RestrictedUsage/RewrittenDeclaringClassMethodReflection.php on line 13
while running parallel worker
|
PHPStan (8.4, ubuntu-latest)
Child process error (exit code 255): PHP Fatal error: Class PHPStan\Reflection\Php\EnumCasesMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/Php/EnumCasesMethodReflection.php on line 17
Fatal error: Class PHPStan\Reflection\Php\EnumCasesMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/Php/EnumCasesMethodReflection.php on line 17
while running parallel worker
|
Generate baseline
Process completed with exit code 2.
|
PHPStan (8.5, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (8.5, ubuntu-latest)
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/Reflection/Annotations/AnnotationsMethodsClassReflectionExtension.php on line 48
Stack trace:
#0 /home/runner/work/phpstan-src/phpstan-src/src/Reflection/Annotations/AnnotationsMethodsClassReflectionExtension.php(111): PHPStan\Reflection\Annotations\AnnotationsMethodsClassReflectionExtension->findClassReflectionWithMethod(Object(PHPStan\Reflection\ClassReflection), Object(PHPStan\Reflection\ClassReflection), '__construct')
#1 /home/runner/work/phpstan-src/phpstan-src/src/Reflection/Annotations/AnnotationsMethodsClassReflectionExtension.php(27): PHPStan\Reflection\Annotations\AnnotationsMethodsClassReflectionExtension->findClassReflectionWithMethod(Object(PHPStan\Reflection\ClassReflection), Object(PHPStan\Reflection\ClassReflection), '__construct')
#2 /home/runner/work/phpstan-src/phpstan-src/src/Reflection/Php/PhpClassReflectionExtension.php(498): PHPStan\Reflection\Annotations\AnnotationsMethodsClassReflectionExtension->hasMethod(Object(PHPStan\Reflection\ClassReflection), '__construct')
#3 /home/runner/work/phpstan-src/phpstan-src/src/Reflection/Php/PhpClassReflectionExtension.php(457): PHPStan\Reflection\Php\PhpClassReflectionExtension->createMethod(Object(PHPStan\Reflection\ClassReflection), Object(PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod), true)
#4 /home/runner/work/phpstan-src/phpstan-src/src/Reflection/ClassReflection.php(524): PHPStan\Reflection\Php\PhpClassReflectionExtension->getMethod(Object(PHPStan\Reflection\ClassReflection), '__construct')
#5 /home/runner/work/phpstan-src/phpstan-src/src/Type/ObjectType.php(830): PHPStan\Reflection\ClassReflection->getMethod('__construct', Object(PHPStan\Analyser\MutatingScope))
#6 /home/runner/work/phpstan-src/phpstan-src/src/Type/ObjectType.php(802): PHPStan\Type\ObjectType->getUnresolvedMethodPrototype('__construct', Object(PHPStan\Analyser\MutatingScope))
#7 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/MutatingScope.php(6096): PHPStan\Type\ObjectType->getMethod('__construct', Object(PHPStan\Analyser\MutatingScope))
#8 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/MutatingScope.php(2196): PHPStan\Analyser\MutatingScope->methodCallReturnType(Object(PHPStan\Type\ObjectType), '__construct', Object(PhpParser\Node\Expr\StaticCall))
#9 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/MutatingScope.php(780): PHPStan\Analyser\MutatingScope->resolveType('PHPStan\\Rules\\F...', Object(PhpParser\Node\Expr\StaticCall))
#10 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/MutatingScope.php(5836): PHPStan\Analyser\MutatingScope->getType(Object(PhpParser\Node\Expr\StaticCall))
#11 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/MutatingScope.php(1641): PHPStan\Analyser\MutatingScope->exactInstantiation(Object(PhpParser\Node\Expr\New_), 'PHPStan\\Rules\\F...')
#12 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/MutatingScope.php(780): PHPStan\Analyser\MutatingScope->resolveType('new \\PHPStan\\Ru...', Object(PhpParser\Node\Expr\New_))
#13 /home/runner/work/phpstan-src/phpstan-src/src/Rules/FunctionReturnTypeCheck.php(80): PHPStan\Analyser\MutatingScope->getType(Object(PhpParser\Node\Expr\New_))
#14 /home/runner/work/phpstan-src/phpstan-src/src/Rules/Methods/ReturnTypeRule.php(70): PHPStan\Rules\FunctionReturnTypeCheck->checkReturnType(Object(PHPStan\Analyser\MutatingScope), Object(PHPStan\Type\ObjectType), Object(PhpParser\Node\Expr\New_), Object(PhpParser\Node\Stmt\Return_), 'Method PHPStan\\...', 'Method PHPStan\\...', 'Method PHPStan\\...', 'Method PHPStan\\...', false)
#15 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/FileAnalyser.php(131): PHPStan\Rules\Methods\ReturnTypeRule->processNode(Object(PhpParser\Node\Stmt\Return_), Object(PHPStan\Analyser\MutatingScope))
#16 /home/runner/work/phpstan-src/phpstan-src/src/Node/ClassStatementsGatherer.php(140): PHPStan\Analyser\FileAnalyser->{closure:PHPStan\Analyser\FileAnalyser::anal
|
PHPStan (8.5, ubuntu-latest)
Child process error (exit code 255): PHP Fatal error: Class PHPStan\Reflection\Php\EnumCasesMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining method (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/Php/EnumCasesMethodReflection.php on line 17
Stack trace:
#0 /home/runner/work/phpstan-src/phpstan-src/vendor/composer/ClassLoader.php(576): include()
#1 /home/runner/work/phpstan-src/phpstan-src/vendor/composer/ClassLoader.php(427): {closure:Composer\Autoload\ClassLoader::initializeIncludeClosure():575}('/home/runner/wo...')
#2 /home/runner/work/phpstan-src/phpstan-src/src/Reflection/Php/PhpClassReflectionExtension.php(539): Composer\Autoload\ClassLoader->loadClass('PHPStan\\Reflect...')
#3 /home/runner/work/phpstan-src/phpstan-src/src/Reflection/Php/PhpClassReflectionExtension.php(485): PHPStan\Reflection\Php\PhpClassReflectionExtension->createMethod(Object(PHPStan\Reflection\ClassReflection), Object(PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod), false)
#4 /home/runner/work/phpstan-src/phpstan-src/src/Reflection/ClassReflection.php(574): PHPStan\Reflection\Php\PhpClassReflectionExtension->getNativeMethod(Object(PHPStan\Reflection\ClassReflection), 'cases')
#5 /home/runner/work/phpstan-src/phpstan-src/vendor/shipmonk/dead-code-detector/src/Provider/ApiPhpDocUsageProvider.php(94): PHPStan\Reflection\ClassReflection->getNativeMethod('cases')
#6 /home/runner/work/phpstan-src/phpstan-src/vendor/shipmonk/dead-code-detector/src/Provider/ApiPhpDocUsageProvider.php(47): ShipMonk\PHPStan\DeadCode\Provider\ApiPhpDocUsageProvider->isApiMember(Object(PHPStan\Reflection\ClassReflection), Object(PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod))
#7 /home/runner/work/phpstan-src/phpstan-src/vendor/shipmonk/dead-code-detector/src/Provider/ApiPhpDocUsageProvider.php(30): ShipMonk\PHPStan\DeadCode\Provider\ApiPhpDocUsageProvider->shouldMarkMemberAsUsed(Object(PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod))
#8 /home/runner/work/phpstan-src/phpstan-src/vendor/shipmonk/dead-code-detector/src/Provider/ReflectionBasedMemberUsageProvider.php(63): ShipMonk\PHPStan\DeadCode\Provider\ApiPhpDocUsageProvider->shouldMarkMethodAsUsed(Object(PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod))
#9 /home/runner/work/phpstan-src/phpstan-src/vendor/shipmonk/dead-code-detector/src/Provider/ReflectionBasedMemberUsageProvider.php(31): ShipMonk\PHPStan\DeadCode\Provider\ReflectionBasedMemberUsageProvider->getMethodUsages(Object(PHPStan\Reflection\ClassReflection))
#10 /home/runner/work/phpstan-src/phpstan-src/vendor/shipmonk/dead-code-detector/src/Collector/ProvidedUsagesCollector.php(66): ShipMonk\PHPStan\DeadCode\Provider\ReflectionBasedMemberUsageProvider->getUsages(Object(PHPStan\Node\InClassNode), Object(PHPStan\Analyser\MutatingScope))
#11 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/FileAnalyser.php(180): ShipMonk\PHPStan\DeadCode\Collector\ProvidedUsagesCollector->processNode(Object(PHPStan\Node\InClassNode), Object(PHPStan\Analyser\MutatingScope))
#12 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(961): PHPStan\Analyser\FileAnalyser->{closure:PHPStan\Analyser\FileAnalyser::analyseFile():101}(Object(PHPStan\Node\InClassNode), Object(PHPStan\Analyser\MutatingScope))
#13 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(404): PHPStan\Analyser\NodeScopeResolver->processStmtNode(Object(PhpParser\Node\Stmt\Enum_), Object(PHPStan\Analyser\MutatingScope), Object(Closure), Object(PHPStan\Analyser\StatementContext))
#14 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(945): PHPStan\Analyser\NodeScopeResolver->processStmtNodes(Object(PhpParser\Node\Stmt\Namespace_), Array, Object(PHPStan\Analyser\MutatingScope), Object(Closure), Object(PHPStan\Analyser\StatementContext))
#15 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(334): PHPStan\Analyser\NodeScope
|
PHPStan (8.5, ubuntu-latest)
Child process error (exit code 255): PHP Fatal error: Class PHPStan\Rules\RestrictedUsage\RewrittenDeclaringClassMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining method (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in /home/runner/work/phpstan-src/phpstan-src/src/Rules/RestrictedUsage/RewrittenDeclaringClassMethodReflection.php on line 13
Stack trace:
#0 /home/runner/work/phpstan-src/phpstan-src/vendor/composer/ClassLoader.php(576): include()
#1 /home/runner/work/phpstan-src/phpstan-src/vendor/composer/ClassLoader.php(427): {closure:Composer\Autoload\ClassLoader::initializeIncludeClosure():575}('/home/runner/wo...')
#2 [internal function]: Composer\Autoload\ClassLoader->loadClass('PHPStan\\Rules\\R...')
#3 /home/runner/work/phpstan-src/phpstan-src/vendor/nette/di/src/DI/Helpers.php(250): class_exists('PHPStan\\Rules\\R...')
#4 /home/runner/work/phpstan-src/phpstan-src/vendor/nette/di/src/DI/Container.php(307): Nette\DI\Helpers::normalizeClass('PHPStan\\Rules\\R...')
#5 /home/runner/work/phpstan-src/phpstan-src/src/DependencyInjection/Nette/NetteContainer.php(61): Nette\DI\Container->findByType('PHPStan\\Rules\\R...')
#6 /home/runner/work/phpstan-src/phpstan-src/src/DependencyInjection/MemoizingContainer.php(45): PHPStan\DependencyInjection\Nette\NetteContainer->findServiceNamesByType('PHPStan\\Rules\\R...')
#7 /home/runner/work/phpstan-src/phpstan-src/vendor/shipmonk/dead-code-detector/src/Provider/PhpStanUsageProvider.php(36): PHPStan\DependencyInjection\MemoizingContainer->findServiceNamesByType('PHPStan\\Rules\\R...')
#8 /home/runner/work/phpstan-src/phpstan-src/vendor/shipmonk/dead-code-detector/src/Provider/PhpStanUsageProvider.php(27): ShipMonk\PHPStan\DeadCode\Provider\PhpStanUsageProvider->isConstructorCallInPhpStanDic(Object(PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod))
#9 /home/runner/work/phpstan-src/phpstan-src/vendor/shipmonk/dead-code-detector/src/Provider/ReflectionBasedMemberUsageProvider.php(63): ShipMonk\PHPStan\DeadCode\Provider\PhpStanUsageProvider->shouldMarkMethodAsUsed(Object(PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod))
#10 /home/runner/work/phpstan-src/phpstan-src/vendor/shipmonk/dead-code-detector/src/Provider/ReflectionBasedMemberUsageProvider.php(31): ShipMonk\PHPStan\DeadCode\Provider\ReflectionBasedMemberUsageProvider->getMethodUsages(Object(PHPStan\Reflection\ClassReflection))
#11 /home/runner/work/phpstan-src/phpstan-src/vendor/shipmonk/dead-code-detector/src/Collector/ProvidedUsagesCollector.php(66): ShipMonk\PHPStan\DeadCode\Provider\ReflectionBasedMemberUsageProvider->getUsages(Object(PHPStan\Node\InClassNode), Object(PHPStan\Analyser\MutatingScope))
#12 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/FileAnalyser.php(180): ShipMonk\PHPStan\DeadCode\Collector\ProvidedUsagesCollector->processNode(Object(PHPStan\Node\InClassNode), Object(PHPStan\Analyser\MutatingScope))
#13 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(961): PHPStan\Analyser\FileAnalyser->{closure:PHPStan\Analyser\FileAnalyser::analyseFile():101}(Object(PHPStan\Node\InClassNode), Object(PHPStan\Analyser\MutatingScope))
#14 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(404): PHPStan\Analyser\NodeScopeResolver->processStmtNode(Object(PhpParser\Node\Stmt\Class_), Object(PHPStan\Analyser\MutatingScope), Object(Closure), Object(PHPStan\Analyser\StatementContext))
#15 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(945): PHPStan\Analyser\NodeScopeResolver->processStmtNodes(Object(PhpParser\Node\Stmt\Namespace_), Array, Object(PHPStan\Analyser\MutatingScope), Object(Closure), Object(PHPStan\Analyser\StatementContext))
#16 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(334): PHPStan\Analyser\NodeScopeResolver->processStmtNode(Object(PhpParser\Node\Stmt\Namespace_), Object(PHPStan\Analyser\MutatingScope), Object(Closure), Object(PHPStan\Analyser\StatementContext))
#17 /home/runner/work/p
|
PHPStan (8.5, ubuntu-latest)
Child process error (exit code 255): PHP Fatal error: Class PHPStan\Reflection\Php\EnumCasesMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining method (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/Php/EnumCasesMethodReflection.php on line 17
Stack trace:
#0 /home/runner/work/phpstan-src/phpstan-src/vendor/composer/ClassLoader.php(576): include()
#1 /home/runner/work/phpstan-src/phpstan-src/vendor/composer/ClassLoader.php(427): {closure:Composer\Autoload\ClassLoader::initializeIncludeClosure():575}('/home/runner/wo...')
#2 [internal function]: Composer\Autoload\ClassLoader->loadClass('PHPStan\\Reflect...')
#3 /home/runner/work/phpstan-src/phpstan-src/vendor/nette/di/src/DI/Helpers.php(250): class_exists('PHPStan\\Reflect...')
#4 /home/runner/work/phpstan-src/phpstan-src/vendor/nette/di/src/DI/Container.php(307): Nette\DI\Helpers::normalizeClass('PHPStan\\Reflect...')
#5 /home/runner/work/phpstan-src/phpstan-src/src/DependencyInjection/Nette/NetteContainer.php(61): Nette\DI\Container->findByType('PHPStan\\Reflect...')
#6 /home/runner/work/phpstan-src/phpstan-src/src/DependencyInjection/MemoizingContainer.php(45): PHPStan\DependencyInjection\Nette\NetteContainer->findServiceNamesByType('PHPStan\\Reflect...')
#7 /home/runner/work/phpstan-src/phpstan-src/vendor/shipmonk/dead-code-detector/src/Provider/PhpStanUsageProvider.php(36): PHPStan\DependencyInjection\MemoizingContainer->findServiceNamesByType('PHPStan\\Reflect...')
#8 /home/runner/work/phpstan-src/phpstan-src/vendor/shipmonk/dead-code-detector/src/Provider/PhpStanUsageProvider.php(27): ShipMonk\PHPStan\DeadCode\Provider\PhpStanUsageProvider->isConstructorCallInPhpStanDic(Object(PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod))
#9 /home/runner/work/phpstan-src/phpstan-src/vendor/shipmonk/dead-code-detector/src/Provider/ReflectionBasedMemberUsageProvider.php(63): ShipMonk\PHPStan\DeadCode\Provider\PhpStanUsageProvider->shouldMarkMethodAsUsed(Object(PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod))
#10 /home/runner/work/phpstan-src/phpstan-src/vendor/shipmonk/dead-code-detector/src/Provider/ReflectionBasedMemberUsageProvider.php(31): ShipMonk\PHPStan\DeadCode\Provider\ReflectionBasedMemberUsageProvider->getMethodUsages(Object(PHPStan\Reflection\ClassReflection))
#11 /home/runner/work/phpstan-src/phpstan-src/vendor/shipmonk/dead-code-detector/src/Collector/ProvidedUsagesCollector.php(66): ShipMonk\PHPStan\DeadCode\Provider\ReflectionBasedMemberUsageProvider->getUsages(Object(PHPStan\Node\InClassNode), Object(PHPStan\Analyser\MutatingScope))
#12 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/FileAnalyser.php(180): ShipMonk\PHPStan\DeadCode\Collector\ProvidedUsagesCollector->processNode(Object(PHPStan\Node\InClassNode), Object(PHPStan\Analyser\MutatingScope))
#13 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(961): PHPStan\Analyser\FileAnalyser->{closure:PHPStan\Analyser\FileAnalyser::analyseFile():101}(Object(PHPStan\Node\InClassNode), Object(PHPStan\Analyser\MutatingScope))
#14 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(404): PHPStan\Analyser\NodeScopeResolver->processStmtNode(Object(PhpParser\Node\Stmt\Class_), Object(PHPStan\Analyser\MutatingScope), Object(Closure), Object(PHPStan\Analyser\StatementContext))
#15 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(945): PHPStan\Analyser\NodeScopeResolver->processStmtNodes(Object(PhpParser\Node\Stmt\Namespace_), Array, Object(PHPStan\Analyser\MutatingScope), Object(Closure), Object(PHPStan\Analyser\StatementContext))
#16 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(334): PHPStan\Analyser\NodeScopeResolver->processStmtNode(Object(PhpParser\Node\Stmt\Namespace_), Object(PHPStan\Analyser\MutatingScope), Object(Closure), Object(PHPStan\Analyser\StatementContext))
#17 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/FileAnalyser
|
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (8.3, ubuntu-latest)
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)
Child process error (exit code 255): PHP Fatal error: Class PHPStan\Rules\RestrictedUsage\RewrittenDeclaringClassMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in /home/runner/work/phpstan-src/phpstan-src/src/Rules/RestrictedUsage/RewrittenDeclaringClassMethodReflection.php on line 13
Fatal error: Class PHPStan\Rules\RestrictedUsage\RewrittenDeclaringClassMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in /home/runner/work/phpstan-src/phpstan-src/src/Rules/RestrictedUsage/RewrittenDeclaringClassMethodReflection.php on line 13
while running parallel worker
|
PHPStan (8.3, ubuntu-latest)
Child process error (exit code 255): PHP Fatal error: Class PHPStan\Reflection\Php\EnumCasesMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/Php/EnumCasesMethodReflection.php on line 17
Fatal error: Class PHPStan\Reflection\Php\EnumCasesMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/Php/EnumCasesMethodReflection.php on line 17
while running parallel worker
|
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 with result cache (8.3)
Child process error (exit code 255): PHP Fatal error: Class PHPStan\Rules\RestrictedUsage\RewrittenDeclaringClassMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in /home/runner/work/phpstan-src/phpstan-src/src/Rules/RestrictedUsage/RewrittenDeclaringClassMethodReflection.php on line 13
Fatal error: Class PHPStan\Rules\RestrictedUsage\RewrittenDeclaringClassMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in /home/runner/work/phpstan-src/phpstan-src/src/Rules/RestrictedUsage/RewrittenDeclaringClassMethodReflection.php on line 13
while running parallel worker
|
PHPStan with result cache (8.3)
Child process error (exit code 255): PHP Fatal error: Class PHPStan\Reflection\Php\EnumCasesMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/Php/EnumCasesMethodReflection.php on line 17
Fatal error: Class PHPStan\Reflection\Php\EnumCasesMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/Php/EnumCasesMethodReflection.php on line 17
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 with result cache (8.2)
Child process error (exit code 255): PHP Fatal error: Class PHPStan\Rules\RestrictedUsage\RewrittenDeclaringClassMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in /home/runner/work/phpstan-src/phpstan-src/src/Rules/RestrictedUsage/RewrittenDeclaringClassMethodReflection.php on line 13
Fatal error: Class PHPStan\Rules\RestrictedUsage\RewrittenDeclaringClassMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in /home/runner/work/phpstan-src/phpstan-src/src/Rules/RestrictedUsage/RewrittenDeclaringClassMethodReflection.php on line 13
while running parallel worker
|
PHPStan with result cache (8.2)
Child process error (exit code 255): PHP Fatal error: Class PHPStan\Reflection\Php\EnumCasesMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/Php/EnumCasesMethodReflection.php on line 17
Fatal error: Class PHPStan\Reflection\Php\EnumCasesMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/Php/EnumCasesMethodReflection.php on line 17
while running parallel worker
|
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (8.0, ubuntu-latest)
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)
Child process error (exit code 255): PHP Fatal error: Class PHPStan\Rules\RestrictedUsage\RewrittenDeclaringClassMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in /home/runner/work/phpstan-src/phpstan-src/src/Rules/RestrictedUsage/RewrittenDeclaringClassMethodReflection.php on line 13
Fatal error: Class PHPStan\Rules\RestrictedUsage\RewrittenDeclaringClassMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in /home/runner/work/phpstan-src/phpstan-src/src/Rules/RestrictedUsage/RewrittenDeclaringClassMethodReflection.php on line 13
while running parallel worker
|
PHPStan (8.0, ubuntu-latest)
Child process error (exit code 255): PHP Fatal error: Class PHPStan\Reflection\Php\EnumCasesMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/Php/EnumCasesMethodReflection.php on line 17
Fatal error: Class PHPStan\Reflection\Php\EnumCasesMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/Php/EnumCasesMethodReflection.php on line 17
while running parallel worker
|
PHPStan (8.1, windows-latest)
Process completed with exit code 1.
|
PHPStan (8.1, windows-latest)
Child process error (exit code 255): PHP Fatal error: Class PHPStan\Rules\RestrictedUsage\RewrittenDeclaringClassMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in D:\a\phpstan-src\phpstan-src\src\Rules\RestrictedUsage\RewrittenDeclaringClassMethodReflection.php on line 13
Fatal error: Class PHPStan\Rules\RestrictedUsage\RewrittenDeclaringClassMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in D:\a\phpstan-src\phpstan-src\src\Rules\RestrictedUsage\RewrittenDeclaringClassMethodReflection.php on line 13
while running parallel worker
|
PHPStan (8.1, windows-latest)
Child process error (exit code 255): PHP Fatal error: Class PHPStan\Reflection\Php\ClosureCallMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in D:\a\phpstan-src\phpstan-src\src\Reflection\Php\ClosureCallMethodReflection.php on line 24
Fatal error: Class PHPStan\Reflection\Php\ClosureCallMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in D:\a\phpstan-src\phpstan-src\src\Reflection\Php\ClosureCallMethodReflection.php on line 24
while running parallel worker
|
PHPStan (8.1, windows-latest)
Child process error (exit code 255): PHP Fatal error: Class PHPStan\Reflection\Php\EnumCasesMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in D:\a\phpstan-src\phpstan-src\src\Reflection\Php\EnumCasesMethodReflection.php on line 17
Fatal error: Class PHPStan\Reflection\Php\EnumCasesMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in D:\a\phpstan-src\phpstan-src\src\Reflection\Php\EnumCasesMethodReflection.php on line 17
while running parallel worker
|
PHPStan (8.0, windows-latest)
Process completed with exit code 1.
|
PHPStan (8.0, windows-latest)
Child process error (exit code 255): PHP Fatal error: Class PHPStan\Rules\RestrictedUsage\RewrittenDeclaringClassMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in D:\a\phpstan-src\phpstan-src\src\Rules\RestrictedUsage\RewrittenDeclaringClassMethodReflection.php on line 13
Fatal error: Class PHPStan\Rules\RestrictedUsage\RewrittenDeclaringClassMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in D:\a\phpstan-src\phpstan-src\src\Rules\RestrictedUsage\RewrittenDeclaringClassMethodReflection.php on line 13
while running parallel worker
|
PHPStan (8.0, windows-latest)
Child process error (exit code 255): PHP Fatal error: Class PHPStan\Reflection\Php\ClosureCallMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in D:\a\phpstan-src\phpstan-src\src\Reflection\Php\ClosureCallMethodReflection.php on line 24
Fatal error: Class PHPStan\Reflection\Php\ClosureCallMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in D:\a\phpstan-src\phpstan-src\src\Reflection\Php\ClosureCallMethodReflection.php on line 24
while running parallel worker
|
PHPStan (8.0, windows-latest)
Child process error (exit code 255): PHP Fatal error: Class PHPStan\Reflection\Php\EnumCasesMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in D:\a\phpstan-src\phpstan-src\src\Reflection\Php\EnumCasesMethodReflection.php on line 17
Fatal error: Class PHPStan\Reflection\Php\EnumCasesMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in D:\a\phpstan-src\phpstan-src\src\Reflection\Php\EnumCasesMethodReflection.php on line 17
while running parallel worker
|
PHPStan (8.5, windows-latest)
Process completed with exit code 1.
|
PHPStan (8.5, windows-latest)
Child process error (exit code 255): PHP Fatal error: Class PHPStan\Reflection\Php\EnumCasesMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining method (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in D:\a\phpstan-src\phpstan-src\src\Reflection\Php\EnumCasesMethodReflection.php on line 17
Stack trace:
#0 D:\a\phpstan-src\phpstan-src\vendor\composer\ClassLoader.php(576): include()
#1 D:\a\phpstan-src\phpstan-src\vendor\composer\ClassLoader.php(427): {closure:Composer\Autoload\ClassLoader::initializeIncludeClosure():575}('D:\\a\\phpstan-sr...')
#2 D:\a\phpstan-src\phpstan-src\src\Reflection\Php\PhpClassReflectionExtension.php(539): Composer\Autoload\ClassLoader->loadClass('PHPStan\\Reflect...')
#3 D:\a\phpstan-src\phpstan-src\src\Reflection\Php\PhpClassReflectionExtension.php(485): PHPStan\Reflection\Php\PhpClassReflectionExtension->createMethod(Object(PHPStan\Reflection\ClassReflection), Object(PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod), false)
#4 D:\a\phpstan-src\phpstan-src\src\Reflection\ClassReflection.php(574): PHPStan\Reflection\Php\PhpClassReflectionExtension->getNativeMethod(Object(PHPStan\Reflection\ClassReflection), 'cases')
#5 D:\a\phpstan-src\phpstan-src\vendor\shipmonk\dead-code-detector\src\Provider\ApiPhpDocUsageProvider.php(94): PHPStan\Reflection\ClassReflection->getNativeMethod('cases')
#6 D:\a\phpstan-src\phpstan-src\vendor\shipmonk\dead-code-detector\src\Provider\ApiPhpDocUsageProvider.php(47): ShipMonk\PHPStan\DeadCode\Provider\ApiPhpDocUsageProvider->isApiMember(Object(PHPStan\Reflection\ClassReflection), Object(PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod))
#7 D:\a\phpstan-src\phpstan-src\vendor\shipmonk\dead-code-detector\src\Provider\ApiPhpDocUsageProvider.php(30): ShipMonk\PHPStan\DeadCode\Provider\ApiPhpDocUsageProvider->shouldMarkMemberAsUsed(Object(PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod))
#8 D:\a\phpstan-src\phpstan-src\vendor\shipmonk\dead-code-detector\src\Provider\ReflectionBasedMemberUsageProvider.php(63): ShipMonk\PHPStan\DeadCode\Provider\ApiPhpDocUsageProvider->shouldMarkMethodAsUsed(Object(PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod))
#9 D:\a\phpstan-src\phpstan-src\vendor\shipmonk\dead-code-detector\src\Provider\ReflectionBasedMemberUsageProvider.php(31): ShipMonk\PHPStan\DeadCode\Provider\ReflectionBasedMemberUsageProvider->getMethodUsages(Object(PHPStan\Reflection\ClassReflection))
#10 D:\a\phpstan-src\phpstan-src\vendor\shipmonk\dead-code-detector\src\Collector\ProvidedUsagesCollector.php(66): ShipMonk\PHPStan\DeadCode\Provider\ReflectionBasedMemberUsageProvider->getUsages(Object(PHPStan\Node\InClassNode), Object(PHPStan\Analyser\MutatingScope))
#11 D:\a\phpstan-src\phpstan-src\src\Analyser\FileAnalyser.php(180): ShipMonk\PHPStan\DeadCode\Collector\ProvidedUsagesCollector->processNode(Object(PHPStan\Node\InClassNode), Object(PHPStan\Analyser\MutatingScope))
#12 D:\a\phpstan-src\phpstan-src\src\Analyser\NodeScopeResolver.php(961): PHPStan\Analyser\FileAnalyser->{closure:PHPStan\Analyser\FileAnalyser::analyseFile():101}(Object(PHPStan\Node\InClassNode), Object(PHPStan\Analyser\MutatingScope))
#13 D:\a\phpstan-src\phpstan-src\src\Analyser\NodeScopeResolver.php(404): PHPStan\Analyser\NodeScopeResolver->processStmtNode(Object(PhpParser\Node\Stmt\Enum_), Object(PHPStan\Analyser\MutatingScope), Object(Closure), Object(PHPStan\Analyser\StatementContext))
#14 D:\a\phpstan-src\phpstan-src\src\Analyser\NodeScopeResolver.php(945): PHPStan\Analyser\NodeScopeResolver->processStmtNodes(Object(PhpParser\Node\Stmt\Namespace_), Array, Object(PHPStan\Analyser\MutatingScope), Object(Closure), Object(PHPStan\Analyser\StatementContext))
#15 D:\a\phpstan-src\phpstan-src\src\Analyser\NodeScopeResolver.php(334): PHPStan\Analyser\NodeScopeResolver->processStmtNode(Object(PhpParser\Node\Stmt\Namespace_), Object(PHPStan\Analyser\MutatingScope), Object(Closure), Object(PHPStan\Analyser\StatementContext))
#16 D:\a\phpstan-src\phpstan-src\src\Analyser\FileAna
|
PHPStan (8.5, windows-latest)
Child process error (exit code 255): PHP Fatal error: Class PHPStan\Rules\RestrictedUsage\RewrittenDeclaringClassMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining method (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in D:\a\phpstan-src\phpstan-src\src\Rules\RestrictedUsage\RewrittenDeclaringClassMethodReflection.php on line 13
Stack trace:
#0 D:\a\phpstan-src\phpstan-src\vendor\composer\ClassLoader.php(576): include()
#1 D:\a\phpstan-src\phpstan-src\vendor\composer\ClassLoader.php(427): {closure:Composer\Autoload\ClassLoader::initializeIncludeClosure():575}('D:\\a\\phpstan-sr...')
#2 [internal function]: Composer\Autoload\ClassLoader->loadClass('PHPStan\\Rules\\R...')
#3 D:\a\phpstan-src\phpstan-src\vendor\nette\di\src\DI\Helpers.php(250): class_exists('PHPStan\\Rules\\R...')
#4 D:\a\phpstan-src\phpstan-src\vendor\nette\di\src\DI\Container.php(307): Nette\DI\Helpers::normalizeClass('PHPStan\\Rules\\R...')
#5 D:\a\phpstan-src\phpstan-src\src\DependencyInjection\Nette\NetteContainer.php(61): Nette\DI\Container->findByType('PHPStan\\Rules\\R...')
#6 D:\a\phpstan-src\phpstan-src\src\DependencyInjection\MemoizingContainer.php(45): PHPStan\DependencyInjection\Nette\NetteContainer->findServiceNamesByType('PHPStan\\Rules\\R...')
#7 D:\a\phpstan-src\phpstan-src\vendor\shipmonk\dead-code-detector\src\Provider\PhpStanUsageProvider.php(36): PHPStan\DependencyInjection\MemoizingContainer->findServiceNamesByType('PHPStan\\Rules\\R...')
#8 D:\a\phpstan-src\phpstan-src\vendor\shipmonk\dead-code-detector\src\Provider\PhpStanUsageProvider.php(27): ShipMonk\PHPStan\DeadCode\Provider\PhpStanUsageProvider->isConstructorCallInPhpStanDic(Object(PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod))
#9 D:\a\phpstan-src\phpstan-src\vendor\shipmonk\dead-code-detector\src\Provider\ReflectionBasedMemberUsageProvider.php(63): ShipMonk\PHPStan\DeadCode\Provider\PhpStanUsageProvider->shouldMarkMethodAsUsed(Object(PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod))
#10 D:\a\phpstan-src\phpstan-src\vendor\shipmonk\dead-code-detector\src\Provider\ReflectionBasedMemberUsageProvider.php(31): ShipMonk\PHPStan\DeadCode\Provider\ReflectionBasedMemberUsageProvider->getMethodUsages(Object(PHPStan\Reflection\ClassReflection))
#11 D:\a\phpstan-src\phpstan-src\vendor\shipmonk\dead-code-detector\src\Collector\ProvidedUsagesCollector.php(66): ShipMonk\PHPStan\DeadCode\Provider\ReflectionBasedMemberUsageProvider->getUsages(Object(PHPStan\Node\InClassNode), Object(PHPStan\Analyser\MutatingScope))
#12 D:\a\phpstan-src\phpstan-src\src\Analyser\FileAnalyser.php(180): ShipMonk\PHPStan\DeadCode\Collector\ProvidedUsagesCollector->processNode(Object(PHPStan\Node\InClassNode), Object(PHPStan\Analyser\MutatingScope))
#13 D:\a\phpstan-src\phpstan-src\src\Analyser\NodeScopeResolver.php(961): PHPStan\Analyser\FileAnalyser->{closure:PHPStan\Analyser\FileAnalyser::analyseFile():101}(Object(PHPStan\Node\InClassNode), Object(PHPStan\Analyser\MutatingScope))
#14 D:\a\phpstan-src\phpstan-src\src\Analyser\NodeScopeResolver.php(404): PHPStan\Analyser\NodeScopeResolver->processStmtNode(Object(PhpParser\Node\Stmt\Class_), Object(PHPStan\Analyser\MutatingScope), Object(Closure), Object(PHPStan\Analyser\StatementContext))
#15 D:\a\phpstan-src\phpstan-src\src\Analyser\NodeScopeResolver.php(945): PHPStan\Analyser\NodeScopeResolver->processStmtNodes(Object(PhpParser\Node\Stmt\Namespace_), Array, Object(PHPStan\Analyser\MutatingScope), Object(Closure), Object(PHPStan\Analyser\StatementContext))
#16 D:\a\phpstan-src\phpstan-src\src\Analyser\NodeScopeResolver.php(334): PHPStan\Analyser\NodeScopeResolver->processStmtNode(Object(PhpParser\Node\Stmt\Namespace_), Object(PHPStan\Analyser\MutatingScope), Object(Closure), Object(PHPStan\Analyser\StatementContext))
#17 D:\a\phpstan-src\phpstan-src\src\Analyser\FileAnalyser.php(247): PHPStan\Analyser\NodeScopeResolver->processNodes(Array, Object(PHPStan\Analyser\MutatingScope), Object(Closure))
#18 D:\a\phpstan-src\phpstan-src\src\Command\WorkerCommand.p
|
PHPStan (8.5, windows-latest)
Child process error (exit code 255): PHP Fatal error: Class PHPStan\Reflection\Php\ClosureCallMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining method (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in D:\a\phpstan-src\phpstan-src\src\Reflection\Php\ClosureCallMethodReflection.php on line 24
Stack trace:
#0 D:\a\phpstan-src\phpstan-src\vendor\composer\ClassLoader.php(576): include()
#1 D:\a\phpstan-src\phpstan-src\vendor\composer\ClassLoader.php(427): {closure:Composer\Autoload\ClassLoader::initializeIncludeClosure():575}('D:\\a\\phpstan-sr...')
#2 [internal function]: Composer\Autoload\ClassLoader->loadClass('PHPStan\\Reflect...')
#3 D:\a\phpstan-src\phpstan-src\vendor\nette\di\src\DI\Helpers.php(250): class_exists('PHPStan\\Reflect...')
#4 D:\a\phpstan-src\phpstan-src\vendor\nette\di\src\DI\Container.php(307): Nette\DI\Helpers::normalizeClass('PHPStan\\Reflect...')
#5 D:\a\phpstan-src\phpstan-src\src\DependencyInjection\Nette\NetteContainer.php(61): Nette\DI\Container->findByType('PHPStan\\Reflect...')
#6 D:\a\phpstan-src\phpstan-src\src\DependencyInjection\MemoizingContainer.php(45): PHPStan\DependencyInjection\Nette\NetteContainer->findServiceNamesByType('PHPStan\\Reflect...')
#7 D:\a\phpstan-src\phpstan-src\vendor\shipmonk\dead-code-detector\src\Provider\PhpStanUsageProvider.php(36): PHPStan\DependencyInjection\MemoizingContainer->findServiceNamesByType('PHPStan\\Reflect...')
#8 D:\a\phpstan-src\phpstan-src\vendor\shipmonk\dead-code-detector\src\Provider\PhpStanUsageProvider.php(27): ShipMonk\PHPStan\DeadCode\Provider\PhpStanUsageProvider->isConstructorCallInPhpStanDic(Object(PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod))
#9 D:\a\phpstan-src\phpstan-src\vendor\shipmonk\dead-code-detector\src\Provider\ReflectionBasedMemberUsageProvider.php(63): ShipMonk\PHPStan\DeadCode\Provider\PhpStanUsageProvider->shouldMarkMethodAsUsed(Object(PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod))
#10 D:\a\phpstan-src\phpstan-src\vendor\shipmonk\dead-code-detector\src\Provider\ReflectionBasedMemberUsageProvider.php(31): ShipMonk\PHPStan\DeadCode\Provider\ReflectionBasedMemberUsageProvider->getMethodUsages(Object(PHPStan\Reflection\ClassReflection))
#11 D:\a\phpstan-src\phpstan-src\vendor\shipmonk\dead-code-detector\src\Collector\ProvidedUsagesCollector.php(66): ShipMonk\PHPStan\DeadCode\Provider\ReflectionBasedMemberUsageProvider->getUsages(Object(PHPStan\Node\InClassNode), Object(PHPStan\Analyser\MutatingScope))
#12 D:\a\phpstan-src\phpstan-src\src\Analyser\FileAnalyser.php(180): ShipMonk\PHPStan\DeadCode\Collector\ProvidedUsagesCollector->processNode(Object(PHPStan\Node\InClassNode), Object(PHPStan\Analyser\MutatingScope))
#13 D:\a\phpstan-src\phpstan-src\src\Analyser\NodeScopeResolver.php(961): PHPStan\Analyser\FileAnalyser->{closure:PHPStan\Analyser\FileAnalyser::analyseFile():101}(Object(PHPStan\Node\InClassNode), Object(PHPStan\Analyser\MutatingScope))
#14 D:\a\phpstan-src\phpstan-src\src\Analyser\NodeScopeResolver.php(404): PHPStan\Analyser\NodeScopeResolver->processStmtNode(Object(PhpParser\Node\Stmt\Class_), Object(PHPStan\Analyser\MutatingScope), Object(Closure), Object(PHPStan\Analyser\StatementContext))
#15 D:\a\phpstan-src\phpstan-src\src\Analyser\NodeScopeResolver.php(945): PHPStan\Analyser\NodeScopeResolver->processStmtNodes(Object(PhpParser\Node\Stmt\Namespace_), Array, Object(PHPStan\Analyser\MutatingScope), Object(Closure), Object(PHPStan\Analyser\StatementContext))
#16 D:\a\phpstan-src\phpstan-src\src\Analyser\NodeScopeResolver.php(334): PHPStan\Analyser\NodeScopeResolver->processStmtNode(Object(PhpParser\Node\Stmt\Namespace_), Object(PHPStan\Analyser\MutatingScope), Object(Closure), Object(PHPStan\Analyser\StatementContext))
#17 D:\a\phpstan-src\phpstan-src\src\Analyser\FileAnalyser.php(247): PHPStan\Analyser\NodeScopeResolver->processNodes(Array, Object(PHPStan\Analyser\MutatingScope), Object(Closure))
#18 D:\a\phpstan-src\phpstan-src\src\Command\WorkerCommand.php(236): PHPStan\Analyser\FileAnalyser->anal
|
PHPStan (8.5, windows-latest)
Child process error (exit code 255): PHP Fatal error: Class PHPStan\Reflection\Php\EnumCasesMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining method (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in D:\a\phpstan-src\phpstan-src\src\Reflection\Php\EnumCasesMethodReflection.php on line 17
Stack trace:
#0 D:\a\phpstan-src\phpstan-src\vendor\composer\ClassLoader.php(576): include()
#1 D:\a\phpstan-src\phpstan-src\vendor\composer\ClassLoader.php(427): {closure:Composer\Autoload\ClassLoader::initializeIncludeClosure():575}('D:\\a\\phpstan-sr...')
#2 [internal function]: Composer\Autoload\ClassLoader->loadClass('PHPStan\\Reflect...')
#3 D:\a\phpstan-src\phpstan-src\vendor\nette\di\src\DI\Helpers.php(250): class_exists('PHPStan\\Reflect...')
#4 D:\a\phpstan-src\phpstan-src\vendor\nette\di\src\DI\Container.php(307): Nette\DI\Helpers::normalizeClass('PHPStan\\Reflect...')
#5 D:\a\phpstan-src\phpstan-src\src\DependencyInjection\Nette\NetteContainer.php(61): Nette\DI\Container->findByType('PHPStan\\Reflect...')
#6 D:\a\phpstan-src\phpstan-src\src\DependencyInjection\MemoizingContainer.php(45): PHPStan\DependencyInjection\Nette\NetteContainer->findServiceNamesByType('PHPStan\\Reflect...')
#7 D:\a\phpstan-src\phpstan-src\vendor\shipmonk\dead-code-detector\src\Provider\PhpStanUsageProvider.php(36): PHPStan\DependencyInjection\MemoizingContainer->findServiceNamesByType('PHPStan\\Reflect...')
#8 D:\a\phpstan-src\phpstan-src\vendor\shipmonk\dead-code-detector\src\Provider\PhpStanUsageProvider.php(27): ShipMonk\PHPStan\DeadCode\Provider\PhpStanUsageProvider->isConstructorCallInPhpStanDic(Object(PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod))
#9 D:\a\phpstan-src\phpstan-src\vendor\shipmonk\dead-code-detector\src\Provider\ReflectionBasedMemberUsageProvider.php(63): ShipMonk\PHPStan\DeadCode\Provider\PhpStanUsageProvider->shouldMarkMethodAsUsed(Object(PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod))
#10 D:\a\phpstan-src\phpstan-src\vendor\shipmonk\dead-code-detector\src\Provider\ReflectionBasedMemberUsageProvider.php(31): ShipMonk\PHPStan\DeadCode\Provider\ReflectionBasedMemberUsageProvider->getMethodUsages(Object(PHPStan\Reflection\ClassReflection))
#11 D:\a\phpstan-src\phpstan-src\vendor\shipmonk\dead-code-detector\src\Collector\ProvidedUsagesCollector.php(66): ShipMonk\PHPStan\DeadCode\Provider\ReflectionBasedMemberUsageProvider->getUsages(Object(PHPStan\Node\InClassNode), Object(PHPStan\Analyser\MutatingScope))
#12 D:\a\phpstan-src\phpstan-src\src\Analyser\FileAnalyser.php(180): ShipMonk\PHPStan\DeadCode\Collector\ProvidedUsagesCollector->processNode(Object(PHPStan\Node\InClassNode), Object(PHPStan\Analyser\MutatingScope))
#13 D:\a\phpstan-src\phpstan-src\src\Analyser\NodeScopeResolver.php(961): PHPStan\Analyser\FileAnalyser->{closure:PHPStan\Analyser\FileAnalyser::analyseFile():101}(Object(PHPStan\Node\InClassNode), Object(PHPStan\Analyser\MutatingScope))
#14 D:\a\phpstan-src\phpstan-src\src\Analyser\NodeScopeResolver.php(404): PHPStan\Analyser\NodeScopeResolver->processStmtNode(Object(PhpParser\Node\Stmt\Class_), Object(PHPStan\Analyser\MutatingScope), Object(Closure), Object(PHPStan\Analyser\StatementContext))
#15 D:\a\phpstan-src\phpstan-src\src\Analyser\NodeScopeResolver.php(945): PHPStan\Analyser\NodeScopeResolver->processStmtNodes(Object(PhpParser\Node\Stmt\Namespace_), Array, Object(PHPStan\Analyser\MutatingScope), Object(Closure), Object(PHPStan\Analyser\StatementContext))
#16 D:\a\phpstan-src\phpstan-src\src\Analyser\NodeScopeResolver.php(334): PHPStan\Analyser\NodeScopeResolver->processStmtNode(Object(PhpParser\Node\Stmt\Namespace_), Object(PHPStan\Analyser\MutatingScope), Object(Closure), Object(PHPStan\Analyser\StatementContext))
#17 D:\a\phpstan-src\phpstan-src\src\Analyser\FileAnalyser.php(247): PHPStan\Analyser\NodeScopeResolver->processNodes(Array, Object(PHPStan\Analyser\MutatingScope), Object(Closure))
#18 D:\a\phpstan-src\phpstan-src\src\Command\WorkerCommand.php(236): PHPStan\Analyser\FileAnalyser->analyseF
|
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
|
PHPStan (8.2, windows-latest)
Child process error (exit code 255): PHP Fatal error: Class PHPStan\Rules\RestrictedUsage\RewrittenDeclaringClassMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in D:\a\phpstan-src\phpstan-src\src\Rules\RestrictedUsage\RewrittenDeclaringClassMethodReflection.php on line 13
Fatal error: Class PHPStan\Rules\RestrictedUsage\RewrittenDeclaringClassMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in D:\a\phpstan-src\phpstan-src\src\Rules\RestrictedUsage\RewrittenDeclaringClassMethodReflection.php on line 13
while running parallel worker
|
PHPStan (8.2, windows-latest)
Child process error (exit code 255): PHP Fatal error: Class PHPStan\Reflection\Php\EnumCasesMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in D:\a\phpstan-src\phpstan-src\src\Reflection\Php\EnumCasesMethodReflection.php on line 17
Fatal error: Class PHPStan\Reflection\Php\EnumCasesMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in D:\a\phpstan-src\phpstan-src\src\Reflection\Php\EnumCasesMethodReflection.php on line 17
while running parallel worker
|
PHPStan (8.2, windows-latest)
Child process error (exit code 255): PHP Fatal error: Class PHPStan\Reflection\Php\ClosureCallMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in D:\a\phpstan-src\phpstan-src\src\Reflection\Php\ClosureCallMethodReflection.php on line 24
Fatal error: Class PHPStan\Reflection\Php\ClosureCallMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in D:\a\phpstan-src\phpstan-src\src\Reflection\Php\ClosureCallMethodReflection.php on line 24
while running parallel worker
|
PHPStan (8.2, windows-latest)
Canceling since a higher priority waiting request for sa-polyfill-NoDiscard-function exists
|
PHPStan (7.4, windows-latest)
The operation was canceled.
|
PHPStan (7.4, windows-latest)
Canceling since a higher priority waiting request for sa-polyfill-NoDiscard-function exists
|
PHPStan (8.3, windows-latest)
The operation was canceled.
|
PHPStan (8.3, windows-latest)
Canceling since a higher priority waiting request for sa-polyfill-NoDiscard-function exists
|
PHPStan (8.4, windows-latest)
The operation was canceled.
|
PHPStan (8.4, windows-latest)
Child process error (exit code 255): PHP Fatal error: Class PHPStan\Rules\RestrictedUsage\RewrittenDeclaringClassMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in D:\a\phpstan-src\phpstan-src\src\Rules\RestrictedUsage\RewrittenDeclaringClassMethodReflection.php on line 13
Fatal error: Class PHPStan\Rules\RestrictedUsage\RewrittenDeclaringClassMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in D:\a\phpstan-src\phpstan-src\src\Rules\RestrictedUsage\RewrittenDeclaringClassMethodReflection.php on line 13
while running parallel worker
|
PHPStan (8.4, windows-latest)
Child process error (exit code 255): PHP Fatal error: Class PHPStan\Reflection\Php\ClosureCallMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in D:\a\phpstan-src\phpstan-src\src\Reflection\Php\ClosureCallMethodReflection.php on line 24
Fatal error: Class PHPStan\Reflection\Php\ClosureCallMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in D:\a\phpstan-src\phpstan-src\src\Reflection\Php\ClosureCallMethodReflection.php on line 24
while running parallel worker
|
PHPStan (8.4, windows-latest)
Child process error (exit code 255): PHP Fatal error: Class PHPStan\Reflection\Php\EnumCasesMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in D:\a\phpstan-src\phpstan-src\src\Reflection\Php\EnumCasesMethodReflection.php on line 17
Fatal error: Class PHPStan\Reflection\Php\EnumCasesMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in D:\a\phpstan-src\phpstan-src\src\Reflection\Php\EnumCasesMethodReflection.php on line 17
while running parallel worker
|
PHPStan (8.4, windows-latest)
Canceling since a higher priority waiting request for sa-polyfill-NoDiscard-function exists
|
PHPStan (7.4, ubuntu-latest)
The operation was canceled.
|
PHPStan (7.4, ubuntu-latest)
Canceling since a higher priority waiting request for sa-polyfill-NoDiscard-function exists
|
Static Analysis
Canceling since a higher priority waiting request for sa-polyfill-NoDiscard-function exists
|
PHPStan (8.1, windows-latest)
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
|
PHPStan (8.0, windows-latest)
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
|
PHPStan (8.5, windows-latest)
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
|
PHPStan (8.2, windows-latest)
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
|
PHPStan (7.4, windows-latest)
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
|
PHPStan (8.3, windows-latest)
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
|
PHPStan (8.4, windows-latest)
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
|