102 Commits

Author SHA1 Message Date
Tomas Votruba
05e5df7406 [cs] apply property sort 2018-10-31 16:35:15 +01:00
Tomas Votruba
d825640717 add test case for #743 2018-10-30 19:13:39 +01:00
Tomas Votruba
fa46fb5dfe apply SimplifyIfReturnBoolRector on Rector code 2018-10-27 14:57:53 +02:00
Tomas Votruba
2125e24e1f normalize printer to keep 1 single line in the end + apply to 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
e731e46541 restor 3rd party comparison strict, might be relevant 2018-10-15 21:52:08 +08:00
Tomas Votruba
ba0c3eea95 apply this Rector to code 2018-10-15 21:49:45 +08: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
31f6649908 Add TolerantRectorYamlFileLoader 2018-10-06 09:26:35 +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
Tomas Votruba
fb6a3d818b [PHP] Add Php4ConstructorRector 2018-10-05 19:02:50 +08:00
Tomas Votruba
2a1fffc443 add PHP Rectors to own groups 2018-10-05 17:05:03 +08:00
Tomas Votruba
bae0a5bf44 [PHP] Add PublicConstantVisibility 2018-10-04 23:56:46 +08:00
Tomas Votruba
c8c82aabfd [PHP] Add RandomFunctionRector 2018-10-04 23:37:45 +08:00
Tomas Votruba
02d2ba69e3 [PHP] Add NullCoalesceRector 2018-10-04 23:09:30 +08:00
Tomas Votruba
39b5c0826f [PHP] Add pow to exp Rector [ref #638] 2018-10-04 16:21:56 +08:00
Tomas Votruba
9e9f5e796f init IsIterableRector [ref #638] 2018-10-04 15:59:30 +08:00