add ini removal edge-case

This commit is contained in:
TomasVotruba 2020-06-18 01:11:38 +02:00
parent 03cf74ce31
commit 84d9e6829f

View File

@ -0,0 +1,31 @@
<?php
namespace Rector\Core\Tests\Rector\FuncCall\RemoveIniGetSetFuncCallRector\Fixture;
class GetAssign
{
public function run()
{
$getAssign = ini_get('safe_mode');
$notGetAssign = ! ini_get('safe_mode');
}
}
?>
-----
<?php
namespace Rector\Core\Tests\Rector\FuncCall\RemoveIniGetSetFuncCallRector\Fixture;
class GetAssign
{
public function run()
{
$getAssign = ini_get('safe_mode');
$notGetAssign = !ini_get('safe_mode');
}
}
?>