Skip to content

Commit

Permalink
more test
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Jun 10, 2024
1 parent 4136ed5 commit a5e7b84
Showing 1 changed file with 31 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?php

namespace Rector\Tests\CodeQuality\Rector\FuncCall\SimplifyRegexPatternRector\Fixture;

use Nette\Utils\Strings;

class WithSquareBracketAsDelimiter
{
public function run($value)
{
preg_match('[[0-9]]', $value);
}
}

?>
-----
<?php

namespace Rector\Tests\CodeQuality\Rector\FuncCall\SimplifyRegexPatternRector\Fixture;

use Nette\Utils\Strings;

class WithSquareBracketAsDelimiter
{
public function run($value)
{
preg_match('[\d]', $value);
}
}

?>

0 comments on commit a5e7b84

Please sign in to comment.