mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-16 21:08:19 +01:00
Updated Rector to commit f56a0532c244b1585c66d3f1448e9be9f6833b41
f56a0532c2
Alternative Rector workflow on check repo before steps run (#3440)
This commit is contained in:
parent
867e9441ef
commit
8167a183dc
@ -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
|
||||
*/
|
||||
|
@ -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'
|
||||
|
2
vendor/autoload.php
vendored
2
vendor/autoload.php
vendored
@ -22,4 +22,4 @@ if (PHP_VERSION_ID < 50600) {
|
||||
|
||||
require_once __DIR__ . '/composer/autoload_real.php';
|
||||
|
||||
return ComposerAutoloaderInit9823ecb4d7a2d3b55a3976916fa0bfb2::getLoader();
|
||||
return ComposerAutoloaderInit6435ea052efd329e2300733a81101493::getLoader();
|
||||
|
10
vendor/composer/autoload_real.php
vendored
10
vendor/composer/autoload_real.php
vendored
@ -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;
|
||||
|
8
vendor/composer/autoload_static.php
vendored
8
vendor/composer/autoload_static.php
vendored
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user