Skip to content

Initialize Dead Code Detector #21029

Initialize Dead Code Detector

Initialize Dead Code Detector #21029

Triggered via pull request May 16, 2025 12:26
Status Failure
Total duration 3m 33s
Artifacts

static-analysis.yml

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

Annotations

101 errors
PHPStan (8.2, ubuntu-latest): src/Reflection/MethodPrototypeReflection.php#L58
Unused PHPStan\Reflection\MethodPrototypeReflection::isFinal
PHPStan (8.2, ubuntu-latest): src/Reflection/ResolvedFunctionVariantWithCallable.php#L70
Unused PHPStan\Reflection\ResolvedFunctionVariantWithCallable::getPhpDocReturnTypeWithUnresolvableTemplateTypes
PHPStan (8.2, ubuntu-latest): src/Reflection/ResolvedFunctionVariantWithCallable.php#L72
Call to an undefined method PHPStan\Reflection\ResolvedFunctionVariant::getPhpDocReturnTypeWithUnresolvableTemplateTypes().
PHPStan (8.2, ubuntu-latest): src/Type/GeneralizePrecision.php#L43
Unused PHPStan\Type\GeneralizePrecision::isLessSpecific
PHPStan (8.2, ubuntu-latest): src/Type/SubtractableType.php#L8
Unused PHPStan\Type\SubtractableType::subtract
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
PHPStan with result cache (8.1): src/Reflection/MethodPrototypeReflection.php#L58
Unused PHPStan\Reflection\MethodPrototypeReflection::isFinal
PHPStan with result cache (8.1): src/Reflection/ResolvedFunctionVariantWithCallable.php#L70
Unused PHPStan\Reflection\ResolvedFunctionVariantWithCallable::getPhpDocReturnTypeWithUnresolvableTemplateTypes
PHPStan with result cache (8.1): src/Reflection/ResolvedFunctionVariantWithCallable.php#L72
Call to an undefined method PHPStan\Reflection\ResolvedFunctionVariant::getPhpDocReturnTypeWithUnresolvableTemplateTypes().
PHPStan with result cache (8.1): src/Type/GeneralizePrecision.php#L43
Unused PHPStan\Type\GeneralizePrecision::isLessSpecific
PHPStan with result cache (8.3): src/Reflection/MethodPrototypeReflection.php#L58
Unused PHPStan\Reflection\MethodPrototypeReflection::isFinal
PHPStan with result cache (8.1): src/Type/SubtractableType.php#L8
Unused PHPStan\Type\SubtractableType::subtract
PHPStan with result cache (8.3): src/Reflection/ResolvedFunctionVariantWithCallable.php#L70
Unused PHPStan\Reflection\ResolvedFunctionVariantWithCallable::getPhpDocReturnTypeWithUnresolvableTemplateTypes
PHPStan with result cache (8.1)
Process completed with exit code 2.
PHPStan with result cache (8.3): src/Reflection/ResolvedFunctionVariantWithCallable.php#L72
Call to an undefined method PHPStan\Reflection\ResolvedFunctionVariant::getPhpDocReturnTypeWithUnresolvableTemplateTypes().
PHPStan with result cache (8.3): src/Type/GeneralizePrecision.php#L43
Unused PHPStan\Type\GeneralizePrecision::isLessSpecific
PHPStan with result cache (8.3): src/Type/SubtractableType.php#L8
Unused PHPStan\Type\SubtractableType::subtract
PHPStan with result cache (8.3)
Process completed with exit code 2.
PHPStan with result cache (8.2): src/Reflection/MethodPrototypeReflection.php#L58
Unused PHPStan\Reflection\MethodPrototypeReflection::isFinal
PHPStan with result cache (8.2): src/Reflection/ResolvedFunctionVariantWithCallable.php#L70
Unused PHPStan\Reflection\ResolvedFunctionVariantWithCallable::getPhpDocReturnTypeWithUnresolvableTemplateTypes
PHPStan with result cache (8.2): src/Reflection/ResolvedFunctionVariantWithCallable.php#L72
Call to an undefined method PHPStan\Reflection\ResolvedFunctionVariant::getPhpDocReturnTypeWithUnresolvableTemplateTypes().
PHPStan with result cache (8.2): src/Type/GeneralizePrecision.php#L43
Unused PHPStan\Type\GeneralizePrecision::isLessSpecific
PHPStan with result cache (8.2): src/Type/SubtractableType.php#L8
Unused PHPStan\Type\SubtractableType::subtract
PHPStan with result cache (8.2)
Process completed with exit code 2.
Generate baseline
Process completed with exit code 1.
PHPStan (8.4, ubuntu-latest): src/Reflection/MethodPrototypeReflection.php#L58
Unused PHPStan\Reflection\MethodPrototypeReflection::isFinal
PHPStan (8.4, ubuntu-latest): src/Reflection/ResolvedFunctionVariantWithCallable.php#L70
Unused PHPStan\Reflection\ResolvedFunctionVariantWithCallable::getPhpDocReturnTypeWithUnresolvableTemplateTypes
PHPStan (8.4, ubuntu-latest): src/Reflection/ResolvedFunctionVariantWithCallable.php#L72
Call to an undefined method PHPStan\Reflection\ResolvedFunctionVariant::getPhpDocReturnTypeWithUnresolvableTemplateTypes().
PHPStan (8.4, ubuntu-latest): src/Type/GeneralizePrecision.php#L43
Unused PHPStan\Type\GeneralizePrecision::isLessSpecific
PHPStan (8.4, ubuntu-latest): src/Type/SubtractableType.php#L8
Unused PHPStan\Type\SubtractableType::subtract
PHPStan (8.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan with result cache (8.4): src/Reflection/MethodPrototypeReflection.php#L58
Unused PHPStan\Reflection\MethodPrototypeReflection::isFinal
PHPStan with result cache (8.4): src/Reflection/ResolvedFunctionVariantWithCallable.php#L70
Unused PHPStan\Reflection\ResolvedFunctionVariantWithCallable::getPhpDocReturnTypeWithUnresolvableTemplateTypes
PHPStan with result cache (8.4): src/Reflection/ResolvedFunctionVariantWithCallable.php#L72
Call to an undefined method PHPStan\Reflection\ResolvedFunctionVariant::getPhpDocReturnTypeWithUnresolvableTemplateTypes().
PHPStan with result cache (8.4): src/Type/GeneralizePrecision.php#L43
Unused PHPStan\Type\GeneralizePrecision::isLessSpecific
PHPStan with result cache (8.4): src/Type/SubtractableType.php#L8
Unused PHPStan\Type\SubtractableType::subtract
PHPStan with result cache (8.4)
Process completed with exit code 2.
PHPStan (8.1, ubuntu-latest): src/Reflection/MethodPrototypeReflection.php#L58
Unused PHPStan\Reflection\MethodPrototypeReflection::isFinal
PHPStan (8.1, ubuntu-latest): src/Reflection/ResolvedFunctionVariantWithCallable.php#L70
Unused PHPStan\Reflection\ResolvedFunctionVariantWithCallable::getPhpDocReturnTypeWithUnresolvableTemplateTypes
PHPStan (8.1, ubuntu-latest): src/Reflection/ResolvedFunctionVariantWithCallable.php#L72
Call to an undefined method PHPStan\Reflection\ResolvedFunctionVariant::getPhpDocReturnTypeWithUnresolvableTemplateTypes().
PHPStan (8.1, ubuntu-latest): src/Type/GeneralizePrecision.php#L43
Unused PHPStan\Type\GeneralizePrecision::isLessSpecific
PHPStan (8.1, ubuntu-latest): src/Type/SubtractableType.php#L8
Unused PHPStan\Type\SubtractableType::subtract
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.0, ubuntu-latest): src/Reflection/MethodPrototypeReflection.php#L58
Unused PHPStan\Reflection\MethodPrototypeReflection::isFinal
PHPStan (8.0, ubuntu-latest): src/Reflection/ResolvedFunctionVariantWithCallable.php#L70
Unused PHPStan\Reflection\ResolvedFunctionVariantWithCallable::getPhpDocReturnTypeWithUnresolvableTemplateTypes
PHPStan (8.0, ubuntu-latest): src/Reflection/ResolvedFunctionVariantWithCallable.php#L72
Call to an undefined method PHPStan\Reflection\ResolvedFunctionVariant::getPhpDocReturnTypeWithUnresolvableTemplateTypes().
PHPStan (8.0, ubuntu-latest): src/Type/GeneralizePrecision.php#L43
Unused PHPStan\Type\GeneralizePrecision::isLessSpecific
PHPStan (8.0, ubuntu-latest): src/Type/SubtractableType.php#L8
Unused PHPStan\Type\SubtractableType::subtract
PHPStan (8.0, ubuntu-latest)
Ignored error pattern shipmonk.deadConstant in path /home/runner/work/phpstan-src/phpstan-src/tests/PHPStan/Fixture was not matched in reported errors.
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.4, ubuntu-latest): src/Reflection/MethodPrototypeReflection.php#L69
Unused PHPStan\Reflection\MethodPrototypeReflection::isFinal
PHPStan (7.4, ubuntu-latest): src/Reflection/ResolvedFunctionVariantWithCallable.php#L87
Unused PHPStan\Reflection\ResolvedFunctionVariantWithCallable::getPhpDocReturnTypeWithUnresolvableTemplateTypes
PHPStan (7.4, ubuntu-latest): src/Reflection/ResolvedFunctionVariantWithCallable.php#L89
Call to an undefined method PHPStan\Reflection\ResolvedFunctionVariant::getPhpDocReturnTypeWithUnresolvableTemplateTypes().
PHPStan (7.4, ubuntu-latest): src/Type/GeneralizePrecision.php#L45
Unused PHPStan\Type\GeneralizePrecision::isLessSpecific
PHPStan (7.4, ubuntu-latest): src/Type/SubtractableType.php#L8
Unused PHPStan\Type\SubtractableType::subtract
PHPStan (7.4, ubuntu-latest)
Ignored error pattern shipmonk.deadConstant in path /home/runner/work/phpstan-src/phpstan-src/tests/PHPStan/Fixture was not matched in reported errors.
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.1, windows-latest): src/Reflection/MethodPrototypeReflection.php#L58
Unused PHPStan\Reflection\MethodPrototypeReflection::isFinal
PHPStan (8.1, windows-latest): src/Reflection/ResolvedFunctionVariantWithCallable.php#L70
Unused PHPStan\Reflection\ResolvedFunctionVariantWithCallable::getPhpDocReturnTypeWithUnresolvableTemplateTypes
PHPStan (8.1, windows-latest): src/Reflection/ResolvedFunctionVariantWithCallable.php#L72
Call to an undefined method PHPStan\Reflection\ResolvedFunctionVariant::getPhpDocReturnTypeWithUnresolvableTemplateTypes().
PHPStan (8.1, windows-latest): src/Type/GeneralizePrecision.php#L43
Unused PHPStan\Type\GeneralizePrecision::isLessSpecific
PHPStan (8.1, windows-latest): src/Type/SubtractableType.php#L8
Unused PHPStan\Type\SubtractableType::subtract
PHPStan (8.1, windows-latest)
Process completed with exit code 1.
PHPStan (8.2, windows-latest): src/Reflection/MethodPrototypeReflection.php#L58
Unused PHPStan\Reflection\MethodPrototypeReflection::isFinal
PHPStan (8.2, windows-latest): src/Reflection/ResolvedFunctionVariantWithCallable.php#L70
Unused PHPStan\Reflection\ResolvedFunctionVariantWithCallable::getPhpDocReturnTypeWithUnresolvableTemplateTypes
PHPStan (8.2, windows-latest): src/Reflection/ResolvedFunctionVariantWithCallable.php#L72
Call to an undefined method PHPStan\Reflection\ResolvedFunctionVariant::getPhpDocReturnTypeWithUnresolvableTemplateTypes().
PHPStan (8.2, windows-latest): src/Type/GeneralizePrecision.php#L43
Unused PHPStan\Type\GeneralizePrecision::isLessSpecific
PHPStan (8.2, windows-latest): src/Type/SubtractableType.php#L8
Unused PHPStan\Type\SubtractableType::subtract
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
PHPStan (8.4, windows-latest): src/Reflection/MethodPrototypeReflection.php#L58
Unused PHPStan\Reflection\MethodPrototypeReflection::isFinal
PHPStan (8.4, windows-latest): src/Reflection/ResolvedFunctionVariantWithCallable.php#L70
Unused PHPStan\Reflection\ResolvedFunctionVariantWithCallable::getPhpDocReturnTypeWithUnresolvableTemplateTypes
PHPStan (8.4, windows-latest): src/Reflection/ResolvedFunctionVariantWithCallable.php#L72
Call to an undefined method PHPStan\Reflection\ResolvedFunctionVariant::getPhpDocReturnTypeWithUnresolvableTemplateTypes().
PHPStan (8.4, windows-latest): src/Type/GeneralizePrecision.php#L43
Unused PHPStan\Type\GeneralizePrecision::isLessSpecific
PHPStan (8.4, windows-latest): src/Type/SubtractableType.php#L8
Unused PHPStan\Type\SubtractableType::subtract
PHPStan (8.4, windows-latest)
Process completed with exit code 1.
PHPStan (8.3, ubuntu-latest): src/Reflection/MethodPrototypeReflection.php#L58
Unused PHPStan\Reflection\MethodPrototypeReflection::isFinal
PHPStan (8.3, ubuntu-latest): src/Reflection/ResolvedFunctionVariantWithCallable.php#L70
Unused PHPStan\Reflection\ResolvedFunctionVariantWithCallable::getPhpDocReturnTypeWithUnresolvableTemplateTypes
PHPStan (8.3, ubuntu-latest): src/Reflection/ResolvedFunctionVariantWithCallable.php#L72
Call to an undefined method PHPStan\Reflection\ResolvedFunctionVariant::getPhpDocReturnTypeWithUnresolvableTemplateTypes().
PHPStan (8.3, ubuntu-latest): src/Type/GeneralizePrecision.php#L43
Unused PHPStan\Type\GeneralizePrecision::isLessSpecific
PHPStan (8.3, ubuntu-latest): src/Type/SubtractableType.php#L8
Unused PHPStan\Type\SubtractableType::subtract
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.3, windows-latest): src/Reflection/MethodPrototypeReflection.php#L58
Unused PHPStan\Reflection\MethodPrototypeReflection::isFinal
PHPStan (8.3, windows-latest): src/Reflection/ResolvedFunctionVariantWithCallable.php#L70
Unused PHPStan\Reflection\ResolvedFunctionVariantWithCallable::getPhpDocReturnTypeWithUnresolvableTemplateTypes
PHPStan (8.3, windows-latest): src/Reflection/ResolvedFunctionVariantWithCallable.php#L72
Call to an undefined method PHPStan\Reflection\ResolvedFunctionVariant::getPhpDocReturnTypeWithUnresolvableTemplateTypes().
PHPStan (8.3, windows-latest): src/Type/GeneralizePrecision.php#L43
Unused PHPStan\Type\GeneralizePrecision::isLessSpecific
PHPStan (8.3, windows-latest): src/Type/SubtractableType.php#L8
Unused PHPStan\Type\SubtractableType::subtract
PHPStan (8.3, windows-latest)
Process completed with exit code 1.
PHPStan (8.0, windows-latest): src/Reflection/MethodPrototypeReflection.php#L58
Unused PHPStan\Reflection\MethodPrototypeReflection::isFinal
PHPStan (8.0, windows-latest): src/Reflection/ResolvedFunctionVariantWithCallable.php#L70
Unused PHPStan\Reflection\ResolvedFunctionVariantWithCallable::getPhpDocReturnTypeWithUnresolvableTemplateTypes
PHPStan (8.0, windows-latest): src/Reflection/ResolvedFunctionVariantWithCallable.php#L72
Call to an undefined method PHPStan\Reflection\ResolvedFunctionVariant::getPhpDocReturnTypeWithUnresolvableTemplateTypes().
PHPStan (8.0, windows-latest): src/Type/GeneralizePrecision.php#L43
Unused PHPStan\Type\GeneralizePrecision::isLessSpecific
PHPStan (8.0, windows-latest): src/Type/SubtractableType.php#L8
Unused PHPStan\Type\SubtractableType::subtract
PHPStan (8.0, windows-latest)
Ignored error pattern shipmonk.deadConstant in path D:\a\phpstan-src\phpstan-src\tests\PHPStan\Fixture was not matched in reported errors.
PHPStan (8.0, windows-latest)
Process completed with exit code 1.
PHPStan (7.4, windows-latest): src/Reflection/MethodPrototypeReflection.php#L69
Unused PHPStan\Reflection\MethodPrototypeReflection::isFinal
PHPStan (7.4, windows-latest): src/Reflection/ResolvedFunctionVariantWithCallable.php#L87
Unused PHPStan\Reflection\ResolvedFunctionVariantWithCallable::getPhpDocReturnTypeWithUnresolvableTemplateTypes
PHPStan (7.4, windows-latest): src/Reflection/ResolvedFunctionVariantWithCallable.php#L89
Call to an undefined method PHPStan\Reflection\ResolvedFunctionVariant::getPhpDocReturnTypeWithUnresolvableTemplateTypes().
PHPStan (7.4, windows-latest): src/Type/GeneralizePrecision.php#L45
Unused PHPStan\Type\GeneralizePrecision::isLessSpecific
PHPStan (7.4, windows-latest): src/Type/SubtractableType.php#L8
Unused PHPStan\Type\SubtractableType::subtract
PHPStan (7.4, windows-latest)
Ignored error pattern shipmonk.deadConstant in path D:\a\phpstan-src\phpstan-src\tests\PHPStan\Fixture was not matched in reported errors.
PHPStan (7.4, windows-latest)
Process completed with exit code 1.