mirror of
https://github.com/rectorphp/rector.git
synced 2025-04-22 16:32:27 +02:00
Updated Rector to commit f16892e2b2c84d896f0db6d31c439c2716f58795
f16892e2b2
[Doc] Add PHPOffice to list of packages (#1504)
This commit is contained in:
parent
c6604f6631
commit
7b226cf023
@ -8,7 +8,7 @@ Rector instantly upgrades and refactors the PHP code of your application. It ca
|
||||
|
||||
### 1. Instant Upgrades
|
||||
|
||||
Rector now supports upgrades from PHP 5.3 to 8.0 and major open-source projects like [Symfony](https://github.com/rectorphp/rector-symfony), [PHPUnit](https://github.com/rectorphp/rector-phpunit), [Nette](https://github.com/rectorphp/rector-nette), [Laravel](https://github.com/rectorphp/rector-laravel), [CakePHP](https://github.com/rectorphp/rector-cakephp), [Doctrine](https://github.com/rectorphp/rector-doctrine) and [TYPO3](https://github.com/sabbelasichon/typo3-rector) out of the box. Do you want to **be constantly on the latest PHP/framework version without effort**?
|
||||
Rector now supports upgrades from PHP 5.3 to 8.0 and major open-source projects like [Symfony](https://github.com/rectorphp/rector-symfony), [PHPUnit](https://github.com/rectorphp/rector-phpunit), [Nette](https://github.com/rectorphp/rector-nette), [Laravel](https://github.com/rectorphp/rector-laravel), [CakePHP](https://github.com/rectorphp/rector-cakephp), [Doctrine](https://github.com/rectorphp/rector-doctrine), [PHPOffice](https://github.com/rectorphp/rector-phpoffice) and [TYPO3](https://github.com/sabbelasichon/typo3-rector) out of the box. Do you want to **be constantly on the latest PHP/framework version without effort**?
|
||||
|
||||
Use Rector to handle **instant upgrades** for you.
|
||||
|
||||
|
@ -16,11 +16,11 @@ final class VersionResolver
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = 'dd89737f2fcc3672e554048af30f96a5e3a3b941';
|
||||
public const PACKAGE_VERSION = 'f16892e2b2c84d896f0db6d31c439c2716f58795';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2021-12-15 10:38:56';
|
||||
public const RELEASE_DATE = '2021-12-15 20:10:12';
|
||||
public static function resolvePackageVersion() : string
|
||||
{
|
||||
$process = new \RectorPrefix20211215\Symfony\Component\Process\Process(['git', 'log', '--pretty="%H"', '-n1', 'HEAD'], __DIR__);
|
||||
|
2
vendor/autoload.php
vendored
2
vendor/autoload.php
vendored
@ -4,4 +4,4 @@
|
||||
|
||||
require_once __DIR__ . '/composer/autoload_real.php';
|
||||
|
||||
return ComposerAutoloaderInitb7f164c71a40d0b1566c2b0b40b03af3::getLoader();
|
||||
return ComposerAutoloaderInit881c9b4567214d9970f1befa65f5626d::getLoader();
|
||||
|
14
vendor/composer/autoload_real.php
vendored
14
vendor/composer/autoload_real.php
vendored
@ -2,7 +2,7 @@
|
||||
|
||||
// autoload_real.php @generated by Composer
|
||||
|
||||
class ComposerAutoloaderInitb7f164c71a40d0b1566c2b0b40b03af3
|
||||
class ComposerAutoloaderInit881c9b4567214d9970f1befa65f5626d
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
@ -22,15 +22,15 @@ class ComposerAutoloaderInitb7f164c71a40d0b1566c2b0b40b03af3
|
||||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInitb7f164c71a40d0b1566c2b0b40b03af3', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInit881c9b4567214d9970f1befa65f5626d', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInitb7f164c71a40d0b1566c2b0b40b03af3', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit881c9b4567214d9970f1befa65f5626d', 'loadClassLoader'));
|
||||
|
||||
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
||||
if ($useStaticLoader) {
|
||||
require __DIR__ . '/autoload_static.php';
|
||||
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInitb7f164c71a40d0b1566c2b0b40b03af3::getInitializer($loader));
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit881c9b4567214d9970f1befa65f5626d::getInitializer($loader));
|
||||
} else {
|
||||
$classMap = require __DIR__ . '/autoload_classmap.php';
|
||||
if ($classMap) {
|
||||
@ -42,19 +42,19 @@ class ComposerAutoloaderInitb7f164c71a40d0b1566c2b0b40b03af3
|
||||
$loader->register(true);
|
||||
|
||||
if ($useStaticLoader) {
|
||||
$includeFiles = Composer\Autoload\ComposerStaticInitb7f164c71a40d0b1566c2b0b40b03af3::$files;
|
||||
$includeFiles = Composer\Autoload\ComposerStaticInit881c9b4567214d9970f1befa65f5626d::$files;
|
||||
} else {
|
||||
$includeFiles = require __DIR__ . '/autoload_files.php';
|
||||
}
|
||||
foreach ($includeFiles as $fileIdentifier => $file) {
|
||||
composerRequireb7f164c71a40d0b1566c2b0b40b03af3($fileIdentifier, $file);
|
||||
composerRequire881c9b4567214d9970f1befa65f5626d($fileIdentifier, $file);
|
||||
}
|
||||
|
||||
return $loader;
|
||||
}
|
||||
}
|
||||
|
||||
function composerRequireb7f164c71a40d0b1566c2b0b40b03af3($fileIdentifier, $file)
|
||||
function composerRequire881c9b4567214d9970f1befa65f5626d($fileIdentifier, $file)
|
||||
{
|
||||
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
||||
require $file;
|
||||
|
8
vendor/composer/autoload_static.php
vendored
8
vendor/composer/autoload_static.php
vendored
@ -4,7 +4,7 @@
|
||||
|
||||
namespace Composer\Autoload;
|
||||
|
||||
class ComposerStaticInitb7f164c71a40d0b1566c2b0b40b03af3
|
||||
class ComposerStaticInit881c9b4567214d9970f1befa65f5626d
|
||||
{
|
||||
public static $files = array (
|
||||
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
|
||||
@ -3821,9 +3821,9 @@ class ComposerStaticInitb7f164c71a40d0b1566c2b0b40b03af3
|
||||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInitb7f164c71a40d0b1566c2b0b40b03af3::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInitb7f164c71a40d0b1566c2b0b40b03af3::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInitb7f164c71a40d0b1566c2b0b40b03af3::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit881c9b4567214d9970f1befa65f5626d::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit881c9b4567214d9970f1befa65f5626d::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit881c9b4567214d9970f1befa65f5626d::$classMap;
|
||||
|
||||
}, null, ClassLoader::class);
|
||||
}
|
||||
|
10
vendor/scoper-autoload.php
vendored
10
vendor/scoper-autoload.php
vendored
@ -9,8 +9,8 @@ $loader = require_once __DIR__.'/autoload.php';
|
||||
if (!class_exists('AutoloadIncluder', false) && !interface_exists('AutoloadIncluder', false) && !trait_exists('AutoloadIncluder', false)) {
|
||||
spl_autoload_call('RectorPrefix20211215\AutoloadIncluder');
|
||||
}
|
||||
if (!class_exists('ComposerAutoloaderInitb7f164c71a40d0b1566c2b0b40b03af3', false) && !interface_exists('ComposerAutoloaderInitb7f164c71a40d0b1566c2b0b40b03af3', false) && !trait_exists('ComposerAutoloaderInitb7f164c71a40d0b1566c2b0b40b03af3', false)) {
|
||||
spl_autoload_call('RectorPrefix20211215\ComposerAutoloaderInitb7f164c71a40d0b1566c2b0b40b03af3');
|
||||
if (!class_exists('ComposerAutoloaderInit881c9b4567214d9970f1befa65f5626d', false) && !interface_exists('ComposerAutoloaderInit881c9b4567214d9970f1befa65f5626d', false) && !trait_exists('ComposerAutoloaderInit881c9b4567214d9970f1befa65f5626d', false)) {
|
||||
spl_autoload_call('RectorPrefix20211215\ComposerAutoloaderInit881c9b4567214d9970f1befa65f5626d');
|
||||
}
|
||||
if (!class_exists('Helmich\TypoScriptParser\Parser\AST\Statement', false) && !interface_exists('Helmich\TypoScriptParser\Parser\AST\Statement', false) && !trait_exists('Helmich\TypoScriptParser\Parser\AST\Statement', false)) {
|
||||
spl_autoload_call('RectorPrefix20211215\Helmich\TypoScriptParser\Parser\AST\Statement');
|
||||
@ -78,9 +78,9 @@ if (!function_exists('print_node')) {
|
||||
return \RectorPrefix20211215\print_node(...func_get_args());
|
||||
}
|
||||
}
|
||||
if (!function_exists('composerRequireb7f164c71a40d0b1566c2b0b40b03af3')) {
|
||||
function composerRequireb7f164c71a40d0b1566c2b0b40b03af3() {
|
||||
return \RectorPrefix20211215\composerRequireb7f164c71a40d0b1566c2b0b40b03af3(...func_get_args());
|
||||
if (!function_exists('composerRequire881c9b4567214d9970f1befa65f5626d')) {
|
||||
function composerRequire881c9b4567214d9970f1befa65f5626d() {
|
||||
return \RectorPrefix20211215\composerRequire881c9b4567214d9970f1befa65f5626d(...func_get_args());
|
||||
}
|
||||
}
|
||||
if (!function_exists('scanPath')) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user