1128 Commits

Author SHA1 Message Date
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
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
1e722a581e [FileSystemRector] Apply array param autowire 2018-10-06 23:21:07 +08:00
Tomas Votruba
ca574d7cab [YamlRector] Apply array param autowire 2018-10-06 23:21:07 +08:00
Tomas Votruba
318f5b30f8 [NodeTraverser] Apply array param autowire 2018-10-06 23:21:07 +08:00
Tomas Votruba
3073942c8a [NodeTypeResolver] Apply array param autowire 2018-10-06 23:21:07 +08:00
Tomas Votruba
bca4d5eadc Use AutowireArrayParameterCompilerPass 2018-10-06 23:21:07 +08:00
Tomas Votruba
7d989cd58f [NodeTypeResolver] Unwrap standalone usage, not working and ContainerFactory is better approach ATM 2018-10-06 10:19:57 +08:00
Tomas Votruba
3660362e32 apply simple config on levels 2018-10-06 09:26:35 +08:00
Tomas Votruba
31f6649908 Add TolerantRectorYamlFileLoader 2018-10-06 09:26:35 +08:00