Skip to content

Report non existent offset on non empty array #23287

Report non existent offset on non empty array

Report non existent offset on non empty array #23287

Triggered via pull request October 3, 2025 07:11
Status Failure
Total duration 4m 56s
Artifacts

static-analysis.yml

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

Annotations

79 errors
Generate baseline
Process completed with exit code 1.
PHPStan with result cache (8.3)
Process completed with exit code 2.
PHPStan with result cache (8.3): src/Type/TypeUtils.php#L212
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan with result cache (8.3): src/Type/TypeUtils.php#L133
Ignored error pattern "Doing instanceof PHPStan\Type\Constant\ConstantArrayType is error-prone and deprecated. Use Type::getConstantArrays() instead." (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/TypeUtils.php is expected to occur 2 times, but occurred only 1 time.
PHPStan with result cache (8.3): src/Type/TypeUtils.php#L72
Ignored error pattern "Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated." (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/TypeUtils.php is expected to occur 3 times, but occurred 4 times.
PHPStan with result cache (8.4)
Process completed with exit code 2.
PHPStan with result cache (8.4): src/Type/TypeUtils.php#L212
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan with result cache (8.4): src/Type/TypeUtils.php#L133
Ignored error pattern "Doing instanceof PHPStan\Type\Constant\ConstantArrayType is error-prone and deprecated. Use Type::getConstantArrays() instead." (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/TypeUtils.php is expected to occur 2 times, but occurred only 1 time.
PHPStan with result cache (8.4): src/Type/TypeUtils.php#L72
Ignored error pattern "Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated." (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/TypeUtils.php is expected to occur 3 times, but occurred 4 times.
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.3, ubuntu-latest): src/Type/TypeUtils.php#L212
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (8.3, ubuntu-latest): src/Type/TypeUtils.php#L133
Ignored error pattern "Doing instanceof PHPStan\Type\Constant\ConstantArrayType is error-prone and deprecated. Use Type::getConstantArrays() instead." (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/TypeUtils.php is expected to occur 2 times, but occurred only 1 time.
PHPStan (8.3, ubuntu-latest): src/Type/TypeUtils.php#L72
Ignored error pattern "Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated." (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/TypeUtils.php is expected to occur 3 times, but occurred 4 times.
PHPStan with result cache (8.2)
Process completed with exit code 2.
PHPStan with result cache (8.2): src/Type/TypeUtils.php#L212
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan with result cache (8.2): src/Type/TypeUtils.php#L133
Ignored error pattern "Doing instanceof PHPStan\Type\Constant\ConstantArrayType is error-prone and deprecated. Use Type::getConstantArrays() instead." (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/TypeUtils.php is expected to occur 2 times, but occurred only 1 time.
PHPStan with result cache (8.2): src/Type/TypeUtils.php#L72
Ignored error pattern "Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated." (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/TypeUtils.php is expected to occur 3 times, but occurred 4 times.
PHPStan (8.5, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.5, ubuntu-latest): src/Type/TypeUtils.php#L212
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (8.5, ubuntu-latest): src/Type/TypeUtils.php#L133
Ignored error pattern "Doing instanceof PHPStan\Type\Constant\ConstantArrayType is error-prone and deprecated. Use Type::getConstantArrays() instead." (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/TypeUtils.php is expected to occur 2 times, but occurred only 1 time.
PHPStan (8.5, ubuntu-latest): src/Type/TypeUtils.php#L72
Ignored error pattern "Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated." (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/TypeUtils.php is expected to occur 3 times, but occurred 4 times.
PHPStan (8.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.4, ubuntu-latest): src/Type/TypeUtils.php#L212
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (8.4, ubuntu-latest): src/Type/TypeUtils.php#L133
Ignored error pattern "Doing instanceof PHPStan\Type\Constant\ConstantArrayType is error-prone and deprecated. Use Type::getConstantArrays() instead." (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/TypeUtils.php is expected to occur 2 times, but occurred only 1 time.
PHPStan (8.4, ubuntu-latest): src/Type/TypeUtils.php#L72
Ignored error pattern "Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated." (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/TypeUtils.php is expected to occur 3 times, but occurred 4 times.
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.2, ubuntu-latest): src/Type/TypeUtils.php#L212
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (8.2, ubuntu-latest): src/Type/TypeUtils.php#L133
Ignored error pattern "Doing instanceof PHPStan\Type\Constant\ConstantArrayType is error-prone and deprecated. Use Type::getConstantArrays() instead." (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/TypeUtils.php is expected to occur 2 times, but occurred only 1 time.
PHPStan (8.2, ubuntu-latest): src/Type/TypeUtils.php#L72
Ignored error pattern "Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated." (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/TypeUtils.php is expected to occur 3 times, but occurred 4 times.
PHPStan with result cache (8.5)
Process completed with exit code 2.
PHPStan with result cache (8.5): src/Type/TypeUtils.php#L212
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan with result cache (8.5): src/Type/TypeUtils.php#L133
Ignored error pattern "Doing instanceof PHPStan\Type\Constant\ConstantArrayType is error-prone and deprecated. Use Type::getConstantArrays() instead." (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/TypeUtils.php is expected to occur 2 times, but occurred only 1 time.
PHPStan with result cache (8.5): src/Type/TypeUtils.php#L72
Ignored error pattern "Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated." (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/TypeUtils.php is expected to occur 3 times, but occurred 4 times.
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.0, ubuntu-latest): src/Type/TypeUtils.php#L212
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (8.0, ubuntu-latest): src/Type/TypeUtils.php#L146
Parameter #1 $iterator of function iterator_to_array expects Traversable, iterable<list<mixed>> given.
PHPStan (8.0, ubuntu-latest): src/Type/TypeUtils.php#L133
Ignored error pattern "Doing instanceof PHPStan\Type\Constant\ConstantArrayType is error-prone and deprecated. Use Type::getConstantArrays() instead." (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/TypeUtils.php is expected to occur 2 times, but occurred only 1 time.
PHPStan (8.0, ubuntu-latest): src/Type/TypeUtils.php#L72
Ignored error pattern "Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated." (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/TypeUtils.php is expected to occur 3 times, but occurred 4 times.
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.1, ubuntu-latest): src/Type/TypeUtils.php#L212
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (8.1, ubuntu-latest): src/Type/TypeUtils.php#L146
Parameter #1 $iterator of function iterator_to_array expects Traversable, iterable<list<mixed>> given.
PHPStan (8.1, ubuntu-latest): src/Type/TypeUtils.php#L133
Ignored error pattern "Doing instanceof PHPStan\Type\Constant\ConstantArrayType is error-prone and deprecated. Use Type::getConstantArrays() instead." (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/TypeUtils.php is expected to occur 2 times, but occurred only 1 time.
PHPStan (8.1, ubuntu-latest): src/Type/TypeUtils.php#L72
Ignored error pattern "Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated." (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/TypeUtils.php is expected to occur 3 times, but occurred 4 times.
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.4, ubuntu-latest): src/Type/TypeUtils.php#L204
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (7.4, ubuntu-latest): src/Type/TypeUtils.php#L138
Parameter #1 $iterator of function iterator_to_array expects Traversable, iterable<list<mixed>> given.
PHPStan (7.4, ubuntu-latest): src/Type/TypeUtils.php#L125
Ignored error pattern "Doing instanceof PHPStan\Type\Constant\ConstantArrayType is error-prone and deprecated. Use Type::getConstantArrays() instead." (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/TypeUtils.php is expected to occur 2 times, but occurred only 1 time.
PHPStan (7.4, ubuntu-latest): src/Type/TypeUtils.php#L65
Ignored error pattern "Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated." (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/TypeUtils.php is expected to occur 3 times, but occurred 4 times.
PHPStan (8.4, windows-latest)
Process completed with exit code 1.
PHPStan (8.4, windows-latest): src/Type/TypeUtils.php#L212
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (8.4, windows-latest): src/Type/TypeUtils.php#L133
Ignored error pattern "Doing instanceof PHPStan\Type\Constant\ConstantArrayType is error-prone and deprecated. Use Type::getConstantArrays() instead." (phpstanApi.instanceofType) in path D:\a\phpstan-src\phpstan-src\src\Type\TypeUtils.php is expected to occur 2 times, but occurred only 1 time.
PHPStan (8.4, windows-latest): src/Type/TypeUtils.php#L72
Ignored error pattern "Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated." (phpstanApi.instanceofType) in path D:\a\phpstan-src\phpstan-src\src\Type\TypeUtils.php is expected to occur 3 times, but occurred 4 times.
PHPStan (8.5, windows-latest)
Process completed with exit code 1.
PHPStan (8.5, windows-latest): src/Type/TypeUtils.php#L212
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (8.5, windows-latest): src/Type/TypeUtils.php#L133
Ignored error pattern "Doing instanceof PHPStan\Type\Constant\ConstantArrayType is error-prone and deprecated. Use Type::getConstantArrays() instead." (phpstanApi.instanceofType) in path D:\a\phpstan-src\phpstan-src\src\Type\TypeUtils.php is expected to occur 2 times, but occurred only 1 time.
PHPStan (8.5, windows-latest): src/Type/TypeUtils.php#L72
Ignored error pattern "Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated." (phpstanApi.instanceofType) in path D:\a\phpstan-src\phpstan-src\src\Type\TypeUtils.php is expected to occur 3 times, but occurred 4 times.
PHPStan (8.3, windows-latest)
Process completed with exit code 1.
PHPStan (8.3, windows-latest): src/Type/TypeUtils.php#L212
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (8.3, windows-latest): src/Type/TypeUtils.php#L133
Ignored error pattern "Doing instanceof PHPStan\Type\Constant\ConstantArrayType is error-prone and deprecated. Use Type::getConstantArrays() instead." (phpstanApi.instanceofType) in path D:\a\phpstan-src\phpstan-src\src\Type\TypeUtils.php is expected to occur 2 times, but occurred only 1 time.
PHPStan (8.3, windows-latest): src/Type/TypeUtils.php#L72
Ignored error pattern "Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated." (phpstanApi.instanceofType) in path D:\a\phpstan-src\phpstan-src\src\Type\TypeUtils.php is expected to occur 3 times, but occurred 4 times.
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
PHPStan (8.2, windows-latest): src/Type/TypeUtils.php#L212
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (8.2, windows-latest): src/Type/TypeUtils.php#L133
Ignored error pattern "Doing instanceof PHPStan\Type\Constant\ConstantArrayType is error-prone and deprecated. Use Type::getConstantArrays() instead." (phpstanApi.instanceofType) in path D:\a\phpstan-src\phpstan-src\src\Type\TypeUtils.php is expected to occur 2 times, but occurred only 1 time.
PHPStan (8.2, windows-latest): src/Type/TypeUtils.php#L72
Ignored error pattern "Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated." (phpstanApi.instanceofType) in path D:\a\phpstan-src\phpstan-src\src\Type\TypeUtils.php is expected to occur 3 times, but occurred 4 times.
PHPStan (8.1, windows-latest)
Process completed with exit code 1.
PHPStan (8.1, windows-latest): src/Type/TypeUtils.php#L212
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (8.1, windows-latest): src/Type/TypeUtils.php#L146
Parameter #1 $iterator of function iterator_to_array expects Traversable, iterable<list<mixed>> given.
PHPStan (8.1, windows-latest): src/Type/TypeUtils.php#L133
Ignored error pattern "Doing instanceof PHPStan\Type\Constant\ConstantArrayType is error-prone and deprecated. Use Type::getConstantArrays() instead." (phpstanApi.instanceofType) in path D:\a\phpstan-src\phpstan-src\src\Type\TypeUtils.php is expected to occur 2 times, but occurred only 1 time.
PHPStan (8.1, windows-latest): src/Type/TypeUtils.php#L72
Ignored error pattern "Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated." (phpstanApi.instanceofType) in path D:\a\phpstan-src\phpstan-src\src\Type\TypeUtils.php is expected to occur 3 times, but occurred 4 times.
PHPStan (7.4, windows-latest)
Process completed with exit code 1.
PHPStan (7.4, windows-latest): src/Type/TypeUtils.php#L204
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (7.4, windows-latest): src/Type/TypeUtils.php#L138
Parameter #1 $iterator of function iterator_to_array expects Traversable, iterable<list<mixed>> given.
PHPStan (7.4, windows-latest): src/Type/TypeUtils.php#L125
Ignored error pattern "Doing instanceof PHPStan\Type\Constant\ConstantArrayType is error-prone and deprecated. Use Type::getConstantArrays() instead." (phpstanApi.instanceofType) in path D:\a\phpstan-src\phpstan-src\src\Type\TypeUtils.php is expected to occur 2 times, but occurred only 1 time.
PHPStan (7.4, windows-latest): src/Type/TypeUtils.php#L65
Ignored error pattern "Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated." (phpstanApi.instanceofType) in path D:\a\phpstan-src\phpstan-src\src\Type\TypeUtils.php is expected to occur 3 times, but occurred 4 times.
PHPStan (8.0, windows-latest)
Process completed with exit code 1.
PHPStan (8.0, windows-latest): src/Type/TypeUtils.php#L212
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (8.0, windows-latest): src/Type/TypeUtils.php#L146
Parameter #1 $iterator of function iterator_to_array expects Traversable, iterable<list<mixed>> given.
PHPStan (8.0, windows-latest): src/Type/TypeUtils.php#L133
Ignored error pattern "Doing instanceof PHPStan\Type\Constant\ConstantArrayType is error-prone and deprecated. Use Type::getConstantArrays() instead." (phpstanApi.instanceofType) in path D:\a\phpstan-src\phpstan-src\src\Type\TypeUtils.php is expected to occur 2 times, but occurred only 1 time.
PHPStan (8.0, windows-latest): src/Type/TypeUtils.php#L72
Ignored error pattern "Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated." (phpstanApi.instanceofType) in path D:\a\phpstan-src\phpstan-src\src\Type\TypeUtils.php is expected to occur 3 times, but occurred 4 times.