Skip to content

Commit

Permalink
[Php70] More delimiter case in the middle fix on EregToPregMatchRector
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Oct 5, 2024
1 parent 7928be4 commit d51b6d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rules/Php70/EregToPcreTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ public function __construct(
) {
}

// converts the ERE $s into the PCRE $r. triggers error on any invalid input.
public function transform(string $content, bool $ignorecase): string
{
if ($ignorecase) {
Expand Down

0 comments on commit d51b6d1

Please sign in to comment.