mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-17 13:28:18 +01:00
Updated Rector to commit 54d89a4a41fe8789736b9ad0a07e7a55c59b244d
54d89a4a41
[BUGFIX] Remove redundant new line (#11)
This commit is contained in:
parent
1d2f9989ce
commit
5f413efa75
@ -23,7 +23,6 @@ final class YamlFileFormatter implements \Rector\FileFormatter\Contract\Formatte
|
||||
{
|
||||
$yaml = \RectorPrefix20210511\Symfony\Component\Yaml\Yaml::parse($file->getFileContent());
|
||||
$newFileContent = \RectorPrefix20210511\Symfony\Component\Yaml\Yaml::dump($yaml, 99, $editorConfigConfiguration->getIndentSize());
|
||||
$newFileContent .= $editorConfigConfiguration->getFinalNewline();
|
||||
$file->changeFileContent($newFileContent);
|
||||
}
|
||||
public function createDefaultEditorConfigConfigurationBuilder() : \Rector\FileFormatter\ValueObjectFactory\EditorConfigConfigurationBuilder
|
||||
|
2
vendor/autoload.php
vendored
2
vendor/autoload.php
vendored
@ -4,4 +4,4 @@
|
||||
|
||||
require_once __DIR__ . '/composer/autoload_real.php';
|
||||
|
||||
return ComposerAutoloaderInit5b2d5c5c89deb04600b7773799212ab9::getLoader();
|
||||
return ComposerAutoloaderInit0e9023fe060840085fb755bf5ce124b2::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 ComposerAutoloaderInit5b2d5c5c89deb04600b7773799212ab9
|
||||
class ComposerAutoloaderInit0e9023fe060840085fb755bf5ce124b2
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
@ -22,15 +22,15 @@ class ComposerAutoloaderInit5b2d5c5c89deb04600b7773799212ab9
|
||||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInit5b2d5c5c89deb04600b7773799212ab9', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInit0e9023fe060840085fb755bf5ce124b2', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit5b2d5c5c89deb04600b7773799212ab9', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit0e9023fe060840085fb755bf5ce124b2', '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\ComposerStaticInit5b2d5c5c89deb04600b7773799212ab9::getInitializer($loader));
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit0e9023fe060840085fb755bf5ce124b2::getInitializer($loader));
|
||||
} else {
|
||||
$classMap = require __DIR__ . '/autoload_classmap.php';
|
||||
if ($classMap) {
|
||||
@ -42,19 +42,19 @@ class ComposerAutoloaderInit5b2d5c5c89deb04600b7773799212ab9
|
||||
$loader->register(true);
|
||||
|
||||
if ($useStaticLoader) {
|
||||
$includeFiles = Composer\Autoload\ComposerStaticInit5b2d5c5c89deb04600b7773799212ab9::$files;
|
||||
$includeFiles = Composer\Autoload\ComposerStaticInit0e9023fe060840085fb755bf5ce124b2::$files;
|
||||
} else {
|
||||
$includeFiles = require __DIR__ . '/autoload_files.php';
|
||||
}
|
||||
foreach ($includeFiles as $fileIdentifier => $file) {
|
||||
composerRequire5b2d5c5c89deb04600b7773799212ab9($fileIdentifier, $file);
|
||||
composerRequire0e9023fe060840085fb755bf5ce124b2($fileIdentifier, $file);
|
||||
}
|
||||
|
||||
return $loader;
|
||||
}
|
||||
}
|
||||
|
||||
function composerRequire5b2d5c5c89deb04600b7773799212ab9($fileIdentifier, $file)
|
||||
function composerRequire0e9023fe060840085fb755bf5ce124b2($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 ComposerStaticInit5b2d5c5c89deb04600b7773799212ab9
|
||||
class ComposerStaticInit0e9023fe060840085fb755bf5ce124b2
|
||||
{
|
||||
public static $files = array (
|
||||
'a4a119a56e50fbb293281d9a48007e0e' => __DIR__ . '/..' . '/symfony/polyfill-php80/bootstrap.php',
|
||||
@ -3465,9 +3465,9 @@ class ComposerStaticInit5b2d5c5c89deb04600b7773799212ab9
|
||||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit5b2d5c5c89deb04600b7773799212ab9::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit5b2d5c5c89deb04600b7773799212ab9::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit5b2d5c5c89deb04600b7773799212ab9::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit0e9023fe060840085fb755bf5ce124b2::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit0e9023fe060840085fb755bf5ce124b2::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit0e9023fe060840085fb755bf5ce124b2::$classMap;
|
||||
|
||||
}, null, ClassLoader::class);
|
||||
}
|
||||
|
10
vendor/scoper-autoload.php
vendored
10
vendor/scoper-autoload.php
vendored
@ -21,8 +21,8 @@ if (!class_exists('SomeTestCase', false) && !interface_exists('SomeTestCase', fa
|
||||
if (!class_exists('CheckoutEntityFactory', false) && !interface_exists('CheckoutEntityFactory', false) && !trait_exists('CheckoutEntityFactory', false)) {
|
||||
spl_autoload_call('RectorPrefix20210511\CheckoutEntityFactory');
|
||||
}
|
||||
if (!class_exists('ComposerAutoloaderInit5b2d5c5c89deb04600b7773799212ab9', false) && !interface_exists('ComposerAutoloaderInit5b2d5c5c89deb04600b7773799212ab9', false) && !trait_exists('ComposerAutoloaderInit5b2d5c5c89deb04600b7773799212ab9', false)) {
|
||||
spl_autoload_call('RectorPrefix20210511\ComposerAutoloaderInit5b2d5c5c89deb04600b7773799212ab9');
|
||||
if (!class_exists('ComposerAutoloaderInit0e9023fe060840085fb755bf5ce124b2', false) && !interface_exists('ComposerAutoloaderInit0e9023fe060840085fb755bf5ce124b2', false) && !trait_exists('ComposerAutoloaderInit0e9023fe060840085fb755bf5ce124b2', false)) {
|
||||
spl_autoload_call('RectorPrefix20210511\ComposerAutoloaderInit0e9023fe060840085fb755bf5ce124b2');
|
||||
}
|
||||
if (!class_exists('Doctrine\Inflector\Inflector', false) && !interface_exists('Doctrine\Inflector\Inflector', false) && !trait_exists('Doctrine\Inflector\Inflector', false)) {
|
||||
spl_autoload_call('RectorPrefix20210511\Doctrine\Inflector\Inflector');
|
||||
@ -92,9 +92,9 @@ if (!function_exists('print_node')) {
|
||||
return \RectorPrefix20210511\print_node(...func_get_args());
|
||||
}
|
||||
}
|
||||
if (!function_exists('composerRequire5b2d5c5c89deb04600b7773799212ab9')) {
|
||||
function composerRequire5b2d5c5c89deb04600b7773799212ab9() {
|
||||
return \RectorPrefix20210511\composerRequire5b2d5c5c89deb04600b7773799212ab9(...func_get_args());
|
||||
if (!function_exists('composerRequire0e9023fe060840085fb755bf5ce124b2')) {
|
||||
function composerRequire0e9023fe060840085fb755bf5ce124b2() {
|
||||
return \RectorPrefix20210511\composerRequire0e9023fe060840085fb755bf5ce124b2(...func_get_args());
|
||||
}
|
||||
}
|
||||
if (!function_exists('parseArgs')) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user