Skip to content

Improve count() narrowing of constant arrays #19145

Improve count() narrowing of constant arrays

Improve count() narrowing of constant arrays #19145

Triggered via pull request December 5, 2024 14:17
Status Failure
Total duration 3m 57s
Artifacts

static-analysis.yml

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

Annotations

41 errors and 14 warnings
PHPStan with result cache (8.4): src/Analyser/TypeSpecifier.php#L289
Only numeric types are allowed in +, int|null given on the left side.
PHPStan with result cache (8.4)
Process completed with exit code 2.
PHPStan with result cache (8.1): src/Analyser/TypeSpecifier.php#L289
Only numeric types are allowed in +, int|null given on the left side.
PHPStan with result cache (8.1)
Process completed with exit code 2.
PHPStan (8.3, ubuntu-latest): src/Analyser/TypeSpecifier.php#L289
Only numeric types are allowed in +, int|null given on the left side.
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
Generate baseline
Process completed with exit code 1.
PHPStan (8.4, ubuntu-latest): src/Analyser/TypeSpecifier.php#L289
Only numeric types are allowed in +, int|null given on the left side.
PHPStan (8.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan with result cache (8.2): src/Analyser/TypeSpecifier.php#L289
Only numeric types are allowed in +, int|null given on the left side.
PHPStan with result cache (8.2)
Process completed with exit code 2.
PHPStan with result cache (8.3): src/Analyser/TypeSpecifier.php#L289
Only numeric types are allowed in +, int|null given on the left side.
PHPStan with result cache (8.3)
Process completed with exit code 2.
PHPStan (8.2, ubuntu-latest): src/Analyser/TypeSpecifier.php#L289
Only numeric types are allowed in +, int|null given on the left side.
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.1, ubuntu-latest): src/Analyser/TypeSpecifier.php#L289
Only numeric types are allowed in +, int|null given on the left side.
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.0, ubuntu-latest): src/Analyser/TypeSpecifier.php#L289
Only numeric types are allowed in +, int|null given on the left side.
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.3, ubuntu-latest): src/Analyser/TypeSpecifier.php#L305
Only numeric types are allowed in +, int|null given on the left side.
PHPStan (7.3, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.4, ubuntu-latest): src/Analyser/TypeSpecifier.php#L296
Only numeric types are allowed in +, int|null given on the left side.
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.2, ubuntu-latest): src/Analyser/TypeSpecifier.php#L267
Only numeric types are allowed in +, int|null given on the left side.
PHPStan (7.2, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.4, windows-latest): src/Analyser/TypeSpecifier.php#L289
Only numeric types are allowed in +, int|null given on the left side.
PHPStan (8.4, windows-latest)
Process completed with exit code 1.
PHPStan (8.1, windows-latest): src/Analyser/TypeSpecifier.php#L289
Only numeric types are allowed in +, int|null given on the left side.
PHPStan (8.1, windows-latest)
Process completed with exit code 1.
PHPStan (8.3, windows-latest): src/Analyser/TypeSpecifier.php#L289
Only numeric types are allowed in +, int|null given on the left side.
PHPStan (8.3, windows-latest)
Process completed with exit code 1.
PHPStan (8.2, windows-latest): src/Analyser/TypeSpecifier.php#L289
Only numeric types are allowed in +, int|null given on the left side.
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
PHPStan (8.0, windows-latest): src/Analyser/TypeSpecifier.php#L289
Only numeric types are allowed in +, int|null given on the left side.
PHPStan (8.0, windows-latest)
Process completed with exit code 1.
PHPStan (7.3, windows-latest): src/Analyser/TypeSpecifier.php#L305
Only numeric types are allowed in +, int|null given on the left side.
PHPStan (7.3, windows-latest)
Process completed with exit code 1.
PHPStan (7.4, windows-latest): src/Analyser/TypeSpecifier.php#L296
Only numeric types are allowed in +, int|null given on the left side.
PHPStan (7.4, windows-latest)
Process completed with exit code 1.
PHPStan (7.2, windows-latest): src/Analyser/TypeSpecifier.php#L267
Only numeric types are allowed in +, int|null given on the left side.
PHPStan (7.2, windows-latest)
Process completed with exit code 1.
PHPStan with result cache (8.4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan with result cache (8.1)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan (8.3, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Generate baseline
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Generate PHP baseline
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan (8.4, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan with result cache (8.2)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan with result cache (8.3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan (8.2, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan (8.1, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan (8.0, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan (7.3, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan (7.4, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan (7.2, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636