Skip to content

Commit 785165b

Browse files
committed
Updated Rector to commit cdfe824fb114c0ee2fabbbc2e78ebd3babc9a3a7
rectorphp/rector-src@cdfe824 Require --dev symplify/phpstan-rules 14.0.0 (#6565)
1 parent 1212291 commit 785165b

File tree

7 files changed

+16
-16
lines changed

7 files changed

+16
-16
lines changed

rules/Php74/Rector/LNumber/AddLiteralSeparatorToNumberRector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
1717
use RectorPrefix202412\Webmozart\Assert\Assert;
1818
/**
19-
* @see \Rector\Tests\Php74\Rector\LNumber\AddLiteralSeparatorToNumberRector\AddLiteralSeparatorToNumberRectorTest
20-
*
2119
* Taking the most generic use case to the account: https://wiki.php.net/rfc/numeric_literal_separator#should_it_be_the_role_of_an_ide_to_group_digits
2220
* The final check should be done manually
21+
*
22+
* @see \Rector\Tests\Php74\Rector\LNumber\AddLiteralSeparatorToNumberRector\AddLiteralSeparatorToNumberRectorTest
2323
*/
2424
final class AddLiteralSeparatorToNumberRector extends AbstractRector implements MinPhpVersionInterface, ConfigurableRectorInterface
2525
{

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 = '2.0.0';
22+
public const PACKAGE_VERSION = 'cdfe824fb114c0ee2fabbbc2e78ebd3babc9a3a7';
2323
/**
2424
* @api
2525
* @var string
2626
*/
27-
public const RELEASE_DATE = '2024-12-12 10:35:16';
27+
public const RELEASE_DATE = '2024-12-12 12:10:53';
2828
/**
2929
* @var int
3030
*/

src/Rector/AbstractRector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public final function enterNode(Node $node)
121121
$this->createdByRuleDecorator->decorate($node, $originalNode, static::class);
122122
if (!\in_array($refactoredNode, [NodeVisitor::DONT_TRAVERSE_CHILDREN, NodeVisitor::DONT_TRAVERSE_CURRENT_AND_CHILDREN], \true)) {
123123
// notify this rule changing code
124-
$rectorWithLineChange = new RectorWithLineChange(static::class, $originalNode->getLine());
124+
$rectorWithLineChange = new RectorWithLineChange(static::class, $originalNode->getStartLine());
125125
$this->file->addRectorClassWithLine($rectorWithLineChange);
126126
return $refactoredNode;
127127
}

vendor/autoload.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@
2222

2323
require_once __DIR__ . '/composer/autoload_real.php';
2424

25-
return ComposerAutoloaderInit9827c30fbb3017f238cd246d4e8886df::getLoader();
25+
return ComposerAutoloaderInit17138d93b8882790dbc1f814dba59245::getLoader();

vendor/composer/autoload_real.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// autoload_real.php @generated by Composer
44

5-
class ComposerAutoloaderInit9827c30fbb3017f238cd246d4e8886df
5+
class ComposerAutoloaderInit17138d93b8882790dbc1f814dba59245
66
{
77
private static $loader;
88

@@ -22,17 +22,17 @@ public static function getLoader()
2222
return self::$loader;
2323
}
2424

25-
spl_autoload_register(array('ComposerAutoloaderInit9827c30fbb3017f238cd246d4e8886df', 'loadClassLoader'), true, true);
25+
spl_autoload_register(array('ComposerAutoloaderInit17138d93b8882790dbc1f814dba59245', 'loadClassLoader'), true, true);
2626
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
27-
spl_autoload_unregister(array('ComposerAutoloaderInit9827c30fbb3017f238cd246d4e8886df', 'loadClassLoader'));
27+
spl_autoload_unregister(array('ComposerAutoloaderInit17138d93b8882790dbc1f814dba59245', 'loadClassLoader'));
2828

2929
require __DIR__ . '/autoload_static.php';
30-
call_user_func(\Composer\Autoload\ComposerStaticInit9827c30fbb3017f238cd246d4e8886df::getInitializer($loader));
30+
call_user_func(\Composer\Autoload\ComposerStaticInit17138d93b8882790dbc1f814dba59245::getInitializer($loader));
3131

3232
$loader->setClassMapAuthoritative(true);
3333
$loader->register(true);
3434

35-
$filesToLoad = \Composer\Autoload\ComposerStaticInit9827c30fbb3017f238cd246d4e8886df::$files;
35+
$filesToLoad = \Composer\Autoload\ComposerStaticInit17138d93b8882790dbc1f814dba59245::$files;
3636
$requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
3737
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
3838
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;

vendor/composer/autoload_static.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace Composer\Autoload;
66

7-
class ComposerStaticInit9827c30fbb3017f238cd246d4e8886df
7+
class ComposerStaticInit17138d93b8882790dbc1f814dba59245
88
{
99
public static $files = array (
1010
'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php',
@@ -2840,9 +2840,9 @@ class ComposerStaticInit9827c30fbb3017f238cd246d4e8886df
28402840
public static function getInitializer(ClassLoader $loader)
28412841
{
28422842
return \Closure::bind(function () use ($loader) {
2843-
$loader->prefixLengthsPsr4 = ComposerStaticInit9827c30fbb3017f238cd246d4e8886df::$prefixLengthsPsr4;
2844-
$loader->prefixDirsPsr4 = ComposerStaticInit9827c30fbb3017f238cd246d4e8886df::$prefixDirsPsr4;
2845-
$loader->classMap = ComposerStaticInit9827c30fbb3017f238cd246d4e8886df::$classMap;
2843+
$loader->prefixLengthsPsr4 = ComposerStaticInit17138d93b8882790dbc1f814dba59245::$prefixLengthsPsr4;
2844+
$loader->prefixDirsPsr4 = ComposerStaticInit17138d93b8882790dbc1f814dba59245::$prefixDirsPsr4;
2845+
$loader->classMap = ComposerStaticInit17138d93b8882790dbc1f814dba59245::$classMap;
28462846

28472847
}, null, ClassLoader::class);
28482848
}

vendor/scoper-autoload.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function humbug_phpscoper_expose_class($exposed, $prefixed) {
3030
}
3131
}
3232
humbug_phpscoper_expose_class('AutoloadIncluder', 'RectorPrefix202412\AutoloadIncluder');
33-
humbug_phpscoper_expose_class('ComposerAutoloaderInit9827c30fbb3017f238cd246d4e8886df', 'RectorPrefix202412\ComposerAutoloaderInit9827c30fbb3017f238cd246d4e8886df');
33+
humbug_phpscoper_expose_class('ComposerAutoloaderInit17138d93b8882790dbc1f814dba59245', 'RectorPrefix202412\ComposerAutoloaderInit17138d93b8882790dbc1f814dba59245');
3434
humbug_phpscoper_expose_class('Product', 'RectorPrefix202412\Product');
3535
humbug_phpscoper_expose_class('SomeTest', 'RectorPrefix202412\SomeTest');
3636

0 commit comments

Comments
 (0)