Skip to content

Ignore negative keys on checking whether a ConstantArray is a list #20176

Ignore negative keys on checking whether a ConstantArray is a list

Ignore negative keys on checking whether a ConstantArray is a list #20176

Triggered via pull request March 11, 2025 02:02
Status Failure
Total duration 3m 26s
Artifacts

static-analysis.yml

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

Annotations

49 errors
PHPStan with result cache (8.1): src/Type/Constant/ConstantArrayTypeBuilder.php#L101
Ignored error pattern #^PHPDoc tag @var with type float\|int is not subtype of native type int\.$# (varTag.nativeType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/Constant/ConstantArrayTypeBuilder.php is expected to occur 2 times, but occurred only 1 time.
PHPStan with result cache (8.1): src/Type/Constant/ConstantArrayTypeBuilder.php#L177
PHPDoc tag @var with type float|int is not subtype of native type int<1, max>.
PHPStan with result cache (8.1)
Process completed with exit code 2.
PHPStan with result cache (8.4): src/Type/Constant/ConstantArrayTypeBuilder.php#L101
Ignored error pattern #^PHPDoc tag @var with type float\|int is not subtype of native type int\.$# (varTag.nativeType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/Constant/ConstantArrayTypeBuilder.php is expected to occur 2 times, but occurred only 1 time.
PHPStan with result cache (8.4): src/Type/Constant/ConstantArrayTypeBuilder.php#L177
PHPDoc tag @var with type float|int is not subtype of native type int<1, max>.
PHPStan with result cache (8.4)
Process completed with exit code 2.
Generate baseline
Process completed with exit code 1.
PHPStan with result cache (8.2): src/Type/Constant/ConstantArrayTypeBuilder.php#L101
Ignored error pattern #^PHPDoc tag @var with type float\|int is not subtype of native type int\.$# (varTag.nativeType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/Constant/ConstantArrayTypeBuilder.php is expected to occur 2 times, but occurred only 1 time.
PHPStan with result cache (8.2): src/Type/Constant/ConstantArrayTypeBuilder.php#L177
PHPDoc tag @var with type float|int is not subtype of native type int<1, max>.
PHPStan with result cache (8.2)
Process completed with exit code 2.
PHPStan with result cache (8.3): src/Type/Constant/ConstantArrayTypeBuilder.php#L101
Ignored error pattern #^PHPDoc tag @var with type float\|int is not subtype of native type int\.$# (varTag.nativeType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/Constant/ConstantArrayTypeBuilder.php is expected to occur 2 times, but occurred only 1 time.
PHPStan with result cache (8.3): src/Type/Constant/ConstantArrayTypeBuilder.php#L177
PHPDoc tag @var with type float|int is not subtype of native type int<1, max>.
PHPStan with result cache (8.3)
Process completed with exit code 2.
PHPStan (8.4, ubuntu-latest): src/Type/Constant/ConstantArrayTypeBuilder.php#L101
Ignored error pattern #^PHPDoc tag @var with type float\|int is not subtype of native type int\.$# (varTag.nativeType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/Constant/ConstantArrayTypeBuilder.php is expected to occur 2 times, but occurred only 1 time.
PHPStan (8.4, ubuntu-latest): src/Type/Constant/ConstantArrayTypeBuilder.php#L177
PHPDoc tag @var with type float|int is not subtype of native type int<1, max>.
PHPStan (8.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.3, ubuntu-latest): src/Type/Constant/ConstantArrayTypeBuilder.php#L101
Ignored error pattern #^PHPDoc tag @var with type float\|int is not subtype of native type int\.$# (varTag.nativeType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/Constant/ConstantArrayTypeBuilder.php is expected to occur 2 times, but occurred only 1 time.
PHPStan (8.3, ubuntu-latest): src/Type/Constant/ConstantArrayTypeBuilder.php#L177
PHPDoc tag @var with type float|int is not subtype of native type int<1, max>.
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.1, ubuntu-latest): src/Type/Constant/ConstantArrayTypeBuilder.php#L101
Ignored error pattern #^PHPDoc tag @var with type float\|int is not subtype of native type int\.$# (varTag.nativeType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/Constant/ConstantArrayTypeBuilder.php is expected to occur 2 times, but occurred only 1 time.
PHPStan (8.1, ubuntu-latest): src/Type/Constant/ConstantArrayTypeBuilder.php#L177
PHPDoc tag @var with type float|int is not subtype of native type int<1, max>.
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.0, ubuntu-latest): src/Type/Constant/ConstantArrayTypeBuilder.php#L101
Ignored error pattern #^PHPDoc tag @var with type float\|int is not subtype of native type int\.$# (varTag.nativeType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/Constant/ConstantArrayTypeBuilder.php is expected to occur 2 times, but occurred only 1 time.
PHPStan (8.0, ubuntu-latest): src/Type/Constant/ConstantArrayTypeBuilder.php#L177
PHPDoc tag @var with type float|int is not subtype of native type int<1, max>.
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.2, ubuntu-latest): src/Type/Constant/ConstantArrayTypeBuilder.php#L101
Ignored error pattern #^PHPDoc tag @var with type float\|int is not subtype of native type int\.$# (varTag.nativeType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/Constant/ConstantArrayTypeBuilder.php is expected to occur 2 times, but occurred only 1 time.
PHPStan (8.2, ubuntu-latest): src/Type/Constant/ConstantArrayTypeBuilder.php#L177
PHPDoc tag @var with type float|int is not subtype of native type int<1, max>.
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.4, ubuntu-latest): src/Type/Constant/ConstantArrayTypeBuilder.php#L117
Ignored error pattern #^PHPDoc tag @var with type float\|int is not subtype of native type int\.$# (varTag.nativeType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/Constant/ConstantArrayTypeBuilder.php is expected to occur 2 times, but occurred only 1 time.
PHPStan (7.4, ubuntu-latest): src/Type/Constant/ConstantArrayTypeBuilder.php#L193
PHPDoc tag @var with type float|int is not subtype of native type int<1, max>.
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.1, windows-latest): src/Type/Constant/ConstantArrayTypeBuilder.php#L101
Ignored error pattern #^PHPDoc tag @var with type float\|int is not subtype of native type int\.$# (varTag.nativeType) in path D:\a\phpstan-src\phpstan-src\src\Type\Constant\ConstantArrayTypeBuilder.php is expected to occur 2 times, but occurred only 1 time.
PHPStan (8.1, windows-latest): src/Type/Constant/ConstantArrayTypeBuilder.php#L177
PHPDoc tag @var with type float|int is not subtype of native type int<1, max>.
PHPStan (8.1, windows-latest)
Process completed with exit code 1.
PHPStan (8.2, windows-latest): src/Type/Constant/ConstantArrayTypeBuilder.php#L101
Ignored error pattern #^PHPDoc tag @var with type float\|int is not subtype of native type int\.$# (varTag.nativeType) in path D:\a\phpstan-src\phpstan-src\src\Type\Constant\ConstantArrayTypeBuilder.php is expected to occur 2 times, but occurred only 1 time.
PHPStan (8.2, windows-latest): src/Type/Constant/ConstantArrayTypeBuilder.php#L177
PHPDoc tag @var with type float|int is not subtype of native type int<1, max>.
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
PHPStan (8.3, windows-latest): src/Type/Constant/ConstantArrayTypeBuilder.php#L101
Ignored error pattern #^PHPDoc tag @var with type float\|int is not subtype of native type int\.$# (varTag.nativeType) in path D:\a\phpstan-src\phpstan-src\src\Type\Constant\ConstantArrayTypeBuilder.php is expected to occur 2 times, but occurred only 1 time.
PHPStan (8.3, windows-latest): src/Type/Constant/ConstantArrayTypeBuilder.php#L177
PHPDoc tag @var with type float|int is not subtype of native type int<1, max>.
PHPStan (8.3, windows-latest)
Process completed with exit code 1.
PHPStan (8.4, windows-latest): src/Type/Constant/ConstantArrayTypeBuilder.php#L101
Ignored error pattern #^PHPDoc tag @var with type float\|int is not subtype of native type int\.$# (varTag.nativeType) in path D:\a\phpstan-src\phpstan-src\src\Type\Constant\ConstantArrayTypeBuilder.php is expected to occur 2 times, but occurred only 1 time.
PHPStan (8.4, windows-latest): src/Type/Constant/ConstantArrayTypeBuilder.php#L177
PHPDoc tag @var with type float|int is not subtype of native type int<1, max>.
PHPStan (8.4, windows-latest)
Process completed with exit code 1.
PHPStan (8.0, windows-latest): src/Type/Constant/ConstantArrayTypeBuilder.php#L101
Ignored error pattern #^PHPDoc tag @var with type float\|int is not subtype of native type int\.$# (varTag.nativeType) in path D:\a\phpstan-src\phpstan-src\src\Type\Constant\ConstantArrayTypeBuilder.php is expected to occur 2 times, but occurred only 1 time.
PHPStan (8.0, windows-latest): src/Type/Constant/ConstantArrayTypeBuilder.php#L177
PHPDoc tag @var with type float|int is not subtype of native type int<1, max>.
PHPStan (8.0, windows-latest)
Process completed with exit code 1.
PHPStan (7.4, windows-latest): src/Type/Constant/ConstantArrayTypeBuilder.php#L117
Ignored error pattern #^PHPDoc tag @var with type float\|int is not subtype of native type int\.$# (varTag.nativeType) in path D:\a\phpstan-src\phpstan-src\src\Type\Constant\ConstantArrayTypeBuilder.php is expected to occur 2 times, but occurred only 1 time.
PHPStan (7.4, windows-latest): src/Type/Constant/ConstantArrayTypeBuilder.php#L193
PHPDoc tag @var with type float|int is not subtype of native type int<1, max>.
PHPStan (7.4, windows-latest)
Process completed with exit code 1.