990 Commits

Author SHA1 Message Date
Tomas Votruba
2f9d13bd92 Updated Rector to commit aa721665058cd250bca2b6592dbeffd1e5ad1f98
aa72166505 [DeadCode] Remove RemoveAssignOfVoidReturnFunctionRector as unreliable, let PHPStan report and use handle various cases (#1313)
2021-11-25 19:16:58 +00:00
Tomas Votruba
cdff1edc5d Updated Rector to commit dd7bc521353848643a1ab20ac5713f6afe50b30e
dd7bc52135 Move ChangeGlobalVariablesToPropertiesRector from ClassMethod to Class_ node, to keep the minimal changed scope in active nodes (#1307)
2021-11-25 13:07:04 +00:00
Tomas Votruba
3830b5616f Updated Rector to commit 62474db941673004057b8c5c76c3a74471396b0a
62474db941 Fix node invalid types discovered by PHPStan scope refresh (#1306)
2021-11-25 13:01:10 +00:00
Tomas Votruba
4dc2c773aa Updated Rector to commit 14f67de7e91d17fe9bd27fa5dfa28a445a1ea94c
14f67de7e9 [League] Remove only League upgrade set from core, give space for community package with whole vendor (#1305)
2021-11-25 12:53:25 +00:00
Tomas Votruba
27f9fb751d Updated Rector to commit 9ba0f6305f9f1bce54ba73afbacad2d62ccc1022
9ba0f6305f [DeadCode] Add RemoveUnusedParamInRequiredAutowireRector (#1301)
2021-11-25 05:43:26 +00:00
Tomas Votruba
786528284b Updated Rector to commit f8e8efa7289090f27ab78dbfac424f07fa5fad8b
f8e8efa728 Update how_it_works.md (#1293)
2021-11-24 00:11:27 +00:00
Tomas Votruba
8ca423734b Updated Rector to commit b25be38ca18e9aab2a349558c54e689bda5c7f1c
b25be38ca1 [Downgrade PHP 5.5] Add DowngradeBoolvalRector (#1292)
2021-11-23 20:37:15 +00:00
Tomas Votruba
2872435ad4 Updated Rector to commit 5ad0089b0372bfa695fe7544c2555737937e3b76
5ad0089b03 [Downgrade PHP 8.1] Add DowngradePureIntersectionTypeRector (#1281)
2021-11-23 13:42:01 +00:00
Tomas Votruba
b21c7e2dc8 Updated Rector to commit 21c9c1c16d75305875a52d27b6119fbbcb8469b2
21c9c1c16d fix symfony/console compatibility break with psr/log
2021-11-23 13:20:36 +00:00
Tomas Votruba
3c750baf30 Updated Rector to commit f5d4f9dd7621a0bdcb4352c34f6d574ab4c0d33e
f5d4f9dd76 [Php81] Apply constructor promotion on NewInInitializerRector (#1288)
2021-11-22 09:01:31 +00:00
Tomas Votruba
cae65c2537 Updated Rector to commit 63ed131c3faa8dc0f590c004d2cdd3e4b4d7bc28
63ed131c3f [automated] Re-Generate Nodes/Rectors Documentation (#1284)
2021-11-21 00:34:01 +00:00
Tomas Votruba
cd31960a43 Updated Rector to commit 60c06a7fbf77a7ad89e1c7a52114abd6ccc47883
60c06a7fbf fix downgrade
2021-11-20 10:43:40 +00:00
Tomas Votruba
b522cb4146 Updated Rector to commit fa20738aa49bdd60f6a251b571ad27f974800ce7
fa20738aa4 [Downgrade PHP 8.1] Add DowngradeNewInInitializerRector (#1275)
2021-11-19 20:52:59 +00:00
Tomas Votruba
7e333cd42a Updated Rector to commit 7143376acbff56d4e04cda04882087fc07ba3944
7143376acb [EarlyReturn][Php73] Handle JsonThrowOnErrorRector + ChangeAndIfToEarlyReturnRector (#1272)
2021-11-19 09:08:20 +00:00
Tomas Votruba
976ae72f73 Updated Rector to commit 587d8d80585e20ce6455602ed12602e2bb7e9b71
587d8d8058 [Downgrade PHP 8.1] Add DowngradeReadonlyPropertyRector (#1262)
2021-11-18 19:20:31 +00:00
Tomas Votruba
faf329350d Updated Rector to commit 59809f30caa68689bb707d99e4f051f2eabd9c01
59809f30ca [Downgrade PHP 8.1] Add DowngradeFirstClassCallableSyntaxRector (#1267)
2021-11-18 18:48:10 +00:00
Tomas Votruba
5e0eef55a5 Updated Rector to commit c6473c6a0b4ecaab710353e83f0c740e2e998d26
c6473c6a0b [Php81] Fix NewInInitializerRector code sample (#1264)
2021-11-18 07:58:51 +00:00
Tomas Votruba
5f23715e04 Updated Rector to commit 660adeb2bf831d6bda96098d1f75b2078f81e7ed
660adeb2bf [Downgrade PHP 8.1] Add DowngradeNeverTypeDeclarationRector (#1259)
2021-11-17 12:57:34 +00:00
Tomas Votruba
66c0358afd Updated Rector to commit 4e445c3cd7ed90e66a492ca09ab262f279c7e3ac
4e445c3cd7 [LevelSetList] Add down-to-php52 LeveLSetList (#1258)
2021-11-17 11:36:37 +00:00
Tomas Votruba
0b8f765944 Updated Rector to commit a86cd63bd39b333e92ef22634253195461b10a59
a86cd63bd3 [Downgrade PHP 5.5] Add DowngradeForeachListRector (#1256)
2021-11-17 11:35:17 +00:00
Tomas Votruba
ee29ff17d4 Updated Rector to commit f0b639bbaaf3a6bb2743e1e86e9ac7d25a24328f
f0b639bbaa Update to nikic/php-parser 4.13.1 (#1253)
2021-11-17 07:16:43 +00:00
Tomas Votruba
c76314d8e2 Updated Rector to commit 5e39ff5889b08dc391a3114dd4746536501ecf75
5e39ff5889 [Downgrade PHP 5.5] Add DowngradeArbitraryExpressionArgsToEmptyAndIssetRector (#1250)
2021-11-16 15:57:02 +00:00
Tomas Votruba
01b8ec09d1 Updated Rector to commit 50096d79555358278ee8a3e972fdec7d1bb6c3b0
50096d7955 [Renaming] Handle var static docblock in union on RenameClassRector (#1248)
2021-11-16 11:06:23 +00:00
Tomas Votruba
fb02669c96 Updated Rector to commit 5d637a804072eb8e61f3d0a7a691289d45cc663d
5d637a8040 [Downgrade PHP 5.4] Add DowngradeIndirectCallByArrayRector (#1247)
2021-11-15 16:32:42 +00:00
Tomas Votruba
d8ebd1efd5 Updated Rector to commit 5154b53518632494ac07f740031ba6e8697ed4ab
5154b53518 [TypeDeclaration] Avoid error Rector\Core\Rector\AbstractRector::isObjectType() must implement interface PhpParser\Node, null given on AddParamTypeDeclarationRector (#1239)
2021-11-15 01:54:27 +00:00
Tomas Votruba
d4c101be43 Updated Rector to commit 24b8ea974aad71ece8f6f4ea5d0549247c969a5e
24b8ea974a [PHP 8.1] Add IntersectionTypesRector (#1227)
2021-11-14 12:07:09 +00:00
Tomas Votruba
a16c61358a Updated Rector to commit 9c52c9584822c6c4bae5f162a459d79e9f765c91
9c52c95848 [automated] Re-Generate Nodes/Rectors Documentation (#1228)
2021-11-14 00:36:15 +00:00
Tomas Votruba
96796ca64a Updated Rector to commit 82de3667411f8e6e9461d0a7f48974badab957c0
82de366741 [Downgrade PHP 5.4] Add DowngradeInstanceMethodCallRector (#1226)
2021-11-13 20:02:56 +00:00
Tomas Votruba
cbf5a11580 Updated Rector to commit 2334331e30b65079071ee46c1e00a10c7c93be2d
2334331e30 [PHP 8.1] Add NewInInitializerRector (#1224)
2021-11-13 16:23:20 +00:00
Tomas Votruba
6cee4f1782 Updated Rector to commit 81e9cbab101d6ef15de00b2da39d3095d7ad64fb
81e9cbab10 [Downgrade PHP 5.6] Add DowngradeArgumentUnpackingRector (#1219)
2021-11-13 14:51:42 +00:00
Tomas Votruba
2fe1ccafc6 Updated Rector to commit 096817b1afcd893e6c95677ff74058fc0c9f1628
096817b1af [CodeQuality] Add do whlie rule to set (#1223)
2021-11-13 08:43:40 +00:00
Tomas Votruba
750add220d Updated Rector to commit 305c524662a3b21de171afd536ee3e3fc9db9178
305c524662 [TypeDeclaration] Improve typed property (#1221)
2021-11-13 00:51:27 +00:00
Tomas Votruba
3a883b2fc9 Updated Rector to commit af81708d80025b5af4a556370127b3946c046133
af81708d80 [TypeDeclaration] Skip conditional Throw_ on ReturnNeverTypeRector (#1217)
2021-11-12 09:48:23 +00:00
Tomas Votruba
89dafe2410 Updated Rector to commit c9e1d1470c421eadba51bd965e14a166b43cfff2
c9e1d1470c [Downgrade PHP 5.4] Add DowngradeCallableTypeDeclarationRector (#1213)
2021-11-11 11:43:16 +00:00
Tomas Votruba
72626ee514 Updated Rector to commit 6a8d8233b963f3361383ce7a76a343be16837bff
6a8d8233b9 [Downgrade PHP 7.0] Add DowngradeDirnameLevelsRector (#1209)
2021-11-11 07:58:41 +00:00
Tomas Votruba
9131fc62e0 Updated Rector to commit 2ed0430f4eba99a019db01f5eaee3678a5b6ac30
2ed0430f4e [NodeTypeResolver] Avoid error Uncaught TypeError: PHPStan\Type\Constant\ConstantIntegerType::__construct(): Argument #1 () must be of type int, string given (#1210)
2021-11-11 00:28:34 +00:00
Tomas Votruba
5bd5213b93 Updated Rector to commit 9097bca92e1439737d3656a6ff24df837b438114
9097bca92e [Downgrade PHP 5.4] Add DowngradeBinaryNotationRector (#1202)
2021-11-10 12:08:08 +00:00
Tomas Votruba
a46666f4ed Rector 0.12.2 2021-11-10 11:49:56 +00:00
Tomas Votruba
8cb87f1aea Updated Rector to commit 9097bca92e1439737d3656a6ff24df837b438114
9097bca92e [Downgrade PHP 5.4] Add DowngradeBinaryNotationRector (#1202)
2021-11-10 11:45:39 +00:00
Tomas Votruba
b5d03cf1f4 Updated Rector to commit f32035d12fe7a1e65457d42ff09521c357d282f6
f32035d12f [TypeDeclaration] Skip Conditional on ReturnNeverTypeRector (#1200)
2021-11-10 10:27:52 +00:00
Tomas Votruba
8a2396453c Updated Rector to commit 02def089cc9974bc58cbeb083acd387c742cf742
02def089cc [Downgrade PHP 5.4] Add ShortArrayToLongArrayRector (#1198)
2021-11-09 22:18:11 +00:00
Tomas Votruba
4612216b87 Updated Rector to commit e777553f592d17f346fcc96c138d7cf55417370d
e777553f59 [Downgrade PHP 5.5] Add DowngradeClassConstantToStringRector (#1194)
2021-11-09 15:43:24 +00:00
Tomas Votruba
3601e07ec8 Updated Rector to commit 65b389256326b60656831862ebfb7c898326856f
65b3892563 bump deps
2021-11-09 12:04:54 +00:00
Tomas Votruba
b8ef7203ef Updated Rector to commit 4ac7fa44bd095eabf66386da273d7a84db8ee10e
4ac7fa44bd [DowngradePhp81][DowngradePhp80] Add DowngradePhp81ResourceReturnToObjectRector and DowngradePhp80ResourceReturnToObjectRector (#1190)
2021-11-08 18:56:59 +00:00
Tomas Votruba
20a926c0f3 Updated Rector to commit 127428ac8ab5d0e360cadd79bb69e14e0d5636b3
127428ac8a [Downgrade PHP 5.6] Add DowngradeExponentialAssignmentOperatorRector (#1185)
2021-11-08 11:12:20 +00:00
Tomas Votruba
cf975f7d4d Updated Rector to commit b2d174999982e504501d85a94fcaa0b4fcf7d693
b2d1749999 Fix issue of parsing PHP 8 sources on PHP 7.x (#1184)
2021-11-08 09:21:05 +00:00
Tomas Votruba
d0e0ad7a46 Updated Rector to commit f98994d5dca0df0a93487b01eb8c73288cb92897
f98994d5dc [Downgrade PHP 5.6] Add DowngradeExponentialOperatorRector (#1181)
2021-11-07 18:22:19 +00:00
Tomas Votruba
7f56f8ae35 Updated Rector to commit 66800f00f1ec158f96416b8e0b84c93f54abb1d5
66800f00f1 [Scoped] Fixing Scoped build bin rector.php (#1174)
2021-11-07 04:15:35 +00:00
Tomas Votruba
bf8d644cbf Updated Rector to commit c31cabf0b3a67d59000824836fa5fc42ec1a2d2f
c31cabf0b3 [MYSQL_TO_MYSQLI] Restore Mysql to Mysqli Behaviour when used with Dead Code SetList (#1161)
2021-11-06 00:53:30 +00:00
Tomas Votruba
522e8f7eae Updated Rector to commit 09f82ca2c4358283fffb65ab75a48b33c22ba232
09f82ca2c4 [CodeQuality] Remove FixClassCaseSensitivityNameRector, conflicting with name node removal and edge case already handled by PHPStan reports (#1160)
2021-11-05 22:53:47 +00:00