Skip to content

Add MemoizedCombinedRegexp #537

Add MemoizedCombinedRegexp

Add MemoizedCombinedRegexp #537

Triggered via pull request July 29, 2023 09:51
Status Failure
Total duration 1m 2s
Artifacts

static.yml

on: pull_request
Matrix: psalm / psalm
Fit to window
Zoom out
Zoom in

Annotations

16 errors
MixedInferredReturnType: src/MemoizedCombinedRegexp.php#L40
src/MemoizedCombinedRegexp.php:40:46: MixedInferredReturnType: Could not verify return type 'bool' for Yiisoft\Strings\MemoizedCombinedRegexp::matches (see https://psalm.dev/047)
MixedArrayAccess: src/MemoizedCombinedRegexp.php#L44
src/MemoizedCombinedRegexp.php:44:16: MixedArrayAccess: Cannot access array value on mixed variable $this->results[$string] (see https://psalm.dev/051)
MixedReturnStatement: src/MemoizedCombinedRegexp.php#L44
src/MemoizedCombinedRegexp.php:44:16: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
MixedInferredReturnType: src/MemoizedCombinedRegexp.php#L62
src/MemoizedCombinedRegexp.php:62:65: MixedInferredReturnType: Could not verify return type 'int' for Yiisoft\Strings\MemoizedCombinedRegexp::getMatchingPatternPosition (see https://psalm.dev/047)
MixedReturnStatement: src/MemoizedCombinedRegexp.php#L66
src/MemoizedCombinedRegexp.php:66:16: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
UnrecognizedExpression: src/MemoizedCombinedRegexp.php#L66
src/MemoizedCombinedRegexp.php:66:55: UnrecognizedExpression: Psalm does not understand PhpParser\Node\Expr\Throw_ for PHP 7 4 (see https://psalm.dev/048)
MixedArrayAssignment: src/MemoizedCombinedRegexp.php#L83
src/MemoizedCombinedRegexp.php:83:13: MixedArrayAssignment: Cannot access array value on mixed variable $this->results[$string]['matches'] (see https://psalm.dev/117)
MixedArrayAssignment: src/MemoizedCombinedRegexp.php#L84
src/MemoizedCombinedRegexp.php:84:13: MixedArrayAssignment: Cannot access array value on mixed variable $this->results[$string]['position'] (see https://psalm.dev/117)
MixedArrayAssignment: src/MemoizedCombinedRegexp.php#L86
src/MemoizedCombinedRegexp.php:86:13: MixedArrayAssignment: Cannot access array value on mixed variable $this->results[$string]['matches'] (see https://psalm.dev/117)
psalm / PHP 7.4-ubuntu-latest
Process completed with exit code 2.
psalm / PHP 8.1-ubuntu-latest
The job was canceled because "ubuntu-latest_7_4" failed.
psalm / PHP 8.1-ubuntu-latest
The operation was canceled.
psalm / PHP 8.2-ubuntu-latest
The job was canceled because "ubuntu-latest_7_4" failed.
psalm / PHP 8.2-ubuntu-latest
A task was canceled.
psalm / PHP 8.0-ubuntu-latest
The job was canceled because "ubuntu-latest_7_4" failed.
psalm / PHP 8.0-ubuntu-latest
The operation was canceled.