59 Commits

Author SHA1 Message Date
Tomas Votruba
b62c31bcad Add NodeRemovingCommander 2018-11-07 21:30:55 +01:00
Tomas Votruba
9283ac30bf make use of AssignAndBinaryMap 2018-11-07 19:59:22 +01:00
Tomas Votruba
71824ab33c make use of BinaryOpMaintainer 2018-11-07 19:49:13 +01:00
Tomas Votruba
aaf409eed2 move php-parser related code under PhpParser namespace, add Maintainer type for services reading/writing to nodes 2018-11-04 02:17:02 +01:00
Tomas Votruba
d71d6a1f12 make use of NodeFactoryTrait 2018-11-03 21:53:08 +01:00
Tomas Votruba
c3558f65c4 [CodingStyle] Add NullableCompareToNullRector + add NodeFactoryTrait + cleanup 2018-11-03 18:01:19 +01:00
Tomas Votruba
c0222a9398 Improve CountOnNullRector 2018-11-03 00:06:56 +01:00
Tomas Votruba
6b8a9acdf2 [PHP] Fix AssignArrayToStringRector [closes #743] 2018-11-02 17:04:49 +01:00
Tomas Votruba
d6d365e0cf add createConstFetch 2018-10-31 23:12:46 +01:00
Tomas Votruba
6375c12b14 make use of helper method of AbstractRector 2018-10-31 23:10:39 +01:00
Tomas Votruba
b9dd90266a make use of helper method of AbstractRector 2018-10-31 22:15:41 +01:00
Tomas Votruba
218366f762 [cs] apply private method order 2018-10-31 16:35:15 +01:00
Tomas Votruba
05e5df7406 [cs] apply property sort 2018-10-31 16:35:15 +01:00
Tomas Votruba
fa46fb5dfe apply SimplifyIfReturnBoolRector on Rector code 2018-10-27 14:57:53 +02:00
Tomas Votruba
c37330db6a add isNameInsensitive 2018-10-22 19:40:27 +02:00
Tomas Votruba
7f582d37d4 Add RemovingTrait, RemovingNodeVisitor and RemovedNodesCollector 2018-10-22 18:28:36 +02:00
Tomas Votruba
09027d06eb resolve phpstan reports 2018-10-22 18:02:36 +02:00
Tomas Votruba
f330c5e9c2 make return null consistent on no change 2018-10-21 13:06:28 +02:00
Tomas Votruba
e0a368524e make tests produce not messy output 2018-10-19 14:52:25 +02:00
Tomas Votruba
87a5a1b824 big question 2018-10-17 19:47:09 +02:00
Tomas Votruba
e0aa23a47a fix namespaces of BarewordStringREctor and SensistiveHereNowDocRector 2018-10-17 19:47:09 +02:00
Tomas Votruba
0de721e350 AbstractRector: change returnNode property to method to make remove process more intuitive 2018-10-17 19:47:09 +02:00
Tomas Votruba
1e28eb853b merge NodeTypeAnalyzer to TypeAnalyzerTrait 2018-10-17 12:24:00 +02:00
Tomas Votruba
6daa618ab3 [PHP] Add TrailingCommaArgumentsRector 2018-10-17 10:29:27 +02:00
Tomas Votruba
4faa1425c8 [PHP] Add BarewordStringRector 2018-10-17 10:16:32 +02:00
Tomas Votruba
bdc72fe7be [PHP] Add JsonThrowOnErrorRector 2018-10-17 10:13:04 +02:00
Tomas Votruba
379ea93553 [PHP] Add StringifyStrNeedlesRector 2018-10-17 10:12:06 +02:00
Tomas Votruba
3bddc84827 add source [skip ci] 2018-10-17 09:54:48 +02:00
Tomas Votruba
a9cb8ece58 add mbereg → mb_ereg function renames 2018-10-17 09:53:42 +02:00
Tomas Votruba
5de35b9706 [PHP] Add SensitiveHereNowDocRector 2018-10-17 09:53:42 +02:00
Tomas Votruba
e2d68961f6 [PHP] Add UnsetCastRector 2018-10-17 09:47:47 +02:00
Tomas Votruba
da570b7205 make use of BetterStandardPrinterTrait in Rectors 2018-10-15 18:09:27 +08:00
Tomas Votruba
6c752f5128 Add NameResolver, to cover functionality of naming 2018-10-15 16:46:15 +08:00
Tomas Votruba
5933cca87d remove callAnalyzer form Rectors 2018-10-15 14:45:34 +08:00
Tomas Votruba
5deb94f9ff unite refactor(node) naming to node, to make clear the main argument name 2018-10-15 14:45:34 +08:00
Tomas Votruba
f0fdc8e410 remove unused methods 2018-10-15 14:36:25 +08:00
Tomas Votruba
0934960e6d make use of CallAnalyzer to prevent Var string errors with non-string funciton and method call names 2018-10-13 23:13:13 +08:00
Tomas Votruba
b012597fa8 [PHP] Add constant sensitive Rectors 2018-10-12 13:03:37 +08:00
Tomas Votruba
2b2049c923 [PHP] Add ArrayKeyFirstLastRector 2018-10-11 14:17:41 +08:00
Tomas Votruba
1035b04658 [PHP] Add CountOnNullRector 2018-10-10 22:52:34 +08:00
Tomas Votruba
ebd9998b78 [PHP] Add AssignArrayToStringRector 2018-10-10 13:42:51 +08:00
Tomas Votruba
39c9c6982a [PHP] Add EregToPregMatchRector 2018-10-09 13:05:50 +08:00
Tomas Votruba
658cef5fc2 [PHP] Add MultiExceptionCatchRector 2018-10-08 12:52:26 +08:00
Tomas Votruba
ecbf96a9ed [PHP] Add CallUserMethodRector 2018-10-07 22:03:32 +08:00
Tomas Votruba
e179df133b [PHP] Add ListSwapArrayOrderRector 2018-10-07 21:39:36 +08:00
Tomas Votruba
44c4e70199 [PHP] Add EmptyListRector 2018-10-07 20:16:42 +08:00
Tomas Votruba
4fd1e19113 [PHP] Add ListSplitStringRector 2018-10-07 19:56:07 +08:00
Tomas Votruba
d1439079cb [PHP] Add Each Rectors 2018-10-07 17:10:40 +08:00
Tomas Votruba
2ffb04a229 [PHP] Add ReservedObjectRector 2018-10-06 00:18:55 +08:00
Tomas Votruba
9b5a6fb6e0 [PHP] Add MultiDirnameRector 2018-10-05 22:15:11 +08:00