783 Commits

Author SHA1 Message Date
Tomas Votruba
f44370e6c7 use service type resolving over global one 2018-08-06 12:35:26 +02:00
Tomas Votruba
2ab86cb9fb more namespace related fixes 2018-08-03 09:17:19 +02:00
Tomas Votruba
943b20a83f move Dynamic Rectors to its own namespaces 2018-08-01 22:08:08 +02:00
Tomas Votruba
c312ecc2d3 move Dynamic Rectors to its own namespaces 2018-08-01 22:08:08 +02:00
Tomas Votruba
75982383ec Add FunctionToMethodCallRector test 2018-08-01 22:08:08 +02:00
Tomas Votruba
f44e42d2b9 move Dynamic Rectors to its own namespaces 2018-08-01 21:31:17 +02:00
Tomas Votruba
be8e578fa7 move Dynamic Rectors to its own namespaces 2018-08-01 21:31:17 +02:00
Tomas Votruba
11bd22dbc7 move Dynamic Rectors to its own namespaces 2018-08-01 21:31:17 +02:00
Tomas Votruba
88f9dc754f # This is a combination of 2 commits.
# This is the 1st commit message:

move Dynamic Rectors to its own namespaces

# The commit message #2 will be skipped:

# fixup! move Dynamic Rectors to its own namespaces
2018-08-01 21:31:16 +02:00
Tomas Votruba
014fcbbd3f move Arguments Rectors from Dynamic to own namespace 2018-08-01 21:31:16 +02:00
Tomas Votruba
2bf86874f4 add ConfiguredCodeSample 2018-08-01 21:31:16 +02:00
Tomas Votruba
8dcc357104 remove duplicated test 2018-08-01 21:31:16 +02:00
Tomas Votruba
34989eb043 add ConfiguredCodeSample 2018-08-01 21:31:16 +02:00
Tomas Votruba
3b2304e1da add ConfiguredCodeSample 2018-08-01 21:31:01 +02:00
Tomas Votruba
1cc094845d [Rector] Add ChangeConstantVisibilityRector 2018-07-31 13:29:44 +02:00
Tomas Votruba
f45d3047dc [Rector] Add ChangeMethodVisibilityRector 2018-07-31 13:24:57 +02:00
Tomas Votruba
98a56c47f2 Add support for other modifiers 2018-07-31 10:57:43 +02:00
Tomas Votruba
c13a279bf1 Add ChangePropertyVisibilityRector 2018-07-31 10:09:36 +02:00
Tomas Votruba
e89f1fd2f1 cleanup config 2018-07-31 09:23:25 +02:00
Tomas Votruba
a02de9c549 make test case use of Silvestripe case 2018-07-31 08:31:56 +02:00
Tomas Votruba
2e6a7d43e6 keep the order the way it is in config 2018-07-31 08:31:56 +02:00
Tomas Votruba
6fdb711b02 complete multiple traits test 2018-07-31 08:31:56 +02:00
Tomas Votruba
7916a692fa Add multiple cases support to ParentClassToTraitsRector 2018-07-31 08:31:56 +02:00
Tomas Votruba
c217a7e1f1 Add multi-trait support to ParentClassToTraitRector [closes #536] 2018-07-31 08:16:29 +02:00
Tomas Votruba
565ee890ea fix covers class references 2018-07-25 17:53:08 +02:00
Tomas Votruba
2645d2f9a1 static fixes 2018-07-25 14:18:37 +02:00
Tomas Votruba
34f8dd5b0f fix config path 2018-07-23 17:30:40 +02:00
Tomas Votruba
c4c0b094af add dump() case as well 2018-07-18 16:16:16 +02:00
Tomas Votruba
fc01c1f801 add another test case 2018-07-18 16:16:16 +02:00
Tomas Votruba
314c0a10cf add array before keys to ArgumentDefaultValueReplacerRector 2018-07-18 16:16:16 +02:00
Tomas Votruba
fbed55f722 ArgumentRectors - move from factories to ValueObject factories to improve orientation in the code 2018-07-18 16:16:16 +02:00
Tomas Votruba
a52ff3b099 prepare test case for array keys 2018-07-18 16:16:16 +02:00
Tomas Votruba
5eaa2c4eff Change replacement to before / after options in ArgumentDefaultValueReplacerRecipe to allow array keys 2018-07-18 16:16:16 +02:00
Tomas Votruba
c31a5acec8 Add Yaml parse 2nd argument replacement 2018-07-18 16:16:16 +02:00
Tomas Votruba
f2cea259d2 Add Yaml::parse(, Yaml::PARSE_KEYS_AS_STRINGS) case 2018-07-17 22:48:31 +02:00
Gabriel Caruso
33658e5987
Remove unused import 2018-07-04 00:40:39 -03:00
Tomas Votruba
3528c0d0fe Fix FilesFinder for multiple suffixes 2018-06-28 18:25:15 +02:00
Tomas Votruba
8406eec88b merge YamlFilesFinder and PhpFilesFinder to FilesFinder 2018-06-28 16:23:33 +02:00
Tomas Votruba
78b88f3dd4 fix tests 2018-06-21 15:02:33 +02:00
Tomas Votruba
7ed90af97d Add another test case to MagicInterfacesRector, fix namespaces 2018-06-21 13:57:27 +02:00
Tomas Votruba
13ce5bb9d0 make added interface unique 2018-06-21 13:53:05 +02:00
Tomas Votruba
3e72db8fc1 Add MergeInterfaceRector [wip] 2018-06-13 15:17:27 +02:00
Tomas Votruba
9c6d57aa79 fix type resolving 2018-06-13 12:56:39 +02:00
Tomas Votruba
180c08b39b tests - add covers references for faster movement 2018-06-13 12:56:39 +02:00
Tomas Votruba
42d03c27bc rebuild overview 2018-06-13 12:56:39 +02:00
Tomas Votruba
6922185cd6 rename NetteObjectToSmartTraitRector to generic ParentClassToTraitRector 2018-06-06 16:02:47 +02:00
Tomas Votruba
f0ddc564e4 change ChoiceDefaultValueRector to generic PropertyAssignToMethodCallRector 2018-06-06 15:12:07 +02:00
Tomas Votruba
44eda48426 fix annotation path 2018-06-06 14:52:51 +02:00
Tomas Votruba
0602921ede move MethodCallToAnotherMethodCallWithArgumentsRector form Nette to generic Rector/MethodCall 2018-06-06 13:58:02 +02:00
Tomas Votruba
de07fd3997 move RenameClassConstantsUseToStringsRector from Nette to generic Rector/Constant 2018-06-06 12:05:36 +02:00