Skip to content

Commit

Permalink
Merge branch '6.4' into 7.0
Browse files Browse the repository at this point in the history
* 6.4:
  Safeguard dynamic access to Doctrine metadata properties
  Enhance error handling in StaticPrefixCollection for compatibility with libpcre2-10.43
  • Loading branch information
derrabus committed Feb 27, 2024
2 parents 858b267 + 7fe3006 commit ba6bf07
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Matcher/Dumper/StaticPrefixCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ private function getCommonPrefix(string $prefix, string $anotherPrefix): array

public static function handleError(int $type, string $msg): bool
{
return str_contains($msg, 'Compilation failed: lookbehind assertion is not fixed length');
return str_contains($msg, 'Compilation failed: lookbehind assertion is not fixed length')
|| str_contains($msg, 'Compilation failed: length of lookbehind assertion is not limited');
}
}

0 comments on commit ba6bf07

Please sign in to comment.