mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-01 00:40:52 +00:00
Updated Rector to commit 63fbf41cc9a6cc66c720926beec4603892eb21d0
63fbf41cc9
[Formatter] Remove unused CompleteUnifiedDiffOutputBuilderFactory (#5510)
This commit is contained in:
parent
120a7594fb
commit
6752d80c19
|
@ -19,12 +19,12 @@ final class VersionResolver
|
|||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = 'b2d76bd6eff80326b8f89a061f44b06cf90ba49a';
|
||||
public const PACKAGE_VERSION = '63fbf41cc9a6cc66c720926beec4603892eb21d0';
|
||||
/**
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2024-01-27 13:19:51';
|
||||
public const RELEASE_DATE = '2024-01-28 00:52:19';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
|
|
|
@ -1,32 +0,0 @@
|
|||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace Rector\Console\Formatter;
|
||||
|
||||
use Rector\Util\Reflection\PrivatesAccessor;
|
||||
use RectorPrefix202401\SebastianBergmann\Diff\Output\UnifiedDiffOutputBuilder;
|
||||
/**
|
||||
* @api
|
||||
* Creates @see UnifiedDiffOutputBuilder with "$contextLines = 1000;"
|
||||
*/
|
||||
final class CompleteUnifiedDiffOutputBuilderFactory
|
||||
{
|
||||
/**
|
||||
* @readonly
|
||||
* @var \Rector\Util\Reflection\PrivatesAccessor
|
||||
*/
|
||||
private $privatesAccessor;
|
||||
public function __construct(PrivatesAccessor $privatesAccessor)
|
||||
{
|
||||
$this->privatesAccessor = $privatesAccessor;
|
||||
}
|
||||
/**
|
||||
* @api
|
||||
*/
|
||||
public function create() : UnifiedDiffOutputBuilder
|
||||
{
|
||||
$unifiedDiffOutputBuilder = new UnifiedDiffOutputBuilder('');
|
||||
$this->privatesAccessor->setPrivateProperty($unifiedDiffOutputBuilder, 'contextLines', 10000);
|
||||
return $unifiedDiffOutputBuilder;
|
||||
}
|
||||
}
|
1
vendor/composer/autoload_classmap.php
vendored
1
vendor/composer/autoload_classmap.php
vendored
|
@ -1185,7 +1185,6 @@ return array(
|
|||
'Rector\\Console\\ConsoleApplication' => $baseDir . '/src/Console/ConsoleApplication.php',
|
||||
'Rector\\Console\\ExitCode' => $baseDir . '/src/Console/ExitCode.php',
|
||||
'Rector\\Console\\Formatter\\ColorConsoleDiffFormatter' => $baseDir . '/src/Console/Formatter/ColorConsoleDiffFormatter.php',
|
||||
'Rector\\Console\\Formatter\\CompleteUnifiedDiffOutputBuilderFactory' => $baseDir . '/src/Console/Formatter/CompleteUnifiedDiffOutputBuilderFactory.php',
|
||||
'Rector\\Console\\Formatter\\ConsoleDiffer' => $baseDir . '/src/Console/Formatter/ConsoleDiffer.php',
|
||||
'Rector\\Console\\Output\\OutputFormatterCollector' => $baseDir . '/src/Console/Output/OutputFormatterCollector.php',
|
||||
'Rector\\Console\\ProcessConfigureDecorator' => $baseDir . '/src/Console/ProcessConfigureDecorator.php',
|
||||
|
|
1
vendor/composer/autoload_static.php
vendored
1
vendor/composer/autoload_static.php
vendored
|
@ -1399,7 +1399,6 @@ class ComposerStaticInitf637847380e2ddf55dcae18dded1d2b3
|
|||
'Rector\\Console\\ConsoleApplication' => __DIR__ . '/../..' . '/src/Console/ConsoleApplication.php',
|
||||
'Rector\\Console\\ExitCode' => __DIR__ . '/../..' . '/src/Console/ExitCode.php',
|
||||
'Rector\\Console\\Formatter\\ColorConsoleDiffFormatter' => __DIR__ . '/../..' . '/src/Console/Formatter/ColorConsoleDiffFormatter.php',
|
||||
'Rector\\Console\\Formatter\\CompleteUnifiedDiffOutputBuilderFactory' => __DIR__ . '/../..' . '/src/Console/Formatter/CompleteUnifiedDiffOutputBuilderFactory.php',
|
||||
'Rector\\Console\\Formatter\\ConsoleDiffer' => __DIR__ . '/../..' . '/src/Console/Formatter/ConsoleDiffer.php',
|
||||
'Rector\\Console\\Output\\OutputFormatterCollector' => __DIR__ . '/../..' . '/src/Console/Output/OutputFormatterCollector.php',
|
||||
'Rector\\Console\\ProcessConfigureDecorator' => __DIR__ . '/../..' . '/src/Console/ProcessConfigureDecorator.php',
|
||||
|
|
8
vendor/composer/installed.json
vendored
8
vendor/composer/installed.json
vendored
|
@ -1866,12 +1866,12 @@
|
|||
"source": {
|
||||
"type": "git",
|
||||
"url": "https:\/\/github.com\/rectorphp\/rector-symfony.git",
|
||||
"reference": "9772f7ab4e335fce7624d0ebd7a993ad96b58de8"
|
||||
"reference": "989040ed45e1f51a43520382d09cab54cbfd41c9"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-symfony\/zipball\/9772f7ab4e335fce7624d0ebd7a993ad96b58de8",
|
||||
"reference": "9772f7ab4e335fce7624d0ebd7a993ad96b58de8",
|
||||
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-symfony\/zipball\/989040ed45e1f51a43520382d09cab54cbfd41c9",
|
||||
"reference": "989040ed45e1f51a43520382d09cab54cbfd41c9",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -1900,7 +1900,7 @@
|
|||
"tomasvotruba\/class-leak": "^0.2.6",
|
||||
"tracy\/tracy": "^2.10"
|
||||
},
|
||||
"time": "2024-01-22T15:10:17+00:00",
|
||||
"time": "2024-01-27T13:46:58+00:00",
|
||||
"default-branch": true,
|
||||
"type": "rector-extension",
|
||||
"extra": {
|
||||
|
|
2
vendor/composer/installed.php
vendored
2
vendor/composer/installed.php
vendored
File diff suppressed because one or more lines are too long
|
@ -9,7 +9,7 @@ namespace Rector\RectorInstaller;
|
|||
*/
|
||||
final class GeneratedConfig
|
||||
{
|
||||
public const EXTENSIONS = array('rector/rector-doctrine' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-doctrine', 'relative_install_path' => '../../rector-doctrine', 'extra' => NULL, 'version' => 'dev-main b419ce7'), 'rector/rector-downgrade-php' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-downgrade-php', 'relative_install_path' => '../../rector-downgrade-php', 'extra' => NULL, 'version' => 'dev-main 44d177b'), 'rector/rector-phpunit' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-phpunit', 'relative_install_path' => '../../rector-phpunit', 'extra' => NULL, 'version' => 'dev-main f091938'), 'rector/rector-symfony' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-symfony', 'relative_install_path' => '../../rector-symfony', 'extra' => NULL, 'version' => 'dev-main 9772f7a'));
|
||||
public const EXTENSIONS = array('rector/rector-doctrine' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-doctrine', 'relative_install_path' => '../../rector-doctrine', 'extra' => NULL, 'version' => 'dev-main b419ce7'), 'rector/rector-downgrade-php' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-downgrade-php', 'relative_install_path' => '../../rector-downgrade-php', 'extra' => NULL, 'version' => 'dev-main 44d177b'), 'rector/rector-phpunit' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-phpunit', 'relative_install_path' => '../../rector-phpunit', 'extra' => NULL, 'version' => 'dev-main f091938'), 'rector/rector-symfony' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-symfony', 'relative_install_path' => '../../rector-symfony', 'extra' => NULL, 'version' => 'dev-main 989040e'));
|
||||
private function __construct()
|
||||
{
|
||||
}
|
||||
|
|
|
@ -3,11 +3,10 @@
|
|||
declare (strict_types=1);
|
||||
namespace Rector\Symfony\Set;
|
||||
|
||||
use Rector\Set\Contract\SetListInterface;
|
||||
/**
|
||||
* @api used in public
|
||||
*/
|
||||
final class FOSRestSetList implements SetListInterface
|
||||
final class FOSRestSetList
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
|
|
|
@ -3,11 +3,10 @@
|
|||
declare (strict_types=1);
|
||||
namespace Rector\Symfony\Set;
|
||||
|
||||
use Rector\Set\Contract\SetListInterface;
|
||||
/**
|
||||
* @api
|
||||
*/
|
||||
final class JMSSetList implements SetListInterface
|
||||
final class JMSSetList
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
|
|
|
@ -3,11 +3,10 @@
|
|||
declare (strict_types=1);
|
||||
namespace Rector\Symfony\Set;
|
||||
|
||||
use Rector\Set\Contract\SetListInterface;
|
||||
/**
|
||||
* @api
|
||||
*/
|
||||
final class SensiolabsSetList implements SetListInterface
|
||||
final class SensiolabsSetList
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
|
|
|
@ -3,14 +3,13 @@
|
|||
declare (strict_types=1);
|
||||
namespace Rector\Symfony\Set;
|
||||
|
||||
use Rector\Set\Contract\SetListInterface;
|
||||
/**
|
||||
* @api
|
||||
*/
|
||||
final class SwiftMailerSetList implements SetListInterface
|
||||
final class SwiftMailerSetList
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public const ANNOTATIONS_TO_ATTRIBUTES = __DIR__ . '/../../config/sets/swiftmailer/swiftmailer-to-symfony-mailer.php';
|
||||
public const SWIFT_TO_SYMFONY = __DIR__ . '/../../config/sets/swiftmailer/swiftmailer-to-symfony-mailer.php';
|
||||
}
|
||||
|
|
|
@ -3,12 +3,11 @@
|
|||
declare (strict_types=1);
|
||||
namespace Rector\Symfony\Set;
|
||||
|
||||
use Rector\Set\Contract\SetListInterface;
|
||||
/**
|
||||
* @deprecated Instead of too bloated and overriding level sets, use only latest Symfony set
|
||||
* @api
|
||||
*/
|
||||
final class SymfonyLevelSetList implements SetListInterface
|
||||
final class SymfonyLevelSetList
|
||||
{
|
||||
/**
|
||||
* @deprecated Instead of too bloated and overriding level sets, use only latest Symfony set
|
||||
|
|
|
@ -3,11 +3,10 @@
|
|||
declare (strict_types=1);
|
||||
namespace Rector\Symfony\Set;
|
||||
|
||||
use Rector\Set\Contract\SetListInterface;
|
||||
/**
|
||||
* @api
|
||||
*/
|
||||
final class SymfonySetList implements SetListInterface
|
||||
final class SymfonySetList
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
|
|
|
@ -3,12 +3,11 @@
|
|||
declare (strict_types=1);
|
||||
namespace Rector\Symfony\Set;
|
||||
|
||||
use Rector\Set\Contract\SetListInterface;
|
||||
/**
|
||||
* @deprecated Instead of too bloated and overriding level sets, use only latest Twig set
|
||||
* @api
|
||||
*/
|
||||
final class TwigLevelSetList implements SetListInterface
|
||||
final class TwigLevelSetList
|
||||
{
|
||||
/**
|
||||
* @deprecated Instead of too bloated and overriding level sets, use only latest Twig set
|
||||
|
|
|
@ -3,11 +3,10 @@
|
|||
declare (strict_types=1);
|
||||
namespace Rector\Symfony\Set;
|
||||
|
||||
use Rector\Set\Contract\SetListInterface;
|
||||
/**
|
||||
* @api
|
||||
*/
|
||||
final class TwigSetList implements SetListInterface
|
||||
final class TwigSetList
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
|
|
Loading…
Reference in New Issue
Block a user