From da7cbac54d8d7beea39946440fb82d8554be1678 Mon Sep 17 00:00:00 2001 From: Tomas Votruba Date: Sun, 6 Aug 2023 15:47:57 +0000 Subject: [PATCH] Updated Rector to commit 56195b368e89f7fc7d92fe96703286f9c4985f18 https://github.com/rectorphp/rector-src/commit/56195b368e89f7fc7d92fe96703286f9c4985f18 Fix external patch path (#4677) --- .github/ISSUE_TEMPLATE/1_Bug_report.md | 2 +- README.md | 6 +++--- docs/auto_import_names.md | 2 +- docs/how_it_works.md | 2 +- docs/how_to_add_test_for_rector_rule.md | 2 +- docs/how_to_configure_rules.md | 2 +- docs/how_to_ignore_rule_or_paths.md | 2 +- docs/how_to_persist_cache_between_ci_runs.md | 2 +- docs/how_to_register_custom_setlist_constant.md | 2 +- docs/how_to_troubleshoot_parallel_issues.md | 2 +- docs/static_reflection_and_autoload.md | 2 +- packages/Config/RectorConfig.php | 2 +- src/Application/VersionResolver.php | 4 ++-- vendor/autoload.php | 2 +- vendor/composer/autoload_real.php | 10 +++++----- vendor/composer/autoload_static.php | 8 ++++---- vendor/composer/installed.json | 2 +- vendor/illuminate/container/PATCHES.txt | 2 +- 18 files changed, 28 insertions(+), 28 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/1_Bug_report.md b/.github/ISSUE_TEMPLATE/1_Bug_report.md index c6624245929..b667c40b497 100644 --- a/.github/ISSUE_TEMPLATE/1_Bug_report.md +++ b/.github/ISSUE_TEMPLATE/1_Bug_report.md @@ -16,7 +16,7 @@ about: Report errors and problems ## Minimal PHP Code Causing Issue - + ## Expected Behaviour diff --git a/README.md b/README.md index 2fa1a11d00c..534ef8316c7 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ vendor/bin/rector process src ## Documentation -* Find [full documentation here](https://getrector.org/documentation/). +* Find [full documentation here](https://getrector.com/documentation/). * [Explore Rector Rules](/docs/rector_rules_overview.md)
@@ -106,9 +106,9 @@ Among there projects belong: ## Hire us to get Job Done :muscle: -Rector is a tool that [we develop](https://getrector.org/) and share for free, so anyone can automate their refactoring. But not everyone has dozens of hours to understand complexity of abstract-syntax-tree in their own time. **That's why we provide commercial support - to save your time**. +Rector is a tool that [we develop](https://getrector.com/) and share for free, so anyone can automate their refactoring. But not everyone has dozens of hours to understand complexity of abstract-syntax-tree in their own time. **That's why we provide commercial support - to save your time**. -Would you like to apply Rector on your code base but don't have time for the struggle with your project? [Hire us](https://getrector.org/contact) to get there faster. +Would you like to apply Rector on your code base but don't have time for the struggle with your project? [Hire us](https://getrector.com/contact) to get there faster.
diff --git a/docs/auto_import_names.md b/docs/auto_import_names.md index c456891166f..4fdf391257f 100644 --- a/docs/auto_import_names.md +++ b/docs/auto_import_names.md @@ -2,4 +2,4 @@ This page was moved to new documentation. -You can find it here: https://getrector.org/documentation/ +You can find it here: https://getrector.com/documentation/ diff --git a/docs/how_it_works.md b/docs/how_it_works.md index 9b080248200..af929dd7ca7 100644 --- a/docs/how_it_works.md +++ b/docs/how_it_works.md @@ -3,4 +3,4 @@ This page was moved to new documentation. -You can find it here: https://getrector.org/documentation/ +You can find it here: https://getrector.com/documentation/ diff --git a/docs/how_to_add_test_for_rector_rule.md b/docs/how_to_add_test_for_rector_rule.md index 01f2893be46..806c7299bcd 100644 --- a/docs/how_to_add_test_for_rector_rule.md +++ b/docs/how_to_add_test_for_rector_rule.md @@ -3,4 +3,4 @@ This page was moved to new documentation. -You can find it here: https://getrector.org/documentation/ +You can find it here: https://getrector.com/documentation/ diff --git a/docs/how_to_configure_rules.md b/docs/how_to_configure_rules.md index a811e1d27e4..27fbcaebeca 100644 --- a/docs/how_to_configure_rules.md +++ b/docs/how_to_configure_rules.md @@ -3,4 +3,4 @@ This page was moved to new documentation. -You can find it here: https://getrector.org/documentation/ +You can find it here: https://getrector.com/documentation/ diff --git a/docs/how_to_ignore_rule_or_paths.md b/docs/how_to_ignore_rule_or_paths.md index 89fa92d974c..fd3f1712ca3 100644 --- a/docs/how_to_ignore_rule_or_paths.md +++ b/docs/how_to_ignore_rule_or_paths.md @@ -2,4 +2,4 @@ This page was moved to new documentation. -You can find it here: https://getrector.org/documentation/ +You can find it here: https://getrector.com/documentation/ diff --git a/docs/how_to_persist_cache_between_ci_runs.md b/docs/how_to_persist_cache_between_ci_runs.md index 39f90692faa..6b958ea375b 100644 --- a/docs/how_to_persist_cache_between_ci_runs.md +++ b/docs/how_to_persist_cache_between_ci_runs.md @@ -2,4 +2,4 @@ This page was moved to new documentation. -You can find it here: https://getrector.org/documentation/ +You can find it here: https://getrector.com/documentation/ diff --git a/docs/how_to_register_custom_setlist_constant.md b/docs/how_to_register_custom_setlist_constant.md index f6c1f912860..874faedff55 100644 --- a/docs/how_to_register_custom_setlist_constant.md +++ b/docs/how_to_register_custom_setlist_constant.md @@ -2,4 +2,4 @@ This page was moved to new documentation. -You can find it here: https://getrector.org/documentation/ +You can find it here: https://getrector.com/documentation/ diff --git a/docs/how_to_troubleshoot_parallel_issues.md b/docs/how_to_troubleshoot_parallel_issues.md index 420d7733218..84c1f928003 100644 --- a/docs/how_to_troubleshoot_parallel_issues.md +++ b/docs/how_to_troubleshoot_parallel_issues.md @@ -2,4 +2,4 @@ This page was moved to new documentation. -You can find it here: https://getrector.org/documentation/ +You can find it here: https://getrector.com/documentation/ diff --git a/docs/static_reflection_and_autoload.md b/docs/static_reflection_and_autoload.md index 9452c4a5de9..943171a4426 100644 --- a/docs/static_reflection_and_autoload.md +++ b/docs/static_reflection_and_autoload.md @@ -2,4 +2,4 @@ This page was moved to new documentation. -You can find it here: https://getrector.org/documentation/ +You can find it here: https://getrector.com/documentation/ diff --git a/packages/Config/RectorConfig.php b/packages/Config/RectorConfig.php index cb6a61c8865..1dc7dfc1d06 100644 --- a/packages/Config/RectorConfig.php +++ b/packages/Config/RectorConfig.php @@ -104,7 +104,7 @@ final class RectorConfig extends ContainerConfigurator Assert::classExists($rectorClass); Assert::isAOf($rectorClass, RectorInterface::class); Assert::isAOf($rectorClass, ConfigurableRectorInterface::class); - // decorate with value object inliner so Symfony understands, see https://getrector.org/blog/2020/09/07/how-to-inline-value-object-in-symfony-php-config + // decorate with value object inliner so Symfony understands, see https://getrector.com/blog/2020/09/07/how-to-inline-value-object-in-symfony-php-config \array_walk_recursive($configuration, static function (&$value) { if (\is_object($value)) { $value = ValueObjectInliner::inline($value); diff --git a/src/Application/VersionResolver.php b/src/Application/VersionResolver.php index acdf678f0a9..f63eee55b74 100644 --- a/src/Application/VersionResolver.php +++ b/src/Application/VersionResolver.php @@ -19,12 +19,12 @@ final class VersionResolver * @api * @var string */ - public const PACKAGE_VERSION = '2ffa009e08d06c7522a1f3b066f90e8edbee8210'; + public const PACKAGE_VERSION = '56195b368e89f7fc7d92fe96703286f9c4985f18'; /** * @api * @var string */ - public const RELEASE_DATE = '2023-08-06 16:10:36'; + public const RELEASE_DATE = '2023-08-06 16:44:19'; /** * @var int */ diff --git a/vendor/autoload.php b/vendor/autoload.php index 1a59ffc518e..97a5e5c70c9 100644 --- a/vendor/autoload.php +++ b/vendor/autoload.php @@ -22,4 +22,4 @@ if (PHP_VERSION_ID < 50600) { require_once __DIR__ . '/composer/autoload_real.php'; -return ComposerAutoloaderInit960639b9b816f607e946e8b0525ee335::getLoader(); +return ComposerAutoloaderInit828c9363fa9c2a209acd36e348c2ba00::getLoader(); diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php index e3c1eb02007..1203880654d 100644 --- a/vendor/composer/autoload_real.php +++ b/vendor/composer/autoload_real.php @@ -2,7 +2,7 @@ // autoload_real.php @generated by Composer -class ComposerAutoloaderInit960639b9b816f607e946e8b0525ee335 +class ComposerAutoloaderInit828c9363fa9c2a209acd36e348c2ba00 { private static $loader; @@ -22,17 +22,17 @@ class ComposerAutoloaderInit960639b9b816f607e946e8b0525ee335 return self::$loader; } - spl_autoload_register(array('ComposerAutoloaderInit960639b9b816f607e946e8b0525ee335', 'loadClassLoader'), true, true); + spl_autoload_register(array('ComposerAutoloaderInit828c9363fa9c2a209acd36e348c2ba00', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); - spl_autoload_unregister(array('ComposerAutoloaderInit960639b9b816f607e946e8b0525ee335', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInit828c9363fa9c2a209acd36e348c2ba00', 'loadClassLoader')); require __DIR__ . '/autoload_static.php'; - call_user_func(\Composer\Autoload\ComposerStaticInit960639b9b816f607e946e8b0525ee335::getInitializer($loader)); + call_user_func(\Composer\Autoload\ComposerStaticInit828c9363fa9c2a209acd36e348c2ba00::getInitializer($loader)); $loader->setClassMapAuthoritative(true); $loader->register(true); - $filesToLoad = \Composer\Autoload\ComposerStaticInit960639b9b816f607e946e8b0525ee335::$files; + $filesToLoad = \Composer\Autoload\ComposerStaticInit828c9363fa9c2a209acd36e348c2ba00::$files; $requireFile = \Closure::bind(static function ($fileIdentifier, $file) { if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php index 334d495d620..458313a2591 100644 --- a/vendor/composer/autoload_static.php +++ b/vendor/composer/autoload_static.php @@ -4,7 +4,7 @@ namespace Composer\Autoload; -class ComposerStaticInit960639b9b816f607e946e8b0525ee335 +class ComposerStaticInit828c9363fa9c2a209acd36e348c2ba00 { public static $files = array ( 'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php', @@ -3011,9 +3011,9 @@ class ComposerStaticInit960639b9b816f607e946e8b0525ee335 public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { - $loader->prefixLengthsPsr4 = ComposerStaticInit960639b9b816f607e946e8b0525ee335::$prefixLengthsPsr4; - $loader->prefixDirsPsr4 = ComposerStaticInit960639b9b816f607e946e8b0525ee335::$prefixDirsPsr4; - $loader->classMap = ComposerStaticInit960639b9b816f607e946e8b0525ee335::$classMap; + $loader->prefixLengthsPsr4 = ComposerStaticInit828c9363fa9c2a209acd36e348c2ba00::$prefixLengthsPsr4; + $loader->prefixDirsPsr4 = ComposerStaticInit828c9363fa9c2a209acd36e348c2ba00::$prefixDirsPsr4; + $loader->classMap = ComposerStaticInit828c9363fa9c2a209acd36e348c2ba00::$classMap; }, null, ClassLoader::class); } diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index 86836f43435..2a24782e196 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -532,7 +532,7 @@ "dev-master": "10.x-dev" }, "patches_applied": [ - "patches\/illuminate-container-container-php.patch" + "https:\/\/raw.githubusercontent.com\/rectorphp\/vendor-patches\/main\/patches\/\/illuminate-container-container-php.patch" ] }, "installation-source": "dist", diff --git a/vendor/illuminate/container/PATCHES.txt b/vendor/illuminate/container/PATCHES.txt index a11b1db9160..6021b994438 100644 --- a/vendor/illuminate/container/PATCHES.txt +++ b/vendor/illuminate/container/PATCHES.txt @@ -2,6 +2,6 @@ This file was automatically generated by Composer Patches (https://github.com/cw Patches applied to this directory: 0 -Source: patches/illuminate-container-container-php.patch +Source: https://raw.githubusercontent.com/rectorphp/vendor-patches/main/patches//illuminate-container-container-php.patch