Skip to content

add phpdoc for iterators in unit tests #22584

add phpdoc for iterators in unit tests

add phpdoc for iterators in unit tests #22584

Triggered via pull request September 1, 2025 22:04
Status Cancelled
Total duration 12m 41s
Artifacts

static-analysis.yml

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

Annotations

129 errors and 7 notices
PHPStan with result cache (8.3)
Process completed with exit code 2.
PHPStan with result cache (8.3): tests/PHPStan/Type/UnionTypeTest.php#L438
Generator expects key type int, string given.
PHPStan with result cache (8.3): tests/PHPStan/Type/UnionTypeTest.php#L419
Generator expects key type int, string given.
PHPStan with result cache (8.3): tests/PHPStan/Type/UnionTypeTest.php#L394
Generator expects key type int, string given.
PHPStan with result cache (8.3): tests/PHPStan/Type/UnionTypeTest.php#L369
Generator expects key type int, string given.
PHPStan with result cache (8.3): tests/PHPStan/Type/UnionTypeTest.php#L352
Generator expects key type int, string given.
PHPStan with result cache (8.3): tests/PHPStan/Type/IntersectionTypeTest.php#L68
Generator expects value type array{PHPStan\Type\IntersectionType, PHPStan\Type\Type, PHPStan\TrinaryLogic}, array{PHPStan\Type\Type, PHPStan\Type\CallableType, PHPStan\TrinaryLogic} given.
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.2, ubuntu-latest): tests/PHPStan/Type/UnionTypeTest.php#L438
Generator expects key type int, string given.
PHPStan (8.2, ubuntu-latest): tests/PHPStan/Type/UnionTypeTest.php#L419
Generator expects key type int, string given.
PHPStan (8.2, ubuntu-latest): tests/PHPStan/Type/UnionTypeTest.php#L394
Generator expects key type int, string given.
PHPStan (8.2, ubuntu-latest): tests/PHPStan/Type/UnionTypeTest.php#L369
Generator expects key type int, string given.
PHPStan (8.2, ubuntu-latest): tests/PHPStan/Type/UnionTypeTest.php#L352
Generator expects key type int, string given.
PHPStan (8.2, ubuntu-latest): tests/PHPStan/Type/IntersectionTypeTest.php#L68
Generator expects value type array{PHPStan\Type\IntersectionType, PHPStan\Type\Type, PHPStan\TrinaryLogic}, array{PHPStan\Type\Type, PHPStan\Type\CallableType, PHPStan\TrinaryLogic} given.
PHPStan with result cache (8.4)
Process completed with exit code 2.
PHPStan with result cache (8.4): tests/PHPStan/Type/UnionTypeTest.php#L438
Generator expects key type int, string given.
PHPStan with result cache (8.4): tests/PHPStan/Type/UnionTypeTest.php#L419
Generator expects key type int, string given.
PHPStan with result cache (8.4): tests/PHPStan/Type/UnionTypeTest.php#L394
Generator expects key type int, string given.
PHPStan with result cache (8.4): tests/PHPStan/Type/UnionTypeTest.php#L369
Generator expects key type int, string given.
PHPStan with result cache (8.4): tests/PHPStan/Type/UnionTypeTest.php#L352
Generator expects key type int, string given.
PHPStan with result cache (8.4): tests/PHPStan/Type/IntersectionTypeTest.php#L68
Generator expects value type array{PHPStan\Type\IntersectionType, PHPStan\Type\Type, PHPStan\TrinaryLogic}, array{PHPStan\Type\Type, PHPStan\Type\CallableType, PHPStan\TrinaryLogic} given.
PHPStan (8.5, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.5, ubuntu-latest): tests/PHPStan/Type/UnionTypeTest.php#L438
Generator expects key type int, string given.
PHPStan (8.5, ubuntu-latest): tests/PHPStan/Type/UnionTypeTest.php#L419
Generator expects key type int, string given.
PHPStan (8.5, ubuntu-latest): tests/PHPStan/Type/UnionTypeTest.php#L394
Generator expects key type int, string given.
PHPStan (8.5, ubuntu-latest): tests/PHPStan/Type/UnionTypeTest.php#L369
Generator expects key type int, string given.
PHPStan (8.5, ubuntu-latest): tests/PHPStan/Type/UnionTypeTest.php#L352
Generator expects key type int, string given.
PHPStan (8.5, ubuntu-latest): tests/PHPStan/Type/IntersectionTypeTest.php#L68
Generator expects value type array{PHPStan\Type\IntersectionType, PHPStan\Type\Type, PHPStan\TrinaryLogic}, array{PHPStan\Type\Type, PHPStan\Type\CallableType, PHPStan\TrinaryLogic} given.
PHPStan with result cache (8.2)
Process completed with exit code 2.
PHPStan with result cache (8.2): tests/PHPStan/Type/UnionTypeTest.php#L438
Generator expects key type int, string given.
PHPStan with result cache (8.2): tests/PHPStan/Type/UnionTypeTest.php#L419
Generator expects key type int, string given.
PHPStan with result cache (8.2): tests/PHPStan/Type/UnionTypeTest.php#L394
Generator expects key type int, string given.
PHPStan with result cache (8.2): tests/PHPStan/Type/UnionTypeTest.php#L369
Generator expects key type int, string given.
PHPStan with result cache (8.2): tests/PHPStan/Type/UnionTypeTest.php#L352
Generator expects key type int, string given.
PHPStan with result cache (8.2): tests/PHPStan/Type/IntersectionTypeTest.php#L68
Generator expects value type array{PHPStan\Type\IntersectionType, PHPStan\Type\Type, PHPStan\TrinaryLogic}, array{PHPStan\Type\Type, PHPStan\Type\CallableType, PHPStan\TrinaryLogic} given.
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.3, ubuntu-latest): tests/PHPStan/Type/UnionTypeTest.php#L438
Generator expects key type int, string given.
PHPStan (8.3, ubuntu-latest): tests/PHPStan/Type/UnionTypeTest.php#L419
Generator expects key type int, string given.
PHPStan (8.3, ubuntu-latest): tests/PHPStan/Type/UnionTypeTest.php#L394
Generator expects key type int, string given.
PHPStan (8.3, ubuntu-latest): tests/PHPStan/Type/UnionTypeTest.php#L369
Generator expects key type int, string given.
PHPStan (8.3, ubuntu-latest): tests/PHPStan/Type/UnionTypeTest.php#L352
Generator expects key type int, string given.
PHPStan (8.3, ubuntu-latest): tests/PHPStan/Type/IntersectionTypeTest.php#L68
Generator expects value type array{PHPStan\Type\IntersectionType, PHPStan\Type\Type, PHPStan\TrinaryLogic}, array{PHPStan\Type\Type, PHPStan\Type\CallableType, PHPStan\TrinaryLogic} given.
PHPStan (8.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.4, ubuntu-latest): tests/PHPStan/Type/UnionTypeTest.php#L438
Generator expects key type int, string given.
PHPStan (8.4, ubuntu-latest): tests/PHPStan/Type/UnionTypeTest.php#L419
Generator expects key type int, string given.
PHPStan (8.4, ubuntu-latest): tests/PHPStan/Type/UnionTypeTest.php#L394
Generator expects key type int, string given.
PHPStan (8.4, ubuntu-latest): tests/PHPStan/Type/UnionTypeTest.php#L369
Generator expects key type int, string given.
PHPStan (8.4, ubuntu-latest): tests/PHPStan/Type/UnionTypeTest.php#L352
Generator expects key type int, string given.
PHPStan (8.4, ubuntu-latest): tests/PHPStan/Type/IntersectionTypeTest.php#L68
Generator expects value type array{PHPStan\Type\IntersectionType, PHPStan\Type\Type, PHPStan\TrinaryLogic}, array{PHPStan\Type\Type, PHPStan\Type\CallableType, PHPStan\TrinaryLogic} given.
PHPStan with result cache (8.5)
Process completed with exit code 2.
PHPStan with result cache (8.5): tests/PHPStan/Type/UnionTypeTest.php#L438
Generator expects key type int, string given.
PHPStan with result cache (8.5): tests/PHPStan/Type/UnionTypeTest.php#L419
Generator expects key type int, string given.
PHPStan with result cache (8.5): tests/PHPStan/Type/UnionTypeTest.php#L394
Generator expects key type int, string given.
PHPStan with result cache (8.5): tests/PHPStan/Type/UnionTypeTest.php#L369
Generator expects key type int, string given.
PHPStan with result cache (8.5): tests/PHPStan/Type/UnionTypeTest.php#L352
Generator expects key type int, string given.
PHPStan with result cache (8.5): tests/PHPStan/Type/IntersectionTypeTest.php#L68
Generator expects value type array{PHPStan\Type\IntersectionType, PHPStan\Type\Type, PHPStan\TrinaryLogic}, array{PHPStan\Type\Type, PHPStan\Type\CallableType, PHPStan\TrinaryLogic} given.
Generate baseline
Process completed with exit code 1.
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.1, ubuntu-latest): tests/PHPStan/Type/UnionTypeTest.php#L442
Generator expects key type int, string given.
PHPStan (8.1, ubuntu-latest): tests/PHPStan/Type/UnionTypeTest.php#L423
Generator expects key type int, string given.
PHPStan (8.1, ubuntu-latest): tests/PHPStan/Type/UnionTypeTest.php#L398
Generator expects key type int, string given.
PHPStan (8.1, ubuntu-latest): tests/PHPStan/Type/UnionTypeTest.php#L373
Generator expects key type int, string given.
PHPStan (8.1, ubuntu-latest): tests/PHPStan/Type/UnionTypeTest.php#L356
Generator expects key type int, string given.
PHPStan (8.1, ubuntu-latest): tests/PHPStan/Type/IntersectionTypeTest.php#L68
Generator expects value type array{PHPStan\Type\IntersectionType, PHPStan\Type\Type, PHPStan\TrinaryLogic}, array{PHPStan\Type\Type, PHPStan\Type\CallableType, PHPStan\TrinaryLogic} given.
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.0, ubuntu-latest): tests/PHPStan/Type/UnionTypeTest.php#L442
Generator expects key type int, string given.
PHPStan (8.0, ubuntu-latest): tests/PHPStan/Type/UnionTypeTest.php#L423
Generator expects key type int, string given.
PHPStan (8.0, ubuntu-latest): tests/PHPStan/Type/UnionTypeTest.php#L398
Generator expects key type int, string given.
PHPStan (8.0, ubuntu-latest): tests/PHPStan/Type/UnionTypeTest.php#L373
Generator expects key type int, string given.
PHPStan (8.0, ubuntu-latest): tests/PHPStan/Type/UnionTypeTest.php#L356
Generator expects key type int, string given.
PHPStan (8.0, ubuntu-latest): tests/PHPStan/Type/IntersectionTypeTest.php#L68
Generator expects value type array{PHPStan\Type\IntersectionType, PHPStan\Type\Type, PHPStan\TrinaryLogic}, array{PHPStan\Type\Type, PHPStan\Type\CallableType, PHPStan\TrinaryLogic} given.
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
PHPStan (8.2, windows-latest): tests/PHPStan/Type/UnionTypeTest.php#L438
Generator expects key type int, string given.
PHPStan (8.2, windows-latest): tests/PHPStan/Type/UnionTypeTest.php#L419
Generator expects key type int, string given.
PHPStan (8.2, windows-latest): tests/PHPStan/Type/UnionTypeTest.php#L394
Generator expects key type int, string given.
PHPStan (8.2, windows-latest): tests/PHPStan/Type/UnionTypeTest.php#L369
Generator expects key type int, string given.
PHPStan (8.2, windows-latest): tests/PHPStan/Type/UnionTypeTest.php#L352
Generator expects key type int, string given.
PHPStan (8.2, windows-latest): tests/PHPStan/Type/IntersectionTypeTest.php#L68
Generator expects value type array{PHPStan\Type\IntersectionType, PHPStan\Type\Type, PHPStan\TrinaryLogic}, array{PHPStan\Type\Type, PHPStan\Type\CallableType, PHPStan\TrinaryLogic} given.
PHPStan (8.4, windows-latest)
Process completed with exit code 1.
PHPStan (8.4, windows-latest): tests/PHPStan/Type/UnionTypeTest.php#L438
Generator expects key type int, string given.
PHPStan (8.4, windows-latest): tests/PHPStan/Type/UnionTypeTest.php#L419
Generator expects key type int, string given.
PHPStan (8.4, windows-latest): tests/PHPStan/Type/UnionTypeTest.php#L394
Generator expects key type int, string given.
PHPStan (8.4, windows-latest): tests/PHPStan/Type/UnionTypeTest.php#L369
Generator expects key type int, string given.
PHPStan (8.4, windows-latest): tests/PHPStan/Type/UnionTypeTest.php#L352
Generator expects key type int, string given.
PHPStan (8.4, windows-latest): tests/PHPStan/Type/IntersectionTypeTest.php#L68
Generator expects value type array{PHPStan\Type\IntersectionType, PHPStan\Type\Type, PHPStan\TrinaryLogic}, array{PHPStan\Type\Type, PHPStan\Type\CallableType, PHPStan\TrinaryLogic} given.
PHPStan (8.5, windows-latest)
Process completed with exit code 1.
PHPStan (8.5, windows-latest): tests/PHPStan/Type/UnionTypeTest.php#L438
Generator expects key type int, string given.
PHPStan (8.5, windows-latest): tests/PHPStan/Type/UnionTypeTest.php#L419
Generator expects key type int, string given.
PHPStan (8.5, windows-latest): tests/PHPStan/Type/UnionTypeTest.php#L394
Generator expects key type int, string given.
PHPStan (8.5, windows-latest): tests/PHPStan/Type/UnionTypeTest.php#L369
Generator expects key type int, string given.
PHPStan (8.5, windows-latest): tests/PHPStan/Type/UnionTypeTest.php#L352
Generator expects key type int, string given.
PHPStan (8.5, windows-latest): tests/PHPStan/Type/IntersectionTypeTest.php#L68
Generator expects value type array{PHPStan\Type\IntersectionType, PHPStan\Type\Type, PHPStan\TrinaryLogic}, array{PHPStan\Type\Type, PHPStan\Type\CallableType, PHPStan\TrinaryLogic} given.
PHPStan (8.3, windows-latest)
Process completed with exit code 1.
PHPStan (8.3, windows-latest): tests/PHPStan/Type/UnionTypeTest.php#L438
Generator expects key type int, string given.
PHPStan (8.3, windows-latest): tests/PHPStan/Type/UnionTypeTest.php#L419
Generator expects key type int, string given.
PHPStan (8.3, windows-latest): tests/PHPStan/Type/UnionTypeTest.php#L394
Generator expects key type int, string given.
PHPStan (8.3, windows-latest): tests/PHPStan/Type/UnionTypeTest.php#L369
Generator expects key type int, string given.
PHPStan (8.3, windows-latest): tests/PHPStan/Type/UnionTypeTest.php#L352
Generator expects key type int, string given.
PHPStan (8.3, windows-latest): tests/PHPStan/Type/IntersectionTypeTest.php#L68
Generator expects value type array{PHPStan\Type\IntersectionType, PHPStan\Type\Type, PHPStan\TrinaryLogic}, array{PHPStan\Type\Type, PHPStan\Type\CallableType, PHPStan\TrinaryLogic} given.
PHPStan (8.1, windows-latest)
Process completed with exit code 1.
PHPStan (8.1, windows-latest): tests/PHPStan/Type/UnionTypeTest.php#L442
Generator expects key type int, string given.
PHPStan (8.1, windows-latest): tests/PHPStan/Type/UnionTypeTest.php#L423
Generator expects key type int, string given.
PHPStan (8.1, windows-latest): tests/PHPStan/Type/UnionTypeTest.php#L398
Generator expects key type int, string given.
PHPStan (8.1, windows-latest): tests/PHPStan/Type/UnionTypeTest.php#L373
Generator expects key type int, string given.
PHPStan (8.1, windows-latest): tests/PHPStan/Type/UnionTypeTest.php#L356
Generator expects key type int, string given.
PHPStan (8.1, windows-latest): tests/PHPStan/Type/IntersectionTypeTest.php#L68
Generator expects value type array{PHPStan\Type\IntersectionType, PHPStan\Type\Type, PHPStan\TrinaryLogic}, array{PHPStan\Type\Type, PHPStan\Type\CallableType, PHPStan\TrinaryLogic} given.
PHPStan (8.0, windows-latest)
Process completed with exit code 1.
PHPStan (8.0, windows-latest): tests/PHPStan/Type/UnionTypeTest.php#L442
Generator expects key type int, string given.
PHPStan (8.0, windows-latest): tests/PHPStan/Type/UnionTypeTest.php#L423
Generator expects key type int, string given.
PHPStan (8.0, windows-latest): tests/PHPStan/Type/UnionTypeTest.php#L398
Generator expects key type int, string given.
PHPStan (8.0, windows-latest): tests/PHPStan/Type/UnionTypeTest.php#L373
Generator expects key type int, string given.
PHPStan (8.0, windows-latest): tests/PHPStan/Type/UnionTypeTest.php#L356
Generator expects key type int, string given.
PHPStan (8.0, windows-latest): tests/PHPStan/Type/IntersectionTypeTest.php#L68
Generator expects value type array{PHPStan\Type\IntersectionType, PHPStan\Type\Type, PHPStan\TrinaryLogic}, array{PHPStan\Type\Type, PHPStan\Type\CallableType, PHPStan\TrinaryLogic} given.
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.4, ubuntu-latest): tests/PHPStan/Type/UnionTypeTest.php#L442
Generator expects key type int, string given.
PHPStan (7.4, ubuntu-latest): tests/PHPStan/Type/UnionTypeTest.php#L423
Generator expects key type int, string given.
PHPStan (7.4, ubuntu-latest): tests/PHPStan/Type/UnionTypeTest.php#L398
Generator expects key type int, string given.
PHPStan (7.4, ubuntu-latest): tests/PHPStan/Type/UnionTypeTest.php#L373
Generator expects key type int, string given.
PHPStan (7.4, ubuntu-latest): tests/PHPStan/Type/UnionTypeTest.php#L356
Generator expects key type int, string given.
PHPStan (7.4, ubuntu-latest): tests/PHPStan/Type/IntersectionTypeTest.php#L68
Generator expects value type array{PHPStan\Type\IntersectionType, PHPStan\Type\Type, PHPStan\TrinaryLogic}, array{PHPStan\Type\Type, PHPStan\Type\CallableType, PHPStan\TrinaryLogic} given.
PHPStan (7.4, windows-latest)
The operation was canceled.
PHPStan (7.4, windows-latest): tests/PHPStan/Type/UnionTypeTest.php#L442
Generator expects key type int, string given.
PHPStan (7.4, windows-latest): tests/PHPStan/Type/UnionTypeTest.php#L423
Generator expects key type int, string given.
PHPStan (7.4, windows-latest): tests/PHPStan/Type/UnionTypeTest.php#L398
Generator expects key type int, string given.
PHPStan (7.4, windows-latest): tests/PHPStan/Type/UnionTypeTest.php#L373
Generator expects key type int, string given.
PHPStan (7.4, windows-latest): tests/PHPStan/Type/UnionTypeTest.php#L356
Generator expects key type int, string given.
PHPStan (7.4, windows-latest): tests/PHPStan/Type/IntersectionTypeTest.php#L68
Generator expects value type array{PHPStan\Type\IntersectionType, PHPStan\Type\Type, PHPStan\TrinaryLogic}, array{PHPStan\Type\Type, PHPStan\Type\CallableType, PHPStan\TrinaryLogic} given.
PHPStan (7.4, windows-latest)
Canceling since a higher priority waiting request for sa-patch-missing_iterator_typehints exists
Static Analysis
Canceling since a higher priority waiting request for sa-patch-missing_iterator_typehints exists
PHPStan (8.2, windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
PHPStan (8.4, windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
PHPStan (8.5, windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
PHPStan (8.3, windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
PHPStan (8.1, windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
PHPStan (8.0, windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
PHPStan (7.4, windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677