792 Commits

Author SHA1 Message Date
Tomas Votruba
c7e537160a add JoinTestAndProvideFilesRector [examples]
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-04 15:34:40 +01:00
Tomas Votruba
3e74cf4c85 tests cleanup
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-04 15:34:40 +01:00
Tomas Votruba
3eeaaa7625 run test
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-04 14:15:39 +01:00
Tomas Votruba
3420edeae3 add JoinWrongAndCorrectTestsRector
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-04 03:10:15 +01:00
Tomas Votruba
7c6a8be85e simlify tests by SimplifyTestsRector
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-03 22:53:11 +01:00
Tomas Votruba
14c6178f57 add SimplifyTestsRector
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-03 22:50:16 +01:00
Tomas Votruba
73466ac247 rename test files method to provideFiles()
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-03 20:13:46 +01:00
Tomas Votruba
9faa7fbd4b [PHP] Add *ScalarTypehintRector + *TypeInfo
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-01 15:55:46 +01:00
Tomas Votruba
296d3a32e4 Make PseudoNamespaceToNamespaceRector config consistent with rest of Rectors [closes #781]
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-01 13:15:17 +01:00
Tomas Votruba
36dc29b56d merge Utils package to PhpParser 2018-11-08 13:04:38 +01:00
Tomas Votruba
7deeab99ec merge ClassLikeMaintainer + ClassDependencyMaintaienr to ClassMaintainer 2018-11-04 20:13:03 +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
ac92d6e768 Fix FunctionReplaceRector for anonymous functions [closes #750] 2018-11-02 17:15:21 +01:00
Tomas Votruba
3b2714d44b add replaceVisibilityFlag() method 2018-10-31 23:10:39 +01:00
Tomas Votruba
6e591117c8 Make ChangeConstantVisibilityRector use or foreach type checking 2018-10-31 22:26:34 +01:00
Tomas Votruba
9e58fda70f Remove active from ToStringMethodCallRector 2018-10-31 20:57:26 +01:00
Tomas Votruba
650d7a4547 Remove active from GetAndSetToMethodCallRector 2018-10-31 20:57:26 +01:00
Tomas Votruba
023522acf2 Make StaticCallToFunctionRector configuration consistent with type as key 2018-10-31 20:57:26 +01:00
Tomas Votruba
7b669d89ba [Doctrine] Make ReplaceParentRepositoryCallsByRepositoryPropertyRector 2018-10-28 17:50:10 +01: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
075707447a [Symfony] Add FormTypeInstanceToClassConstRector 2018-10-24 12:06:35 +02:00
Tomas Votruba
5a1e8ba957 cleanup StaticMethodNameReplacerRector 2018-10-22 20:33:19 +02:00
Tomas Votruba
c81aa78da8 Add support for case insensitive const renaming 2018-10-22 19:40:27 +02:00
Tomas Votruba
5393711450 Add support for case insensitive func renaming 2018-10-22 19:40:27 +02:00
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