4581 Commits

Author SHA1 Message Date
Tomas Votruba
40882e2c8b Updated Rector to commit a8a2577c407c60ac535fee5ca5208ce2ea21e57b
a8a2577c40 [automated] Re-Generate Nodes/Rectors Documentation (#1325)
2021-11-28 00:36:13 +00:00
Tomas Votruba
48f2d98170 Updated Rector to commit 40ec5519781b40b38a9168d002c82924c885261b
40ec551978 [DeadCode] Add support remove unused in between private method parameter for RemoveUnusedPrivateMethodParameterRector (#1321)
2021-11-27 09:53:00 +00:00
Tomas Votruba
4c91ed1b0a Updated Rector to commit 99a337285a7929c67abe9647ea16be987c69893e
99a337285a [TypeDeclaration] Add AddPropertyTypeDeclaration rule (#1317)
2021-11-26 20:07:54 +00:00
Tomas Votruba
b86475b1ef Updated Rector to commit 5a0947d9a29d9820246ee0b78efb678e624864f8
5a0947d9a2 [Renaming] Handle rename template tag of class on RenameClassRector (#1318)
2021-11-26 17:20:22 +00:00
Tomas Votruba
738852dc1a Updated Rector to commit 1255b91c20378fcbab6e086fc056d6eb955a1f98
1255b91c20 [PHP 8.2] Add rule for AllowDynamicProperties attribute (#1225)
2021-11-26 11:19:23 +00:00
Tomas Votruba
215fcca5d1 Updated Rector to commit 50a78a60087ec388f3daaa0c5defa9a7b27dcf28
50a78a6008 [Downgrade PHP 7.0] Add DowngradeClosureCallRector (#1304)
2021-11-25 21:14:19 +00:00
Tomas Votruba
17e1139e1f Updated Rector to commit dfe5bcfabc658c33068cd7b8e3b0648c72d78bc1
dfe5bcfabc Misc (#1312)
2021-11-25 19:08:52 +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
3c4575dfa1 Updated Rector to commit 12ac17392fa3f08687efd047feabd34cea9b1e62
12ac17392f Decouple TraitScopeFaker (#1302)
2021-11-25 10:37:36 +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
eedc2efbf7 Updated Rector to commit cfae725119584f4d4a864a811d1134b6a8e0f008
cfae725119 Remove mixing workaround, not needed anymore (#1300)
2021-11-24 20:49:18 +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
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
c7a2b96635 Updated Rector to commit 1c5d818c753e24c74a0852786fbcd01b5c89e5ac
1c5d818c75 AnnotationToAttributeMapper improvements (#1283)
2021-11-20 22:45:17 +00:00
Tomas Votruba
4bec1773e3 Updated Rector to commit 62e4c20b21a5d9e11848bd745227038be4349749
62e4c20b21 Add AnnotationToAttributeMapper collector for easier mapping manipulation (#1280)
2021-11-20 15:31:12 +00:00
Tomas Votruba
58aa72da52 Updated Rector to commit 7acec2ccd2d6fa3fbec72e1a91d190664a0e7ad8
7acec2ccd2 [PHP 8.1] Add nested attributes arguments + keep short ORM\* like aliases (#1278)
2021-11-20 12:57:47 +00:00
Tomas Votruba
12927071ac Updated Rector to commit f83d7441580e6175556328ac94dc7f128d2344aa
f83d744158 [PHP 8.1] Add nested attributes support - part #1 (#1266)
2021-11-20 10:45:53 +00:00
Tomas Votruba
cd31960a43 Updated Rector to commit 60c06a7fbf77a7ad89e1c7a52114abd6ccc47883
60c06a7fbf fix downgrade
2021-11-20 10:43:40 +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
236be0be1f Updated Rector to commit f6a6b354b5caf21cd049b5e292973b93347ff88c
f6a6b354b5 [PHP 8.0] Remove annotation un-nesting from PHP 8.0 annotations to attributes (#1271)
2021-11-18 21:01:01 +00:00
Tomas Votruba
344e71145e Updated Rector to commit 1a4c5fb325cd5adff2842b7808c63b79d86d4420
1a4c5fb325 Cleanup (#1270)
2021-11-18 19:27:39 +00:00
Tomas Votruba
2ebb3ec25d Updated Rector to commit 1258576514aa7c0d0b611c00fcae571d780077da
1258576514 Cleanup (#1268)
2021-11-18 19:01:15 +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
80f6e79b45 Updated Rector to commit b201787edc0cc033d0108505c600c7b2ecc889a3
b201787edc add FQN support resolver to DoctrineAnnotationClassToAttributeRector (#1261)
2021-11-17 21:39:26 +00:00
Tomas Votruba
dc03241b5b Updated Rector to commit d2f7c2ee24d41ed6570598ae66d49a81aafc3e9d
d2f7c2ee24 [PHP 8.0] Extend DoctrineAnnotationClassToAttributeRector rule to cover short target annotations (#1260)
2021-11-17 17:46:14 +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
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
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
1c328fe00f Updated Rector to commit a2c2979ad9d3294f239b83674f52962eaa2de542
a2c2979ad9 Fix /self docblock compare removed on on-final class, as it can refer to child this type (#1246)
2021-11-15 15:48:16 +00:00
Tomas Votruba
2bfa67cc0a Updated Rector to commit 2fe13946b4cbd90aac291b9d2be0b830fa00afc4
2fe13946b4 [Renaming] Handle error on RenameClassRector when method return static (#1243)
2021-11-15 13:56:07 +00:00
Tomas Votruba
c134e1c8c7 Updated Rector to commit 5e3f2cb568e6893fa25cdfc656d2d4fba3aee7cf
5e3f2cb568 Trigger notification (#1242)
2021-11-15 09:34:38 +00:00
Tomas Votruba
2f4cefb757 Updated Rector to commit f51e2cd990c5055c3d1dd387f7021c0e48af80fb
f51e2cd990 [StaticTypeMapper] Avoid error Rector\StaticTypeMapper\PhpDocParser\IdentifierTypeMapper::mapStatic() must implement interface PHPStan\Analyser\Scope, null given (#1240)
2021-11-15 08:44:53 +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
6630ebdb90 Updated Rector to commit 62f2c303585f9e4c6467d66c6a333bafce26b613
62f2c30358 [PostRector][CodingStyle] Improve Auto import performance (#1233)
2021-11-14 09:32:59 +00:00
Tomas Votruba
41dc55f91a Updated Rector to commit 8046b81dd24ea4b2624f54886892185133416fb7
8046b81dd2 [NodeTypeResolver] Remove deprecated NodeTypeResolver getStaticType method (#1230)
2021-11-14 08:52:09 +00:00
Tomas Votruba
01020da271 Updated Rector to commit e2fdc96b7c3fa18a634af62cd646d2665505cc95
e2fdc96b7c [Php80] Fix InverseJoinColumn Annotation to Attribute on AnnotationToAttributeRector (#1231)
2021-11-14 08:46:25 +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
750add220d Updated Rector to commit 305c524662a3b21de171afd536ee3e3fc9db9178
305c524662 [TypeDeclaration] Improve typed property (#1221)
2021-11-13 00:51:27 +00:00
Tomas Votruba
242b962a2d Updated Rector to commit f775b6e0ebaed4db70e675ba4fa066c36a74dc3a
f775b6e0eb [DeadCode][TypeDeclaration] Handle Nullable Param on RemoveUnusedPrivateMethodParameterRector+RemoveUnreachableStatementRector+AddArrayParamDocTypeRector (#1216)
2021-11-12 19:23:33 +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
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
8566f586c9 Updated Rector to commit cd217264b75e2b7ace93c46f346d32916e2d9809
cd217264b7 [Scoped] Include scoped-autoload for tests too
2021-11-10 18:26:32 +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
4612216b87 Updated Rector to commit e777553f592d17f346fcc96c138d7cf55417370d
e777553f59 [Downgrade PHP 5.5] Add DowngradeClassConstantToStringRector (#1194)
2021-11-09 15:43:24 +00:00
Tomas Votruba
0fea0fdc92 Updated Rector to commit 08ce1d06edc631bbe6c92482cc82dd35f8d387f6
08ce1d06ed [Php70] Avoid error Undefined property: PhpParser\Node\Stmt\Class_:: on ThisCallOnStaticMethodToStaticCallRector (#1197)
2021-11-09 13:36:07 +00:00