Updated Rector to commit 8d9ff0a35673fc8c4566b92f464ce36bbbe03ba4

8d9ff0a356 [Core][e2e] Handle space before content and space before open tag on deep content on PhpFileProcessor (#3418)
This commit is contained in:
Tomas Votruba 2023-02-26 18:36:59 +00:00
parent ddf1288090
commit 1317535781
5 changed files with 15 additions and 15 deletions

View File

@ -180,15 +180,15 @@ final class PhpFileProcessor implements FileProcessorInterface
* On very first content level
*/
$originalFileContent = $file->getOriginalFileContent();
if (\ltrim($originalFileContent) === $newContent) {
$ltrimOriginalFileContent = \ltrim($originalFileContent);
if ($ltrimOriginalFileContent === $newContent) {
return;
}
/**
* Handle space before <?php wiped on print format preserving
* On inside content level
*/
$cleanedOriginalFileContent = Strings::replace($originalFileContent, self::OPEN_TAG_SPACED_REGEX, '<?php');
if ($cleanedOriginalFileContent === $newContent) {
if (Strings::replace($ltrimOriginalFileContent, self::OPEN_TAG_SPACED_REGEX, '<?php') === $newContent) {
return;
}
}

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = 'a8731b5c07598bbd6480c8f081c0f20f0e2e217f';
public const PACKAGE_VERSION = '8d9ff0a35673fc8c4566b92f464ce36bbbe03ba4';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2023-02-25 18:39:20';
public const RELEASE_DATE = '2023-02-26 18:32:36';
/**
* @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 ComposerAutoloaderInit63801b51081adf8aa81368f5d82ac716::getLoader();
return ComposerAutoloaderInit56e9e875ac384a387945b948970ad4f6::getLoader();

View File

@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit63801b51081adf8aa81368f5d82ac716
class ComposerAutoloaderInit56e9e875ac384a387945b948970ad4f6
{
private static $loader;
@ -22,17 +22,17 @@ class ComposerAutoloaderInit63801b51081adf8aa81368f5d82ac716
return self::$loader;
}
spl_autoload_register(array('ComposerAutoloaderInit63801b51081adf8aa81368f5d82ac716', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInit56e9e875ac384a387945b948970ad4f6', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
spl_autoload_unregister(array('ComposerAutoloaderInit63801b51081adf8aa81368f5d82ac716', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInit56e9e875ac384a387945b948970ad4f6', 'loadClassLoader'));
require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInit63801b51081adf8aa81368f5d82ac716::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInit56e9e875ac384a387945b948970ad4f6::getInitializer($loader));
$loader->setClassMapAuthoritative(true);
$loader->register(true);
$filesToLoad = \Composer\Autoload\ComposerStaticInit63801b51081adf8aa81368f5d82ac716::$files;
$filesToLoad = \Composer\Autoload\ComposerStaticInit56e9e875ac384a387945b948970ad4f6::$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 ComposerStaticInit63801b51081adf8aa81368f5d82ac716
class ComposerStaticInit56e9e875ac384a387945b948970ad4f6
{
public static $files = array (
'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php',
@ -3125,9 +3125,9 @@ class ComposerStaticInit63801b51081adf8aa81368f5d82ac716
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInit63801b51081adf8aa81368f5d82ac716::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit63801b51081adf8aa81368f5d82ac716::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit63801b51081adf8aa81368f5d82ac716::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInit56e9e875ac384a387945b948970ad4f6::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit56e9e875ac384a387945b948970ad4f6::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit56e9e875ac384a387945b948970ad4f6::$classMap;
}, null, ClassLoader::class);
}