855 Commits

Author SHA1 Message Date
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
Tomas Votruba
2c3d2616c6 improve class rename in doc blocks 2019-09-11 16:02:35 +02:00
Tomas Votruba
056b0bbff9 fixing import rectors 2019-09-11 13:00:51 +02:00
Tomas Votruba
622b6c1460 migrate TypeInferers to PHPStan object types 2019-09-10 20:40:43 +02:00
Tomas Votruba
82efb89940 use object types over strings 2019-09-06 12:29:55 +02:00
Tomas Votruba
79ffad4a0b add @see annotations 2019-09-03 14:05:21 +02:00
Tomas Votruba
1fdeffe2e1 fix test classes names 2019-09-03 14:02:42 +02:00
Tomas Votruba
04d01ffdfe add Symfony Validator annotations 2019-08-30 23:08:03 +02:00
Tomas Votruba
2b51b257e1 decouple PhpDocClassRenamer 2019-08-30 22:29:51 +02:00
Tomas Votruba
677e920dbe [RenameClassRector] Include @ORM, @Assert, @Serializer etc annotations 2019-08-21 18:32:14 +02:00
Tomas Votruba
e8fbc4bc10 relocate RemoveDeadInitializationRector to RemoveNullPropertyInitializationRector 2019-08-21 17:20:12 +02:00
jacekll
4af8773bf9 [DeadCode] Remove null value from property 2019-08-20 00:12:39 +02:00
Tomas Votruba
27b0218b95 skip differnt return in FluentReplaceRector 2019-08-15 00:18:30 +02:00
Tomas Votruba
5b87ecdba9 fix FluentReplaceRector for 3+ method calls 2019-08-14 22:52:26 +02:00
Tomas Votruba
d04b66adef fix import order 2019-07-14 14:00:41 +02:00
Holtkamp
0c93729d99 Add failing test to demonstrate difference in import order 2019-07-11 23:41:26 +02:00
Tomas Votruba
e5844eb13a [Generic] Add ServiceGetterToConstructorInjectionRector 2019-07-10 08:50:50 +02:00