Skip to content

Commit ca3ea60

Browse files
committed
Updated Rector to commit 3587b00b520df8729a9753f0032ec3aa20990cf2
rectorphp/rector-src@3587b00 [internal] Mark beforeTraverse() in AbstractRector as @Final to prevent override and miss-use (#7727)
1 parent 7764a8d commit ca3ea60

File tree

5 files changed

+16
-12
lines changed

5 files changed

+16
-12
lines changed

src/Application/VersionResolver.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ final class VersionResolver
1919
* @api
2020
* @var string
2121
*/
22-
public const PACKAGE_VERSION = '7188ba60120f5a561746893436390c24bc08d44a';
22+
public const PACKAGE_VERSION = '3587b00b520df8729a9753f0032ec3aa20990cf2';
2323
/**
2424
* @api
2525
* @var string
2626
*/
27-
public const RELEASE_DATE = '2025-12-07 00:01:44';
27+
public const RELEASE_DATE = '2025-12-06 23:30:01';
2828
/**
2929
* @var int
3030
*/

src/Rector/AbstractRector.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ public function autowire(NodeNameResolver $nodeNameResolver, NodeTypeResolver $n
7979
$this->commentsMerger = $commentsMerger;
8080
}
8181
/**
82+
* @final Avoid override to prevent unintended side-effects. Use enterNode() or @see \Rector\Contract\PhpParser\DecoratingNodeVisitorInterface instead.
83+
*
84+
* @internal
85+
*
8286
* @return Node[]|null
8387
*/
8488
public function beforeTraverse(array $nodes): ?array

vendor/composer/installed.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1756,12 +1756,12 @@
17561756
"source": {
17571757
"type": "git",
17581758
"url": "https:\/\/github.com\/rectorphp\/rector-downgrade-php.git",
1759-
"reference": "10c7be9b16bccef414be7621ef4dcbf65bfc7e93"
1759+
"reference": "5a4fd6743a84a2ba28c4be538968ef30c4ef846a"
17601760
},
17611761
"dist": {
17621762
"type": "zip",
1763-
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-downgrade-php\/zipball\/10c7be9b16bccef414be7621ef4dcbf65bfc7e93",
1764-
"reference": "10c7be9b16bccef414be7621ef4dcbf65bfc7e93",
1763+
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-downgrade-php\/zipball\/5a4fd6743a84a2ba28c4be538968ef30c4ef846a",
1764+
"reference": "5a4fd6743a84a2ba28c4be538968ef30c4ef846a",
17651765
"shasum": ""
17661766
},
17671767
"require": {
@@ -1782,7 +1782,7 @@
17821782
"tomasvotruba\/class-leak": "^1.0",
17831783
"tracy\/tracy": "^2.10"
17841784
},
1785-
"time": "2025-12-06T14:30:50+00:00",
1785+
"time": "2025-12-06T23:26:58+00:00",
17861786
"default-branch": true,
17871787
"type": "rector-extension",
17881788
"extra": {
@@ -1814,12 +1814,12 @@
18141814
"source": {
18151815
"type": "git",
18161816
"url": "https:\/\/github.com\/rectorphp\/rector-phpunit.git",
1817-
"reference": "0d8da7682017df925eccde1cbb59018f81b6a3e2"
1817+
"reference": "50cec585885abe903c4f3902926b6b1c13a29c49"
18181818
},
18191819
"dist": {
18201820
"type": "zip",
1821-
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-phpunit\/zipball\/0d8da7682017df925eccde1cbb59018f81b6a3e2",
1822-
"reference": "0d8da7682017df925eccde1cbb59018f81b6a3e2",
1821+
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-phpunit\/zipball\/50cec585885abe903c4f3902926b6b1c13a29c49",
1822+
"reference": "50cec585885abe903c4f3902926b6b1c13a29c49",
18231823
"shasum": ""
18241824
},
18251825
"require": {
@@ -1845,7 +1845,7 @@
18451845
"tomasvotruba\/class-leak": "^1.2",
18461846
"tracy\/tracy": "^2.11"
18471847
},
1848-
"time": "2025-12-06T00:01:26+00:00",
1848+
"time": "2025-12-06T23:29:27+00:00",
18491849
"default-branch": true,
18501850
"type": "rector-extension",
18511851
"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 5366b9a'), '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 10c7be9'), '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 0d8da76'), '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 03f4789'));
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 5366b9a'), '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 5a4fd67'), '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 50cec58'), '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 03f4789'));
1313
private function __construct()
1414
{
1515
}

0 commit comments

Comments
 (0)