Skip to content

Fixed HasOffsetValueType accessory missing main-type #22016

Fixed HasOffsetValueType accessory missing main-type

Fixed HasOffsetValueType accessory missing main-type #22016

Triggered via pull request July 26, 2025 17:14
Status Failure
Total duration 12m 38s
Artifacts

static-analysis.yml

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

Annotations

76 errors
PHPStan with result cache (8.4)
Process completed with exit code 2.
PHPStan with result cache (8.4): src/Testing/LevelsTestCase.php#L123
Argument of an invalid type array|object supplied for foreach, only iterables are supported.
PHPStan with result cache (8.4): src/Rules/DeadCode/PossiblyPureMethodCallCollector.php#L73
Method PHPStan\Rules\DeadCode\PossiblyPureMethodCallCollector::processNode() should return array{non-empty-list<class-string>, string, int}|null but returns array{list<class-string>, string, -1|int<1, max>}.
PHPStan with result cache (8.4): src/DependencyInjection/ValidateIgnoredErrorsExtension.php#L147
Argument of an invalid type array|object supplied for foreach, only iterables are supported.
PHPStan with result cache (8.4): src/Analyser/ResultCache/ResultCacheManager.php#L367
Parameter #13 $projectExtensionFiles of class PHPStan\Analyser\ResultCache\ResultCache constructor expects array<string, array{string, bool, string}>, array|object given.
PHPStan (8.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.4, ubuntu-latest): src/Testing/LevelsTestCase.php#L123
Argument of an invalid type array|object supplied for foreach, only iterables are supported.
PHPStan (8.4, ubuntu-latest): src/Rules/DeadCode/PossiblyPureMethodCallCollector.php#L73
Method PHPStan\Rules\DeadCode\PossiblyPureMethodCallCollector::processNode() should return array{non-empty-list<class-string>, string, int}|null but returns array{list<class-string>, string, -1|int<1, max>}.
PHPStan (8.4, ubuntu-latest): src/DependencyInjection/ValidateIgnoredErrorsExtension.php#L147
Argument of an invalid type array|object supplied for foreach, only iterables are supported.
PHPStan (8.4, ubuntu-latest): src/Analyser/ResultCache/ResultCacheManager.php#L367
Parameter #13 $projectExtensionFiles of class PHPStan\Analyser\ResultCache\ResultCache constructor expects array<string, array{string, bool, string}>, array|object given.
Generate baseline
Process completed with exit code 1.
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.2, ubuntu-latest): src/Testing/LevelsTestCase.php#L123
Argument of an invalid type array|object supplied for foreach, only iterables are supported.
PHPStan (8.2, ubuntu-latest): src/Rules/DeadCode/PossiblyPureMethodCallCollector.php#L73
Method PHPStan\Rules\DeadCode\PossiblyPureMethodCallCollector::processNode() should return array{non-empty-list<class-string>, string, int}|null but returns array{list<class-string>, string, -1|int<1, max>}.
PHPStan (8.2, ubuntu-latest): src/DependencyInjection/ValidateIgnoredErrorsExtension.php#L147
Argument of an invalid type array|object supplied for foreach, only iterables are supported.
PHPStan (8.2, ubuntu-latest): src/Analyser/ResultCache/ResultCacheManager.php#L367
Parameter #13 $projectExtensionFiles of class PHPStan\Analyser\ResultCache\ResultCache constructor expects array<string, array{string, bool, string}>, array|object given.
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.3, ubuntu-latest): src/Testing/LevelsTestCase.php#L123
Argument of an invalid type array|object supplied for foreach, only iterables are supported.
PHPStan (8.3, ubuntu-latest): src/Rules/DeadCode/PossiblyPureMethodCallCollector.php#L73
Method PHPStan\Rules\DeadCode\PossiblyPureMethodCallCollector::processNode() should return array{non-empty-list<class-string>, string, int}|null but returns array{list<class-string>, string, -1|int<1, max>}.
PHPStan (8.3, ubuntu-latest): src/DependencyInjection/ValidateIgnoredErrorsExtension.php#L147
Argument of an invalid type array|object supplied for foreach, only iterables are supported.
PHPStan (8.3, ubuntu-latest): src/Analyser/ResultCache/ResultCacheManager.php#L367
Parameter #13 $projectExtensionFiles of class PHPStan\Analyser\ResultCache\ResultCache constructor expects array<string, array{string, bool, string}>, array|object given.
PHPStan with result cache (8.2)
Process completed with exit code 2.
PHPStan with result cache (8.2): src/Testing/LevelsTestCase.php#L123
Argument of an invalid type array|object supplied for foreach, only iterables are supported.
PHPStan with result cache (8.2): src/Rules/DeadCode/PossiblyPureMethodCallCollector.php#L73
Method PHPStan\Rules\DeadCode\PossiblyPureMethodCallCollector::processNode() should return array{non-empty-list<class-string>, string, int}|null but returns array{list<class-string>, string, -1|int<1, max>}.
PHPStan with result cache (8.2): src/DependencyInjection/ValidateIgnoredErrorsExtension.php#L147
Argument of an invalid type array|object supplied for foreach, only iterables are supported.
PHPStan with result cache (8.2): src/Analyser/ResultCache/ResultCacheManager.php#L367
Parameter #13 $projectExtensionFiles of class PHPStan\Analyser\ResultCache\ResultCache constructor expects array<string, array{string, bool, string}>, array|object given.
PHPStan with result cache (8.3)
Process completed with exit code 2.
PHPStan with result cache (8.3): src/Testing/LevelsTestCase.php#L123
Argument of an invalid type array|object supplied for foreach, only iterables are supported.
PHPStan with result cache (8.3): src/Rules/DeadCode/PossiblyPureMethodCallCollector.php#L73
Method PHPStan\Rules\DeadCode\PossiblyPureMethodCallCollector::processNode() should return array{non-empty-list<class-string>, string, int}|null but returns array{list<class-string>, string, -1|int<1, max>}.
PHPStan with result cache (8.3): src/DependencyInjection/ValidateIgnoredErrorsExtension.php#L147
Argument of an invalid type array|object supplied for foreach, only iterables are supported.
PHPStan with result cache (8.3): src/Analyser/ResultCache/ResultCacheManager.php#L367
Parameter #13 $projectExtensionFiles of class PHPStan\Analyser\ResultCache\ResultCache constructor expects array<string, array{string, bool, string}>, array|object given.
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.1, ubuntu-latest): src/Testing/LevelsTestCase.php#L118
Argument of an invalid type array|object supplied for foreach, only iterables are supported.
PHPStan (8.1, ubuntu-latest): src/Rules/DeadCode/PossiblyPureMethodCallCollector.php#L73
Method PHPStan\Rules\DeadCode\PossiblyPureMethodCallCollector::processNode() should return array{non-empty-list<class-string>, string, int}|null but returns array{list<class-string>, string, -1|int<1, max>}.
PHPStan (8.1, ubuntu-latest): src/DependencyInjection/ValidateIgnoredErrorsExtension.php#L147
Argument of an invalid type array|object supplied for foreach, only iterables are supported.
PHPStan (8.1, ubuntu-latest): src/Analyser/ResultCache/ResultCacheManager.php#L367
Parameter #13 $projectExtensionFiles of class PHPStan\Analyser\ResultCache\ResultCache constructor expects array<string, array{string, bool, string}>, array|object given.
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.0, ubuntu-latest): src/Testing/LevelsTestCase.php#L118
Argument of an invalid type array|object supplied for foreach, only iterables are supported.
PHPStan (8.0, ubuntu-latest): src/Rules/DeadCode/PossiblyPureMethodCallCollector.php#L73
Method PHPStan\Rules\DeadCode\PossiblyPureMethodCallCollector::processNode() should return array{non-empty-list<class-string>, string, int}|null but returns array{list<class-string>, string, -1|int<1, max>}.
PHPStan (8.0, ubuntu-latest): src/DependencyInjection/ValidateIgnoredErrorsExtension.php#L147
Argument of an invalid type array|object supplied for foreach, only iterables are supported.
PHPStan (8.0, ubuntu-latest): src/Analyser/ResultCache/ResultCacheManager.php#L367
Parameter #13 $projectExtensionFiles of class PHPStan\Analyser\ResultCache\ResultCache constructor expects array<string, array{string, bool, string}>, array|object given.
PHPStan (8.4, windows-latest)
Process completed with exit code 1.
PHPStan (8.4, windows-latest): src/Testing/LevelsTestCase.php#L123
Argument of an invalid type array|object supplied for foreach, only iterables are supported.
PHPStan (8.4, windows-latest): src/Rules/DeadCode/PossiblyPureMethodCallCollector.php#L73
Method PHPStan\Rules\DeadCode\PossiblyPureMethodCallCollector::processNode() should return array{non-empty-list<class-string>, string, int}|null but returns array{list<class-string>, string, -1|int<1, max>}.
PHPStan (8.4, windows-latest): src/DependencyInjection/ValidateIgnoredErrorsExtension.php#L147
Argument of an invalid type array|object supplied for foreach, only iterables are supported.
PHPStan (8.4, windows-latest): src/Analyser/ResultCache/ResultCacheManager.php#L367
Parameter #13 $projectExtensionFiles of class PHPStan\Analyser\ResultCache\ResultCache constructor expects array<string, array{string, bool, string}>, array|object given.
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
PHPStan (8.2, windows-latest): src/Testing/LevelsTestCase.php#L123
Argument of an invalid type array|object supplied for foreach, only iterables are supported.
PHPStan (8.2, windows-latest): src/Rules/DeadCode/PossiblyPureMethodCallCollector.php#L73
Method PHPStan\Rules\DeadCode\PossiblyPureMethodCallCollector::processNode() should return array{non-empty-list<class-string>, string, int}|null but returns array{list<class-string>, string, -1|int<1, max>}.
PHPStan (8.2, windows-latest): src/DependencyInjection/ValidateIgnoredErrorsExtension.php#L147
Argument of an invalid type array|object supplied for foreach, only iterables are supported.
PHPStan (8.2, windows-latest): src/Analyser/ResultCache/ResultCacheManager.php#L367
Parameter #13 $projectExtensionFiles of class PHPStan\Analyser\ResultCache\ResultCache constructor expects array<string, array{string, bool, string}>, array|object given.
PHPStan (8.0, windows-latest)
Process completed with exit code 1.
PHPStan (8.0, windows-latest): src/Testing/LevelsTestCase.php#L118
Argument of an invalid type array|object supplied for foreach, only iterables are supported.
PHPStan (8.0, windows-latest): src/Rules/DeadCode/PossiblyPureMethodCallCollector.php#L73
Method PHPStan\Rules\DeadCode\PossiblyPureMethodCallCollector::processNode() should return array{non-empty-list<class-string>, string, int}|null but returns array{list<class-string>, string, -1|int<1, max>}.
PHPStan (8.0, windows-latest): src/DependencyInjection/ValidateIgnoredErrorsExtension.php#L147
Argument of an invalid type array|object supplied for foreach, only iterables are supported.
PHPStan (8.0, windows-latest): src/Analyser/ResultCache/ResultCacheManager.php#L367
Parameter #13 $projectExtensionFiles of class PHPStan\Analyser\ResultCache\ResultCache constructor expects array<string, array{string, bool, string}>, array|object given.
PHPStan (8.3, windows-latest)
Process completed with exit code 1.
PHPStan (8.3, windows-latest): src/Testing/LevelsTestCase.php#L123
Argument of an invalid type array|object supplied for foreach, only iterables are supported.
PHPStan (8.3, windows-latest): src/Rules/DeadCode/PossiblyPureMethodCallCollector.php#L73
Method PHPStan\Rules\DeadCode\PossiblyPureMethodCallCollector::processNode() should return array{non-empty-list<class-string>, string, int}|null but returns array{list<class-string>, string, -1|int<1, max>}.
PHPStan (8.3, windows-latest): src/DependencyInjection/ValidateIgnoredErrorsExtension.php#L147
Argument of an invalid type array|object supplied for foreach, only iterables are supported.
PHPStan (8.3, windows-latest): src/Analyser/ResultCache/ResultCacheManager.php#L367
Parameter #13 $projectExtensionFiles of class PHPStan\Analyser\ResultCache\ResultCache constructor expects array<string, array{string, bool, string}>, array|object given.
PHPStan (8.1, windows-latest)
Process completed with exit code 1.
PHPStan (8.1, windows-latest): src/Testing/LevelsTestCase.php#L118
Argument of an invalid type array|object supplied for foreach, only iterables are supported.
PHPStan (8.1, windows-latest): src/Rules/DeadCode/PossiblyPureMethodCallCollector.php#L73
Method PHPStan\Rules\DeadCode\PossiblyPureMethodCallCollector::processNode() should return array{non-empty-list<class-string>, string, int}|null but returns array{list<class-string>, string, -1|int<1, max>}.
PHPStan (8.1, windows-latest): src/DependencyInjection/ValidateIgnoredErrorsExtension.php#L147
Argument of an invalid type array|object supplied for foreach, only iterables are supported.
PHPStan (8.1, windows-latest): src/Analyser/ResultCache/ResultCacheManager.php#L367
Parameter #13 $projectExtensionFiles of class PHPStan\Analyser\ResultCache\ResultCache constructor expects array<string, array{string, bool, string}>, array|object given.
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.4, ubuntu-latest): src/Testing/LevelsTestCase.php#L118
Argument of an invalid type array|object supplied for foreach, only iterables are supported.
PHPStan (7.4, ubuntu-latest): src/Rules/DeadCode/PossiblyPureMethodCallCollector.php#L73
Method PHPStan\Rules\DeadCode\PossiblyPureMethodCallCollector::processNode() should return array{non-empty-list<class-string>, string, int}|null but returns array{list<class-string>, string, -1|int<1, max>}.
PHPStan (7.4, ubuntu-latest): src/DependencyInjection/ValidateIgnoredErrorsExtension.php#L147
Argument of an invalid type array|object supplied for foreach, only iterables are supported.
PHPStan (7.4, ubuntu-latest): src/Analyser/ResultCache/ResultCacheManager.php#L429
Parameter #13 $projectExtensionFiles of class PHPStan\Analyser\ResultCache\ResultCache constructor expects array<string, array{string, bool, string}>, array|object given.
PHPStan (7.4, windows-latest)
Process completed with exit code 1.
PHPStan (7.4, windows-latest): src/Testing/LevelsTestCase.php#L118
Argument of an invalid type array|object supplied for foreach, only iterables are supported.
PHPStan (7.4, windows-latest): src/Rules/DeadCode/PossiblyPureMethodCallCollector.php#L73
Method PHPStan\Rules\DeadCode\PossiblyPureMethodCallCollector::processNode() should return array{non-empty-list<class-string>, string, int}|null but returns array{list<class-string>, string, -1|int<1, max>}.
PHPStan (7.4, windows-latest): src/DependencyInjection/ValidateIgnoredErrorsExtension.php#L147
Argument of an invalid type array|object supplied for foreach, only iterables are supported.
PHPStan (7.4, windows-latest): src/Analyser/ResultCache/ResultCacheManager.php#L429
Parameter #13 $projectExtensionFiles of class PHPStan\Analyser\ResultCache\ResultCache constructor expects array<string, array{string, bool, string}>, array|object given.