Skip to content

Implement ArrayKeyFirstLastTypeSpecifyingExtension #26141

Implement ArrayKeyFirstLastTypeSpecifyingExtension

Implement ArrayKeyFirstLastTypeSpecifyingExtension #26141

Triggered via pull request February 19, 2026 09:05
Status Failure
Total duration 4m 27s
Artifacts 3

static-analysis.yml

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

Annotations

166 errors and 8 warnings
PHPStan with result cache (8.3)
Process completed with exit code 2.
PHPStan with result cache (8.3): src/Type/TypeCombinator.php#L763
Call to function array_key_first() with non-empty-array<PHPStan\Type\Accessory\AccessoryType|PHPStan\Type\CallableType> will always evaluate to true.
PHPStan with result cache (8.3): src/Type/Php/GetDebugTypeFunctionReturnTypeExtension.php#L83
Call to function array_key_first() with non-empty-array<string, PHPStan\Reflection\ClassReflection> will always evaluate to true.
PHPStan with result cache (8.3): src/Type/Php/ArrayKeyFirstLastTypeSpecifyingExtension.php#L30
Call to function in_array() requires parameter #3 to be set.
PHPStan with result cache (8.3): src/Rules/Arrays/DuplicateKeysInLiteralArraysRule.php#L109
Call to function array_key_first() with non-empty-array<int<0, max>, bool|float|int|string|null> will always evaluate to true.
PHPStan with result cache (8.3): src/Reflection/ParametersAcceptorSelector.php#L637
Call to function array_key_last() with non-empty-array<int|string, PHPStan\Type\Type> will always evaluate to true.
PHPStan with result cache (8.3): src/Reflection/BetterReflection/BetterReflectionProvider.php#L216
Call to function array_key_first() with non-empty-list<class-string> will always evaluate to true.
PHPStan with result cache (8.3): src/Analyser/NodeScopeResolver.php#L6173
Call to function array_key_last() with non-empty-list<PhpParser\Node\Expr\ArrayDimFetch> will always evaluate to true.
PHPStan with result cache (8.3): src/Analyser/MutatingScope.php#L3486
Call to function array_key_first() with non-empty-array<PHPStan\Analyser\ConditionalExpressionHolder> will always evaluate to true.
PHPStan with result cache (8.5)
Process completed with exit code 2.
PHPStan with result cache (8.5): src/Type/TypeCombinator.php#L763
Call to function array_key_first() with non-empty-array<PHPStan\Type\Accessory\AccessoryType|PHPStan\Type\CallableType> will always evaluate to true.
PHPStan with result cache (8.5): src/Type/Php/GetDebugTypeFunctionReturnTypeExtension.php#L83
Call to function array_key_first() with non-empty-array<string, PHPStan\Reflection\ClassReflection> will always evaluate to true.
PHPStan with result cache (8.5): src/Type/Php/ArrayKeyFirstLastTypeSpecifyingExtension.php#L30
Call to function in_array() requires parameter #3 to be set.
PHPStan with result cache (8.5): src/Rules/Arrays/DuplicateKeysInLiteralArraysRule.php#L109
Call to function array_key_first() with non-empty-array<int<0, max>, bool|float|int|string|null> will always evaluate to true.
PHPStan with result cache (8.5): src/Reflection/ParametersAcceptorSelector.php#L637
Call to function array_key_last() with non-empty-array<int|string, PHPStan\Type\Type> will always evaluate to true.
PHPStan with result cache (8.5): src/Reflection/BetterReflection/BetterReflectionProvider.php#L216
Call to function array_key_first() with non-empty-list<class-string> will always evaluate to true.
PHPStan with result cache (8.5): src/Analyser/NodeScopeResolver.php#L6173
Call to function array_key_last() with non-empty-list<PhpParser\Node\Expr\ArrayDimFetch> will always evaluate to true.
PHPStan with result cache (8.5): src/Analyser/MutatingScope.php#L3486
Call to function array_key_first() with non-empty-array<PHPStan\Analyser\ConditionalExpressionHolder> will always evaluate to true.
PHPStan with result cache (8.4)
Process completed with exit code 2.
PHPStan with result cache (8.4): src/Type/TypeCombinator.php#L763
Call to function array_key_first() with non-empty-array<PHPStan\Type\Accessory\AccessoryType|PHPStan\Type\CallableType> will always evaluate to true.
PHPStan with result cache (8.4): src/Type/Php/GetDebugTypeFunctionReturnTypeExtension.php#L83
Call to function array_key_first() with non-empty-array<string, PHPStan\Reflection\ClassReflection> will always evaluate to true.
PHPStan with result cache (8.4): src/Type/Php/ArrayKeyFirstLastTypeSpecifyingExtension.php#L30
Call to function in_array() requires parameter #3 to be set.
PHPStan with result cache (8.4): src/Rules/Arrays/DuplicateKeysInLiteralArraysRule.php#L109
Call to function array_key_first() with non-empty-array<int<0, max>, bool|float|int|string|null> will always evaluate to true.
PHPStan with result cache (8.4): src/Reflection/ParametersAcceptorSelector.php#L637
Call to function array_key_last() with non-empty-array<int|string, PHPStan\Type\Type> will always evaluate to true.
PHPStan with result cache (8.4): src/Reflection/BetterReflection/BetterReflectionProvider.php#L216
Call to function array_key_first() with non-empty-list<class-string> will always evaluate to true.
PHPStan with result cache (8.4): src/Analyser/NodeScopeResolver.php#L6173
Call to function array_key_last() with non-empty-list<PhpParser\Node\Expr\ArrayDimFetch> will always evaluate to true.
PHPStan with result cache (8.4): src/Analyser/MutatingScope.php#L3486
Call to function array_key_first() with non-empty-array<PHPStan\Analyser\ConditionalExpressionHolder> will always evaluate to true.
PHPStan (8.5, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.5, ubuntu-latest): src/Type/TypeCombinator.php#L763
Call to function array_key_first() with non-empty-array<PHPStan\Type\Accessory\AccessoryType|PHPStan\Type\CallableType> will always evaluate to true.
PHPStan (8.5, ubuntu-latest): src/Type/Php/GetDebugTypeFunctionReturnTypeExtension.php#L83
Call to function array_key_first() with non-empty-array<string, PHPStan\Reflection\ClassReflection> will always evaluate to true.
PHPStan (8.5, ubuntu-latest): src/Type/Php/ArrayKeyFirstLastTypeSpecifyingExtension.php#L30
Call to function in_array() requires parameter #3 to be set.
PHPStan (8.5, ubuntu-latest): src/Rules/Arrays/DuplicateKeysInLiteralArraysRule.php#L109
Call to function array_key_first() with non-empty-array<int<0, max>, bool|float|int|string|null> will always evaluate to true.
PHPStan (8.5, ubuntu-latest): src/Reflection/ParametersAcceptorSelector.php#L637
Call to function array_key_last() with non-empty-array<int|string, PHPStan\Type\Type> will always evaluate to true.
PHPStan (8.5, ubuntu-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L216
Call to function array_key_first() with non-empty-list<class-string> will always evaluate to true.
PHPStan (8.5, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L6173
Call to function array_key_last() with non-empty-list<PhpParser\Node\Expr\ArrayDimFetch> will always evaluate to true.
PHPStan (8.5, ubuntu-latest): src/Analyser/MutatingScope.php#L3486
Call to function array_key_first() with non-empty-array<PHPStan\Analyser\ConditionalExpressionHolder> will always evaluate to true.
PHPStan with result cache (8.2)
Process completed with exit code 2.
PHPStan with result cache (8.2): src/Type/TypeCombinator.php#L763
Call to function array_key_first() with non-empty-array<PHPStan\Type\Accessory\AccessoryType|PHPStan\Type\CallableType> will always evaluate to true.
PHPStan with result cache (8.2): src/Type/Php/GetDebugTypeFunctionReturnTypeExtension.php#L83
Call to function array_key_first() with non-empty-array<string, PHPStan\Reflection\ClassReflection> will always evaluate to true.
PHPStan with result cache (8.2): src/Type/Php/ArrayKeyFirstLastTypeSpecifyingExtension.php#L30
Call to function in_array() requires parameter #3 to be set.
PHPStan with result cache (8.2): src/Rules/Arrays/DuplicateKeysInLiteralArraysRule.php#L109
Call to function array_key_first() with non-empty-array<int<0, max>, bool|float|int|string|null> will always evaluate to true.
PHPStan with result cache (8.2): src/Reflection/ParametersAcceptorSelector.php#L637
Call to function array_key_last() with non-empty-array<int|string, PHPStan\Type\Type> will always evaluate to true.
PHPStan with result cache (8.2): src/Reflection/BetterReflection/BetterReflectionProvider.php#L216
Call to function array_key_first() with non-empty-list<class-string> will always evaluate to true.
PHPStan with result cache (8.2): src/Analyser/NodeScopeResolver.php#L6173
Call to function array_key_last() with non-empty-list<PhpParser\Node\Expr\ArrayDimFetch> will always evaluate to true.
PHPStan with result cache (8.2): src/Analyser/MutatingScope.php#L3486
Call to function array_key_first() with non-empty-array<PHPStan\Analyser\ConditionalExpressionHolder> will always evaluate to true.
PHPStan (8.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.4, ubuntu-latest): src/Type/TypeCombinator.php#L763
Call to function array_key_first() with non-empty-array<PHPStan\Type\Accessory\AccessoryType|PHPStan\Type\CallableType> will always evaluate to true.
PHPStan (8.4, ubuntu-latest): src/Type/Php/GetDebugTypeFunctionReturnTypeExtension.php#L83
Call to function array_key_first() with non-empty-array<string, PHPStan\Reflection\ClassReflection> will always evaluate to true.
PHPStan (8.4, ubuntu-latest): src/Type/Php/ArrayKeyFirstLastTypeSpecifyingExtension.php#L30
Call to function in_array() requires parameter #3 to be set.
PHPStan (8.4, ubuntu-latest): src/Rules/Arrays/DuplicateKeysInLiteralArraysRule.php#L109
Call to function array_key_first() with non-empty-array<int<0, max>, bool|float|int|string|null> will always evaluate to true.
PHPStan (8.4, ubuntu-latest): src/Reflection/ParametersAcceptorSelector.php#L637
Call to function array_key_last() with non-empty-array<int|string, PHPStan\Type\Type> will always evaluate to true.
PHPStan (8.4, ubuntu-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L216
Call to function array_key_first() with non-empty-list<class-string> will always evaluate to true.
PHPStan (8.4, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L6173
Call to function array_key_last() with non-empty-list<PhpParser\Node\Expr\ArrayDimFetch> will always evaluate to true.
PHPStan (8.4, ubuntu-latest): src/Analyser/MutatingScope.php#L3486
Call to function array_key_first() with non-empty-array<PHPStan\Analyser\ConditionalExpressionHolder> will always evaluate to true.
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.2, ubuntu-latest): src/Type/TypeCombinator.php#L763
Call to function array_key_first() with non-empty-array<PHPStan\Type\Accessory\AccessoryType|PHPStan\Type\CallableType> will always evaluate to true.
PHPStan (8.2, ubuntu-latest): src/Type/Php/GetDebugTypeFunctionReturnTypeExtension.php#L83
Call to function array_key_first() with non-empty-array<string, PHPStan\Reflection\ClassReflection> will always evaluate to true.
PHPStan (8.2, ubuntu-latest): src/Type/Php/ArrayKeyFirstLastTypeSpecifyingExtension.php#L30
Call to function in_array() requires parameter #3 to be set.
PHPStan (8.2, ubuntu-latest): src/Rules/Arrays/DuplicateKeysInLiteralArraysRule.php#L109
Call to function array_key_first() with non-empty-array<int<0, max>, bool|float|int|string|null> will always evaluate to true.
PHPStan (8.2, ubuntu-latest): src/Reflection/ParametersAcceptorSelector.php#L637
Call to function array_key_last() with non-empty-array<int|string, PHPStan\Type\Type> will always evaluate to true.
PHPStan (8.2, ubuntu-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L216
Call to function array_key_first() with non-empty-list<class-string> will always evaluate to true.
PHPStan (8.2, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L6173
Call to function array_key_last() with non-empty-list<PhpParser\Node\Expr\ArrayDimFetch> will always evaluate to true.
PHPStan (8.2, ubuntu-latest): src/Analyser/MutatingScope.php#L3486
Call to function array_key_first() with non-empty-array<PHPStan\Analyser\ConditionalExpressionHolder> will always evaluate to true.
Generate baseline
Process completed with exit code 1.
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.3, ubuntu-latest): src/Type/TypeCombinator.php#L763
Call to function array_key_first() with non-empty-array<PHPStan\Type\Accessory\AccessoryType|PHPStan\Type\CallableType> will always evaluate to true.
PHPStan (8.3, ubuntu-latest): src/Type/Php/GetDebugTypeFunctionReturnTypeExtension.php#L83
Call to function array_key_first() with non-empty-array<string, PHPStan\Reflection\ClassReflection> will always evaluate to true.
PHPStan (8.3, ubuntu-latest): src/Type/Php/ArrayKeyFirstLastTypeSpecifyingExtension.php#L30
Call to function in_array() requires parameter #3 to be set.
PHPStan (8.3, ubuntu-latest): src/Rules/Arrays/DuplicateKeysInLiteralArraysRule.php#L109
Call to function array_key_first() with non-empty-array<int<0, max>, bool|float|int|string|null> will always evaluate to true.
PHPStan (8.3, ubuntu-latest): src/Reflection/ParametersAcceptorSelector.php#L637
Call to function array_key_last() with non-empty-array<int|string, PHPStan\Type\Type> will always evaluate to true.
PHPStan (8.3, ubuntu-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L216
Call to function array_key_first() with non-empty-list<class-string> will always evaluate to true.
PHPStan (8.3, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L6173
Call to function array_key_last() with non-empty-list<PhpParser\Node\Expr\ArrayDimFetch> will always evaluate to true.
PHPStan (8.3, ubuntu-latest): src/Analyser/MutatingScope.php#L3486
Call to function array_key_first() with non-empty-array<PHPStan\Analyser\ConditionalExpressionHolder> will always evaluate to true.
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.0, ubuntu-latest): src/Type/TypeCombinator.php#L763
Call to function array_key_first() with non-empty-array<PHPStan\Type\Accessory\AccessoryType|PHPStan\Type\CallableType> will always evaluate to true.
PHPStan (8.0, ubuntu-latest): src/Type/Php/GetDebugTypeFunctionReturnTypeExtension.php#L83
Call to function array_key_first() with non-empty-array<string, PHPStan\Reflection\ClassReflection> will always evaluate to true.
PHPStan (8.0, ubuntu-latest): src/Type/Php/ArrayKeyFirstLastTypeSpecifyingExtension.php#L30
Call to function in_array() requires parameter #3 to be set.
PHPStan (8.0, ubuntu-latest): src/Rules/Arrays/DuplicateKeysInLiteralArraysRule.php#L109
Call to function array_key_first() with non-empty-array<int<0, max>, bool|float|int|string|null> will always evaluate to true.
PHPStan (8.0, ubuntu-latest): src/Reflection/ParametersAcceptorSelector.php#L637
Call to function array_key_last() with non-empty-array<int|string, PHPStan\Type\Type> will always evaluate to true.
PHPStan (8.0, ubuntu-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L216
Call to function array_key_first() with non-empty-list<class-string> will always evaluate to true.
PHPStan (8.0, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L6245
Call to function array_key_last() with non-empty-list<PhpParser\Node\Expr\ArrayDimFetch> will always evaluate to true.
PHPStan (8.0, ubuntu-latest): src/Analyser/MutatingScope.php#L3486
Call to function array_key_first() with non-empty-array<PHPStan\Analyser\ConditionalExpressionHolder> will always evaluate to true.
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.1, ubuntu-latest): src/Type/TypeCombinator.php#L763
Call to function array_key_first() with non-empty-array<PHPStan\Type\Accessory\AccessoryType|PHPStan\Type\CallableType> will always evaluate to true.
PHPStan (8.1, ubuntu-latest): src/Type/Php/GetDebugTypeFunctionReturnTypeExtension.php#L83
Call to function array_key_first() with non-empty-array<string, PHPStan\Reflection\ClassReflection> will always evaluate to true.
PHPStan (8.1, ubuntu-latest): src/Type/Php/ArrayKeyFirstLastTypeSpecifyingExtension.php#L30
Call to function in_array() requires parameter #3 to be set.
PHPStan (8.1, ubuntu-latest): src/Rules/Arrays/DuplicateKeysInLiteralArraysRule.php#L109
Call to function array_key_first() with non-empty-array<int<0, max>, bool|float|int|string|null> will always evaluate to true.
PHPStan (8.1, ubuntu-latest): src/Reflection/ParametersAcceptorSelector.php#L637
Call to function array_key_last() with non-empty-array<int|string, PHPStan\Type\Type> will always evaluate to true.
PHPStan (8.1, ubuntu-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L216
Call to function array_key_first() with non-empty-list<class-string> will always evaluate to true.
PHPStan (8.1, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L6173
Call to function array_key_last() with non-empty-list<PhpParser\Node\Expr\ArrayDimFetch> will always evaluate to true.
PHPStan (8.1, ubuntu-latest): src/Analyser/MutatingScope.php#L3486
Call to function array_key_first() with non-empty-array<PHPStan\Analyser\ConditionalExpressionHolder> will always evaluate to true.
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.4, ubuntu-latest): src/Type/TypeCombinator.php#L750
Call to function array_key_first() with non-empty-array<PHPStan\Type\Accessory\AccessoryType|PHPStan\Type\CallableType> will always evaluate to true.
PHPStan (7.4, ubuntu-latest): src/Type/Php/GetDebugTypeFunctionReturnTypeExtension.php#L83
Call to function array_key_first() with non-empty-array<string, PHPStan\Reflection\ClassReflection> will always evaluate to true.
PHPStan (7.4, ubuntu-latest): src/Type/Php/ArrayKeyFirstLastTypeSpecifyingExtension.php#L26
Call to function in_array() requires parameter #3 to be set.
PHPStan (7.4, ubuntu-latest): src/Rules/Arrays/DuplicateKeysInLiteralArraysRule.php#L108
Call to function array_key_first() with non-empty-array<int<0, max>, bool|float|int|string|null> will always evaluate to true.
PHPStan (7.4, ubuntu-latest): src/Reflection/ParametersAcceptorSelector.php#L617
Call to function array_key_last() with non-empty-array<int|string, PHPStan\Type\Type> will always evaluate to true.
PHPStan (7.4, ubuntu-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L249
Call to function array_key_first() with non-empty-list<class-string> will always evaluate to true.
PHPStan (7.4, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L6123
Call to function array_key_last() with non-empty-list<PhpParser\Node\Expr\ArrayDimFetch> will always evaluate to true.
PHPStan (7.4, ubuntu-latest): src/Analyser/MutatingScope.php#L3468
Call to function array_key_first() with non-empty-array<PHPStan\Analyser\ConditionalExpressionHolder> will always evaluate to true.
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
PHPStan (8.2, windows-latest): src/Type/TypeCombinator.php#L763
Call to function array_key_first() with non-empty-array<PHPStan\Type\Accessory\AccessoryType|PHPStan\Type\CallableType> will always evaluate to true.
PHPStan (8.2, windows-latest): src/Type/Php/GetDebugTypeFunctionReturnTypeExtension.php#L83
Call to function array_key_first() with non-empty-array<string, PHPStan\Reflection\ClassReflection> will always evaluate to true.
PHPStan (8.2, windows-latest): src/Type/Php/ArrayKeyFirstLastTypeSpecifyingExtension.php#L30
Call to function in_array() requires parameter #3 to be set.
PHPStan (8.2, windows-latest): src/Rules/Arrays/DuplicateKeysInLiteralArraysRule.php#L109
Call to function array_key_first() with non-empty-array<int<0, max>, bool|float|int|string|null> will always evaluate to true.
PHPStan (8.2, windows-latest): src/Reflection/ParametersAcceptorSelector.php#L637
Call to function array_key_last() with non-empty-array<int|string, PHPStan\Type\Type> will always evaluate to true.
PHPStan (8.2, windows-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L216
Call to function array_key_first() with non-empty-list<class-string> will always evaluate to true.
PHPStan (8.2, windows-latest): src/Analyser/NodeScopeResolver.php#L6173
Call to function array_key_last() with non-empty-list<PhpParser\Node\Expr\ArrayDimFetch> will always evaluate to true.
PHPStan (8.2, windows-latest): src/Analyser/MutatingScope.php#L3486
Call to function array_key_first() with non-empty-array<PHPStan\Analyser\ConditionalExpressionHolder> will always evaluate to true.
PHPStan (8.5, windows-latest)
Process completed with exit code 1.
PHPStan (8.5, windows-latest): src/Type/TypeCombinator.php#L763
Call to function array_key_first() with non-empty-array<PHPStan\Type\Accessory\AccessoryType|PHPStan\Type\CallableType> will always evaluate to true.
PHPStan (8.5, windows-latest): src/Type/Php/GetDebugTypeFunctionReturnTypeExtension.php#L83
Call to function array_key_first() with non-empty-array<string, PHPStan\Reflection\ClassReflection> will always evaluate to true.
PHPStan (8.5, windows-latest): src/Type/Php/ArrayKeyFirstLastTypeSpecifyingExtension.php#L30
Call to function in_array() requires parameter #3 to be set.
PHPStan (8.5, windows-latest): src/Rules/Arrays/DuplicateKeysInLiteralArraysRule.php#L109
Call to function array_key_first() with non-empty-array<int<0, max>, bool|float|int|string|null> will always evaluate to true.
PHPStan (8.5, windows-latest): src/Reflection/ParametersAcceptorSelector.php#L637
Call to function array_key_last() with non-empty-array<int|string, PHPStan\Type\Type> will always evaluate to true.
PHPStan (8.5, windows-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L216
Call to function array_key_first() with non-empty-list<class-string> will always evaluate to true.
PHPStan (8.5, windows-latest): src/Analyser/NodeScopeResolver.php#L6173
Call to function array_key_last() with non-empty-list<PhpParser\Node\Expr\ArrayDimFetch> will always evaluate to true.
PHPStan (8.5, windows-latest): src/Analyser/MutatingScope.php#L3486
Call to function array_key_first() with non-empty-array<PHPStan\Analyser\ConditionalExpressionHolder> will always evaluate to true.
PHPStan (8.3, windows-latest)
Process completed with exit code 1.
PHPStan (8.3, windows-latest): src/Type/TypeCombinator.php#L763
Call to function array_key_first() with non-empty-array<PHPStan\Type\Accessory\AccessoryType|PHPStan\Type\CallableType> will always evaluate to true.
PHPStan (8.3, windows-latest): src/Type/Php/GetDebugTypeFunctionReturnTypeExtension.php#L83
Call to function array_key_first() with non-empty-array<string, PHPStan\Reflection\ClassReflection> will always evaluate to true.
PHPStan (8.3, windows-latest): src/Type/Php/ArrayKeyFirstLastTypeSpecifyingExtension.php#L30
Call to function in_array() requires parameter #3 to be set.
PHPStan (8.3, windows-latest): src/Rules/Arrays/DuplicateKeysInLiteralArraysRule.php#L109
Call to function array_key_first() with non-empty-array<int<0, max>, bool|float|int|string|null> will always evaluate to true.
PHPStan (8.3, windows-latest): src/Reflection/ParametersAcceptorSelector.php#L637
Call to function array_key_last() with non-empty-array<int|string, PHPStan\Type\Type> will always evaluate to true.
PHPStan (8.3, windows-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L216
Call to function array_key_first() with non-empty-list<class-string> will always evaluate to true.
PHPStan (8.3, windows-latest): src/Analyser/NodeScopeResolver.php#L6173
Call to function array_key_last() with non-empty-list<PhpParser\Node\Expr\ArrayDimFetch> will always evaluate to true.
PHPStan (8.3, windows-latest): src/Analyser/MutatingScope.php#L3486
Call to function array_key_first() with non-empty-array<PHPStan\Analyser\ConditionalExpressionHolder> will always evaluate to true.
PHPStan (8.4, windows-latest)
Process completed with exit code 1.
PHPStan (8.4, windows-latest): src/Type/TypeCombinator.php#L763
Call to function array_key_first() with non-empty-array<PHPStan\Type\Accessory\AccessoryType|PHPStan\Type\CallableType> will always evaluate to true.
PHPStan (8.4, windows-latest): src/Type/Php/GetDebugTypeFunctionReturnTypeExtension.php#L83
Call to function array_key_first() with non-empty-array<string, PHPStan\Reflection\ClassReflection> will always evaluate to true.
PHPStan (8.4, windows-latest): src/Type/Php/ArrayKeyFirstLastTypeSpecifyingExtension.php#L30
Call to function in_array() requires parameter #3 to be set.
PHPStan (8.4, windows-latest): src/Rules/Arrays/DuplicateKeysInLiteralArraysRule.php#L109
Call to function array_key_first() with non-empty-array<int<0, max>, bool|float|int|string|null> will always evaluate to true.
PHPStan (8.4, windows-latest): src/Reflection/ParametersAcceptorSelector.php#L637
Call to function array_key_last() with non-empty-array<int|string, PHPStan\Type\Type> will always evaluate to true.
PHPStan (8.4, windows-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L216
Call to function array_key_first() with non-empty-list<class-string> will always evaluate to true.
PHPStan (8.4, windows-latest): src/Analyser/NodeScopeResolver.php#L6173
Call to function array_key_last() with non-empty-list<PhpParser\Node\Expr\ArrayDimFetch> will always evaluate to true.
PHPStan (8.4, windows-latest): src/Analyser/MutatingScope.php#L3486
Call to function array_key_first() with non-empty-array<PHPStan\Analyser\ConditionalExpressionHolder> will always evaluate to true.
PHPStan (8.0, windows-latest)
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
PHPStan (8.0, windows-latest)
Process completed with exit code 1.
PHPStan (8.0, windows-latest): src/Type/TypeCombinator.php#L763
Call to function array_key_first() with non-empty-array<PHPStan\Type\Accessory\AccessoryType|PHPStan\Type\CallableType> will always evaluate to true.
PHPStan (8.0, windows-latest): src/Type/Php/GetDebugTypeFunctionReturnTypeExtension.php#L83
Call to function array_key_first() with non-empty-array<string, PHPStan\Reflection\ClassReflection> will always evaluate to true.
PHPStan (8.0, windows-latest): src/Type/Php/ArrayKeyFirstLastTypeSpecifyingExtension.php#L30
Call to function in_array() requires parameter #3 to be set.
PHPStan (8.0, windows-latest): src/Rules/Arrays/DuplicateKeysInLiteralArraysRule.php#L109
Call to function array_key_first() with non-empty-array<int<0, max>, bool|float|int|string|null> will always evaluate to true.
PHPStan (8.0, windows-latest): src/Reflection/ParametersAcceptorSelector.php#L637
Call to function array_key_last() with non-empty-array<int|string, PHPStan\Type\Type> will always evaluate to true.
PHPStan (8.0, windows-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L216
Call to function array_key_first() with non-empty-list<class-string> will always evaluate to true.
PHPStan (8.0, windows-latest): src/Analyser/NodeScopeResolver.php#L6245
Call to function array_key_last() with non-empty-list<PhpParser\Node\Expr\ArrayDimFetch> will always evaluate to true.
PHPStan (8.0, windows-latest): src/Analyser/MutatingScope.php#L3486
Call to function array_key_first() with non-empty-array<PHPStan\Analyser\ConditionalExpressionHolder> will always evaluate to true.
PHPStan (8.1, windows-latest)
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
PHPStan (8.1, windows-latest)
Process completed with exit code 1.
PHPStan (8.1, windows-latest): src/Type/TypeCombinator.php#L763
Call to function array_key_first() with non-empty-array<PHPStan\Type\Accessory\AccessoryType|PHPStan\Type\CallableType> will always evaluate to true.
PHPStan (8.1, windows-latest): src/Type/Php/GetDebugTypeFunctionReturnTypeExtension.php#L83
Call to function array_key_first() with non-empty-array<string, PHPStan\Reflection\ClassReflection> will always evaluate to true.
PHPStan (8.1, windows-latest): src/Type/Php/ArrayKeyFirstLastTypeSpecifyingExtension.php#L30
Call to function in_array() requires parameter #3 to be set.
PHPStan (8.1, windows-latest): src/Rules/Arrays/DuplicateKeysInLiteralArraysRule.php#L109
Call to function array_key_first() with non-empty-array<int<0, max>, bool|float|int|string|null> will always evaluate to true.
PHPStan (8.1, windows-latest): src/Reflection/ParametersAcceptorSelector.php#L637
Call to function array_key_last() with non-empty-array<int|string, PHPStan\Type\Type> will always evaluate to true.
PHPStan (8.1, windows-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L216
Call to function array_key_first() with non-empty-list<class-string> will always evaluate to true.
PHPStan (8.1, windows-latest): src/Analyser/NodeScopeResolver.php#L6173
Call to function array_key_last() with non-empty-list<PhpParser\Node\Expr\ArrayDimFetch> will always evaluate to true.
PHPStan (8.1, windows-latest): src/Analyser/MutatingScope.php#L3486
Call to function array_key_first() with non-empty-array<PHPStan\Analyser\ConditionalExpressionHolder> will always evaluate to true.
PHPStan (7.4, windows-latest)
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
PHPStan (7.4, windows-latest)
Process completed with exit code 1.
PHPStan (7.4, windows-latest): src/Type/TypeCombinator.php#L750
Call to function array_key_first() with non-empty-array<PHPStan\Type\Accessory\AccessoryType|PHPStan\Type\CallableType> will always evaluate to true.
PHPStan (7.4, windows-latest): src/Type/Php/GetDebugTypeFunctionReturnTypeExtension.php#L83
Call to function array_key_first() with non-empty-array<string, PHPStan\Reflection\ClassReflection> will always evaluate to true.
PHPStan (7.4, windows-latest): src/Type/Php/ArrayKeyFirstLastTypeSpecifyingExtension.php#L26
Call to function in_array() requires parameter #3 to be set.
PHPStan (7.4, windows-latest): src/Rules/Arrays/DuplicateKeysInLiteralArraysRule.php#L108
Call to function array_key_first() with non-empty-array<int<0, max>, bool|float|int|string|null> will always evaluate to true.
PHPStan (7.4, windows-latest): src/Reflection/ParametersAcceptorSelector.php#L617
Call to function array_key_last() with non-empty-array<int|string, PHPStan\Type\Type> will always evaluate to true.
PHPStan (7.4, windows-latest): src/Reflection/BetterReflection/BetterReflectionProvider.php#L249
Call to function array_key_first() with non-empty-list<class-string> will always evaluate to true.
PHPStan (7.4, windows-latest): src/Analyser/NodeScopeResolver.php#L6123
Call to function array_key_last() with non-empty-list<PhpParser\Node\Expr\ArrayDimFetch> will always evaluate to true.
PHPStan (7.4, windows-latest): src/Analyser/MutatingScope.php#L3468
Call to function array_key_first() with non-empty-array<PHPStan\Analyser\ConditionalExpressionHolder> will always evaluate to true.
PHPStan (8.5, ubuntu-latest)
No files were found with the provided path: baseline-php-8.5.neon. No artifacts will be uploaded.
PHPStan (8.4, ubuntu-latest)
No files were found with the provided path: baseline-php-8.4.neon. No artifacts will be uploaded.
PHPStan (8.2, ubuntu-latest)
No files were found with the provided path: baseline-php-8.2.neon. No artifacts will be uploaded.
PHPStan (8.3, ubuntu-latest)
No files were found with the provided path: baseline-php-8.3.neon. No artifacts will be uploaded.
PHPStan (8.2, windows-latest)
No files were found with the provided path: baseline-php-8.2.neon. No artifacts will be uploaded.
PHPStan (8.5, windows-latest)
No files were found with the provided path: baseline-php-8.5.neon. No artifacts will be uploaded.
PHPStan (8.3, windows-latest)
No files were found with the provided path: baseline-php-8.3.neon. No artifacts will be uploaded.
PHPStan (8.4, windows-latest)
No files were found with the provided path: baseline-php-8.4.neon. No artifacts will be uploaded.

Artifacts

Produced during runtime
Name Size Digest
baseline-7.4
676 Bytes
sha256:054b41a6c7f2733784015c688984e042cc1db76aa278d70269881c3257e823f8
baseline-8.0
676 Bytes
sha256:f32e800452b156685e9dd9edf1b7eda248eed714a8623692a2ae2d10b7a12703
baseline-8.1
676 Bytes
sha256:dc10c9ef65cd90fd711aa1e737af40fce8d5c6e3e26d9d64272eccc1bae447cd