Skip to content

Commit

Permalink
Update RegexArrayShapeMatcher.php
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm committed Jun 22, 2024
1 parent fc9baf6 commit ff9189e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Type/Php/RegexArrayShapeMatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ private function countNonOptionalGroups(string $regex): ?int

try {
$ast = self::$parser->parse($regex);
} catch ( Exception) { // @phpstan-ignore catch.notThrowable
} catch ( Exception) {

Check failure on line 197 in src/Type/Php/RegexArrayShapeMatcher.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.2, ubuntu-latest)

Caught class Hoa\Compiler\Exception\Exception is not an exception.

Check failure on line 197 in src/Type/Php/RegexArrayShapeMatcher.php

View workflow job for this annotation

GitHub Actions / PHPStan with result cache (8.2)

Caught class Hoa\Compiler\Exception\Exception is not an exception.

Check failure on line 197 in src/Type/Php/RegexArrayShapeMatcher.php

View workflow job for this annotation

GitHub Actions / PHPStan with result cache (8.3)

Caught class Hoa\Compiler\Exception\Exception is not an exception.

Check failure on line 197 in src/Type/Php/RegexArrayShapeMatcher.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.1, windows-latest)

Caught class Hoa\Compiler\Exception\Exception is not an exception.

Check failure on line 197 in src/Type/Php/RegexArrayShapeMatcher.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.3, windows-latest)

Caught class Hoa\Compiler\Exception\Exception is not an exception.

Check failure on line 197 in src/Type/Php/RegexArrayShapeMatcher.php

View workflow job for this annotation

GitHub Actions / PHPStan with result cache (8.1)

Caught class Hoa\Compiler\Exception\Exception is not an exception.

Check failure on line 197 in src/Type/Php/RegexArrayShapeMatcher.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.2, windows-latest)

Caught class Hoa\Compiler\Exception\Exception is not an exception.

Check failure on line 197 in src/Type/Php/RegexArrayShapeMatcher.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.0, windows-latest)

Caught class Hoa\Compiler\Exception\Exception is not an exception.
return null;
}

Check failure on line 200 in src/Type/Php/RegexArrayShapeMatcher.php

View workflow job for this annotation

GitHub Actions / PHPStan (7.4, windows-latest)

Caught class Hoa\Compiler\Exception\Exception is not an exception.
Expand Down

0 comments on commit ff9189e

Please sign in to comment.