Skip to content

ArrayDimFetch on class constant array can return null #17627

ArrayDimFetch on class constant array can return null

ArrayDimFetch on class constant array can return null #17627

Triggered via pull request September 21, 2024 06:58
Status Failure
Total duration 3m 40s
Artifacts

static-analysis.yml

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

Annotations

81 errors
Generate baseline
Process completed with exit code 1.
PHPStan (8.1, ubuntu-latest): src/Type/Php/HashFunctionsReturnTypeExtension.php#L124
Offset 'cryptographic' might not exist on array{cryptographic: bool, possiblyFalse: bool}|null.
PHPStan (8.1, ubuntu-latest): src/Type/Php/HashFunctionsReturnTypeExtension.php#L134
Offset 'possiblyFalse' might not exist on array{cryptographic: bool, possiblyFalse: bool}|null.
PHPStan (8.1, ubuntu-latest): src/Type/Php/StrContainingTypeSpecifyingExtension.php#L66
Cannot use array destructuring on array<int, int>|null.
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
PHPStan with result cache (8.3): src/Type/Php/HashFunctionsReturnTypeExtension.php#L124
Offset 'cryptographic' might not exist on array{cryptographic: bool, possiblyFalse: bool}|null.
PHPStan with result cache (8.3): src/Type/Php/HashFunctionsReturnTypeExtension.php#L134
Offset 'possiblyFalse' might not exist on array{cryptographic: bool, possiblyFalse: bool}|null.
PHPStan with result cache (8.3): src/Type/Php/StrContainingTypeSpecifyingExtension.php#L66
Cannot use array destructuring on array<int, int>|null.
PHPStan with result cache (8.3)
Process completed with exit code 2.
PHPStan with result cache (8.2): src/Type/Php/HashFunctionsReturnTypeExtension.php#L124
Offset 'cryptographic' might not exist on array{cryptographic: bool, possiblyFalse: bool}|null.
PHPStan with result cache (8.2): src/Type/Php/HashFunctionsReturnTypeExtension.php#L134
Offset 'possiblyFalse' might not exist on array{cryptographic: bool, possiblyFalse: bool}|null.
PHPStan with result cache (8.2): src/Type/Php/StrContainingTypeSpecifyingExtension.php#L66
Cannot use array destructuring on array<int, int>|null.
PHPStan with result cache (8.2)
Process completed with exit code 2.
PHPStan (8.3, ubuntu-latest): src/Type/Php/HashFunctionsReturnTypeExtension.php#L124
Offset 'cryptographic' might not exist on array{cryptographic: bool, possiblyFalse: bool}|null.
PHPStan (8.3, ubuntu-latest): src/Type/Php/HashFunctionsReturnTypeExtension.php#L134
Offset 'possiblyFalse' might not exist on array{cryptographic: bool, possiblyFalse: bool}|null.
PHPStan (8.3, ubuntu-latest): src/Type/Php/StrContainingTypeSpecifyingExtension.php#L66
Cannot use array destructuring on array<int, int>|null.
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.2, ubuntu-latest): src/Type/Php/HashFunctionsReturnTypeExtension.php#L124
Offset 'cryptographic' might not exist on array{cryptographic: bool, possiblyFalse: bool}|null.
PHPStan (8.4, ubuntu-latest): src/Type/Php/HashFunctionsReturnTypeExtension.php#L124
Offset 'cryptographic' might not exist on array{cryptographic: bool, possiblyFalse: bool}|null.
PHPStan (8.2, ubuntu-latest): src/Type/Php/HashFunctionsReturnTypeExtension.php#L134
Offset 'possiblyFalse' might not exist on array{cryptographic: bool, possiblyFalse: bool}|null.
PHPStan (8.4, ubuntu-latest): src/Type/Php/HashFunctionsReturnTypeExtension.php#L134
Offset 'possiblyFalse' might not exist on array{cryptographic: bool, possiblyFalse: bool}|null.
PHPStan (8.2, ubuntu-latest): src/Type/Php/StrContainingTypeSpecifyingExtension.php#L66
Cannot use array destructuring on array<int, int>|null.
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.4, ubuntu-latest): src/Type/Php/StrContainingTypeSpecifyingExtension.php#L66
Cannot use array destructuring on array<int, int>|null.
PHPStan (8.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan with result cache (8.1): src/Type/Php/HashFunctionsReturnTypeExtension.php#L124
Offset 'cryptographic' might not exist on array{cryptographic: bool, possiblyFalse: bool}|null.
PHPStan with result cache (8.1): src/Type/Php/HashFunctionsReturnTypeExtension.php#L134
Offset 'possiblyFalse' might not exist on array{cryptographic: bool, possiblyFalse: bool}|null.
PHPStan with result cache (8.1): src/Type/Php/StrContainingTypeSpecifyingExtension.php#L66
Cannot use array destructuring on array<int, int>|null.
PHPStan with result cache (8.1)
Process completed with exit code 2.
PHPStan (8.0, ubuntu-latest): src/Type/Php/HashFunctionsReturnTypeExtension.php#L124
Offset 'cryptographic' might not exist on array{cryptographic: bool, possiblyFalse: bool}|null.
PHPStan (8.0, ubuntu-latest): src/Type/Php/HashFunctionsReturnTypeExtension.php#L134
Offset 'possiblyFalse' might not exist on array{cryptographic: bool, possiblyFalse: bool}|null.
PHPStan (8.0, ubuntu-latest): src/Type/Php/StrContainingTypeSpecifyingExtension.php#L66
Cannot use array destructuring on array<int, int>|null.
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
PHPStan with result cache (8.4): src/Type/Php/HashFunctionsReturnTypeExtension.php#L124
Offset 'cryptographic' might not exist on array{cryptographic: bool, possiblyFalse: bool}|null.
PHPStan with result cache (8.4): src/Type/Php/HashFunctionsReturnTypeExtension.php#L134
Offset 'possiblyFalse' might not exist on array{cryptographic: bool, possiblyFalse: bool}|null.
PHPStan with result cache (8.4): src/Type/Php/StrContainingTypeSpecifyingExtension.php#L66
Cannot use array destructuring on array<int, int>|null.
PHPStan with result cache (8.4)
Process completed with exit code 2.
PHPStan (7.3, ubuntu-latest): src/Type/Php/HashFunctionsReturnTypeExtension.php#L129
Offset 'cryptographic' might not exist on array{cryptographic: bool, possiblyFalse: bool}|null.
PHPStan (7.3, ubuntu-latest): src/Type/Php/HashFunctionsReturnTypeExtension.php#L139
Offset 'possiblyFalse' might not exist on array{cryptographic: bool, possiblyFalse: bool}|null.
PHPStan (7.3, ubuntu-latest): src/Type/Php/StrContainingTypeSpecifyingExtension.php#L69
Cannot use array destructuring on array<int, int>|null.
PHPStan (7.3, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.4, ubuntu-latest): src/Type/Php/HashFunctionsReturnTypeExtension.php#L126
Offset 'cryptographic' might not exist on array{cryptographic: bool, possiblyFalse: bool}|null.
PHPStan (7.4, ubuntu-latest): src/Type/Php/HashFunctionsReturnTypeExtension.php#L136
Offset 'possiblyFalse' might not exist on array{cryptographic: bool, possiblyFalse: bool}|null.
PHPStan (7.4, ubuntu-latest): src/Type/Php/StrContainingTypeSpecifyingExtension.php#L66
Cannot use array destructuring on array<int, int>|null.
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.2, ubuntu-latest): src/Type/Php/HashFunctionsReturnTypeExtension.php#L128
Offset 'cryptographic' might not exist on array{cryptographic: bool, possiblyFalse: bool}|null.
PHPStan (7.2, ubuntu-latest): src/Type/Php/HashFunctionsReturnTypeExtension.php#L136
Offset 'possiblyFalse' might not exist on array{cryptographic: bool, possiblyFalse: bool}|null.
PHPStan (7.2, ubuntu-latest): src/Type/Php/StrContainingTypeSpecifyingExtension.php#L69
Cannot use array destructuring on array<int, int>|null.
PHPStan (7.2, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.4, windows-latest): src/Type/Php/HashFunctionsReturnTypeExtension.php#L124
Offset 'cryptographic' might not exist on array{cryptographic: bool, possiblyFalse: bool}|null.
PHPStan (8.4, windows-latest): src/Type/Php/HashFunctionsReturnTypeExtension.php#L134
Offset 'possiblyFalse' might not exist on array{cryptographic: bool, possiblyFalse: bool}|null.
PHPStan (8.4, windows-latest): src/Type/Php/StrContainingTypeSpecifyingExtension.php#L66
Cannot use array destructuring on array<int, int>|null.
PHPStan (8.4, windows-latest)
Process completed with exit code 1.
PHPStan (8.3, windows-latest): src/Type/Php/HashFunctionsReturnTypeExtension.php#L124
Offset 'cryptographic' might not exist on array{cryptographic: bool, possiblyFalse: bool}|null.
PHPStan (8.3, windows-latest): src/Type/Php/HashFunctionsReturnTypeExtension.php#L134
Offset 'possiblyFalse' might not exist on array{cryptographic: bool, possiblyFalse: bool}|null.
PHPStan (8.3, windows-latest): src/Type/Php/StrContainingTypeSpecifyingExtension.php#L66
Cannot use array destructuring on array<int, int>|null.
PHPStan (8.3, windows-latest)
Process completed with exit code 1.
PHPStan (8.2, windows-latest): src/Type/Php/HashFunctionsReturnTypeExtension.php#L124
Offset 'cryptographic' might not exist on array{cryptographic: bool, possiblyFalse: bool}|null.
PHPStan (8.2, windows-latest): src/Type/Php/HashFunctionsReturnTypeExtension.php#L134
Offset 'possiblyFalse' might not exist on array{cryptographic: bool, possiblyFalse: bool}|null.
PHPStan (8.2, windows-latest): src/Type/Php/StrContainingTypeSpecifyingExtension.php#L66
Cannot use array destructuring on array<int, int>|null.
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
PHPStan (8.0, windows-latest): src/Type/Php/HashFunctionsReturnTypeExtension.php#L124
Offset 'cryptographic' might not exist on array{cryptographic: bool, possiblyFalse: bool}|null.
PHPStan (8.0, windows-latest): src/Type/Php/HashFunctionsReturnTypeExtension.php#L134
Offset 'possiblyFalse' might not exist on array{cryptographic: bool, possiblyFalse: bool}|null.
PHPStan (8.0, windows-latest): src/Type/Php/StrContainingTypeSpecifyingExtension.php#L66
Cannot use array destructuring on array<int, int>|null.
PHPStan (8.0, windows-latest)
Process completed with exit code 1.
PHPStan (8.1, windows-latest): src/Type/Php/HashFunctionsReturnTypeExtension.php#L124
Offset 'cryptographic' might not exist on array{cryptographic: bool, possiblyFalse: bool}|null.
PHPStan (8.1, windows-latest): src/Type/Php/HashFunctionsReturnTypeExtension.php#L134
Offset 'possiblyFalse' might not exist on array{cryptographic: bool, possiblyFalse: bool}|null.
PHPStan (8.1, windows-latest): src/Type/Php/StrContainingTypeSpecifyingExtension.php#L66
Cannot use array destructuring on array<int, int>|null.
PHPStan (8.1, windows-latest)
Process completed with exit code 1.
PHPStan (7.4, windows-latest): src/Type/Php/HashFunctionsReturnTypeExtension.php#L126
Offset 'cryptographic' might not exist on array{cryptographic: bool, possiblyFalse: bool}|null.
PHPStan (7.4, windows-latest): src/Type/Php/HashFunctionsReturnTypeExtension.php#L136
Offset 'possiblyFalse' might not exist on array{cryptographic: bool, possiblyFalse: bool}|null.
PHPStan (7.4, windows-latest): src/Type/Php/StrContainingTypeSpecifyingExtension.php#L66
Cannot use array destructuring on array<int, int>|null.
PHPStan (7.4, windows-latest)
Process completed with exit code 1.
PHPStan (7.3, windows-latest): src/Type/Php/HashFunctionsReturnTypeExtension.php#L129
Offset 'cryptographic' might not exist on array{cryptographic: bool, possiblyFalse: bool}|null.
PHPStan (7.3, windows-latest): src/Type/Php/HashFunctionsReturnTypeExtension.php#L139
Offset 'possiblyFalse' might not exist on array{cryptographic: bool, possiblyFalse: bool}|null.
PHPStan (7.3, windows-latest): src/Type/Php/StrContainingTypeSpecifyingExtension.php#L69
Cannot use array destructuring on array<int, int>|null.
PHPStan (7.3, windows-latest)
Process completed with exit code 1.
PHPStan (7.2, windows-latest): src/Type/Php/HashFunctionsReturnTypeExtension.php#L128
Offset 'cryptographic' might not exist on array{cryptographic: bool, possiblyFalse: bool}|null.
PHPStan (7.2, windows-latest): src/Type/Php/HashFunctionsReturnTypeExtension.php#L136
Offset 'possiblyFalse' might not exist on array{cryptographic: bool, possiblyFalse: bool}|null.
PHPStan (7.2, windows-latest): src/Type/Php/StrContainingTypeSpecifyingExtension.php#L69
Cannot use array destructuring on array<int, int>|null.
PHPStan (7.2, windows-latest)
Process completed with exit code 1.