mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-19 06:18:07 +01:00
update guzzle50 set
This commit is contained in:
parent
39d3d37b3a
commit
799991aa3d
@ -3,3 +3,7 @@ services:
|
|||||||
$functionToMethodCall:
|
$functionToMethodCall:
|
||||||
'GuzzleHttp\json_decode': ['GuzzleHttp\Utils', 'jsonDecode']
|
'GuzzleHttp\json_decode': ['GuzzleHttp\Utils', 'jsonDecode']
|
||||||
'GuzzleHttp\get_path': ['GuzzleHttp\Utils': 'getPath']
|
'GuzzleHttp\get_path': ['GuzzleHttp\Utils': 'getPath']
|
||||||
|
Rector\Rector\StaticCall\StaticCallToFunctionRector:
|
||||||
|
$staticCallToFunction:
|
||||||
|
'GuzzleHttp\Utils::setPath': 'GuzzleHttp\set_path'
|
||||||
|
'GuzzleHttp\Pool::batch': 'GuzzleHttp\Pool\batch'
|
||||||
|
@ -14,7 +14,7 @@ use Rector\RectorDefinition\RectorDefinition;
|
|||||||
final class StaticCallToFunctionRector extends AbstractRector
|
final class StaticCallToFunctionRector extends AbstractRector
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @var string[][]
|
* @var string[]
|
||||||
*/
|
*/
|
||||||
private $staticCallToFunction = [];
|
private $staticCallToFunction = [];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user