Commit Graph

3695 Commits

Author SHA1 Message Date
Tomas Votruba a3dea02fcb Updated Rector to commit 7030f1fb0e98329b48fc436189acd4509393b6e5
7030f1fb0e [automated] Re-Generate preload.php (#4060)
2023-06-04 00:35:29 +00:00
Tomas Votruba 4371c2a6d0 Updated Rector to commit c5b17183be766c3abf9535f602c27d8f43a3e151
c5b17183be [e2e] Add back e2e/timeout with slimmer file to test (#4059)
2023-06-04 00:12:14 +00:00
Tomas Votruba 936365906d Updated Rector to commit 1d8b12dc022dc4ff9c9c26a2fc1ea409027d271b
1d8b12dc02 Remove NormalizeNamespaceByPSR4ComposerAutoloadRector as only moves files to namespaces, does not update any class referenes; better use IDE here (#4057)
2023-06-03 16:37:32 +00:00
Tomas Votruba 12850de413 Updated Rector to commit 203be2b3076a4e7f2f80cee721aa20186868a604
203be2b307 skip tracy from downgrade one
2023-06-03 16:26:26 +00:00
Tomas Votruba 062552321e Updated Rector to commit 4635c3936d920f9350e985772156a51b40604c9c
4635c3936d [PHP+HTML cleanup] Remove MixPhpHtmlDecorator (#4054)
2023-06-03 13:48:48 +00:00
Tomas Votruba a82d8260db Updated Rector to commit c9fc74baf53ce9104403c492fcd13dec435dad9c
c9fc74baf5 [CodeQuality] Skip deep append in if foreach before on ForeachItemsAssignToEmptyArrayToAssignRector (#4053)
2023-06-03 00:54:04 +00:00
Tomas Votruba 7823920f86 Updated Rector to commit 069e53a00efd322e8ab32b91938df894690b475c
069e53a00e [CodeQuality] Skip multiple assigns append before foreach on ForeachItemsAssignToEmptyArrayToAssignRector (#4052)
2023-06-02 22:04:35 +00:00
Tomas Votruba 26ee850893 Updated Rector to commit 6dd57a913efe6fd5eb03542300b93cb1c22fc4dc
6dd57a913e Merge autoImport() tests (#4050)
2023-06-02 13:09:14 +00:00
Tomas Votruba 1f621e91a4 Updated Rector to commit 88eed987cc361166359c158ffd22d264d165aa8b
88eed987cc Ensure check isFirstClassCallable() before node->getArgs() on CallLike (#4049)
2023-06-02 12:32:12 +00:00
Tomas Votruba b0cbcaf37b Updated Rector to commit 5d6cff121b884ce17d6cf117e60b74dd67af75f2
5d6cff121b Move test to rector-doctrine (#4048)
2023-06-02 10:21:56 +00:00
Tomas Votruba 58a4ff85e7 Updated Rector to commit b8a0e84efade3cf6164e6d239bf91aefc4678ae5
b8a0e84efa Skip StrvalToType for strval first class callable syntax (#4046)
2023-06-02 10:12:23 +00:00
Tomas Votruba 9eed15ece9 Updated Rector to commit 897cdda68d73ed5fcc1c768219207ff54c8459cb
897cdda68d Apply coding standard (#4047)
2023-06-02 10:03:55 +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 633f196150 Updated Rector to commit 7cde4132f7705a0f941867d66c909abd114e758d
7cde4132f7 Revert [Core] No need reindex FileWithoutNamespace on beforeTraverse (#4043) (#4044)
2023-06-02 05:54:26 +00:00
Tomas Votruba cbde46307b Updated Rector to commit 90b1f9fdd37038b82df9c1b14fd2114b3075468c
90b1f9fdd3 [Core] No need reindex FileWithoutNamespace on beforeTraverse (#4043)
2023-06-02 03:13:17 +00:00
Tomas Votruba 0ae1a69dc8 Updated Rector to commit 495900a6405595d61947b4c564024d902354ef04
495900a640 [DeadCode] Skip used on Closure use next stmt on RemoveUnusedVariableAssignRector (#4042)
2023-06-02 01:02:01 +00:00
Tomas Votruba 2e072dd15a Updated Rector to commit cfccdd090b640d7b63592eca1744e0582db19830
cfccdd090b [CodingStyle] Skip first class callable on UnSpreadOperatorRector (#4041)
2023-06-01 23:56:12 +00:00
Tomas Votruba 8f92523b3a Updated Rector to commit 965b5f72045e3a94adf1eab83accafb52bfbe92a
965b5f7204 [CodeQuality] Exclude first class callable from IntvalToTypeCastRector (#7962) (#4040)
2023-06-01 22:33:20 +00:00
Tomas Votruba 81398086b3 Updated Rector to commit 1e4568bdae763335c904ecd3d03a79f1ac129d0f
1e4568bdae Avoid removing use with removeNode() in ClassRenamer (#4039)
2023-06-01 14:48:49 +00:00
Tomas Votruba 6ffdc0c6a4 Updated Rector to commit 89fc9dbd9c1b6e1feb35a777926a443db01b0824
89fc9dbd9c Remove unused BinaryOpTreeRootLocator (#4038)
2023-06-01 14:34:35 +00:00
Tomas Votruba d8da002b10 Rector 0.17.0 2023-06-01 09:42:59 +00:00
Tomas Votruba bfd8f1a220 Updated Rector to commit bdc2fc99631f67eeb2d96e2cf0906279c2561c9a
bdc2fc9963 [NodeManipulator] Remove parent lookup on PropertyFetchAssignManipulator (#4037)
2023-05-31 13:27:13 +00:00
Tomas Votruba b655a25951 Updated Rector to commit 81e8c74b0ea2a107db681ee21c13925837b84abc
81e8c74b0e [NodeManipulator] Use ReflectionResolver instead of BetterNodeFinder parent lookup on ClassMethodManipulator (#4035)
2023-05-31 13:19:19 +00:00
Tomas Votruba a31c14f083 Updated Rector to commit 98fa6b51c4114010cb45c7f07ad96256430bf605
98fa6b51c4 [NodeManipulator] Reduce parent lookup on PropertyFetchAssignManipulator (#4036)
2023-05-31 13:17:35 +00:00
Tomas Votruba c0ad822683 Updated Rector to commit 227186b39430fee40e5c6ba5ff7261700c9d5031
227186b394 [Performance] Reduce parent lookup on PropertyFetchAnalyzer (#4034)
2023-05-31 13:04:27 +00:00
Tomas Votruba afcc6c02eb Updated Rector to commit b84fe9524aa20e200f743f13f6925d93225c6280
b84fe9524a [Php56] Reduce origNode check on UndefinedVariableResolver (#4033)
2023-05-30 14:55:26 +00:00
Tomas Votruba 442b2ce101 Updated Rector to commit 73c1ac45e78b2e8b091f7a0cbcc0b54b9b24bb42
73c1ac45e7 Make use of key to remove property (#4032)
2023-05-30 14:11:53 +00:00
Tomas Votruba 5e8e8dbc29 Updated Rector to commit 46d2aacd80260f0d6ff7ed0454100be3ed279b63
46d2aacd80 [Core] Ensure define  before refactor() called to avoid changed during refactor (#4031)
2023-05-30 13:37:00 +00:00
Tomas Votruba a0204cf9f1 Updated Rector to commit b37e2733e1c393bc802d0c378abfa3f3f4d87068
b37e2733e1 [Core] Ensure reindex node attributes even on re-print (#4030)
2023-05-30 13:30:54 +00:00
Tomas Votruba 36bff0a577 Updated Rector to commit 105df5f485c8e3b2e9b75320555a32b5325186b5
105df5f485 Remove NewToMethodCallRector as unused core and no other extension, niche to use, better handle by PHPStorm (#4029)
2023-05-30 13:20:44 +00:00
Tomas Votruba df2ad70dd3 Updated Rector to commit 4c782243fdb6b03474faa0076800048cb3ef0de9
4c782243fd Remove ChangeReadOnlyPropertyWithDefaultValueToConstantRector as overly detailed checks, better use PHPStan and refactor individually (#4028)
2023-05-30 13:09:27 +00:00
Tomas Votruba 010d5d2c6f Updated Rector to commit 22e97d1c418d0772cf449ed888522ca060829ddf
22e97d1c41 Cleanup stmts (#4027)
2023-05-30 13:05:48 +00:00
Tomas Votruba 8fa5f13430 Updated Rector to commit 953ecb9ecd02d5fc13a21cd7086b60aa45eac31d
953ecb9ecd Improve RemoveUnusedNonEmptyArrayBeforeForeachRector to work with foreach over stmts (#4026)
2023-05-30 12:38:31 +00:00
Tomas Votruba 01ece07757 Updated Rector to commit e0d7483c6257a772829bc28ca76c8237cabb6435
e0d7483c62 Make use of stmts assign in StringableForToStringRector (#4025)
2023-05-30 12:30:41 +00:00
Tomas Votruba fed7beb412 Updated Rector to commit 5bae1ebdcee327ac3dcf4a25175f9013af54ec3d
5bae1ebdce trigger CI
2023-05-30 10:33:01 +00:00
Tomas Votruba 1a69dcf241 Updated Rector to commit d413dc15e6cbe5ac10f5fe6fd06711fcb7267a0b
d413dc15e6 Remove unused method addNodesBeforeNode() (#4024)
2023-05-30 09:18:02 +00:00
Tomas Votruba 9fd6682367 Updated Rector to commit e2213f21762d74946a34197921aa905623493e8c
e2213f2176 Remove unused addNodeAfterNode(), return nodes instead (#4023)
2023-05-30 09:05:58 +00:00
Tomas Votruba 28d2a3ced0 Updated Rector to commit d413dc15e6cbe5ac10f5fe6fd06711fcb7267a0b
d413dc15e6 Remove unused method addNodesBeforeNode() (#4024)
2023-05-30 09:05:54 +00:00
Tomas Votruba 672d7d7dfe Updated Rector to commit e2213f21762d74946a34197921aa905623493e8c
e2213f2176 Remove unused addNodeAfterNode(), return nodes instead (#4023)
2023-05-30 08:16:08 +00:00
Tomas Votruba 305fa5edd6 Updated Rector to commit b97fe194b45a7915fd1509b9388315f49582cb2c
b97fe194b4 [Php80] Remove parent attribute usage on ClassPropertyAssignToConstructorPromotionRector (#4022)
2023-05-29 23:40:49 +00:00
Tomas Votruba 74fee33fad Updated Rector to commit 5979f30756eca7e8f2736514451d5c7bdfed50ce
5979f30756 Remove removeNode() from FuncGetArgsToVariadicParamRector (#4021)
2023-05-29 21:33:59 +00:00
Tomas Votruba 5062188fe8 Updated Rector to commit 0ea7b49d5839f4dcdf5c9966cf410b3394c5e060
0ea7b49d58 [Testing] Remove require_once on TestingParser::parseFileToDecoratedNodes() (#4009)
2023-05-29 18:30:06 +00:00
Tomas Votruba 83e5614f51 Updated Rector to commit 45a9dd5df8411c31f89e87b8cfcc4348625ce627
45a9dd5df8 fix cs
2023-05-29 14:21:32 +00:00
Tomas Votruba 8d722f5b92 Updated Rector to commit 3dfe7f9c11dc0ea75ba73da6f4639c1718843dc2
3dfe7f9c11 [Test] Enable displayDetailsOnTestsThatTriggerWarnings to true in tests to show warning (#4020)
2023-05-29 14:02:39 +00:00
Tomas Votruba 85587ab16d Updated Rector to commit 4ea7d0f477ff10755172869818056824b2d42dcd
4ea7d0f477 [DeadCode] Clean up PHPStan notice on ComplexNodeRemover::processRemoveParamWithKeys() (#4018)
2023-05-29 12:26:31 +00:00
Tomas Votruba 6b379fd240 Updated Rector to commit e6048295f9001e693403f9f47fd956c543636c16
e6048295f9 [DeadCode] Use  flag on return ClassMethod node on RemoveUnusedConstructorParamRector (#4017)
2023-05-29 12:18:38 +00:00
Tomas Votruba 672507859d Updated Rector to commit 580c76d7fe50f608dfac67f011cd6cac33b6ef72
580c76d7fe [DeadCode] Revert constructor with middle param removal on RemoveUnusedPrivatePropertyRector (#4016)
2023-05-29 12:06:26 +00:00
Tomas Votruba 485a9df50b Updated Rector to commit a91057e5a1f14fe12a1e9bded2c006012c09b00d
a91057e5a1 Remove PARENT_NODE from ArrayDimFetchTypeResolver (#4015)
2023-05-29 09:58:15 +00:00
Tomas Votruba 1b08d37c26 Updated Rector to commit f15cbd7a7d1913287cf67fa9ee2311ebee11cae3
f15cbd7a7d Remove PARENT_NODE from RemoveUnusedConstructorParamRector (#4014)
2023-05-29 09:38:38 +00:00
Tomas Votruba 601ac11f14 Updated Rector to commit 32510e0dc7ee63d5a38c7d088aaf82eee605c516
32510e0dc7 Remove array items directly RemoveDuplicatedArrayKeyRector (#4013)
2023-05-29 09:16:46 +00:00