mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-18 22:08:00 +01:00
update guzzle50 set
This commit is contained in:
parent
39d3d37b3a
commit
799991aa3d
@ -3,3 +3,7 @@ services:
|
||||
$functionToMethodCall:
|
||||
'GuzzleHttp\json_decode': ['GuzzleHttp\Utils', 'jsonDecode']
|
||||
'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
|
||||
{
|
||||
/**
|
||||
* @var string[][]
|
||||
* @var string[]
|
||||
*/
|
||||
private $staticCallToFunction = [];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user