Skip to content

Generated baseline can't be used if regex can't be compilated to UTF-8 chars #19940

Generated baseline can't be used if regex can't be compilated to UTF-8 chars

Generated baseline can't be used if regex can't be compilated to UTF-8 chars #19940

Triggered via pull request February 22, 2025 11:15
Status Failure
Total duration 4m 26s
Artifacts

static-analysis.yml

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

Annotations

41 errors
PHPStan (8.1, ubuntu-latest): src/Rules/Regexp/RegularExpressionPatternRule.php#L128
Parameter #3 $length of function substr expects int|null, int|false given.
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
PHPStan with result cache (8.2): src/Rules/Regexp/RegularExpressionPatternRule.php#L128
Parameter #3 $length of function substr expects int|null, int|false given.
PHPStan with result cache (8.2)
Process completed with exit code 2.
PHPStan with result cache (8.1): src/Rules/Regexp/RegularExpressionPatternRule.php#L128
Parameter #3 $length of function substr expects int|null, int|false given.
PHPStan with result cache (8.1)
Process completed with exit code 2.
PHPStan (8.3, ubuntu-latest): src/Rules/Regexp/RegularExpressionPatternRule.php#L128
Parameter #3 $length of function substr expects int|null, int|false given.
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.4, ubuntu-latest): src/Rules/Regexp/RegularExpressionPatternRule.php#L128
Parameter #3 $length of function substr expects int|null, int|false given.
PHPStan (8.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan with result cache (8.4): src/Rules/Regexp/RegularExpressionPatternRule.php#L128
Parameter #3 $length of function substr expects int|null, int|false given.
PHPStan with result cache (8.4)
Process completed with exit code 2.
PHPStan with result cache (8.3): src/Rules/Regexp/RegularExpressionPatternRule.php#L128
Parameter #3 $length of function substr expects int|null, int|false given.
PHPStan with result cache (8.3)
Process completed with exit code 2.
PHPStan (8.0, ubuntu-latest): src/Rules/Regexp/RegularExpressionPatternRule.php#L128
Parameter #3 $length of function substr expects int|null, int|false given.
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.2, ubuntu-latest): src/Rules/Regexp/RegularExpressionPatternRule.php#L128
Parameter #3 $length of function substr expects int|null, int|false given.
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
Generate baseline
Process completed with exit code 1.
PHPStan (7.4, ubuntu-latest): src/Rules/Regexp/RegularExpressionPatternRule.php#L127
Parameter #3 $length of function substr expects int, int<0, max>|false given.
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.2, ubuntu-latest): src/Rules/Regexp/RegularExpressionPatternRule.php#L130
Parameter #3 $length of function substr expects int, int<0, max>|false given.
PHPStan (7.2, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.3, ubuntu-latest): src/Rules/Regexp/RegularExpressionPatternRule.php#L130
Parameter #3 $length of function substr expects int, int<0, max>|false given.
PHPStan (7.3, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.1, windows-latest): src/Rules/Regexp/RegularExpressionPatternRule.php#L128
Parameter #3 $length of function substr expects int|null, int|false given.
PHPStan (8.1, windows-latest)
Process completed with exit code 1.
PHPStan (8.3, windows-latest): src/Rules/Regexp/RegularExpressionPatternRule.php#L128
Parameter #3 $length of function substr expects int|null, int|false given.
PHPStan (8.3, windows-latest)
Process completed with exit code 1.
PHPStan (8.2, windows-latest): src/Rules/Regexp/RegularExpressionPatternRule.php#L128
Parameter #3 $length of function substr expects int|null, int|false given.
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
PHPStan (8.4, windows-latest): src/Rules/Regexp/RegularExpressionPatternRule.php#L128
Parameter #3 $length of function substr expects int|null, int|false given.
PHPStan (8.4, windows-latest)
Process completed with exit code 1.
PHPStan (8.0, windows-latest): src/Rules/Regexp/RegularExpressionPatternRule.php#L128
Parameter #3 $length of function substr expects int|null, int|false given.
PHPStan (8.0, windows-latest)
Process completed with exit code 1.
PHPStan (7.4, windows-latest): src/Rules/Regexp/RegularExpressionPatternRule.php#L127
Parameter #3 $length of function substr expects int, int<0, max>|false given.
PHPStan (7.4, windows-latest)
Process completed with exit code 1.
PHPStan (7.3, windows-latest): src/Rules/Regexp/RegularExpressionPatternRule.php#L130
Parameter #3 $length of function substr expects int, int<0, max>|false given.
PHPStan (7.3, windows-latest)
Process completed with exit code 1.
PHPStan (7.2, windows-latest): src/Rules/Regexp/RegularExpressionPatternRule.php#L130
Parameter #3 $length of function substr expects int, int<0, max>|false given.
PHPStan (7.2, windows-latest)
Process completed with exit code 1.