mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-18 22:08:00 +01:00
add guzzle50 init set
This commit is contained in:
parent
2783013a5b
commit
e398014a97
5
config/level/guzzle/guzzle50.yml
Normal file
5
config/level/guzzle/guzzle50.yml
Normal file
@ -0,0 +1,5 @@
|
||||
services:
|
||||
Rector\Rector\Function_\FunctionToMethodCallRector:
|
||||
$functionToMethodCall:
|
||||
'GuzzleHttp\json_decode': ['GuzzleHttp\Utils', 'jsonDecode']
|
||||
'GuzzleHttp\get_path': ['GuzzleHttp\Utils': 'getPath']
|
@ -1,6 +1,6 @@
|
||||
<?php declare(strict_types=1);
|
||||
|
||||
namespace Rector\Tests\Rector\Function_\FunctionToMethodCallRector;
|
||||
namespace Rector\Tests\Rector\Function_\FunctionToStaticCallRector;
|
||||
|
||||
use Iterator;
|
||||
use Rector\Testing\PHPUnit\AbstractRectorTestCase;
|
||||
@ -8,7 +8,7 @@ use Rector\Testing\PHPUnit\AbstractRectorTestCase;
|
||||
/**
|
||||
* @see \Rector\Rector\Function_\FunctionToStaticCallRector
|
||||
*/
|
||||
final class FunctionToMethodCallRectorTest extends AbstractRectorTestCase
|
||||
final class FunctionToStaticCallRectorTest extends AbstractRectorTestCase
|
||||
{
|
||||
/**
|
||||
* @dataProvider provideWrongToFixedFiles()
|
Loading…
x
Reference in New Issue
Block a user