Updated Rector to commit 96176848192e3214a7a311126925ffeb9912e2e5

9617684819 misc
This commit is contained in:
Tomas Votruba 2023-02-28 17:49:53 +00:00
parent 839f74669a
commit 5901355568
5 changed files with 12 additions and 17 deletions

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api * @api
* @var string * @var string
*/ */
public const PACKAGE_VERSION = '6ee434a398acd9132daf5c18384fae315f96b553'; public const PACKAGE_VERSION = '96176848192e3214a7a311126925ffeb9912e2e5';
/** /**
* @api * @api
* @var string * @var string
*/ */
public const RELEASE_DATE = '2023-02-28 17:44:28'; public const RELEASE_DATE = '2023-02-28 17:45:04';
/** /**
* @var int * @var int
*/ */

View File

@ -4,14 +4,11 @@ name: Rector
on: on:
pull_request: null pull_request: null
jobs: jobs:
rector: rector:
# Don't run on forks. # Don't run on forks.
if: github.repository == '__CURRENT_REPOSITORY__' if: github.repository == '__CURRENT_REPOSITORY__'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- -
uses: actions/checkout@v3 uses: actions/checkout@v3
@ -27,10 +24,8 @@ jobs:
- uses: "ramsey/composer-install@v2" - uses: "ramsey/composer-install@v2"
## here can't be --dry-run, it would stop the job
- run: vendor/bin/rector --ansi - run: vendor/bin/rector --ansi
# see https://github.com/EndBug/add-and-commit
- -
# commit only to core contributors who have repository access # commit only to core contributors who have repository access
if: github.event.pull_request.head.repo.full_name == github.repository if: github.event.pull_request.head.repo.full_name == github.repository

2
vendor/autoload.php vendored
View File

@ -22,4 +22,4 @@ if (PHP_VERSION_ID < 50600) {
require_once __DIR__ . '/composer/autoload_real.php'; require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInit380fc9a9596c9c49ec64bbee112774fa::getLoader(); return ComposerAutoloaderInit3da4ef8eae34d1e99e00f4687ea42ad0::getLoader();

View File

@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer // autoload_real.php @generated by Composer
class ComposerAutoloaderInit380fc9a9596c9c49ec64bbee112774fa class ComposerAutoloaderInit3da4ef8eae34d1e99e00f4687ea42ad0
{ {
private static $loader; private static $loader;
@ -22,17 +22,17 @@ class ComposerAutoloaderInit380fc9a9596c9c49ec64bbee112774fa
return self::$loader; return self::$loader;
} }
spl_autoload_register(array('ComposerAutoloaderInit380fc9a9596c9c49ec64bbee112774fa', 'loadClassLoader'), true, true); spl_autoload_register(array('ComposerAutoloaderInit3da4ef8eae34d1e99e00f4687ea42ad0', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
spl_autoload_unregister(array('ComposerAutoloaderInit380fc9a9596c9c49ec64bbee112774fa', 'loadClassLoader')); spl_autoload_unregister(array('ComposerAutoloaderInit3da4ef8eae34d1e99e00f4687ea42ad0', 'loadClassLoader'));
require __DIR__ . '/autoload_static.php'; require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInit380fc9a9596c9c49ec64bbee112774fa::getInitializer($loader)); call_user_func(\Composer\Autoload\ComposerStaticInit3da4ef8eae34d1e99e00f4687ea42ad0::getInitializer($loader));
$loader->setClassMapAuthoritative(true); $loader->setClassMapAuthoritative(true);
$loader->register(true); $loader->register(true);
$filesToLoad = \Composer\Autoload\ComposerStaticInit380fc9a9596c9c49ec64bbee112774fa::$files; $filesToLoad = \Composer\Autoload\ComposerStaticInit3da4ef8eae34d1e99e00f4687ea42ad0::$files;
$requireFile = \Closure::bind(static function ($fileIdentifier, $file) { $requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;

View File

@ -4,7 +4,7 @@
namespace Composer\Autoload; namespace Composer\Autoload;
class ComposerStaticInit380fc9a9596c9c49ec64bbee112774fa class ComposerStaticInit3da4ef8eae34d1e99e00f4687ea42ad0
{ {
public static $files = array ( public static $files = array (
'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php', 'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php',
@ -3126,9 +3126,9 @@ class ComposerStaticInit380fc9a9596c9c49ec64bbee112774fa
public static function getInitializer(ClassLoader $loader) public static function getInitializer(ClassLoader $loader)
{ {
return \Closure::bind(function () use ($loader) { return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInit380fc9a9596c9c49ec64bbee112774fa::$prefixLengthsPsr4; $loader->prefixLengthsPsr4 = ComposerStaticInit3da4ef8eae34d1e99e00f4687ea42ad0::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit380fc9a9596c9c49ec64bbee112774fa::$prefixDirsPsr4; $loader->prefixDirsPsr4 = ComposerStaticInit3da4ef8eae34d1e99e00f4687ea42ad0::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit380fc9a9596c9c49ec64bbee112774fa::$classMap; $loader->classMap = ComposerStaticInit3da4ef8eae34d1e99e00f4687ea42ad0::$classMap;
}, null, ClassLoader::class); }, null, ClassLoader::class);
} }