Skip to content

Commit ef45f56

Browse files
committed
Updated Rector to commit fbb92469f8b808e54564104866cf50940b341f86
rectorphp/rector-src@fbb9246 Typo fix: constantName (#7057)
1 parent 4b7a582 commit ef45f56

File tree

7 files changed

+33
-7
lines changed

7 files changed

+33
-7
lines changed

vendor/composer/installed.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1866,12 +1866,12 @@
18661866
"source": {
18671867
"type": "git",
18681868
"url": "https:\/\/github.com\/rectorphp\/rector-symfony.git",
1869-
"reference": "8978e8eb6ff694b4e6e6f90187e4fb11a03ae56b"
1869+
"reference": "ecb7d4cf5360f98ea624a13ac721ac18f0f6110f"
18701870
},
18711871
"dist": {
18721872
"type": "zip",
1873-
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-symfony\/zipball\/8978e8eb6ff694b4e6e6f90187e4fb11a03ae56b",
1874-
"reference": "8978e8eb6ff694b4e6e6f90187e4fb11a03ae56b",
1873+
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-symfony\/zipball\/ecb7d4cf5360f98ea624a13ac721ac18f0f6110f",
1874+
"reference": "ecb7d4cf5360f98ea624a13ac721ac18f0f6110f",
18751875
"shasum": ""
18761876
},
18771877
"require": {
@@ -1900,7 +1900,7 @@
19001900
"tomasvotruba\/unused-public": "^2.0",
19011901
"tracy\/tracy": "^2.10"
19021902
},
1903-
"time": "2025-07-08T14:45:00+00:00",
1903+
"time": "2025-07-10T07:55:35+00:00",
19041904
"default-branch": true,
19051905
"type": "rector-extension",
19061906
"extra": {

vendor/composer/installed.php

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

vendor/rector/extension-installer/src/GeneratedConfig.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*/
1010
final class GeneratedConfig
1111
{
12-
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 c883a96'), '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 4b31180'), '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 c0e6983'), '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 8978e8e'));
12+
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 c883a96'), '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 4b31180'), '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 c0e6983'), '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 ecb7d4c'));
1313
private function __construct()
1414
{
1515
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?php
2+
3+
declare (strict_types=1);
4+
namespace RectorPrefix202507;
5+
6+
use Rector\Config\RectorConfig;
7+
// @see https://github.com/symfony/symfony/blob/7.4/UPGRADE-7.4.md
8+
return static function (RectorConfig $rectorConfig) : void {
9+
$rectorConfig->import(__DIR__ . '/symfony74/symfony74-console.php');
10+
};
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?php
2+
3+
declare (strict_types=1);
4+
namespace RectorPrefix202507;
5+
6+
use Rector\Config\RectorConfig;
7+
use Rector\Renaming\Rector\MethodCall\RenameMethodRector;
8+
use Rector\Renaming\ValueObject\MethodCallRename;
9+
return static function (RectorConfig $rectorConfig) : void {
10+
// @see https://github.com/symfony/symfony/blob/7.4/UPGRADE-7.4.md#console
11+
$rectorConfig->ruleWithConfiguration(RenameMethodRector::class, [new MethodCallRename('Symfony\\Component\\Console\\Application', 'add', 'addCommand')]);
12+
};

vendor/rector/rector-symfony/src/Set/SetProvider/Symfony7SetProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ final class Symfony7SetProvider implements SetProviderInterface
1414
*/
1515
public function provide() : array
1616
{
17-
return [new ComposerTriggeredSet(SetGroup::SYMFONY, 'symfony/symfony', '7.0', __DIR__ . '/../../../config/sets/symfony/symfony7/symfony70.php'), new ComposerTriggeredSet(SetGroup::SYMFONY, 'symfony/dependency-injection', '7.0', __DIR__ . '/../../../config/sets/symfony/symfony7/symfony70/symfony70-dependency-injection.php'), new ComposerTriggeredSet(SetGroup::SYMFONY, 'symfony/serializer', '7.0', __DIR__ . '/../../../config/sets/symfony/symfony7/symfony70/symfony70-serializer.php'), new ComposerTriggeredSet(SetGroup::SYMFONY, 'symfony/http-foundation', '7.0', __DIR__ . '/../../../config/sets/symfony/symfony7/symfony70/symfony70-http-foundation.php'), new ComposerTriggeredSet(SetGroup::SYMFONY, 'symfony/contracts', '7.0', __DIR__ . '/../../../config/sets/symfony/symfony7/symfony70/symfony70-contracts.php'), new ComposerTriggeredSet(SetGroup::SYMFONY, 'symfony/symfony', '7.1', __DIR__ . '/../../../config/sets/symfony/symfony7/symfony71.php'), new ComposerTriggeredSet(SetGroup::SYMFONY, 'symfony/dependency-injection', '7.1', __DIR__ . '/../../../config/sets/symfony/symfony7/symfony71/symfony71-dependency-injection.php'), new ComposerTriggeredSet(SetGroup::SYMFONY, 'symfony/serializer', '7.1', __DIR__ . '/../../../config/sets/symfony/symfony7/symfony71/symfony71-serializer.php'), new ComposerTriggeredSet(SetGroup::SYMFONY, 'symfony/symfony', '7.2', __DIR__ . '/../../../config/sets/symfony/symfony7/symfony72.php'), new ComposerTriggeredSet(SetGroup::SYMFONY, 'symfony/serializer', '7.2', __DIR__ . '/../../../config/sets/symfony/symfony7/symfony72/symfony72-serializer.php'), new ComposerTriggeredSet(SetGroup::SYMFONY, 'symfony/symfony', '7.3', __DIR__ . '/../../../config/sets/symfony/symfony7/symfony73.php'), new ComposerTriggeredSet(SetGroup::SYMFONY, 'symfony/console', '7.3', __DIR__ . '/../../../config/sets/symfony/symfony7/symfony73/symfony73-console.php'), new ComposerTriggeredSet(SetGroup::SYMFONY, 'symfony/security-core', '7.3', __DIR__ . '/../../../config/sets/symfony/symfony7/symfony73/symfony73-security-core.php'), new ComposerTriggeredSet(SetGroup::SYMFONY, 'symfony/twig-bundle', '7.3', __DIR__ . '/../../../config/sets/symfony/symfony7/symfony73/symfony73-twig-bundle.php'), new ComposerTriggeredSet(SetGroup::SYMFONY, 'symfony/validator', '7.3', __DIR__ . '/../../../config/sets/symfony/symfony7/symfony73/symfony73-validator.php')];
17+
return [new ComposerTriggeredSet(SetGroup::SYMFONY, 'symfony/symfony', '7.0', __DIR__ . '/../../../config/sets/symfony/symfony7/symfony70.php'), new ComposerTriggeredSet(SetGroup::SYMFONY, 'symfony/dependency-injection', '7.0', __DIR__ . '/../../../config/sets/symfony/symfony7/symfony70/symfony70-dependency-injection.php'), new ComposerTriggeredSet(SetGroup::SYMFONY, 'symfony/serializer', '7.0', __DIR__ . '/../../../config/sets/symfony/symfony7/symfony70/symfony70-serializer.php'), new ComposerTriggeredSet(SetGroup::SYMFONY, 'symfony/http-foundation', '7.0', __DIR__ . '/../../../config/sets/symfony/symfony7/symfony70/symfony70-http-foundation.php'), new ComposerTriggeredSet(SetGroup::SYMFONY, 'symfony/contracts', '7.0', __DIR__ . '/../../../config/sets/symfony/symfony7/symfony70/symfony70-contracts.php'), new ComposerTriggeredSet(SetGroup::SYMFONY, 'symfony/symfony', '7.1', __DIR__ . '/../../../config/sets/symfony/symfony7/symfony71.php'), new ComposerTriggeredSet(SetGroup::SYMFONY, 'symfony/dependency-injection', '7.1', __DIR__ . '/../../../config/sets/symfony/symfony7/symfony71/symfony71-dependency-injection.php'), new ComposerTriggeredSet(SetGroup::SYMFONY, 'symfony/serializer', '7.1', __DIR__ . '/../../../config/sets/symfony/symfony7/symfony71/symfony71-serializer.php'), new ComposerTriggeredSet(SetGroup::SYMFONY, 'symfony/symfony', '7.2', __DIR__ . '/../../../config/sets/symfony/symfony7/symfony72.php'), new ComposerTriggeredSet(SetGroup::SYMFONY, 'symfony/serializer', '7.2', __DIR__ . '/../../../config/sets/symfony/symfony7/symfony72/symfony72-serializer.php'), new ComposerTriggeredSet(SetGroup::SYMFONY, 'symfony/symfony', '7.3', __DIR__ . '/../../../config/sets/symfony/symfony7/symfony73.php'), new ComposerTriggeredSet(SetGroup::SYMFONY, 'symfony/console', '7.3', __DIR__ . '/../../../config/sets/symfony/symfony7/symfony73/symfony73-console.php'), new ComposerTriggeredSet(SetGroup::SYMFONY, 'symfony/security-core', '7.3', __DIR__ . '/../../../config/sets/symfony/symfony7/symfony73/symfony73-security-core.php'), new ComposerTriggeredSet(SetGroup::SYMFONY, 'symfony/twig-bundle', '7.3', __DIR__ . '/../../../config/sets/symfony/symfony7/symfony73/symfony73-twig-bundle.php'), new ComposerTriggeredSet(SetGroup::SYMFONY, 'symfony/validator', '7.3', __DIR__ . '/../../../config/sets/symfony/symfony7/symfony73/symfony73-validator.php'), new ComposerTriggeredSet(SetGroup::SYMFONY, 'symfony/symfony', '7.4', __DIR__ . '/../../../config/sets/symfony/symfony7/symfony74.php'), new ComposerTriggeredSet(SetGroup::SYMFONY, 'symfony/console', '7.4', __DIR__ . '/../../../config/sets/symfony/symfony7/symfony74/symfony74-console.php')];
1818
}
1919
}

vendor/rector/rector-symfony/src/Set/SymfonySetList.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,10 @@ final class SymfonySetList
135135
* @var string
136136
*/
137137
public const SYMFONY_73 = __DIR__ . '/../../config/sets/symfony/symfony7/symfony73.php';
138+
/**
139+
* @var string
140+
*/
141+
public const SYMFONY_74 = __DIR__ . '/../../config/sets/symfony/symfony7/symfony74.php';
138142
/**
139143
* @var string
140144
*/

0 commit comments

Comments
 (0)