Skip to content

Fix IntersectionType::isIterableOnce #21799

Fix IntersectionType::isIterableOnce

Fix IntersectionType::isIterableOnce #21799

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

static-analysis.yml

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

Annotations

46 errors
PHPStan with result cache (8.3)
Process completed with exit code 2.
PHPStan with result cache (8.3): src/Type/IntersectionType.php#L1257
Parameter #2 $callback of function array_filter expects (callable(PHPStan\Type\Type): bool)|null, callable(PHPStan\Type\Type): PHPStan\TrinaryLogic given.
PHPStan with result cache (8.3): src/Type/IntersectionType.php#L604
Parameter #2 $filter of method PHPStan\Type\IntersectionType::intersectResults() expects (callable(PHPStan\Type\Type): PHPStan\TrinaryLogic)|null, Closure(PHPStan\Type\Type): bool given.
PHPStan (8.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.4, ubuntu-latest): src/Type/IntersectionType.php#L1257
Parameter #2 $callback of function array_filter expects (callable(PHPStan\Type\Type): bool)|null, callable(PHPStan\Type\Type): PHPStan\TrinaryLogic given.
PHPStan (8.4, ubuntu-latest): src/Type/IntersectionType.php#L604
Parameter #2 $filter of method PHPStan\Type\IntersectionType::intersectResults() expects (callable(PHPStan\Type\Type): PHPStan\TrinaryLogic)|null, Closure(PHPStan\Type\Type): bool given.
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.3, ubuntu-latest): src/Type/IntersectionType.php#L1257
Parameter #2 $callback of function array_filter expects (callable(PHPStan\Type\Type): bool)|null, callable(PHPStan\Type\Type): PHPStan\TrinaryLogic given.
PHPStan (8.3, ubuntu-latest): src/Type/IntersectionType.php#L604
Parameter #2 $filter of method PHPStan\Type\IntersectionType::intersectResults() expects (callable(PHPStan\Type\Type): PHPStan\TrinaryLogic)|null, Closure(PHPStan\Type\Type): bool given.
Generate baseline
Process completed with exit code 1.
PHPStan with result cache (8.4)
Process completed with exit code 2.
PHPStan with result cache (8.4): src/Type/IntersectionType.php#L1257
Parameter #2 $callback of function array_filter expects (callable(PHPStan\Type\Type): bool)|null, callable(PHPStan\Type\Type): PHPStan\TrinaryLogic given.
PHPStan with result cache (8.4): src/Type/IntersectionType.php#L604
Parameter #2 $filter of method PHPStan\Type\IntersectionType::intersectResults() expects (callable(PHPStan\Type\Type): PHPStan\TrinaryLogic)|null, Closure(PHPStan\Type\Type): bool given.
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.2, ubuntu-latest): src/Type/IntersectionType.php#L1257
Parameter #2 $callback of function array_filter expects (callable(PHPStan\Type\Type): bool)|null, callable(PHPStan\Type\Type): PHPStan\TrinaryLogic given.
PHPStan (8.2, ubuntu-latest): src/Type/IntersectionType.php#L604
Parameter #2 $filter of method PHPStan\Type\IntersectionType::intersectResults() expects (callable(PHPStan\Type\Type): PHPStan\TrinaryLogic)|null, Closure(PHPStan\Type\Type): bool given.
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.1, ubuntu-latest): src/Type/IntersectionType.php#L1257
Parameter #2 $callback of function array_filter expects (callable(PHPStan\Type\Type): bool)|null, callable(PHPStan\Type\Type): PHPStan\TrinaryLogic given.
PHPStan (8.1, ubuntu-latest): src/Type/IntersectionType.php#L604
Parameter #2 $filter of method PHPStan\Type\IntersectionType::intersectResults() expects (callable(PHPStan\Type\Type): PHPStan\TrinaryLogic)|null, Closure(PHPStan\Type\Type): bool given.
PHPStan with result cache (8.2)
Process completed with exit code 2.
PHPStan with result cache (8.2): src/Type/IntersectionType.php#L1257
Parameter #2 $callback of function array_filter expects (callable(PHPStan\Type\Type): bool)|null, callable(PHPStan\Type\Type): PHPStan\TrinaryLogic given.
PHPStan with result cache (8.2): src/Type/IntersectionType.php#L604
Parameter #2 $filter of method PHPStan\Type\IntersectionType::intersectResults() expects (callable(PHPStan\Type\Type): PHPStan\TrinaryLogic)|null, Closure(PHPStan\Type\Type): bool given.
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.0, ubuntu-latest): src/Type/IntersectionType.php#L1257
Parameter #2 $callback of function array_filter expects (callable(PHPStan\Type\Type): bool)|null, callable(PHPStan\Type\Type): PHPStan\TrinaryLogic given.
PHPStan (8.0, ubuntu-latest): src/Type/IntersectionType.php#L604
Parameter #2 $filter of method PHPStan\Type\IntersectionType::intersectResults() expects (callable(PHPStan\Type\Type): PHPStan\TrinaryLogic)|null, Closure(PHPStan\Type\Type): bool given.
PHPStan (8.4, windows-latest)
Process completed with exit code 1.
PHPStan (8.4, windows-latest): src/Type/IntersectionType.php#L1257
Parameter #2 $callback of function array_filter expects (callable(PHPStan\Type\Type): bool)|null, callable(PHPStan\Type\Type): PHPStan\TrinaryLogic given.
PHPStan (8.4, windows-latest): src/Type/IntersectionType.php#L604
Parameter #2 $filter of method PHPStan\Type\IntersectionType::intersectResults() expects (callable(PHPStan\Type\Type): PHPStan\TrinaryLogic)|null, Closure(PHPStan\Type\Type): bool given.
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
PHPStan (8.2, windows-latest): src/Type/IntersectionType.php#L1257
Parameter #2 $callback of function array_filter expects (callable(PHPStan\Type\Type): bool)|null, callable(PHPStan\Type\Type): PHPStan\TrinaryLogic given.
PHPStan (8.2, windows-latest): src/Type/IntersectionType.php#L604
Parameter #2 $filter of method PHPStan\Type\IntersectionType::intersectResults() expects (callable(PHPStan\Type\Type): PHPStan\TrinaryLogic)|null, Closure(PHPStan\Type\Type): bool given.
PHPStan (8.3, windows-latest)
Process completed with exit code 1.
PHPStan (8.3, windows-latest): src/Type/IntersectionType.php#L1257
Parameter #2 $callback of function array_filter expects (callable(PHPStan\Type\Type): bool)|null, callable(PHPStan\Type\Type): PHPStan\TrinaryLogic given.
PHPStan (8.3, windows-latest): src/Type/IntersectionType.php#L604
Parameter #2 $filter of method PHPStan\Type\IntersectionType::intersectResults() expects (callable(PHPStan\Type\Type): PHPStan\TrinaryLogic)|null, Closure(PHPStan\Type\Type): bool given.
PHPStan (8.0, windows-latest)
Process completed with exit code 1.
PHPStan (8.0, windows-latest): src/Type/IntersectionType.php#L1257
Parameter #2 $callback of function array_filter expects (callable(PHPStan\Type\Type): bool)|null, callable(PHPStan\Type\Type): PHPStan\TrinaryLogic given.
PHPStan (8.0, windows-latest): src/Type/IntersectionType.php#L604
Parameter #2 $filter of method PHPStan\Type\IntersectionType::intersectResults() expects (callable(PHPStan\Type\Type): PHPStan\TrinaryLogic)|null, Closure(PHPStan\Type\Type): bool given.
PHPStan (8.1, windows-latest)
Process completed with exit code 1.
PHPStan (8.1, windows-latest): src/Type/IntersectionType.php#L1257
Parameter #2 $callback of function array_filter expects (callable(PHPStan\Type\Type): bool)|null, callable(PHPStan\Type\Type): PHPStan\TrinaryLogic given.
PHPStan (8.1, windows-latest): src/Type/IntersectionType.php#L604
Parameter #2 $filter of method PHPStan\Type\IntersectionType::intersectResults() expects (callable(PHPStan\Type\Type): PHPStan\TrinaryLogic)|null, Closure(PHPStan\Type\Type): bool given.
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.4, ubuntu-latest): src/Type/IntersectionType.php#L1260
Parameter #2 $callback of function array_filter expects (callable(PHPStan\Type\Type): bool)|null, callable(PHPStan\Type\Type): PHPStan\TrinaryLogic given.
PHPStan (7.4, ubuntu-latest): src/Type/IntersectionType.php#L609
Parameter #2 $filter of method PHPStan\Type\IntersectionType::intersectResults() expects (callable(PHPStan\Type\Type): PHPStan\TrinaryLogic)|null, Closure(PHPStan\Type\Type): bool given.
PHPStan (7.4, windows-latest)
Process completed with exit code 1.
PHPStan (7.4, windows-latest): src/Type/IntersectionType.php#L1260
Parameter #2 $callback of function array_filter expects (callable(PHPStan\Type\Type): bool)|null, callable(PHPStan\Type\Type): PHPStan\TrinaryLogic given.
PHPStan (7.4, windows-latest): src/Type/IntersectionType.php#L609
Parameter #2 $filter of method PHPStan\Type\IntersectionType::intersectResults() expects (callable(PHPStan\Type\Type): PHPStan\TrinaryLogic)|null, Closure(PHPStan\Type\Type): bool given.