Skip to content

Commit 5b34b97

Browse files
committed
Updated Rector to commit f8814b1d707d72e284870759d1f446848fa003b2
rectorphp/rector-src@f8814b1 [CodeQuality] Remove type addition on CompleteDynamicPropertiesRector (#3248)
1 parent 374d2f5 commit 5b34b97

File tree

9 files changed

+37
-19
lines changed

9 files changed

+37
-19
lines changed

‎vendor/autoload.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@
2222

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

25-
return ComposerAutoloaderInit70a4bf84a6ddbe6d73421f3dc2a511cc::getLoader();
25+
return ComposerAutoloaderInit0b20950f09befe6b2ffcb1e4fd36ad44::getLoader();

‎vendor/composer/autoload_real.php‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// autoload_real.php @generated by Composer
44

5-
class ComposerAutoloaderInit70a4bf84a6ddbe6d73421f3dc2a511cc
5+
class ComposerAutoloaderInit0b20950f09befe6b2ffcb1e4fd36ad44
66
{
77
private static $loader;
88

@@ -22,17 +22,17 @@ public static function getLoader()
2222
return self::$loader;
2323
}
2424

25-
spl_autoload_register(array('ComposerAutoloaderInit70a4bf84a6ddbe6d73421f3dc2a511cc', 'loadClassLoader'), true, true);
25+
spl_autoload_register(array('ComposerAutoloaderInit0b20950f09befe6b2ffcb1e4fd36ad44', 'loadClassLoader'), true, true);
2626
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
27-
spl_autoload_unregister(array('ComposerAutoloaderInit70a4bf84a6ddbe6d73421f3dc2a511cc', 'loadClassLoader'));
27+
spl_autoload_unregister(array('ComposerAutoloaderInit0b20950f09befe6b2ffcb1e4fd36ad44', 'loadClassLoader'));
2828

2929
require __DIR__ . '/autoload_static.php';
30-
call_user_func(\Composer\Autoload\ComposerStaticInit70a4bf84a6ddbe6d73421f3dc2a511cc::getInitializer($loader));
30+
call_user_func(\Composer\Autoload\ComposerStaticInit0b20950f09befe6b2ffcb1e4fd36ad44::getInitializer($loader));
3131

3232
$loader->setClassMapAuthoritative(true);
3333
$loader->register(true);
3434

35-
$filesToLoad = \Composer\Autoload\ComposerStaticInit70a4bf84a6ddbe6d73421f3dc2a511cc::$files;
35+
$filesToLoad = \Composer\Autoload\ComposerStaticInit0b20950f09befe6b2ffcb1e4fd36ad44::$files;
3636
$requireFile = static function ($fileIdentifier, $file) {
3737
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
3838
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;

‎vendor/composer/autoload_static.php‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace Composer\Autoload;
66

7-
class ComposerStaticInit70a4bf84a6ddbe6d73421f3dc2a511cc
7+
class ComposerStaticInit0b20950f09befe6b2ffcb1e4fd36ad44
88
{
99
public static $files = array (
1010
'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php',
@@ -3061,9 +3061,9 @@ class ComposerStaticInit70a4bf84a6ddbe6d73421f3dc2a511cc
30613061
public static function getInitializer(ClassLoader $loader)
30623062
{
30633063
return \Closure::bind(function () use ($loader) {
3064-
$loader->prefixLengthsPsr4 = ComposerStaticInit70a4bf84a6ddbe6d73421f3dc2a511cc::$prefixLengthsPsr4;
3065-
$loader->prefixDirsPsr4 = ComposerStaticInit70a4bf84a6ddbe6d73421f3dc2a511cc::$prefixDirsPsr4;
3066-
$loader->classMap = ComposerStaticInit70a4bf84a6ddbe6d73421f3dc2a511cc::$classMap;
3064+
$loader->prefixLengthsPsr4 = ComposerStaticInit0b20950f09befe6b2ffcb1e4fd36ad44::$prefixLengthsPsr4;
3065+
$loader->prefixDirsPsr4 = ComposerStaticInit0b20950f09befe6b2ffcb1e4fd36ad44::$prefixDirsPsr4;
3066+
$loader->classMap = ComposerStaticInit0b20950f09befe6b2ffcb1e4fd36ad44::$classMap;
30673067

30683068
}, null, ClassLoader::class);
30693069
}

‎vendor/composer/installed.json‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2053,12 +2053,12 @@
20532053
"source": {
20542054
"type": "git",
20552055
"url": "https:\/\/github.com\/rectorphp\/rector-phpunit.git",
2056-
"reference": "a236bc6345cdbeeb8d36e9524b432bdd32cc777a"
2056+
"reference": "3b56cf5a5d2c80da192324553103f201c4791fd8"
20572057
},
20582058
"dist": {
20592059
"type": "zip",
2060-
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-phpunit\/zipball\/a236bc6345cdbeeb8d36e9524b432bdd32cc777a",
2061-
"reference": "a236bc6345cdbeeb8d36e9524b432bdd32cc777a",
2060+
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-phpunit\/zipball\/3b56cf5a5d2c80da192324553103f201c4791fd8",
2061+
"reference": "3b56cf5a5d2c80da192324553103f201c4791fd8",
20622062
"shasum": ""
20632063
},
20642064
"require": {
@@ -2084,7 +2084,7 @@
20842084
"symplify\/rule-doc-generator": "^11.1",
20852085
"symplify\/vendor-patches": "^11.1"
20862086
},
2087-
"time": "2022-12-19T13:49:37+00:00",
2087+
"time": "2022-12-24T12:39:32+00:00",
20882088
"default-branch": true,
20892089
"type": "rector-extension",
20902090
"extra": {

‎vendor/composer/installed.php‎

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

‎vendor/rector/extension-installer/src/GeneratedConfig.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*/
1010
final class GeneratedConfig
1111
{
12-
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 d5c39ae'), '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 6cf8d9d'), '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 a236bc6'), '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 b463377'));
12+
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 d5c39ae'), '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 6cf8d9d'), '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 3b56cf5'), '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 b463377'));
1313
private function __construct()
1414
{
1515
}

‎vendor/rector/rector-phpunit/src/Rector/ClassMethod/DependsAnnotationWithValueToAttributeRector.php‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,17 @@
1111
use Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfo;
1212
use Rector\BetterPhpDocParser\PhpDocManipulator\PhpDocTagRemover;
1313
use Rector\Core\Rector\AbstractRector;
14+
use Rector\Core\ValueObject\PhpVersionFeature;
1415
use Rector\NodeTypeResolver\Node\AttributeKey;
1516
use Rector\PhpAttribute\NodeFactory\PhpAttributeGroupFactory;
1617
use Rector\PHPUnit\NodeAnalyzer\TestsNodeAnalyzer;
18+
use Rector\VersionBonding\Contract\MinPhpVersionInterface;
1719
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
1820
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
1921
/**
2022
* @see \Rector\PHPUnit\Tests\Rector\ClassMethod\DependsAnnotationWithValueToAttributeRector\DependsAnnotationWithValueToAttributeRectorTest
2123
*/
22-
final class DependsAnnotationWithValueToAttributeRector extends AbstractRector
24+
final class DependsAnnotationWithValueToAttributeRector extends AbstractRector implements MinPhpVersionInterface
2325
{
2426
/**
2527
* @readonly
@@ -83,6 +85,10 @@ public function getNodeTypes() : array
8385
{
8486
return [ClassMethod::class];
8587
}
88+
public function provideMinPhpVersion() : int
89+
{
90+
return PhpVersionFeature::ATTRIBUTES;
91+
}
8692
/**
8793
* @param ClassMethod $node
8894
*/

‎vendor/rector/rector-phpunit/src/Rector/Class_/AnnotationWithValueToAttributeRector.php‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,17 @@
1212
use Rector\BetterPhpDocParser\PhpDocManipulator\PhpDocTagRemover;
1313
use Rector\Core\Contract\Rector\ConfigurableRectorInterface;
1414
use Rector\Core\Rector\AbstractRector;
15+
use Rector\Core\ValueObject\PhpVersionFeature;
1516
use Rector\PhpAttribute\NodeFactory\PhpAttributeGroupFactory;
1617
use Rector\PHPUnit\ValueObject\AnnotationWithValueToAttribute;
18+
use Rector\VersionBonding\Contract\MinPhpVersionInterface;
1719
use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample;
1820
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
1921
use RectorPrefix202212\Webmozart\Assert\Assert;
2022
/**
2123
* @see \Rector\PHPUnit\Tests\Rector\Class_\AnnotationWithValueToAttributeRector\AnnotationWithValueToAttributeRectorTest
2224
*/
23-
final class AnnotationWithValueToAttributeRector extends AbstractRector implements ConfigurableRectorInterface
25+
final class AnnotationWithValueToAttributeRector extends AbstractRector implements ConfigurableRectorInterface, MinPhpVersionInterface
2426
{
2527
/**
2628
* @var AnnotationWithValueToAttribute[]
@@ -71,6 +73,10 @@ public function getNodeTypes() : array
7173
{
7274
return [Class_::class, ClassMethod::class];
7375
}
76+
public function provideMinPhpVersion() : int
77+
{
78+
return PhpVersionFeature::ATTRIBUTES;
79+
}
7480
/**
7581
* @param Class_|ClassMethod $node
7682
*/

‎vendor/rector/rector-phpunit/src/Rector/Class_/CoversAnnotationWithValueToAttributeRector.php‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,16 @@
1111
use Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfo;
1212
use Rector\BetterPhpDocParser\PhpDocManipulator\PhpDocTagRemover;
1313
use Rector\Core\Rector\AbstractRector;
14+
use Rector\Core\ValueObject\PhpVersionFeature;
1415
use Rector\PhpAttribute\NodeFactory\PhpAttributeGroupFactory;
1516
use Rector\PHPUnit\NodeAnalyzer\TestsNodeAnalyzer;
17+
use Rector\VersionBonding\Contract\MinPhpVersionInterface;
1618
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
1719
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
1820
/**
1921
* @see \Rector\PHPUnit\Tests\Rector\Class_\CoversAnnotationWithValueToAttributeRector\CoversAnnotationWithValueToAttributeRectorTest
2022
*/
21-
final class CoversAnnotationWithValueToAttributeRector extends AbstractRector
23+
final class CoversAnnotationWithValueToAttributeRector extends AbstractRector implements MinPhpVersionInterface
2224
{
2325
/**
2426
* @readonly
@@ -82,6 +84,10 @@ public function getNodeTypes() : array
8284
{
8385
return [Class_::class, ClassMethod::class];
8486
}
87+
public function provideMinPhpVersion() : int
88+
{
89+
return PhpVersionFeature::ATTRIBUTES;
90+
}
8591
/**
8692
* @param Class_|ClassMethod $node
8793
*/

0 commit comments

Comments
 (0)