Skip to content

Commit

Permalink
Updated Rector to commit f16892e
Browse files Browse the repository at this point in the history
rectorphp/rector-src@f16892e [Doc] Add PHPOffice to list of packages (#1504)
  • Loading branch information
TomasVotruba committed Dec 15, 2021
1 parent c6604f6 commit 7b226cf
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
4 changes: 2 additions & 2 deletions src/Application/VersionResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -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__);
Expand Down
2 changes: 1 addition & 1 deletion vendor/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

require_once __DIR__ . '/composer/autoload_real.php';

return ComposerAutoloaderInitb7f164c71a40d0b1566c2b0b40b03af3::getLoader();
return ComposerAutoloaderInit881c9b4567214d9970f1befa65f5626d::getLoader();
14 changes: 7 additions & 7 deletions vendor/composer/autoload_real.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

// autoload_real.php @generated by Composer

class ComposerAutoloaderInitb7f164c71a40d0b1566c2b0b40b03af3
class ComposerAutoloaderInit881c9b4567214d9970f1befa65f5626d
{
private static $loader;

Expand All @@ -22,15 +22,15 @@ public static function getLoader()
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) {
Expand All @@ -42,19 +42,19 @@ public static function getLoader()
$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;
Expand Down
8 changes: 4 additions & 4 deletions vendor/composer/autoload_static.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Composer\Autoload;

class ComposerStaticInitb7f164c71a40d0b1566c2b0b40b03af3
class ComposerStaticInit881c9b4567214d9970f1befa65f5626d
{
public static $files = array (
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
Expand Down Expand Up @@ -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);
}
Expand Down
10 changes: 5 additions & 5 deletions vendor/scoper-autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
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');
Expand Down Expand Up @@ -78,9 +78,9 @@ function 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')) {
Expand Down

0 comments on commit 7b226cf

Please sign in to comment.