871 Commits

Author SHA1 Message Date
TomasVotruba
047598c19e change design from getClass() to getClasses() 2020-04-30 12:28:49 +02:00
TomasVotruba
2fa2a471dc [Core] Add ChangeContractMethodSingleToManyRector 2020-04-30 12:27:31 +02:00
TomasVotruba
280a7547db fix missing external class test 2020-04-24 14:07:55 +02:00
TomasVotruba
1ecd30818a remove unused print method 2020-04-20 09:45:15 +02:00
TomasVotruba
192c4464ec various improvements 2020-04-19 23:17:01 +02:00
TomasVotruba
e3410f0f41 make PHPUnit 9.0 and 8.0 compat 2020-04-04 22:45:37 +02:00
TomasVotruba
d29c4ede57 Add DoctrineAnnotationParserSyncer 2020-04-04 22:01:47 +02:00
TomasVotruba
09cf6f8a4a move core architecture to own set 2020-02-13 14:44:36 +01:00
TomasVotruba
3e5dd77bb6 move Rector-rule based packages from /packages to /rules 2020-02-11 13:41:37 +01:00
TomasVotruba
7f2b0afd7d rename package to use lowercased standard, prevent confusion with PSR-4 autoloaded 2020-02-07 16:11:43 +01:00
TomasVotruba
607358a8e1 move src classes to Rector\Core namespace to prevent duplications 2020-02-07 00:57:45 +01:00
TomasVotruba
5e238cc3b1 use PhpDocInfo by default 2020-02-04 07:39:16 +01:00
TomasVotruba
447c2ead87 naming conventions for test fixtures 2020-02-02 18:37:04 +01:00
TomasVotruba
b32ab6c01e doc block manipulator refactoring to object 2020-01-30 22:45:28 +01:00
TomasVotruba
05b6df31e6 [CI] Add check for duplicated fixture after before content 2020-01-18 01:03:39 +01:00
TomasVotruba
3159da6712 use explicit null in yaml 2020-01-05 20:00:32 +01:00
TomasVotruba
a7df09e9ed merge ParentTypehintedArgumentRector and AddParamTypeDeclarationRector to AddParamTypeDeclarationRector 2019-12-25 11:15:32 +01:00
TomasVotruba
4e9ab470de [PHP Deglobalize] Add ChangeGlobalVariablesToPropertiesRector 2019-12-22 21:08:35 +01:00
TomasVotruba
c7656e7951 [NetteToSymfony] Add FormControlToControllerAndFormTypeRector 2019-12-22 19:37:46 +01:00
TomasVotruba
c7622ca5e8 prevent duplicated added interface 2019-12-19 23:55:50 +01:00
TomasVotruba
7711b0aeba [Class_] Add AddInterfaceByTraitRector 2019-12-19 23:12:25 +01:00
TomasVotruba
c1c0e37690 [Symfony] refactor to ServiceMap 2019-12-17 01:21:18 +01:00
TomasVotruba
9075363fef bump to PHPStan 0.12 2019-12-09 00:57:53 +01:00
TomasVotruba
ae073206d4 Add SwapClassMethodArgumentsRector 2019-12-08 11:10:26 +01:00
Tomas Votruba
8d57420bd6 use yieldFilesFromDirectory() in tests instead of explicid fixture naming 2019-11-05 18:02:26 +01:00
Tomas Votruba
99d30f3f17 fix locatoin 2019-10-24 11:56:55 +02:00
Tomas Votruba
7dfcf46c6f fix ArgumentAdderRector for anonymous class [closes #2157] 2019-10-18 16:21:39 +02:00
Tomas Votruba
acfd930f54 apply PSR-12 2019-10-13 08:09:08 +02:00
Tomas Votruba
116399a830 small tests refactoring 2019-10-05 11:04:00 +02:00
Tomas Votruba
8f5ac69e2f make tag value matching more precise 2019-10-04 19:03:07 +02:00
Tomas Votruba
8c259c8d92 add stubs over mirror class names in tests 2019-09-30 09:12:25 +02:00
Tomas Votruba
ed0e2ca0eb use setParameter() 2019-09-28 14:30:12 +02:00
Tomas Votruba
0da741a9a3 drop @return type from Iterator in tests 2019-09-27 14:40:09 +02:00
Tomas Votruba
190c5919fb Fix pseudo namespace to namespace with use statement [closes #1732] 2019-09-25 10:49:28 +02:00
Tomas Votruba
980778d69b move SwapFuncCallArgumentsRector to Argument 2019-09-23 18:19:04 +02:00
Tomas Votruba
614d22664f move RenameNamespaceRector to Renaming package 2019-09-23 17:56:10 +02:00
Tomas Votruba
8229d46b89 move RenameStaticMethodRector to Renaming package 2019-09-23 17:41:47 +02:00
Tomas Votruba
17d14ba4ac move RenameClassRector to Renaming package 2019-09-23 17:41:47 +02:00
Tomas Votruba
35dd776c36 move RenameClassConstantRector to Renaming package 2019-09-23 17:17:58 +02:00
Tomas Votruba
85aee8d56e move RenameMethodRector to Renaming package 2019-09-23 17:03:23 +02:00
Tomas Votruba
d74d59ce39 move RenameAnnotationRector to Renaming package 2019-09-23 16:58:54 +02:00
Tomas Votruba
bb116a8c52 move RenameMethodCallRector to Renaming package 2019-09-23 16:53:46 +02:00
Tomas Votruba
362f47a69c move RenameFunctionRector to Renaming package 2019-09-23 16:40:54 +02:00
Tomas Votruba
f558733611 [PHP] Split huge package to php by version rules 2019-09-23 13:38:51 +02:00
Tomas Votruba
7fc3a61f81 unite data provider 2019-09-15 21:48:17 +02:00
Tomas Votruba
abf9ced755 add FQNize same-namespace test 2019-09-15 21:48:17 +02:00
Tomas Votruba
7cf7248949 add AbstractGenericRectorTestCase 2019-09-15 20:27:32 +02:00
Tomas Votruba
ce332b4e65 add AbstractFileSystemRectorTestCase + test 2019-09-15 18:07:16 +02:00
Tomas Votruba
6ef6f073b6 [tests] switch testFiles to data providers 2019-09-12 10:18:26 +02:00
Tomas Votruba
6f983ad302 improve getByType() 2019-09-11 20:12:09 +02:00