Skip to content

Commit

Permalink
add fixture for namespaced code one
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Jun 5, 2023
1 parent ee7e862 commit 873d911
Showing 1 changed file with 29 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?php

namespace Rector\Tests\Php80\Rector\FuncCall\NullToStrictStringFuncCallArgRector\Fixture;

exit();

echo 'some statement';

function run2()
{
preg_split('#a#', null);
}

?>
-----
<?php

namespace Rector\Tests\Php80\Rector\FuncCall\NullToStrictStringFuncCallArgRector\Fixture;

exit();

echo 'some statement';

function run2()
{
preg_split('#a#', '');
}

?>

0 comments on commit 873d911

Please sign in to comment.