1010 Commits

Author SHA1 Message Date
Tomas Votruba
465bd42925 use new PHP CS Fixer sort style for function namespaces 2019-01-02 14:22:25 +01:00
Tomas Votruba
41b0a2601f [PHP 7.4] Add function deprecations 2018-12-31 01:25:18 +01:00
Tomas Votruba
c03b1b1fb3 [DeadCode] Add RemoveUnusedParameterRector 2018-12-25 22:31:48 +01:00
Tomas Votruba
6717df5b9d remove unused Wrong test case autoload 2018-12-25 20:44:09 +01:00
Tomas Votruba
819d4c5e6a shorten indent on test file list 2018-12-17 01:29:09 +01:00
Tomas Votruba
65764c4eec shorten indent on test file list 2018-12-17 01:28:51 +01:00
Tomas Votruba
3ce2e41a03 remove unused configs 2018-12-16 02:39:26 +01:00
Tomas Votruba
321bc830f4 add GetClassOnNullRector 2018-12-14 22:17:56 +01:00
Tomas Votruba
e40dd5a962 clean 2018-12-14 20:52:16 +01:00
Tomas Votruba
f9fba047e1 add test case for #835 2018-12-13 21:06:12 +01:00
Tomas Votruba
2e3634f4ae add WrapReturnRector 2018-12-12 20:41:00 +01:00
Tomas Votruba
04626f4e5d add TybleStyle changes in Symfony 4 2018-12-12 18:48:58 +01:00
Tomas Votruba
d8d76d72b4 move FilesToReprtingCollector to new cycle in RectorApplication 2018-12-08 15:33:38 +01:00
Tomas Votruba
2a00f0d51b rename Wrong ns to Fixture in tests 2018-12-07 21:51:59 +01:00
Tomas Votruba
ef288d4045 [tests] rename test files to fixtures 2018-12-06 02:09:02 +01:00
Tomas Votruba
689555219f apply ConfiguredProvideConfigRector
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-04 21:17:06 +01:00
Tomas Votruba
54d13ece1d refactor with JoinWrongAndCorrectRector 2018-12-04 16:48:11 +01:00
Tomas Votruba
7ac6f10039 refactor /tests by JoinTestAndProvideFilesRector
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-04 15:34:40 +01:00
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