Skip to content

Commit

Permalink
[CodingStyle] Skip new line on ConsistentPregDelimiterRector
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Dec 15, 2021
1 parent deb4fb5 commit d860409
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php

namespace Rector\Tests\CodingStyle\Rector\FuncCall\ConsistentPregDelimiterRector\Fixture;

use Nette\Utils\Strings;

class SkipNewLine
{
public function run()
{
$content = 'some texte';
$parts = preg_split("/(\r\n|\n|\r){2}/", $content);
}
}

0 comments on commit d860409

Please sign in to comment.