mirror of
https://github.com/rectorphp/rector.git
synced 2025-03-14 20:39:43 +01:00
add ini removal edge-case
This commit is contained in:
parent
03cf74ce31
commit
84d9e6829f
@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
Loading…
x
Reference in New Issue
Block a user