Updated Rector to commit 863a5ed69a150aed2c87038ef35421ee1626abd3

863a5ed69a [DX] Depreate heavy and conflicting Symfony/Twig/PHPUnit level sets (#5477)
This commit is contained in:
Tomas Votruba 2024-01-18 00:16:19 +00:00
parent ee90f96fb5
commit dbd5864fce
4 changed files with 12 additions and 12 deletions

View File

@ -1866,12 +1866,12 @@
"source": {
"type": "git",
"url": "https:\/\/github.com\/rectorphp\/rector-symfony.git",
"reference": "4c65451928ecf1c1dcdc48a0c7f88299a2c2e5b4"
"reference": "3885ced1717b0e650a4bc23286ae5181c5a7740a"
},
"dist": {
"type": "zip",
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-symfony\/zipball\/4c65451928ecf1c1dcdc48a0c7f88299a2c2e5b4",
"reference": "4c65451928ecf1c1dcdc48a0c7f88299a2c2e5b4",
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-symfony\/zipball\/3885ced1717b0e650a4bc23286ae5181c5a7740a",
"reference": "3885ced1717b0e650a4bc23286ae5181c5a7740a",
"shasum": ""
},
"require": {
@ -1900,7 +1900,7 @@
"tomasvotruba\/class-leak": "^0.2.6",
"tracy\/tracy": "^2.10"
},
"time": "2024-01-17T17:44:47+00:00",
"time": "2024-01-18T00:09:13+00:00",
"default-branch": true,
"type": "rector-extension",
"extra": {

File diff suppressed because one or more lines are too long

View File

@ -9,7 +9,7 @@ namespace Rector\RectorInstaller;
*/
final class GeneratedConfig
{
public const EXTENSIONS = array('rector/rector-doctrine' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-doctrine', 'relative_install_path' => '../../rector-doctrine', 'extra' => NULL, 'version' => 'dev-main b419ce7'), 'rector/rector-downgrade-php' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-downgrade-php', 'relative_install_path' => '../../rector-downgrade-php', 'extra' => NULL, 'version' => 'dev-main 51ff6e7'), 'rector/rector-phpunit' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-phpunit', 'relative_install_path' => '../../rector-phpunit', 'extra' => NULL, 'version' => 'dev-main f091938'), 'rector/rector-symfony' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-symfony', 'relative_install_path' => '../../rector-symfony', 'extra' => NULL, 'version' => 'dev-main 4c65451'));
public const EXTENSIONS = array('rector/rector-doctrine' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-doctrine', 'relative_install_path' => '../../rector-doctrine', 'extra' => NULL, 'version' => 'dev-main b419ce7'), 'rector/rector-downgrade-php' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-downgrade-php', 'relative_install_path' => '../../rector-downgrade-php', 'extra' => NULL, 'version' => 'dev-main 51ff6e7'), 'rector/rector-phpunit' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-phpunit', 'relative_install_path' => '../../rector-phpunit', 'extra' => NULL, 'version' => 'dev-main f091938'), 'rector/rector-symfony' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-symfony', 'relative_install_path' => '../../rector-symfony', 'extra' => NULL, 'version' => 'dev-main 3885ced'));
private function __construct()
{
}

View File

@ -68,12 +68,12 @@ final class NestedConfigCallsFactory
}
if (isset(GroupingMethods::GROUPING_METHOD_NAME_TO_SPLIT[$methodName])) {
$splitMethodName = GroupingMethods::GROUPING_METHOD_NAME_TO_SPLIT[$methodName];
\reset($parameters);
$itemName = \key($parameters);
$args = $this->nodeFactory->createArgs([$itemName]);
$parameters = $parameters[$itemName];
$mainMethodCall = new MethodCall($mainMethodCall, $splitMethodName, $args);
return $this->createMainMethodCall($parameters, $mainMethodCall);
foreach ($parameters as $splitName => $splitParameters) {
$args = $this->nodeFactory->createArgs([$splitName]);
$mainMethodCall = new MethodCall($mainMethodCall, $splitMethodName, $args);
$mainMethodCall = $this->createMainMethodCall($splitParameters, $mainMethodCall);
}
continue;
}
// traverse nested arrays with recursion call
$arrayIsListFunction = function (array $array) : bool {