Commit Graph

57 Commits

Author SHA1 Message Date
Tomas Votruba
687f5efeef Updated Rector to commit d9cf3d4b9f427691349d4c1fbe2160241c1585b8
d9cf3d4b9f Remove removeNode() from RemoveUnusedPrivatePropertyRector (#4092)
2023-06-06 11:55:37 +00:00
Tomas Votruba
f0c9d40cc2 Updated Rector to commit 106bc8ed2efbf98e99c22d6098a78ec2d6588c58
106bc8ed2e Remove AttributeCompatibleAnnotationRector, as only for one-time migration of private project, not suitable for general use (#4064)
2023-06-04 17:52:08 +00:00
Tomas Votruba
7b17dd2d5b Updated Rector to commit 02b93319906ffa9842cbab8f80d58d8b5576cf43
02b9331990 [Traverser] Add BreakingRemovalGuardNodeVisitor to reduce parent attribute usage on BreakingRemovalGuard (#3978)
2023-06-04 10:46:22 +00:00
Tomas Votruba
cbde507496 Updated Rector to commit 919c052d712c4069a6b0c244744dfd124fb565eb
919c052d71 [Printer] Remove BetterStandarPrinter::cleanSurplusTag() and cleanEndWithPHPOpenTag() (#4061)
2023-06-04 09:14:48 +00:00
Tomas Votruba
9e58a778f4 Updated Rector to commit 02b93319906ffa9842cbab8f80d58d8b5576cf43
02b9331990 [Traverser] Add BreakingRemovalGuardNodeVisitor to reduce parent attribute usage on BreakingRemovalGuard (#3978)
2023-06-04 09:14:10 +00:00
Tomas Votruba
215231b596 Updated Rector to commit 112e490e3ca0d5949c97189c31fd4aef8833cfc1
112e490e3c Remove PARENT_NODE from CatchExceptionNameMatchingTypeRector (#3929)
2023-05-22 14:09:12 +00:00
Tomas Votruba
7eb9eec801 Updated Rector to commit 6c3f2cdf953587cdf0945c7fb6c05fd0083c25fc
6c3f2cdf95 [DX] Deprecate parent node attribute, allow return of NodeTraverser::* in refactor() method (#3922)
2023-05-22 10:21:31 +00:00
Tomas Votruba
88a767b244 Updated Rector to commit 71f00d95fc16f31f7af4a524d5e179f467089e16
71f00d95fc [1.0] Replace NodeConnectingVisitor with ParentConnectingVisitor (#3900)
2023-05-22 08:41:41 +00:00
Tomas Votruba
f6d5507bbf Updated Rector to commit d90c645a1fbe976efee82c32fd6a5a021c33645a
d90c645a1f [DX] Try removing resolved name attribute, as namespacedName is already part of named nodes (#3921)
2023-05-22 08:26:02 +00:00
Tomas Votruba
060e167ec1 Updated Rector to commit edc60fc2e9b431a69b66eac9318e9af3eb340d84
edc60fc2e9 [Traverser] Using bool value for assigned_to attribute on variable assign (#3918)
2023-05-22 07:35:57 +00:00
Tomas Votruba
95d72b47e8 Updated Rector to commit c018b8b71b32e9654f7e884a20573a741184572e
c018b8b71b [Traverser] Add StmtKeyNodeVisitor to remove next and prev attribute on BetterNodeFinder (#3870)
2023-05-17 13:57:56 +00:00
Tomas Votruba
722cf05380 Updated Rector to commit 2406dc813a3eba3e25522fcb69af879fbc4a60cd
2406dc813a [Traverser] Add ByRefReturnNodeVisitor (#3826)
2023-05-13 18:07:42 +00:00
Tomas Votruba
6eead6b8f7 Updated Rector to commit a74c640bc1043f19006c7403461108f61d8bf2a5
a74c640bc1 [Traverser] Add ByRefVariableNodeVisitor (#3821)
2023-05-13 17:37:31 +00:00
Tomas Votruba
cd43839d2e Updated Rector to commit 1828db5f0f3b8424ac0183a5672f58c6689d3233
1828db5f0f [Traverser] Add StaticVariableNodeVisitor (#3817)
2023-05-13 10:37:59 +00:00
Tomas Votruba
41a479f910 Updated Rector to commit 0d3a9a263b6649548270dd503b8ac3bb0df107c4
0d3a9a263b [Traverser] Add GlobalVariableNodeVisitor (#3816)
2023-05-13 10:12:10 +00:00
Tomas Votruba
6da6d1d775 Updated Rector to commit 89bc4d80f5dd4c7e81a616c8b58a921a1470a47b
89bc4d80f5 Make use of StmtsAwareInterface (#3781)
2023-05-10 05:18:05 +00:00
Tomas Votruba
9b6b4fafd3 Updated Rector to commit fd2e1a181d96cee745529f345d77be55de3f5d17
fd2e1a181d [CodingStyle] Remove previous node attribute on TernaryConditionVariableAssignmentRector (#3540)
2023-03-30 16:42:45 +00:00
Tomas Votruba
b771e1ca1a Updated Rector to commit 58c8f170182d3350e21a3b141bb3971651943e63
58c8f17018 [CodingStyle] Add DataProviderArrayItemsNewlinedRector (#3271)
2023-01-10 11:07:38 +00:00
Tomas Votruba
80b6ffce36 Updated Rector to commit 8c439cffaee2124388b4fd03db951f43f10a5359
8c439cffae [TypeDeclaration] Do not remove multiple docblocks with comment on TypedPropertyFromAssignsRector (#3263)
2023-01-03 15:14:20 +00:00
Tomas Votruba
680ba23c17 Updated Rector to commit 88629427917b7d359beeb1a0b34d39d2127472b9
8862942791 [CodingStyle] Skip EncapsedStringsToSprintfRector on heredoc (#3242)
2022-12-23 08:45:28 +00:00
Tomas Votruba
ee8ab57a67 Updated Rector to commit f4f758c7431f66bc97a019eb53055d05c15705c6
f4f758c743 Fix missing extra import on NestedAnnotationToAttributeRector (#2989)
2022-10-15 22:31:48 +00:00
Tomas Votruba
94c101e7d9 Updated Rector to commit a638a676b4c23c70ed65e52463a4c193d72d2c7d
a638a676b4 [PHP 7.4] Fix literator separator string/int missmatch in PHPStan type (#2913)
2022-09-05 17:52:37 +00:00
Tomas Votruba
12fa9feb17 Updated Rector to commit 21c4d378a5a054aecff8d114d34a25771a519ebe
21c4d378a5 [PHP 8.0] Add way to adjust specifics attribute arguments (#2834)
2022-08-24 11:51:48 +00:00
Tomas Votruba
8582284513 Updated Rector to commit ed92724c846790f1bab66cd81b3e20a6561694ed
ed92724c84 [DX] Try unused public const PHPStan rule (#2595)
2022-06-30 13:57:27 +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
653bbcea94 Updated Rector to commit f01725a084
f01725a084 Use php-parser to work with literal _ number separator (#2321)
2022-05-31 21:16:09 +00:00
Tomas Votruba
ba3d4a2c17 Updated Rector to commit b4120a8850
b4120a8850 [DX] Use direct method on node, instead of token position (#2340)
2022-05-21 08:50:30 +00:00
Tomas Votruba
33e9a631fe Updated Rector to commit 80df62821f
80df62821f [Doc] Document deprecated USE_NODES and CURRENT_STATEMENT constant to use existing method call when needed (#2181)
2022-04-27 14:50:11 +00:00
Tomas Votruba
8b3f1ca9f2 Updated Rector to commit bc39917aba
bc39917aba Remove USE_NODES from UseNodesToAddCollector (#2162)
2022-04-25 08:57:07 +00:00
Tomas Votruba
8cf0a1bf3a Updated Rector to commit 5cc41ac787
5cc41ac787 Simplify RemoveUnreachableStatementRector to use less connecting nodes (#2125)
2022-04-22 15:22:45 +00:00
Tomas Votruba
dc2fdd3bdc Updated Rector to commit 3e4e571499
3e4e571499 [DX] Remove deprecated attributes (#2039)
2022-04-09 23:57:55 +00:00
Tomas Votruba
623e329a47 Updated Rector to commit 55575af7d6
55575af7d6 Move RemovedAndAddedFilesCollector, ParameterProvider from AbstractRector to rules that actually use it (#2038)
2022-04-09 23:52:05 +00:00
Tomas Votruba
7ca19c8bbf Updated Rector to commit 961c3aea5c
961c3aea5c [Core] Remove unneeded ChangedNodeAnalyzer service (#1868)
2022-02-25 10:00:26 +00:00
Tomas Votruba
eaaacf8462 Updated Rector to commit a17759c050
a17759c050 [Php74] Mirror comment on Closure return to ArrowFunction expr on ClosureToArrowFunctionRector (#1677)
2022-01-14 15:53:17 +00:00
Tomas Votruba
a65233ea4f Updated Rector to commit 0c695e2e05
0c695e2e05 [Downgrade PHP 8.0] Add DowngradeDereferenceableOperationRector (#1442)
2021-12-09 17:01:18 +00:00
Tomas Votruba
4c91ed1b0a Updated Rector to commit 99a337285a
99a337285a [TypeDeclaration] Add AddPropertyTypeDeclaration rule (#1317)
2021-11-26 20:07:54 +00:00
Tomas Votruba
17e1139e1f Updated Rector to commit dfe5bcfabc
dfe5bcfabc Misc (#1312)
2021-11-25 19:08:52 +00:00
Tomas Votruba
2b0c5910b7 Updated Rector to commit 3c3340f943
3c3340f943 fix cs
2021-11-06 16:28:27 +00:00
Tomas Votruba
f672f1b109 Updated Rector to commit 8f7fea0925
8f7fea0925 remove deprecated FILE_INFO const attribute
2021-11-06 16:20:42 +00:00
Tomas Votruba
37d7f8d5dc Updated Rector to commit 938177433d
938177433d Deprecatd METHOD_NAME node (#1169)
2021-11-06 16:18:06 +00:00
Tomas Votruba
b5ad3a2e08 Updated Rector to commit 824df97e93
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 c3b6efea7e
c3b6efea7e Move from CLASS_NODE attribute to more reliable parent node finder (#1162)
2021-11-06 12:10:48 +00:00
Tomas Votruba
4743880dc6 Updated Rector to commit 23046668ed
23046668ed [PHPStan 1.0] Remove node naming visitors and re-use PHPStan ones (#1144)
2021-11-05 23:24:22 +00:00
Tomas Votruba
6d32da57f9 Updated Rector to commit a60e3ac320
a60e3ac320 warn about infinite loop node modification (#51)
2021-05-16 18:32:58 +00:00
Tomas Votruba
7d36c3b0b9 Updated Rector to commit a80cf5292d
a80cf5292d revert to working scoper 0.14
2021-05-10 22:23:08 +00:00
Tomas Votruba
363a910cf7 Updated Rector to commit a7db1ad94d
a7db1ad94d use scoper 0.15
2021-05-10 22:10:16 +00:00
Tomas Votruba
d56e7982d0 Updated Rector to commit dedd4b55fe
dedd4b55fe make node_helper.php safe for similar names
2021-05-09 20:15:43 +00:00
Tomas Votruba
f925b62d9b
Report add array doc nodes (#6274) 2021-05-01 10:59:25 +00:00
Tomas Votruba
f9dc93cb1a
Fix WrapEncapsedVariableInCurlyBracesRector reporting (#6220)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-23 19:32:59 +00:00