768 Commits

Author SHA1 Message Date
Tomas Votruba
44c0febb6a Add support for case insensitive property renaming 2018-10-22 19:40:27 +02:00
Tomas Votruba
064aceba39 Add i-case-sensitivity to MethodNameReplacerRector 2018-10-22 19:40:27 +02:00
Tomas Votruba
9374604bc2 Improve MethodNameReplacerRector 2018-10-22 19:40:27 +02:00
Tomas Votruba
3aef267709 [Class] Add case sensitive test for Class Replace 2018-10-22 19:40:27 +02:00
Tomas Votruba
f823f2a50c [Arguments] Refactor to constistent config 2018-10-22 00:16:41 +02:00
Tomas Votruba
82eedd4078 Add AutoloadWrongCasesEventSubscriber to simplify composer.json 2018-10-21 23:25:06 +02:00
Tomas Votruba
85b1fed683 add wrong cases autoload 2018-10-21 19:42:02 +02:00
Tomas Votruba
fedb932115 add missing @see references to Rector tests 2018-10-21 19:39:54 +02:00
Tomas Votruba
c2a900518c ArgumentRectors - use standard descendent configuration 2018-10-21 19:39:45 +02:00
Tomas Votruba
4cee626ee4 Remove MethodArgumentAnalyzer 2018-10-21 15:38:21 +02:00
Tomas Votruba
738d5ed3e7 Fix inlining ofr changed FuncCall args [closes #624] 2018-10-21 13:32:42 +02:00
Tomas Votruba
631040dda9 return commented tests 2018-10-21 11:27:40 +02:00
Tomas Votruba
3233316053 Make ConstructorMethodBuilder respect parent constructor 2018-10-20 09:38:49 +02:00
Ben Davies
4cfd1a6752 add tests for property to constructor injection when class is in inheritance chain 2018-10-19 16:29:39 +02:00
Tomas Votruba
70ea05352d [JMS] Add JmsInjectAnnotationRector 2018-10-19 08:04:16 +02:00
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
0cacba00ff Add class-based annotation support to AnnotatedPropertyInjectToConstructorInjectionRector 2018-10-16 23:41:18 +08:00
Tomas Votruba
86614bba3a [Architecture] Add failing test for #700 2018-10-16 20:53:22 +08:00
Tomas Votruba
120dc7c538 Expand SimplifyConditionsRector by Identical comparisons 2018-10-15 21:04:55 +08:00
Tomas Votruba
0e33b525fe Remove unused methods 2018-10-15 14:36:25 +08:00
Tomas Votruba
a3ab7916d2 Make MethodCallToAnotherMethodCallWithArgumentsRector many-configurable 2018-10-14 18:23:41 +08:00
Tomas Votruba
5f98af9333 Make PropertyAssignToMethodCallRector many-configurable 2018-10-14 18:23:41 +08:00
Tomas Votruba
f3654b1719 Make PropertyAssignToMethodCallRector many-configurable 2018-10-14 18:23:41 +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
461b5f3e3c [CodeQuality] Add SimplifyStrposLowerRector 2018-10-13 18:01:33 +08:00
Tomas Votruba
336623c70b [CodeQuality] Add SimplifyFuncGetArgsCountRector 2018-10-13 17:46:46 +08:00
Tomas Votruba
48b75e9ad6 [CodeQuality] Add SimplifyArraySearchRector 2018-10-13 17:35:23 +08:00
Tomáš Votruba
ccf4fd02e3
Merge pull request #677 from rectorphp/cq-get-class
[CodeQuality] Add GetClassToInstanceOfRector
2018-10-13 12:51:44 +08:00
Tomas Votruba
aee1866dee [CodeQuality] Add GetClassToInstanceOfRector 2018-10-13 12:46:52 +08:00
Gabriel Caruso
ad3df19eb0
Create SimplifyConditionsRector 2018-10-12 20:12:47 -03:00
Tomas Votruba
a7ac28679a [CodeQuality] Add CombinedAssignRector 2018-10-13 00:51:39 +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
3660362e32 apply simple config on levels 2018-10-06 09:26:35 +08:00
Tomas Votruba
c64cbcbcb7 tests: silent deprecations, since they are in tests 2018-10-05 19:16:11 +08:00
Tomas Votruba
5b65bb52fa tests: fix conflicting validating by autoloading only Wrong files in tests 2018-10-04 15:24:53 +08:00
Tomas Votruba
488ef3b40a init MultipleClassFileToPsr4ClassesRector 2018-09-29 00:12:35 +08:00
Tomas Votruba
75f2611722 use symplify/phpstan-extensions 2018-09-28 01:29:27 +08:00
Tomas Votruba
06865fb2af tests: delegate spaces to CS tool 2018-09-28 00:12:10 +08:00
Tomas Votruba
4b4547d3cc use FQN in tests, delegate to coding standard tool 2018-09-27 22:33:15 +08:00
Ben Davies
f0ddbbec97 add a few test to highlight issues with AnnotatedPropertyInjectToConstructorInjectionRector 2018-09-27 14:49:47 +01:00
Tomas Votruba
81d1697d14 init NormalToFluentRector 2018-09-26 19:34:51 +08:00
Tomas Votruba
b30fa8a047 bump to php-parser 4.0.4 2018-09-21 14:09:32 +02:00
Tomas Votruba
73c663b711 fix paths 2018-09-21 13:44:52 +02:00
Tomas Votruba
db385652c8 add SplFileInfo->getRealPath() custom type provider for PHPStan to save many irelevant reports 2018-09-21 07:50:14 +02:00
Tomas Votruba
bff2dfb805 Make PropertyToMethodRector work with getter with arg 2018-09-21 07:50:14 +02:00
Tomas Votruba
316830f50c MethodNameReplacerRector - fix variable type of identifier 2018-09-16 19:30:17 +02:00
Tomas Votruba
b0652d0f65 fix get request for GetRequestRector [closes #594] 2018-09-11 20:46:11 +02:00
Tomas Votruba
1c51f5d9bf allow loading --config and --level together [closes #613] 2018-08-30 22:23:51 +02:00
Tomas Votruba
8c41f00ac7 cleanups 2018-08-29 23:05:49 +02:00