Skip to content

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

Ignore negative keys on checking whether a ConstantArray is a list

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

Triggered via pull request March 11, 2025 08:15
Status Failure
Total duration 3m 22s
Artifacts

static-analysis.yml

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

Annotations

65 errors
PHPStan (8.1, ubuntu-latest): src/Type/Constant/ConstantArrayTypeBuilder.php#L1
Ignored error pattern #^PHPDoc tag @var with type float\|int is not subtype of native type int\<1, max\>\.$# (varTag.nativeType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/Constant/ConstantArrayTypeBuilder.php was not matched in reported errors.
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 1 time, but occurred 2 times.
PHPStan (8.1, ubuntu-latest): src/Type/Constant/ConstantArrayTypeBuilder.php#L183
PHPDoc tag @var with type float|int is not subtype of native type int.
PHPStan (8.1, ubuntu-latest)
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#L1
Ignored error pattern #^PHPDoc tag @var with type float\|int is not subtype of native type int\<1, max\>\.$# (varTag.nativeType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/Constant/ConstantArrayTypeBuilder.php was not matched in reported errors.
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 1 time, but occurred 2 times.
PHPStan with result cache (8.2): src/Type/Constant/ConstantArrayTypeBuilder.php#L183
PHPDoc tag @var with type float|int is not subtype of native type int.
PHPStan with result cache (8.2)
Process completed with exit code 2.
PHPStan with result cache (8.4): src/Type/Constant/ConstantArrayTypeBuilder.php#L1
Ignored error pattern #^PHPDoc tag @var with type float\|int is not subtype of native type int\<1, max\>\.$# (varTag.nativeType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/Constant/ConstantArrayTypeBuilder.php was not matched in reported errors.
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 1 time, but occurred 2 times.
PHPStan with result cache (8.4): src/Type/Constant/ConstantArrayTypeBuilder.php#L183
PHPDoc tag @var with type float|int is not subtype of native type int.
PHPStan with result cache (8.4)
Process completed with exit code 2.
PHPStan with result cache (8.1): src/Type/Constant/ConstantArrayTypeBuilder.php#L1
Ignored error pattern #^PHPDoc tag @var with type float\|int is not subtype of native type int\<1, max\>\.$# (varTag.nativeType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/Constant/ConstantArrayTypeBuilder.php was not matched in reported 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 1 time, but occurred 2 times.
PHPStan with result cache (8.1): src/Type/Constant/ConstantArrayTypeBuilder.php#L183
PHPDoc tag @var with type float|int is not subtype of native type int.
PHPStan with result cache (8.1)
Process completed with exit code 2.
PHPStan with result cache (8.3): src/Type/Constant/ConstantArrayTypeBuilder.php#L1
Ignored error pattern #^PHPDoc tag @var with type float\|int is not subtype of native type int\<1, max\>\.$# (varTag.nativeType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/Constant/ConstantArrayTypeBuilder.php was not matched in reported errors.
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 1 time, but occurred 2 times.
PHPStan with result cache (8.3): src/Type/Constant/ConstantArrayTypeBuilder.php#L183
PHPDoc tag @var with type float|int is not subtype of native type int.
PHPStan with result cache (8.3)
Process completed with exit code 2.
PHPStan (8.4, ubuntu-latest): src/Type/Constant/ConstantArrayTypeBuilder.php#L1
Ignored error pattern #^PHPDoc tag @var with type float\|int is not subtype of native type int\<1, max\>\.$# (varTag.nativeType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/Constant/ConstantArrayTypeBuilder.php was not matched in reported errors.
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 1 time, but occurred 2 times.
PHPStan (8.4, ubuntu-latest): src/Type/Constant/ConstantArrayTypeBuilder.php#L183
PHPDoc tag @var with type float|int is not subtype of native type int.
PHPStan (8.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.3, ubuntu-latest): src/Type/Constant/ConstantArrayTypeBuilder.php#L1
Ignored error pattern #^PHPDoc tag @var with type float\|int is not subtype of native type int\<1, max\>\.$# (varTag.nativeType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/Constant/ConstantArrayTypeBuilder.php was not matched in reported errors.
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 1 time, but occurred 2 times.
PHPStan (8.3, ubuntu-latest): src/Type/Constant/ConstantArrayTypeBuilder.php#L183
PHPDoc tag @var with type float|int is not subtype of native type int.
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.2, ubuntu-latest): src/Type/Constant/ConstantArrayTypeBuilder.php#L1
Ignored error pattern #^PHPDoc tag @var with type float\|int is not subtype of native type int\<1, max\>\.$# (varTag.nativeType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/Constant/ConstantArrayTypeBuilder.php was not matched in reported errors.
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 1 time, but occurred 2 times.
PHPStan (8.2, ubuntu-latest): src/Type/Constant/ConstantArrayTypeBuilder.php#L183
PHPDoc tag @var with type float|int is not subtype of native type int.
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.0, ubuntu-latest): src/Type/Constant/ConstantArrayTypeBuilder.php#L1
Ignored error pattern #^PHPDoc tag @var with type float\|int is not subtype of native type int\<1, max\>\.$# (varTag.nativeType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/Constant/ConstantArrayTypeBuilder.php was not matched in reported errors.
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 1 time, but occurred 2 times.
PHPStan (8.0, ubuntu-latest): src/Type/Constant/ConstantArrayTypeBuilder.php#L183
PHPDoc tag @var with type float|int is not subtype of native type int.
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.4, ubuntu-latest): src/Type/Constant/ConstantArrayTypeBuilder.php#L1
Ignored error pattern #^PHPDoc tag @var with type float\|int is not subtype of native type int\<1, max\>\.$# (varTag.nativeType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/Constant/ConstantArrayTypeBuilder.php was not matched in reported errors.
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 1 time, but occurred 2 times.
PHPStan (7.4, ubuntu-latest): src/Type/Constant/ConstantArrayTypeBuilder.php#L199
PHPDoc tag @var with type float|int is not subtype of native type int.
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.2, windows-latest): src/Type/Constant/ConstantArrayTypeBuilder.php#L1
Ignored error pattern #^PHPDoc tag @var with type float\|int is not subtype of native type int\<1, max\>\.$# (varTag.nativeType) in path D:\a\phpstan-src\phpstan-src\src\Type\Constant\ConstantArrayTypeBuilder.php was not matched in reported errors.
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 1 time, but occurred 2 times.
PHPStan (8.2, windows-latest): src/Type/Constant/ConstantArrayTypeBuilder.php#L183
PHPDoc tag @var with type float|int is not subtype of native type int.
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
PHPStan (8.4, windows-latest): src/Type/Constant/ConstantArrayTypeBuilder.php#L1
Ignored error pattern #^PHPDoc tag @var with type float\|int is not subtype of native type int\<1, max\>\.$# (varTag.nativeType) in path D:\a\phpstan-src\phpstan-src\src\Type\Constant\ConstantArrayTypeBuilder.php was not matched in reported errors.
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 1 time, but occurred 2 times.
PHPStan (8.4, windows-latest): src/Type/Constant/ConstantArrayTypeBuilder.php#L183
PHPDoc tag @var with type float|int is not subtype of native type int.
PHPStan (8.4, windows-latest)
Process completed with exit code 1.
PHPStan (8.3, windows-latest): src/Type/Constant/ConstantArrayTypeBuilder.php#L1
Ignored error pattern #^PHPDoc tag @var with type float\|int is not subtype of native type int\<1, max\>\.$# (varTag.nativeType) in path D:\a\phpstan-src\phpstan-src\src\Type\Constant\ConstantArrayTypeBuilder.php was not matched in reported errors.
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 1 time, but occurred 2 times.
PHPStan (8.3, windows-latest): src/Type/Constant/ConstantArrayTypeBuilder.php#L183
PHPDoc tag @var with type float|int is not subtype of native type int.
PHPStan (8.3, windows-latest)
Process completed with exit code 1.
PHPStan (8.1, windows-latest): src/Type/Constant/ConstantArrayTypeBuilder.php#L1
Ignored error pattern #^PHPDoc tag @var with type float\|int is not subtype of native type int\<1, max\>\.$# (varTag.nativeType) in path D:\a\phpstan-src\phpstan-src\src\Type\Constant\ConstantArrayTypeBuilder.php was not matched in reported errors.
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 1 time, but occurred 2 times.
PHPStan (8.1, windows-latest): src/Type/Constant/ConstantArrayTypeBuilder.php#L183
PHPDoc tag @var with type float|int is not subtype of native type int.
PHPStan (8.1, windows-latest)
Process completed with exit code 1.
PHPStan (8.0, windows-latest): src/Type/Constant/ConstantArrayTypeBuilder.php#L1
Ignored error pattern #^PHPDoc tag @var with type float\|int is not subtype of native type int\<1, max\>\.$# (varTag.nativeType) in path D:\a\phpstan-src\phpstan-src\src\Type\Constant\ConstantArrayTypeBuilder.php was not matched in reported errors.
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 1 time, but occurred 2 times.
PHPStan (8.0, windows-latest): src/Type/Constant/ConstantArrayTypeBuilder.php#L183
PHPDoc tag @var with type float|int is not subtype of native type int.
PHPStan (8.0, windows-latest)
Process completed with exit code 1.
PHPStan (7.4, windows-latest): src/Type/Constant/ConstantArrayTypeBuilder.php#L1
Ignored error pattern #^PHPDoc tag @var with type float\|int is not subtype of native type int\<1, max\>\.$# (varTag.nativeType) in path D:\a\phpstan-src\phpstan-src\src\Type\Constant\ConstantArrayTypeBuilder.php was not matched in reported errors.
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 1 time, but occurred 2 times.
PHPStan (7.4, windows-latest): src/Type/Constant/ConstantArrayTypeBuilder.php#L199
PHPDoc tag @var with type float|int is not subtype of native type int.
PHPStan (7.4, windows-latest)
Process completed with exit code 1.