Implement array shapes for preg_match()
$matches
by-ref parameter
#15888
static-analysis.yml
on: pull_request
Generate baseline
1m 17s
Generate PHP baseline
1m 19s
Matrix: PHPStan with result cache
Matrix: PHPStan
Annotations
66 errors
Generate baseline
Process completed with exit code 1.
|
PHPStan (8.3, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L307
Call to function array_key_exists() with 1 and array{string, string, string} will always evaluate to true.
|
PHPStan (8.3, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L307
Call to function array_key_exists() with 2 and array{string, string, string} will always evaluate to true.
|
PHPStan (8.3, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L307
Result of || is always false.
|
PHPStan (8.3, ubuntu-latest):
src/Type/Php/SprintfFunctionDynamicReturnTypeExtension.php#L58
Call to function array_key_exists() with 1 and array{0: string, 1: string, 2?: string} will always evaluate to true.
|
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan with result cache (8.3):
src/Testing/TypeInferenceTestCase.php#L307
Call to function array_key_exists() with 1 and array{string, string, string} will always evaluate to true.
|
PHPStan with result cache (8.3):
src/Testing/TypeInferenceTestCase.php#L307
Call to function array_key_exists() with 2 and array{string, string, string} will always evaluate to true.
|
PHPStan with result cache (8.3):
src/Testing/TypeInferenceTestCase.php#L307
Result of || is always false.
|
PHPStan with result cache (8.3):
src/Type/Php/SprintfFunctionDynamicReturnTypeExtension.php#L58
Call to function array_key_exists() with 1 and array{0: string, 1: string, 2?: string} will always evaluate to true.
|
PHPStan with result cache (8.3)
Process completed with exit code 2.
|
PHPStan (8.1, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L307
Call to function array_key_exists() with 1 and array{string, string, string} will always evaluate to true.
|
PHPStan (8.1, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L307
Call to function array_key_exists() with 2 and array{string, string, string} will always evaluate to true.
|
PHPStan (8.1, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L307
Result of || is always false.
|
PHPStan (8.1, ubuntu-latest):
src/Type/Php/SprintfFunctionDynamicReturnTypeExtension.php#L58
Call to function array_key_exists() with 1 and array{0: string, 1: string, 2?: string} will always evaluate to true.
|
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (8.2, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L307
Call to function array_key_exists() with 1 and array{string, string, string} will always evaluate to true.
|
PHPStan (8.2, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L307
Call to function array_key_exists() with 2 and array{string, string, string} will always evaluate to true.
|
PHPStan (8.2, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L307
Result of || is always false.
|
PHPStan (8.2, ubuntu-latest):
src/Type/Php/SprintfFunctionDynamicReturnTypeExtension.php#L58
Call to function array_key_exists() with 1 and array{0: string, 1: string, 2?: string} will always evaluate to true.
|
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan with result cache (8.1):
src/Testing/TypeInferenceTestCase.php#L307
Call to function array_key_exists() with 1 and array{string, string, string} will always evaluate to true.
|
PHPStan with result cache (8.1):
src/Testing/TypeInferenceTestCase.php#L307
Call to function array_key_exists() with 2 and array{string, string, string} will always evaluate to true.
|
PHPStan with result cache (8.1):
src/Testing/TypeInferenceTestCase.php#L307
Result of || is always false.
|
PHPStan with result cache (8.1):
src/Type/Php/SprintfFunctionDynamicReturnTypeExtension.php#L58
Call to function array_key_exists() with 1 and array{0: string, 1: string, 2?: string} will always evaluate to true.
|
PHPStan with result cache (8.1)
Process completed with exit code 2.
|
PHPStan with result cache (8.2):
src/Testing/TypeInferenceTestCase.php#L307
Call to function array_key_exists() with 1 and array{string, string, string} will always evaluate to true.
|
PHPStan with result cache (8.2):
src/Testing/TypeInferenceTestCase.php#L307
Call to function array_key_exists() with 2 and array{string, string, string} will always evaluate to true.
|
PHPStan with result cache (8.2):
src/Testing/TypeInferenceTestCase.php#L307
Result of || is always false.
|
PHPStan with result cache (8.2):
src/Type/Php/SprintfFunctionDynamicReturnTypeExtension.php#L58
Call to function array_key_exists() with 1 and array{0: string, 1: string, 2?: string} will always evaluate to true.
|
PHPStan with result cache (8.2)
Process completed with exit code 2.
|
PHPStan (8.0, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L307
Call to function array_key_exists() with 1 and array{string, string, string} will always evaluate to true.
|
PHPStan (8.0, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L307
Call to function array_key_exists() with 2 and array{string, string, string} will always evaluate to true.
|
PHPStan (8.0, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L307
Result of || is always false.
|
PHPStan (8.0, ubuntu-latest):
src/Type/Php/SprintfFunctionDynamicReturnTypeExtension.php#L58
Call to function array_key_exists() with 1 and array{0: string, 1: string, 2?: string} will always evaluate to true.
|
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (7.4, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L297
Call to function array_key_exists() with 1 and array{string, string, string} will always evaluate to true.
|
PHPStan (7.4, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L297
Call to function array_key_exists() with 2 and array{string, string, string} will always evaluate to true.
|
PHPStan (7.4, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L297
Result of || is always false.
|
PHPStan (7.4, ubuntu-latest):
src/Type/Php/SprintfFunctionDynamicReturnTypeExtension.php#L52
Call to function array_key_exists() with 1 and array{0: string, 1: string, 2?: string} will always evaluate to true.
|
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (8.1, windows-latest):
src/Testing/TypeInferenceTestCase.php#L307
Call to function array_key_exists() with 1 and array{string, string, string} will always evaluate to true.
|
PHPStan (8.1, windows-latest):
src/Testing/TypeInferenceTestCase.php#L307
Call to function array_key_exists() with 2 and array{string, string, string} will always evaluate to true.
|
PHPStan (8.1, windows-latest):
src/Testing/TypeInferenceTestCase.php#L307
Result of || is always false.
|
PHPStan (8.1, windows-latest):
src/Type/Php/SprintfFunctionDynamicReturnTypeExtension.php#L58
Call to function array_key_exists() with 1 and array{0: string, 1: string, 2?: string} will always evaluate to true.
|
PHPStan (8.1, windows-latest)
Process completed with exit code 1.
|
PHPStan (8.2, windows-latest):
src/Testing/TypeInferenceTestCase.php#L307
Call to function array_key_exists() with 1 and array{string, string, string} will always evaluate to true.
|
PHPStan (8.2, windows-latest):
src/Testing/TypeInferenceTestCase.php#L307
Call to function array_key_exists() with 2 and array{string, string, string} will always evaluate to true.
|
PHPStan (8.2, windows-latest):
src/Testing/TypeInferenceTestCase.php#L307
Result of || is always false.
|
PHPStan (8.2, windows-latest):
src/Type/Php/SprintfFunctionDynamicReturnTypeExtension.php#L58
Call to function array_key_exists() with 1 and array{0: string, 1: string, 2?: string} will always evaluate to true.
|
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
|
PHPStan (8.3, windows-latest):
src/Testing/TypeInferenceTestCase.php#L307
Call to function array_key_exists() with 1 and array{string, string, string} will always evaluate to true.
|
PHPStan (8.3, windows-latest):
src/Testing/TypeInferenceTestCase.php#L307
Call to function array_key_exists() with 2 and array{string, string, string} will always evaluate to true.
|
PHPStan (8.3, windows-latest):
src/Testing/TypeInferenceTestCase.php#L307
Result of || is always false.
|
PHPStan (8.3, windows-latest):
src/Type/Php/SprintfFunctionDynamicReturnTypeExtension.php#L58
Call to function array_key_exists() with 1 and array{0: string, 1: string, 2?: string} will always evaluate to true.
|
PHPStan (8.3, windows-latest)
Process completed with exit code 1.
|
PHPStan (8.0, windows-latest):
src/Testing/TypeInferenceTestCase.php#L307
Call to function array_key_exists() with 1 and array{string, string, string} will always evaluate to true.
|
PHPStan (8.0, windows-latest):
src/Testing/TypeInferenceTestCase.php#L307
Call to function array_key_exists() with 2 and array{string, string, string} will always evaluate to true.
|
PHPStan (8.0, windows-latest):
src/Testing/TypeInferenceTestCase.php#L307
Result of || is always false.
|
PHPStan (8.0, windows-latest):
src/Type/Php/SprintfFunctionDynamicReturnTypeExtension.php#L58
Call to function array_key_exists() with 1 and array{0: string, 1: string, 2?: string} will always evaluate to true.
|
PHPStan (8.0, windows-latest)
Process completed with exit code 1.
|
PHPStan (7.4, windows-latest):
src/Testing/TypeInferenceTestCase.php#L297
Call to function array_key_exists() with 1 and array{string, string, string} will always evaluate to true.
|
PHPStan (7.4, windows-latest):
src/Testing/TypeInferenceTestCase.php#L297
Call to function array_key_exists() with 2 and array{string, string, string} will always evaluate to true.
|
PHPStan (7.4, windows-latest):
src/Testing/TypeInferenceTestCase.php#L297
Result of || is always false.
|
PHPStan (7.4, windows-latest):
src/Type/Php/SprintfFunctionDynamicReturnTypeExtension.php#L52
Call to function array_key_exists() with 1 and array{0: string, 1: string, 2?: string} will always evaluate to true.
|
PHPStan (7.4, windows-latest)
Process completed with exit code 1.
|