Commit Graph

80 Commits

Author SHA1 Message Date
Tomas Votruba 9a455bf300 Updated Rector to commit 7d65537690d8d788b595b46f026920b4b17eaaf5
7d65537690 Fix few static errors (#5899)
2024-05-19 17:16:04 +00:00
Tomas Votruba b38b8f3e85 Updated Rector to commit 26890958bc539e9a2234f1457a81d37f5972bf79
26890958bc [Php80] Use identical compare on PromotedPropertyCandidateResolver (#5745)
2024-03-20 14:21:32 +00:00
Tomas Votruba e94ff85194 Updated Rector to commit 765338ec5a4a725ce9b6788582372f24c09a3f82
765338ec5a [Php80] Skip var property usage on ClassPropertyAssignToConstructorPromotionRector (#5744)
2024-03-20 14:11:05 +00:00
Tomas Votruba 7e7a2f067a Updated Rector to commit 476cfb00cb6a94cb64badf9472ee78f33bdf44b3
476cfb00cb disable fallback for now
2024-01-02 02:40:38 +00:00
Tomas Votruba 1c5fde5d65 Updated Rector to commit 8615d40f4c8acb58a000f5bc7e0d0a0cfd353b7f
8615d40f4c [NodeTypeResolver] Handle nullable extended class on ->isObjectType() on DowngradeReflectionGetAttributesRector (#5224)
2023-11-05 13:58:20 +00:00
Tomas Votruba dfbbc5179f Updated Rector to commit 4e56b7c4a9fa9747cb12025c94e07b85a30155bc
4e56b7c4a9 [Php80] Remove AstResolver usage on PhpAttributeAnalyzer (#5111)
2023-10-04 08:45:47 +00:00
Tomas Votruba ad2ad2a097 Updated Rector to commit 77258018af10a7c23477831e0eab49dd7c0b2bfe
77258018af Trigger Rectify (#4701)
2023-08-07 11:02:42 +00:00
Tomas Votruba 9fac241be1 Updated Rector to commit e9a97469558e5e154a185bae388f214e1f0d5c56
e9a9746955 [PhpParser] Remove #[Required] on ClassLikeAstResolver (#4688)
2023-08-07 03:26:51 +00:00
Tomas Votruba a0d8cc6508 Updated Rector to commit 8550c092de01d1167d95922a77490c282f3154d5
8550c092de [Ast] Use ClassLikeAstResolver directly when possible (#4262)
2023-06-17 19:37:05 +00:00
Tomas Votruba 503a6059f8 Updated Rector to commit a8922f7431c9c9188be501107ee7819e0130da4c
a8922f7431 skip temporarily match + throws downagrade in symfony/console, very unlikely to run
2023-06-11 23:01:39 +00:00
Tomas Votruba 3313a231b7 Updated Rector to commit bb609b28e327ca1fb7827b6bc548013d19a2cf4e
bb609b28e3 [Core] Always reset stopTraversal to false on next Rector visit (#4182)
2023-06-11 14:17:34 +00:00
Tomas Votruba cdb2d0ed3f Updated Rector to commit f2509fa341525d3939073c5b4513f47ab8362fda
f2509fa341 Remove DoctrineAnnotationClassToAttributeRector as made for custom project, not useful for general use (#4127)
2023-06-08 22:24:02 +00:00
Tomas Votruba f82e30a026 Updated Rector to commit ae874efa148e6d5a031503892a6307824b4d7003
ae874efa14 Remove SourceLocatorProviderInterface as unused (#4126)
2023-06-08 22:00:17 +00:00
Tomas Votruba 850512e46d Updated Rector to commit 4457cfad19971c45ff953b238f456590bb6fd67f
4457cfad19 Remove ConstantListClassToEnumRector as custom-made, not practical for enum upgrades (#4115)
2023-06-08 15:39:22 +00:00
Tomas Votruba 3aecd9de93 Updated Rector to commit c567d5d44340e83f62e8599832af4019d7ef37b3
c567d5d443 Remove removeNode() from ClassPropertyAssignToConstructorPromotionRector (#4090)
2023-06-05 15:41:37 +00:00
Tomas Votruba 3dc5be2274 Updated Rector to commit 92ff716761e19c7f30bd68065af7eeefac0480de
92ff716761 Improve string support in Doctrine Annotations (#3645)
2023-06-02 09:42:16 +00:00
Tomas Votruba 3f1c0e6187 Updated Rector to commit 9629890a306844ba49ea6689d58fbecb67a7980e
9629890a30 Use isInteger() (#3593)
2023-04-09 00:51:38 +00:00
Tomas Votruba 3da290e4ab Updated Rector to commit dbb0e196a43d8c14a9de6abeef8fe081e95c51c2
dbb0e196a4 Revert all is* changes (#3584)
2023-04-08 13:25:07 +00:00
Tomas Votruba 9d60770133 Updated Rector to commit e66317aeb276bb0b544e7b4b55057c9dab5fbb73
e66317aeb2 fix cs (#3579)
2023-04-08 11:32:12 +00:00
Tomas Votruba aaddfe2522 Updated Rector to commit 59cdfc8d814b094bffd814f4679c828cd45c7ec9
59cdfc8d81 Use isInteger() (#3571)
2023-04-08 01:19:54 +00:00
Tomas Votruba 0b3c5d9bcc Updated Rector to commit f22ddc8f18ef345d5e9c99cbb667548c3c854d7d
f22ddc8f18 Add not null compare to FlipTypeControlToUseExclusiveTypeRector (#3513)
2023-03-23 23:21:34 +00:00
Tomas Votruba 0e8b799327 Updated Rector to commit a7d45e469a134f8671749aaf4a9a5ea797394e3a
a7d45e469a [Php80] Skip array append different keys in cases on ChangeSwitchToMatchRector (#3437)
2023-03-02 12:25:38 +00:00
Tomas Votruba 7a4c4657bb Updated Rector to commit 67ec259ce70190a02d29c697dfb2d325f781d8aa
67ec259ce7 [TypeDeclaration] Disable and deprecate PropertyTypeDeclarationRector and TypedPropertyRector, to avoid breaks; use split strict rules instead (#3122)
2022-11-28 15:11:02 +00:00
Tomas Votruba 18b5311e05 Updated Rector to commit fa9a953fc8df6d31c24b0415b177580f7edd4100
fa9a953fc8 [Php80] Skip possible numeric string switch cond with all integer case cond on ChangeSwitchToMatchRector (#3067)
2022-11-15 20:31:43 +00:00
Tomas Votruba 13dd0ad755 Updated Rector to commit cec7701e79be8f1384b3dbef67665b8151b7e2af
cec7701e79 [Php80] Handle crash on Nested Annotation to Attribute setting PhpVersion::PHP_80 (initializer - 1) (#2929)
2022-09-15 14:08:37 +00:00
Tomas Votruba 402dbe5a36 Updated Rector to commit a33b200e615b9451ba091e2724ab707f39198da7
a33b200e61 [BetterPhpDocParser] Add ArrayItemNode to improve value transfer in annotation curly lists (#2786)
2022-08-20 20:49:07 +00:00
Tomas Votruba 3d2ac73661 Updated Rector to commit 0ecf88aa469af79d7965bfc5efe57888d56cf88e
0ecf88aa46 [PHP 8.0] Keep previously defined default, it might have been used later outside the switch construction (#2807)
2022-08-19 14:05:38 +00:00
Tomas Votruba 95f1eab654 Updated Rector to commit 7f7bb193c5f16dec72e4a9a15f9e1a9eae902985
7f7bb193c5 [PHP 8.0] Create match right from next Throws (#2803)
2022-08-19 13:25:59 +00:00
Tomas Votruba 8629ef2977 Updated Rector to commit 6712529d24205b4b08e86f8da79876fb0d122c49
6712529d24 [PHP 8.0] Refactor ChangeSwitchToMatchRector to StmstAwareInterface (#2801)
2022-08-19 12:43:13 +00:00
Tomas Votruba f18c132b74 Updated Rector to commit d92936bb26a63a2d7df1086cebb2ddae42396f50
d92936bb26 [PHP 8.0] Fix ChangeSwitchToMatchRector for next new variable re-use (#2798)
2022-08-19 10:35:08 +00:00
Tomas Votruba f7bb838601 Updated Rector to commit f0425bc3cb3d5855da1bff9c38b872a9003e357b
f0425bc3cb Improve scope, PHPStan extension types (#2747)
2022-08-09 13:39:17 +00:00
Tomas Votruba ead00ac355 Updated Rector to commit 84012e4ac915dd5d8e7527bffdec302d53dc222e
84012e4ac9 Static type improvements (#2662)
2022-07-15 08:14:37 +00:00
Tomas Votruba 138ae66a5b Updated Rector to commit 83f2b16f0c
83f2b16f0c [cs] add static lambda rule [closes #2514]
2022-06-21 15:38:46 +00:00
Tomas Votruba bdfd24339f Updated Rector to commit 2e977bd3aad21113e0bb7e2aa9b102f6f1e9246d
2e977bd3aa deploy to original repository
2022-06-07 08:22:29 +00:00
Tomas Votruba aa2cb1b997 Updated Rector to commit 0eba231b07
0eba231b07 [PHP 8.1] Move ConstantListClassToEnumRector to PHP 8.1 (#2444)
2022-06-06 17:12:56 +00:00
Tomas Votruba a28f4b14a4 Updated Rector to commit 2022-06-06 16:43:29 +00:00
Tomas Votruba cc91bd4f07 Updated Rector to commit 0eba231b07
0eba231b07 [PHP 8.1] Move ConstantListClassToEnumRector to PHP 8.1 (#2444)
2022-06-06 15:55:14 +00:00
Tomas Votruba 3f0eebf57d Updated Rector to commit 0df2351b89
0df2351b89 [PHP 8.0] Add property support to ConstantListClassToEnumRector (#2422)
2022-06-03 08:03:32 +00:00
Tomas Votruba 14da17860d Updated Rector to commit 7722a57d80
7722a57d80 [PHP 8.0] Add return type support to ConstantListClassToEnumRector (#2420)
2022-06-03 07:23:26 +00:00
Tomas Votruba 56db9b2ff8 Updated Rector to commit a73dafd30a
a73dafd30a [PHP 8.0] Add method param to ConstantListClassToEnumRector (#2415)
2022-06-02 09:05:21 +00:00
Tomas Votruba 4d8282a2ea Updated Rector to commit e6ebae365b
e6ebae365b [PHP 8.0] Add ConstantListClassToEnumRector (#2404)
2022-06-01 13:21:45 +00:00
Tomas Votruba 5b72ec39c6 Updated Rector to commit db57fbaae4
db57fbaae4 Remove myclabs/php-enum dependency (#2388)
2022-05-29 22:41:07 +00:00
Tomas Votruba 7e46eb8267 Updated Rector to commit a2d6da8b4e
a2d6da8b4e Back to php-scoper 0.14 with scoping from php 8.0 (#2370)
2022-05-27 11:51:31 +00:00
Tomas Votruba beba7d6efe Updated Rector to commit 1249d947f4
1249d947f4 Try php-scoper 0.17 (#2368)
2022-05-27 11:25:02 +00:00
Tomas Votruba f2940cdc9c Updated Rector to commit 3f0a0b7259
3f0a0b7259 [Php80] Skip no default return fluent on ChangeSwitchToMatchRector (#2334)
2022-05-19 16:31:50 +00:00
Tomas Votruba 52fecaf9ca Updated Rector to commit e341cc26fe
e341cc26fe [NodeNameResolver] Remove NodeNameResolver::isLocalPropertyFetchNamed() method, already handled at PropertyFetchAnalyzer::isLocalPropertyFetchName() (#2263)
2022-05-08 08:49:04 +00:00
Tomas Votruba 5147929731 Updated Rector to commit 43aa4d91f7
43aa4d91f7 Add SameNamespacedTypeSpecifier (#2169)
2022-04-26 08:13:18 +00:00
Tomas Votruba 671dde4094 Updated Rector to commit 1084889b30
1084889b30 [Php80] Skip different type cases cond on ChangeSwitchToMatchRector (#2147)
2022-04-24 15:27:24 +00:00
Tomas Votruba 963952f993 Updated Rector to commit eba904f406
eba904f406 [Php80] Skip empty default on ChangeSwitchToMatchRector (#1980)
2022-03-31 11:04:24 +00:00
Tomas Votruba 16f4095ade Updated Rector to commit 6861ae9a4f
6861ae9a4f Merge VarDocPropertyTypeInferer (#1543)
2021-12-21 23:27:28 +00:00