From 75a9f9ecc8c80c0b809b7ce81bccd93eb14143de Mon Sep 17 00:00:00 2001 From: Tomas Votruba Date: Tue, 28 Feb 2023 17:44:40 +0000 Subject: [PATCH] Updated Rector to commit af52640505b505f3932f20f867db6d9eedeba222 https://github.com/rectorphp/rector-src/commit/af52640505b505f3932f20f867db6d9eedeba222 Use stefanzweifel/git-auto-commit-action on templates (#3427)Co-authored-by: Tomas Votruba --- src/Application/VersionResolver.php | 4 ++-- templates/rector-github-action-check.yaml | 13 ++++--------- vendor/autoload.php | 2 +- vendor/composer/autoload_real.php | 10 +++++----- vendor/composer/autoload_static.php | 8 ++++---- 5 files changed, 16 insertions(+), 21 deletions(-) diff --git a/src/Application/VersionResolver.php b/src/Application/VersionResolver.php index 51034bd5067..deb982038c9 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 = '7b5f06dc26cd749de63e7d673735a0b44e0275f4'; + public const PACKAGE_VERSION = 'af52640505b505f3932f20f867db6d9eedeba222'; /** * @api * @var string */ - public const RELEASE_DATE = '2023-02-28 17:33:47'; + public const RELEASE_DATE = '2023-02-28 17:39:53'; /** * @var int */ diff --git a/templates/rector-github-action-check.yaml b/templates/rector-github-action-check.yaml index fc1873eb8e4..53bbd1213e4 100644 --- a/templates/rector-github-action-check.yaml +++ b/templates/rector-github-action-check.yaml @@ -34,13 +34,8 @@ jobs: - # commit only to core contributors who have repository access if: github.event.pull_request.head.repo.full_name == github.repository - uses: EndBug/add-and-commit@v7.5.0 + uses: stefanzweifel/git-auto-commit-action@v4 with: - # The arguments for the `git add` command (see the paragraph below for more info) - add: . - message: "[rector] Rector fixes" - author_name: "GitHub Action" - author_email: "action@github.com" - env: - # to get push access - GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} + commit_message: '[rector] Rector fixes' + commit_author: 'GitHub Action ' + commit_user_email: 'action@github.com' diff --git a/vendor/autoload.php b/vendor/autoload.php index ac0901038e8..9f78198162f 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 ComposerAutoloaderInit4e552cf35774617f4e20cf2f3cf09935::getLoader(); +return ComposerAutoloaderInit2f1c1b27a727ce095bc738eed26a042e::getLoader(); diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php index e2422f133a0..a7d2912d16e 100644 --- a/vendor/composer/autoload_real.php +++ b/vendor/composer/autoload_real.php @@ -2,7 +2,7 @@ // autoload_real.php @generated by Composer -class ComposerAutoloaderInit4e552cf35774617f4e20cf2f3cf09935 +class ComposerAutoloaderInit2f1c1b27a727ce095bc738eed26a042e { private static $loader; @@ -22,17 +22,17 @@ class ComposerAutoloaderInit4e552cf35774617f4e20cf2f3cf09935 return self::$loader; } - spl_autoload_register(array('ComposerAutoloaderInit4e552cf35774617f4e20cf2f3cf09935', 'loadClassLoader'), true, true); + spl_autoload_register(array('ComposerAutoloaderInit2f1c1b27a727ce095bc738eed26a042e', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); - spl_autoload_unregister(array('ComposerAutoloaderInit4e552cf35774617f4e20cf2f3cf09935', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInit2f1c1b27a727ce095bc738eed26a042e', 'loadClassLoader')); require __DIR__ . '/autoload_static.php'; - call_user_func(\Composer\Autoload\ComposerStaticInit4e552cf35774617f4e20cf2f3cf09935::getInitializer($loader)); + call_user_func(\Composer\Autoload\ComposerStaticInit2f1c1b27a727ce095bc738eed26a042e::getInitializer($loader)); $loader->setClassMapAuthoritative(true); $loader->register(true); - $filesToLoad = \Composer\Autoload\ComposerStaticInit4e552cf35774617f4e20cf2f3cf09935::$files; + $filesToLoad = \Composer\Autoload\ComposerStaticInit2f1c1b27a727ce095bc738eed26a042e::$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 f9c31f9daad..84643ad0864 100644 --- a/vendor/composer/autoload_static.php +++ b/vendor/composer/autoload_static.php @@ -4,7 +4,7 @@ namespace Composer\Autoload; -class ComposerStaticInit4e552cf35774617f4e20cf2f3cf09935 +class ComposerStaticInit2f1c1b27a727ce095bc738eed26a042e { public static $files = array ( 'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php', @@ -3126,9 +3126,9 @@ class ComposerStaticInit4e552cf35774617f4e20cf2f3cf09935 public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { - $loader->prefixLengthsPsr4 = ComposerStaticInit4e552cf35774617f4e20cf2f3cf09935::$prefixLengthsPsr4; - $loader->prefixDirsPsr4 = ComposerStaticInit4e552cf35774617f4e20cf2f3cf09935::$prefixDirsPsr4; - $loader->classMap = ComposerStaticInit4e552cf35774617f4e20cf2f3cf09935::$classMap; + $loader->prefixLengthsPsr4 = ComposerStaticInit2f1c1b27a727ce095bc738eed26a042e::$prefixLengthsPsr4; + $loader->prefixDirsPsr4 = ComposerStaticInit2f1c1b27a727ce095bc738eed26a042e::$prefixDirsPsr4; + $loader->classMap = ComposerStaticInit2f1c1b27a727ce095bc738eed26a042e::$classMap; }, null, ClassLoader::class); }