mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-16 21:08:19 +01:00
Updated Rector to commit 3b42813953f335c8d2986c391629ce007ad06ea4
3b42813953
[Scoper] Fix scoper to fix prefixed regex on doctrine inflector take 2 (#6656)
This commit is contained in:
parent
1e4b4023a5
commit
47516301bf
@ -93,7 +93,7 @@ final class AutoloadIncluder
|
|||||||
require_once $filePath;
|
require_once $filePath;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
\class_alias('RectorPrefix202501\\AutoloadIncluder', 'AutoloadIncluder', \false);
|
\class_alias('\\AutoloadIncluder', 'AutoloadIncluder', \false);
|
||||||
if (\file_exists(__DIR__ . '/../preload.php') && \is_dir(__DIR__ . '/../vendor')) {
|
if (\file_exists(__DIR__ . '/../preload.php') && \is_dir(__DIR__ . '/../vendor')) {
|
||||||
require_once __DIR__ . '/../preload.php';
|
require_once __DIR__ . '/../preload.php';
|
||||||
}
|
}
|
||||||
|
@ -19,12 +19,12 @@ final class VersionResolver
|
|||||||
* @api
|
* @api
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public const PACKAGE_VERSION = 'c38a120d1193f8878fae85b0d96e88a1c644fd09';
|
public const PACKAGE_VERSION = '3b42813953f335c8d2986c391629ce007ad06ea4';
|
||||||
/**
|
/**
|
||||||
* @api
|
* @api
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public const RELEASE_DATE = '2025-01-06 16:13:37';
|
public const RELEASE_DATE = '2025-01-06 16:18:51';
|
||||||
/**
|
/**
|
||||||
* @var int
|
* @var int
|
||||||
*/
|
*/
|
||||||
|
4
vendor/bin/php-parse
vendored
4
vendor/bin/php-parse
vendored
@ -13,7 +13,7 @@ namespace RectorPrefix202501\Composer;
|
|||||||
$GLOBALS['_composer_bin_dir'] = __DIR__;
|
$GLOBALS['_composer_bin_dir'] = __DIR__;
|
||||||
$GLOBALS['_composer_autoload_path'] = __DIR__ . '/..' . '/autoload.php';
|
$GLOBALS['_composer_autoload_path'] = __DIR__ . '/..' . '/autoload.php';
|
||||||
if (\PHP_VERSION_ID < 80000) {
|
if (\PHP_VERSION_ID < 80000) {
|
||||||
if (!\class_exists('RectorPrefix202501\\Composer\\BinProxyWrapper')) {
|
if (!\class_exists('\\Composer\\BinProxyWrapper')) {
|
||||||
/**
|
/**
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
@ -87,7 +87,7 @@ if (\PHP_VERSION_ID < 80000) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (\function_exists('stream_get_wrappers') && \in_array('phpvfscomposer', \stream_get_wrappers(), \true) || \function_exists('stream_wrapper_register') && \stream_wrapper_register('phpvfscomposer', 'RectorPrefix202501\\Composer\\BinProxyWrapper')) {
|
if (\function_exists('stream_get_wrappers') && \in_array('phpvfscomposer', \stream_get_wrappers(), \true) || \function_exists('stream_wrapper_register') && \stream_wrapper_register('phpvfscomposer', '\\Composer\\BinProxyWrapper')) {
|
||||||
return include "phpvfscomposer://" . __DIR__ . '/..' . '/nikic/php-parser/bin/php-parse';
|
return include "phpvfscomposer://" . __DIR__ . '/..' . '/nikic/php-parser/bin/php-parse';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
4
vendor/bin/yaml-lint
vendored
4
vendor/bin/yaml-lint
vendored
@ -13,7 +13,7 @@ namespace RectorPrefix202501\Composer;
|
|||||||
$GLOBALS['_composer_bin_dir'] = __DIR__;
|
$GLOBALS['_composer_bin_dir'] = __DIR__;
|
||||||
$GLOBALS['_composer_autoload_path'] = __DIR__ . '/..' . '/autoload.php';
|
$GLOBALS['_composer_autoload_path'] = __DIR__ . '/..' . '/autoload.php';
|
||||||
if (\PHP_VERSION_ID < 80000) {
|
if (\PHP_VERSION_ID < 80000) {
|
||||||
if (!\class_exists('RectorPrefix202501\\Composer\\BinProxyWrapper')) {
|
if (!\class_exists('\\Composer\\BinProxyWrapper')) {
|
||||||
/**
|
/**
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
@ -87,7 +87,7 @@ if (\PHP_VERSION_ID < 80000) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (\function_exists('stream_get_wrappers') && \in_array('phpvfscomposer', \stream_get_wrappers(), \true) || \function_exists('stream_wrapper_register') && \stream_wrapper_register('phpvfscomposer', 'RectorPrefix202501\\Composer\\BinProxyWrapper')) {
|
if (\function_exists('stream_get_wrappers') && \in_array('phpvfscomposer', \stream_get_wrappers(), \true) || \function_exists('stream_wrapper_register') && \stream_wrapper_register('phpvfscomposer', '\\Composer\\BinProxyWrapper')) {
|
||||||
return include "phpvfscomposer://" . __DIR__ . '/..' . '/symfony/yaml/Resources/bin/yaml-lint';
|
return include "phpvfscomposer://" . __DIR__ . '/..' . '/symfony/yaml/Resources/bin/yaml-lint';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
4
vendor/composer/InstalledVersions.php
vendored
4
vendor/composer/InstalledVersions.php
vendored
@ -53,7 +53,7 @@ class InstalledVersions
|
|||||||
if (1 === \count($packages)) {
|
if (1 === \count($packages)) {
|
||||||
return $packages[0];
|
return $packages[0];
|
||||||
}
|
}
|
||||||
return \array_keys(\array_flip(\call_user_func_array('RectorPrefix202501\\array_merge', $packages)));
|
return \array_keys(\array_flip(\call_user_func_array('\\array_merge', $packages)));
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Returns a list of all package names with a specific type e.g. 'library'
|
* Returns a list of all package names with a specific type e.g. 'library'
|
||||||
@ -277,7 +277,7 @@ class InstalledVersions
|
|||||||
private static function getInstalled()
|
private static function getInstalled()
|
||||||
{
|
{
|
||||||
if (null === self::$canGetVendors) {
|
if (null === self::$canGetVendors) {
|
||||||
self::$canGetVendors = \method_exists('RectorPrefix202501\\Composer\\Autoload\\ClassLoader', 'getRegisteredLoaders');
|
self::$canGetVendors = \method_exists('\\Composer\\Autoload\\ClassLoader', 'getRegisteredLoaders');
|
||||||
}
|
}
|
||||||
$installed = array();
|
$installed = array();
|
||||||
$copiedLocalDir = \false;
|
$copiedLocalDir = \false;
|
||||||
|
2
vendor/react/dns/src/Query/Query.php
vendored
2
vendor/react/dns/src/Query/Query.php
vendored
@ -50,7 +50,7 @@ final class Query
|
|||||||
{
|
{
|
||||||
$class = $this->class !== Message::CLASS_IN ? 'CLASS' . $this->class . ' ' : '';
|
$class = $this->class !== Message::CLASS_IN ? 'CLASS' . $this->class . ' ' : '';
|
||||||
$type = 'TYPE' . $this->type;
|
$type = 'TYPE' . $this->type;
|
||||||
$ref = new \ReflectionClass('RectorPrefix202501\\React\\Dns\\Model\\Message');
|
$ref = new \ReflectionClass('\\React\\Dns\\Model\\Message');
|
||||||
foreach ($ref->getConstants() as $name => $value) {
|
foreach ($ref->getConstants() as $name => $value) {
|
||||||
if ($value === $this->type && \strpos($name, 'TYPE_') === 0) {
|
if ($value === $this->type && \strpos($name, 'TYPE_') === 0) {
|
||||||
$type = \substr($name, 5);
|
$type = \substr($name, 5);
|
||||||
|
2
vendor/react/event-loop/src/ExtLibevLoop.php
vendored
2
vendor/react/event-loop/src/ExtLibevLoop.php
vendored
@ -37,7 +37,7 @@ final class ExtLibevLoop implements LoopInterface
|
|||||||
private $signalEvents = array();
|
private $signalEvents = array();
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
if (!\class_exists('RectorPrefix202501\\libev\\EventLoop', \false)) {
|
if (!\class_exists('\\libev\\EventLoop', \false)) {
|
||||||
throw new BadMethodCallException('Cannot create ExtLibevLoop, ext-libev extension missing');
|
throw new BadMethodCallException('Cannot create ExtLibevLoop, ext-libev extension missing');
|
||||||
}
|
}
|
||||||
$this->loop = new EventLoop();
|
$this->loop = new EventLoop();
|
||||||
|
2
vendor/react/event-loop/src/Factory.php
vendored
2
vendor/react/event-loop/src/Factory.php
vendored
@ -48,7 +48,7 @@ final class Factory
|
|||||||
// only use ext-uv on PHP 7
|
// only use ext-uv on PHP 7
|
||||||
return new ExtUvLoop();
|
return new ExtUvLoop();
|
||||||
}
|
}
|
||||||
if (\class_exists('RectorPrefix202501\\libev\\EventLoop', \false)) {
|
if (\class_exists('\\libev\\EventLoop', \false)) {
|
||||||
return new ExtLibevLoop();
|
return new ExtLibevLoop();
|
||||||
}
|
}
|
||||||
if (\class_exists('EvLoop', \false)) {
|
if (\class_exists('EvLoop', \false)) {
|
||||||
|
@ -2,6 +2,6 @@
|
|||||||
|
|
||||||
namespace RectorPrefix202501;
|
namespace RectorPrefix202501;
|
||||||
|
|
||||||
if (!\function_exists('RectorPrefix202501\\React\\Promise\\resolve')) {
|
if (!\function_exists('\\React\\Promise\\resolve')) {
|
||||||
require __DIR__ . '/functions.php';
|
require __DIR__ . '/functions.php';
|
||||||
}
|
}
|
||||||
|
@ -10,7 +10,7 @@ namespace RectorPrefix202501;
|
|||||||
* For the full copyright and license information, please view the LICENSE
|
* For the full copyright and license information, please view the LICENSE
|
||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
*/
|
*/
|
||||||
if (!\function_exists('RectorPrefix202501\\trigger_deprecation')) {
|
if (!\function_exists('\\trigger_deprecation')) {
|
||||||
/**
|
/**
|
||||||
* Triggers a silenced deprecation notice.
|
* Triggers a silenced deprecation notice.
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user