diff --git a/src/Application/VersionResolver.php b/src/Application/VersionResolver.php index c454b81ef3a..d081abf2915 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 = 'efc969e6411704d02e004045cb8b1da5d263970c'; + public const PACKAGE_VERSION = 'f56a0532c244b1585c66d3f1448e9be9f6833b41'; /** * @api * @var string */ - public const RELEASE_DATE = '2023-03-02 15:22:13'; + public const RELEASE_DATE = '2023-03-02 18:28:07'; /** * @var int */ diff --git a/templates/rector-github-action-check.yaml b/templates/rector-github-action-check.yaml index 7a5be60d35c..c5bee4ddcce 100644 --- a/templates/rector-github-action-check.yaml +++ b/templates/rector-github-action-check.yaml @@ -6,12 +6,9 @@ on: jobs: rector: - # Don't run on forks. - if: github.repository == '__CURRENT_REPOSITORY__' runs-on: ubuntu-latest + if: github.event.pull_request.head.repo.full_name == '__CURRENT_REPOSITORY__' steps: - # workaround for missing secret in fork PRs - see https://github.com/actions/checkout/issues/298 - # see https://github.com/rectorphp/rector/commit/d395e1c28b8e6a56711dcc2e10490a82965850e4 - if: github.event.pull_request.head.repo.full_name == github.repository uses: actions/checkout@v3 @@ -19,11 +16,6 @@ jobs: # Must be used to trigger workflow after push token: ${{ secrets.ACCESS_TOKEN }} - # in forks, the token is not available - so we cannot use it - - - if: github.event.pull_request.head.repo.full_name != github.repository - uses: actions/checkout@v3 - - uses: shivammathur/setup-php@v2 with: @@ -36,7 +28,6 @@ jobs: - # commit only to core contributors who have repository access - if: github.event.pull_request.head.repo.full_name == github.repository uses: stefanzweifel/git-auto-commit-action@v4 with: commit_message: '[rector] Rector fixes' diff --git a/vendor/autoload.php b/vendor/autoload.php index d5802f46987..5b0c2fa0b91 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 ComposerAutoloaderInit9823ecb4d7a2d3b55a3976916fa0bfb2::getLoader(); +return ComposerAutoloaderInit6435ea052efd329e2300733a81101493::getLoader(); diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php index 895cb5f2ac0..6bf9e40a634 100644 --- a/vendor/composer/autoload_real.php +++ b/vendor/composer/autoload_real.php @@ -2,7 +2,7 @@ // autoload_real.php @generated by Composer -class ComposerAutoloaderInit9823ecb4d7a2d3b55a3976916fa0bfb2 +class ComposerAutoloaderInit6435ea052efd329e2300733a81101493 { private static $loader; @@ -22,17 +22,17 @@ class ComposerAutoloaderInit9823ecb4d7a2d3b55a3976916fa0bfb2 return self::$loader; } - spl_autoload_register(array('ComposerAutoloaderInit9823ecb4d7a2d3b55a3976916fa0bfb2', 'loadClassLoader'), true, true); + spl_autoload_register(array('ComposerAutoloaderInit6435ea052efd329e2300733a81101493', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); - spl_autoload_unregister(array('ComposerAutoloaderInit9823ecb4d7a2d3b55a3976916fa0bfb2', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInit6435ea052efd329e2300733a81101493', 'loadClassLoader')); require __DIR__ . '/autoload_static.php'; - call_user_func(\Composer\Autoload\ComposerStaticInit9823ecb4d7a2d3b55a3976916fa0bfb2::getInitializer($loader)); + call_user_func(\Composer\Autoload\ComposerStaticInit6435ea052efd329e2300733a81101493::getInitializer($loader)); $loader->setClassMapAuthoritative(true); $loader->register(true); - $filesToLoad = \Composer\Autoload\ComposerStaticInit9823ecb4d7a2d3b55a3976916fa0bfb2::$files; + $filesToLoad = \Composer\Autoload\ComposerStaticInit6435ea052efd329e2300733a81101493::$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 a122e8693d5..1b5d5d3bd02 100644 --- a/vendor/composer/autoload_static.php +++ b/vendor/composer/autoload_static.php @@ -4,7 +4,7 @@ namespace Composer\Autoload; -class ComposerStaticInit9823ecb4d7a2d3b55a3976916fa0bfb2 +class ComposerStaticInit6435ea052efd329e2300733a81101493 { public static $files = array ( 'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php', @@ -3148,9 +3148,9 @@ class ComposerStaticInit9823ecb4d7a2d3b55a3976916fa0bfb2 public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { - $loader->prefixLengthsPsr4 = ComposerStaticInit9823ecb4d7a2d3b55a3976916fa0bfb2::$prefixLengthsPsr4; - $loader->prefixDirsPsr4 = ComposerStaticInit9823ecb4d7a2d3b55a3976916fa0bfb2::$prefixDirsPsr4; - $loader->classMap = ComposerStaticInit9823ecb4d7a2d3b55a3976916fa0bfb2::$classMap; + $loader->prefixLengthsPsr4 = ComposerStaticInit6435ea052efd329e2300733a81101493::$prefixLengthsPsr4; + $loader->prefixDirsPsr4 = ComposerStaticInit6435ea052efd329e2300733a81101493::$prefixDirsPsr4; + $loader->classMap = ComposerStaticInit6435ea052efd329e2300733a81101493::$classMap; }, null, ClassLoader::class); }