Skip to content

Add Type::spliceArray(), improve splice_array() array type narrowing #20715

Add Type::spliceArray(), improve splice_array() array type narrowing

Add Type::spliceArray(), improve splice_array() array type narrowing #20715

Triggered via pull request April 20, 2025 19:36
Status Cancelled
Total duration 3m 19s
Artifacts

static-analysis.yml

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

Annotations

51 errors
PHPStan with result cache (8.3): src/Type/Constant/ConstantArrayType.php#L1023
Only numeric types are allowed in +, int|null given on the right side.
PHPStan with result cache (8.3): src/Type/Constant/ConstantArrayType.php#L1028
Only numeric types are allowed in +, int|null given on the right side.
PHPStan with result cache (8.3)
Process completed with exit code 2.
Generate baseline
Process completed with exit code 1.
PHPStan with result cache (8.4): src/Type/Constant/ConstantArrayType.php#L1023
Only numeric types are allowed in +, int|null given on the right side.
PHPStan with result cache (8.4): src/Type/Constant/ConstantArrayType.php#L1028
Only numeric types are allowed in +, int|null given on the right side.
PHPStan with result cache (8.4)
Process completed with exit code 2.
PHPStan with result cache (8.1): src/Type/Constant/ConstantArrayType.php#L1023
Only numeric types are allowed in +, int|null given on the right side.
PHPStan with result cache (8.1): src/Type/Constant/ConstantArrayType.php#L1028
Only numeric types are allowed in +, int|null given on the right side.
PHPStan with result cache (8.1)
Process completed with exit code 2.
PHPStan (8.3, ubuntu-latest): src/Type/Constant/ConstantArrayType.php#L1023
Only numeric types are allowed in +, int|null given on the right side.
PHPStan (8.3, ubuntu-latest): src/Type/Constant/ConstantArrayType.php#L1028
Only numeric types are allowed in +, int|null given on the right side.
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
PHPStan with result cache (8.2): src/Type/Constant/ConstantArrayType.php#L1023
Only numeric types are allowed in +, int|null given on the right side.
PHPStan with result cache (8.2): src/Type/Constant/ConstantArrayType.php#L1028
Only numeric types are allowed in +, int|null given on the right side.
PHPStan with result cache (8.2)
Process completed with exit code 2.
PHPStan (8.1, ubuntu-latest): src/Type/Constant/ConstantArrayType.php#L1023
Only numeric types are allowed in +, int|null given on the right side.
PHPStan (8.1, ubuntu-latest): src/Type/Constant/ConstantArrayType.php#L1028
Only numeric types are allowed in +, int|null given on the right side.
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.2, ubuntu-latest): src/Type/Constant/ConstantArrayType.php#L1023
Only numeric types are allowed in +, int|null given on the right side.
PHPStan (8.2, ubuntu-latest): src/Type/Constant/ConstantArrayType.php#L1028
Only numeric types are allowed in +, int|null given on the right side.
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.4, ubuntu-latest): src/Type/Constant/ConstantArrayType.php#L1023
Only numeric types are allowed in +, int|null given on the right side.
PHPStan (8.4, ubuntu-latest): src/Type/Constant/ConstantArrayType.php#L1028
Only numeric types are allowed in +, int|null given on the right side.
PHPStan (8.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.0, ubuntu-latest): src/Type/Constant/ConstantArrayType.php#L1023
Only numeric types are allowed in +, int|null given on the right side.
PHPStan (8.0, ubuntu-latest): src/Type/Constant/ConstantArrayType.php#L1028
Only numeric types are allowed in +, int|null given on the right side.
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.4, ubuntu-latest): src/Type/Constant/ConstantArrayType.php#L1035
Only numeric types are allowed in +, int|null given on the right side.
PHPStan (7.4, ubuntu-latest): src/Type/Constant/ConstantArrayType.php#L1040
Only numeric types are allowed in +, int|null given on the right side.
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.2, windows-latest)
Canceling since a higher priority waiting request for 'sa-array-splice' exists
PHPStan (8.2, windows-latest): src/Type/Constant/ConstantArrayType.php#L1023
Only numeric types are allowed in +, int|null given on the right side.
PHPStan (8.2, windows-latest): src/Type/Constant/ConstantArrayType.php#L1028
Only numeric types are allowed in +, int|null given on the right side.
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
PHPStan (8.1, windows-latest)
Canceling since a higher priority waiting request for 'sa-array-splice' exists
PHPStan (8.1, windows-latest): src/Type/Constant/ConstantArrayType.php#L1023
Only numeric types are allowed in +, int|null given on the right side.
PHPStan (8.1, windows-latest): src/Type/Constant/ConstantArrayType.php#L1028
Only numeric types are allowed in +, int|null given on the right side.
PHPStan (8.1, windows-latest)
Process completed with exit code 1.
PHPStan (8.3, windows-latest)
Canceling since a higher priority waiting request for 'sa-array-splice' exists
PHPStan (8.3, windows-latest): src/Type/Constant/ConstantArrayType.php#L1023
Only numeric types are allowed in +, int|null given on the right side.
PHPStan (8.3, windows-latest): src/Type/Constant/ConstantArrayType.php#L1028
Only numeric types are allowed in +, int|null given on the right side.
PHPStan (8.3, windows-latest)
Process completed with exit code 1.
PHPStan (8.4, windows-latest)
Canceling since a higher priority waiting request for 'sa-array-splice' exists
PHPStan (8.4, windows-latest): src/Type/Constant/ConstantArrayType.php#L1023
Only numeric types are allowed in +, int|null given on the right side.
PHPStan (8.4, windows-latest): src/Type/Constant/ConstantArrayType.php#L1028
Only numeric types are allowed in +, int|null given on the right side.
PHPStan (8.4, windows-latest)
The operation was canceled.
PHPStan (8.0, windows-latest)
Canceling since a higher priority waiting request for 'sa-array-splice' exists
PHPStan (8.0, windows-latest)
The operation was canceled.
PHPStan (7.4, windows-latest)
Canceling since a higher priority waiting request for 'sa-array-splice' exists
PHPStan (7.4, windows-latest)
The operation was canceled.