1141 Commits

Author SHA1 Message Date
Tomas Votruba
3c1c431684 [DomainDrivenDesign] Move coupled location to rest of Rector in standalone package 2018-10-17 19:47:09 +02:00
Tomas Votruba
395dc9b2e9 [CodeQuality] Move coupled location to rest of Rector in standalone package 2018-10-17 19:47:09 +02:00
Tomas Votruba
ea185f9629 improve annotaiton content matchign 2018-10-17 19:47:09 +02:00
Tomas Votruba
ab22d2c6a8 Add ConstFetchAnalyzerTrait 2018-10-17 19:47:09 +02:00
Tomas Votruba
1f51866acf early return + resolve todo 2018-10-17 12:25:56 +02:00
Tomas Votruba
1e28eb853b merge NodeTypeAnalyzer to TypeAnalyzerTrait 2018-10-17 12:24:00 +02:00
Tomas Votruba
966882e489 GetToConstructorInjectionRector - merge type args 2018-10-17 12:19:11 +02:00
Tomas Votruba
86eb966904 resolve todo 2018-10-17 12:14:42 +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
Tomáš Votruba
a88c3ba9da
Merge pull request #703 from rectorphp/cq-foreach-to-coala
[CodeQuality] Add SimplifyForeachToCoalescingRector
2018-10-17 15:47:22 +08:00
Tomas Votruba
0cacba00ff Add class-based annotation support to AnnotatedPropertyInjectToConstructorInjectionRector 2018-10-16 23:41:18 +08:00
Tomas Votruba
e21ebbbaf2 [CodeQuality] Add SimplifyForeachToCoalescingRector 2018-10-16 15:34:26 +08:00
Tomas Votruba
986c5802e8 [CodeQuality] Add SimplifyBinarySwitchRector 2018-10-16 12:49:55 +08:00
Tomas Votruba
2ed272973d move RobotLoader cache to tmp instead of root 2018-10-16 12:46:42 +08:00
Tomas Votruba
2d9618e175 add more array with callback functions 2018-10-16 00:04:08 +08:00
Tomas Votruba
3c0873e3b3 [CodeQuality] Add SimplifyArrayCallableRector 2018-10-16 00:00:46 +08:00
Tomas Votruba
8a9f9a58c4 manual cleanup of such case 2018-10-15 21:57:40 +08: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
a7afe1fed9 [CodeQuality] Add SimplifyFalseComparisonToNegateRector 2018-10-15 21:47:46 +08:00
Tomas Votruba
5745eab201 apply this Rector to code 2018-10-15 21:04:55 +08:00
Tomas Votruba
da570b7205 make use of BetterStandardPrinterTrait in Rectors 2018-10-15 18:09:27 +08:00
Tomas Votruba
eb65b54111 [CodeQuality] Add SimplifyMirrorAssignRector 2018-10-15 17:41:53 +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
d4009b3888 Add NameAnalyzerTrait 2018-10-15 14:36:25 +08:00
Tomas Votruba
3cb093f87f init getTypes() remove in other analyzers 2018-10-15 10:35:45 +08:00
Tomas Votruba
b4b728dc28 [CodeQuality] Add SimplifyInArrayValuesRector 2018-10-15 08:30:41 +08:00
Tomas Votruba
deff6bb56e [ContributorTools] Fix Rector path in test config 2018-10-15 08:26:09 +08:00
Tomas Votruba
9b569f6c44 make use of TypeAnalyzerTrait 2018-10-15 08:14:21 +08:00
Tomas Votruba
dee5c4e427 [ContributorTools] Add CreateRectorCommand 2018-10-14 15:29:56 +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
70985f695c Fix GetRequestRector method name resolving of non-string name [closes #646] 2018-10-12 10:41:35 +08:00
Tomas Votruba
a8ef98e2b5 Apply FinderSanitizer to make sure all files exists and have content [closes #655] 2018-10-12 10:24:07 +08:00
Tomas Votruba
2b2049c923 [PHP] Add ArrayKeyFirstLastRector 2018-10-11 14:17:41 +08:00
Tomas Votruba
4712c3297f Add ExpressionNodeVisitor 2018-10-11 12:49:49 +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