Updated Rector to commit 3d7de8a15dfd61b80af51711c28a03ef886267e1

3d7de8a15d remove unused DoctrineAnnotationFactory
This commit is contained in:
Tomas Votruba 2023-01-15 00:59:39 +00:00
parent 01b8c03d60
commit b57aa6b1c1
10 changed files with 23 additions and 23 deletions

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = '8bf0045044d1357c6d10bc61e84fd962f69ccc20';
public const PACKAGE_VERSION = '3d7de8a15dfd61b80af51711c28a03ef886267e1';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2023-01-15 00:44:29';
public const RELEASE_DATE = '2023-01-15 00:55:43';
/**
* @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 ComposerAutoloaderInit9b6fe8c2e325a9b6213c78eead332d87::getLoader();
return ComposerAutoloaderInit39fe5fb82431888e736e091c51300842::getLoader();

View File

@ -1897,6 +1897,7 @@ return array(
'Rector\\NodeCollector\\StaticAnalyzer' => $baseDir . '/packages/NodeCollector/StaticAnalyzer.php',
'Rector\\NodeCollector\\ValueObject\\ArrayCallable' => $baseDir . '/packages/NodeCollector/ValueObject/ArrayCallable.php',
'Rector\\NodeCollector\\ValueObject\\ArrayCallableDynamicMethod' => $baseDir . '/packages/NodeCollector/ValueObject/ArrayCallableDynamicMethod.php',
'Rector\\NodeFactory\\DoctrineAnnotationFactory' => $vendorDir . '/rector/rector-downgrade-php/src/NodeFactory/DoctrineAnnotationFactory.php',
'Rector\\NodeManipulator\\PropertyDecorator' => $vendorDir . '/rector/rector-downgrade-php/src/NodeManipulator/PropertyDecorator.php',
'Rector\\NodeNameResolver\\Contract\\NodeNameResolverInterface' => $baseDir . '/packages/NodeNameResolver/Contract/NodeNameResolverInterface.php',
'Rector\\NodeNameResolver\\Error\\InvalidNameNodeReporter' => $baseDir . '/packages/NodeNameResolver/Error/InvalidNameNodeReporter.php',
@ -2292,7 +2293,6 @@ return array(
'Rector\\PhpAttribute\\Enum\\DocTagNodeState' => $baseDir . '/packages/PhpAttribute/Enum/DocTagNodeState.php',
'Rector\\PhpAttribute\\NodeAnalyzer\\ExprParameterReflectionTypeCorrector' => $baseDir . '/packages/PhpAttribute/NodeAnalyzer/ExprParameterReflectionTypeCorrector.php',
'Rector\\PhpAttribute\\NodeFactory\\AttributeNameFactory' => $baseDir . '/packages/PhpAttribute/NodeFactory/AttributeNameFactory.php',
'Rector\\PhpAttribute\\NodeFactory\\DoctrineAnnotationFactory' => $baseDir . '/packages/PhpAttribute/NodeFactory/DoctrineAnnotationFactory.php',
'Rector\\PhpAttribute\\NodeFactory\\NamedArgsFactory' => $baseDir . '/packages/PhpAttribute/NodeFactory/NamedArgsFactory.php',
'Rector\\PhpAttribute\\NodeFactory\\PhpAttributeGroupFactory' => $baseDir . '/packages/PhpAttribute/NodeFactory/PhpAttributeGroupFactory.php',
'Rector\\PhpAttribute\\NodeFactory\\PhpNestedAttributeGroupFactory' => $baseDir . '/packages/PhpAttribute/NodeFactory/PhpNestedAttributeGroupFactory.php',

View File

@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit9b6fe8c2e325a9b6213c78eead332d87
class ComposerAutoloaderInit39fe5fb82431888e736e091c51300842
{
private static $loader;
@ -22,17 +22,17 @@ class ComposerAutoloaderInit9b6fe8c2e325a9b6213c78eead332d87
return self::$loader;
}
spl_autoload_register(array('ComposerAutoloaderInit9b6fe8c2e325a9b6213c78eead332d87', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInit39fe5fb82431888e736e091c51300842', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
spl_autoload_unregister(array('ComposerAutoloaderInit9b6fe8c2e325a9b6213c78eead332d87', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInit39fe5fb82431888e736e091c51300842', 'loadClassLoader'));
require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInit9b6fe8c2e325a9b6213c78eead332d87::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInit39fe5fb82431888e736e091c51300842::getInitializer($loader));
$loader->setClassMapAuthoritative(true);
$loader->register(true);
$filesToLoad = \Composer\Autoload\ComposerStaticInit9b6fe8c2e325a9b6213c78eead332d87::$files;
$filesToLoad = \Composer\Autoload\ComposerStaticInit39fe5fb82431888e736e091c51300842::$files;
$requireFile = 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 ComposerStaticInit9b6fe8c2e325a9b6213c78eead332d87
class ComposerStaticInit39fe5fb82431888e736e091c51300842
{
public static $files = array (
'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php',
@ -2142,6 +2142,7 @@ class ComposerStaticInit9b6fe8c2e325a9b6213c78eead332d87
'Rector\\NodeCollector\\StaticAnalyzer' => __DIR__ . '/../..' . '/packages/NodeCollector/StaticAnalyzer.php',
'Rector\\NodeCollector\\ValueObject\\ArrayCallable' => __DIR__ . '/../..' . '/packages/NodeCollector/ValueObject/ArrayCallable.php',
'Rector\\NodeCollector\\ValueObject\\ArrayCallableDynamicMethod' => __DIR__ . '/../..' . '/packages/NodeCollector/ValueObject/ArrayCallableDynamicMethod.php',
'Rector\\NodeFactory\\DoctrineAnnotationFactory' => __DIR__ . '/..' . '/rector/rector-downgrade-php/src/NodeFactory/DoctrineAnnotationFactory.php',
'Rector\\NodeManipulator\\PropertyDecorator' => __DIR__ . '/..' . '/rector/rector-downgrade-php/src/NodeManipulator/PropertyDecorator.php',
'Rector\\NodeNameResolver\\Contract\\NodeNameResolverInterface' => __DIR__ . '/../..' . '/packages/NodeNameResolver/Contract/NodeNameResolverInterface.php',
'Rector\\NodeNameResolver\\Error\\InvalidNameNodeReporter' => __DIR__ . '/../..' . '/packages/NodeNameResolver/Error/InvalidNameNodeReporter.php',
@ -2537,7 +2538,6 @@ class ComposerStaticInit9b6fe8c2e325a9b6213c78eead332d87
'Rector\\PhpAttribute\\Enum\\DocTagNodeState' => __DIR__ . '/../..' . '/packages/PhpAttribute/Enum/DocTagNodeState.php',
'Rector\\PhpAttribute\\NodeAnalyzer\\ExprParameterReflectionTypeCorrector' => __DIR__ . '/../..' . '/packages/PhpAttribute/NodeAnalyzer/ExprParameterReflectionTypeCorrector.php',
'Rector\\PhpAttribute\\NodeFactory\\AttributeNameFactory' => __DIR__ . '/../..' . '/packages/PhpAttribute/NodeFactory/AttributeNameFactory.php',
'Rector\\PhpAttribute\\NodeFactory\\DoctrineAnnotationFactory' => __DIR__ . '/../..' . '/packages/PhpAttribute/NodeFactory/DoctrineAnnotationFactory.php',
'Rector\\PhpAttribute\\NodeFactory\\NamedArgsFactory' => __DIR__ . '/../..' . '/packages/PhpAttribute/NodeFactory/NamedArgsFactory.php',
'Rector\\PhpAttribute\\NodeFactory\\PhpAttributeGroupFactory' => __DIR__ . '/../..' . '/packages/PhpAttribute/NodeFactory/PhpAttributeGroupFactory.php',
'Rector\\PhpAttribute\\NodeFactory\\PhpNestedAttributeGroupFactory' => __DIR__ . '/../..' . '/packages/PhpAttribute/NodeFactory/PhpNestedAttributeGroupFactory.php',
@ -3066,9 +3066,9 @@ class ComposerStaticInit9b6fe8c2e325a9b6213c78eead332d87
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInit9b6fe8c2e325a9b6213c78eead332d87::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit9b6fe8c2e325a9b6213c78eead332d87::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit9b6fe8c2e325a9b6213c78eead332d87::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInit39fe5fb82431888e736e091c51300842::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit39fe5fb82431888e736e091c51300842::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit39fe5fb82431888e736e091c51300842::$classMap;
}, null, ClassLoader::class);
}

View File

@ -1913,12 +1913,12 @@
"source": {
"type": "git",
"url": "https:\/\/github.com\/rectorphp\/rector-downgrade-php.git",
"reference": "ae781e83f50bf04df0c13e9d623e0243c953b541"
"reference": "6e453a28f2c9d176055b0ce0d44de59dfa121da0"
},
"dist": {
"type": "zip",
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-downgrade-php\/zipball\/ae781e83f50bf04df0c13e9d623e0243c953b541",
"reference": "ae781e83f50bf04df0c13e9d623e0243c953b541",
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-downgrade-php\/zipball\/6e453a28f2c9d176055b0ce0d44de59dfa121da0",
"reference": "6e453a28f2c9d176055b0ce0d44de59dfa121da0",
"shasum": ""
},
"require": {
@ -1944,7 +1944,7 @@
"symplify\/rule-doc-generator": "^11.1",
"symplify\/vendor-patches": "^11.1"
},
"time": "2023-01-15T00:42:19+00:00",
"time": "2023-01-15T00:55:33+00:00",
"default-branch": true,
"type": "rector-extension",
"extra": {

File diff suppressed because one or more lines are too long

View File

@ -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/vendor/rector/rector-doctrine', 'relative_install_path' => '../../rector-doctrine', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main f0c3c11'), 'rector/rector-downgrade-php' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-downgrade-php', 'relative_install_path' => '../../rector-downgrade-php', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main ae781e8'), 'rector/rector-php-parser' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-php-parser', 'relative_install_path' => '../../rector-php-parser', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 9ea5f62'), 'rector/rector-phpunit' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-phpunit', 'relative_install_path' => '../../rector-phpunit', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 2cfc0a5'), 'rector/rector-symfony' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-symfony', 'relative_install_path' => '../../rector-symfony', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 3b132c1'));
public const EXTENSIONS = array('rector/rector-doctrine' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-doctrine', 'relative_install_path' => '../../rector-doctrine', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main f0c3c11'), 'rector/rector-downgrade-php' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-downgrade-php', 'relative_install_path' => '../../rector-downgrade-php', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 6e453a2'), 'rector/rector-php-parser' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-php-parser', 'relative_install_path' => '../../rector-php-parser', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 9ea5f62'), 'rector/rector-phpunit' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-phpunit', 'relative_install_path' => '../../rector-phpunit', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 2cfc0a5'), 'rector/rector-symfony' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-symfony', 'relative_install_path' => '../../rector-symfony', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 3b132c1'));
private function __construct()
{
}

View File

@ -16,7 +16,7 @@ use PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocTagNode;
use Rector\Core\Contract\Rector\ConfigurableRectorInterface;
use Rector\Core\Rector\AbstractRector;
use Rector\DowngradePhp80\ValueObject\DowngradeAttributeToAnnotation;
use Rector\PhpAttribute\NodeFactory\DoctrineAnnotationFactory;
use Rector\NodeFactory\DoctrineAnnotationFactory;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
use RectorPrefix202301\Webmozart\Assert\Assert;
@ -37,7 +37,7 @@ final class DowngradeAttributeToAnnotationRector extends AbstractRector implemen
private $isDowngraded = \false;
/**
* @readonly
* @var \Rector\PhpAttribute\NodeFactory\DoctrineAnnotationFactory
* @var \Rector\NodeFactory\DoctrineAnnotationFactory
*/
private $doctrineAnnotationFactory;
public function __construct(DoctrineAnnotationFactory $doctrineAnnotationFactory)

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace Rector\PhpAttribute\NodeFactory;
namespace Rector\NodeFactory;
use PhpParser\Node\Arg;
use PhpParser\Node\Attribute;