4717 Commits

Author SHA1 Message Date
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
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
5bf8f08e83 Updated Rector to commit cb74bb6083dbb2036d61b3efcc2512814db19a48
cb74bb6083 Prove bug with inverseJoinColumns (#1142)
2021-11-08 14:26:22 +00:00
Tomas Votruba
eb5063b360 Updated Rector to commit e899eaaabe577485566ec0e521a69777090cb3ee
e899eaaabe [TypeDeclaration] Skip nullable self referencing param and return on AddArrayParamDocTypeRector and ReturnTypeDeclarationRector (#1183)
2021-11-08 12:42:42 +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
545879c4de Updated Rector to commit 9614997c78837ffe3755eb2584473213a290c8ed
9614997c78 [Parallel] Add SerializableInterface to File, RectorError and FileDiff value objects (#1178)
2021-11-07 14:41:05 +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
2b0c5910b7 Updated Rector to commit 3c3340f943e6e48ef3f23b54d99e967ce9948b2c
3c3340f943 fix cs
2021-11-06 16:28:27 +00:00
Tomas Votruba
f672f1b109 Updated Rector to commit 8f7fea0925cc00d35b1607122b8719f8d7597007
8f7fea0925 remove deprecated FILE_INFO const attribute
2021-11-06 16:20:42 +00:00
Tomas Votruba
37d7f8d5dc Updated Rector to commit 938177433d0bb01375c92dd9111071f0f57680f3
938177433d Deprecatd METHOD_NAME node (#1169)
2021-11-06 16:18:06 +00:00
Tomas Votruba
ee85d297c4 Updated Rector to commit 8e6701c3c93501bb84e388d9e3aae349012c5cc1
8e6701c3c9 Merge ParentFinder to BetterNodeFinder (#1168)
2021-11-06 14:57:23 +00:00
Tomas Votruba
b5ad3a2e08 Updated Rector to commit 824df97e93bb43baca8f22a6f6a0f537a0049dd6
824df97e93 [DX] Move from CLASS_METHOD node attribute to parent finder (#1167)
2021-11-06 14:25:01 +00:00
Tomas Votruba
a42ac7439f Updated Rector to commit c3b6efea7ee5351ce66461fe02c5f9b7282816bb
c3b6efea7e Move from CLASS_NODE attribute to more reliable parent node finder (#1162)
2021-11-06 12:10:48 +00:00