update guzzle50 set

This commit is contained in:
Tomas Votruba 2018-08-11 12:24:13 +02:00
parent 39d3d37b3a
commit 799991aa3d
2 changed files with 5 additions and 1 deletions

View File

@ -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'

View File

@ -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 = [];