Updated Rector to commit 5879d88416676e80021ce61eb169c4d70422b2bf

5879d88416 [build] add back php 7.4 test
This commit is contained in:
Tomas Votruba 2023-09-27 14:35:58 +00:00
parent 429a7683b2
commit 92b441a510
5 changed files with 44 additions and 12 deletions

32
.github/workflows/e2e_php74.yaml vendored Normal file
View File

@ -0,0 +1,32 @@
# This workflow runs system tests: Use the Rector application from the source
# checkout to process "fixture" projects in tests/system-tests
# to see if those can be processed successfully
name: End to End tests on PHP 7.4
on:
pull_request: null
push:
branches:
- main
jobs:
end_to_end_on_php74:
runs-on: ubuntu-latest
name: End to end test - PHP 7.4 and Match class name
steps:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: "7.4"
coverage: none
-
run: composer require rector/rector --dev
working-directory: e2e/parse-match-class-on-php74
-
run: vendor/bin/rector process --ansi
working-directory: e2e/parse-match-class-on-php74

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = '4726d37f988476ab4d31d8d969a211aedd92aa51';
public const PACKAGE_VERSION = '5879d88416676e80021ce61eb169c4d70422b2bf';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2023-09-27 16:27:27';
public const RELEASE_DATE = '2023-09-27 16:32:24';
/**
* @var int
*/

2
vendor/autoload.php vendored
View File

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

View File

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

View File

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