958 Commits

Author SHA1 Message Date
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
417ee5c749 decouple 2019-09-21 21:18:24 +02:00
Tomas Votruba
d727b0181e [Doctrine] Add ChangeIdenticalUuidToEqualsMethodCallRector 2019-09-21 19:44:34 +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
2244dad326 [tests] add PhpVersionFeature value object + fix public of protected function 2019-09-15 16:37:38 +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
4596d656b7 [CodingStyle] Add ManualJsonStringToJsonEncodeArrayRector 2019-07-24 16:28:32 +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
Tomas Votruba
da6a3920c1 cleanup 2019-07-09 17:29:04 +02:00
Holtkamp
60eb0fd051 Do not mark injected properties as private as soon as they use constructor-based injection 2019-07-09 14:31:35 +02:00
Jeroen Smit
b8cb084573 Fixed some issues for RemoveZeroAndOneBinaryRector (#1702)
* Fixed issue where '1 / x' is considered to be equal to 'x'
Fixed issue where '($var + 1)' inside another expression is considered to be equal to '1'
Expanded unit test for ValueResolver

* Made tests more explicit
2019-07-06 22:53:29 +02:00
Tomas Votruba
154a4e4012 Fix ContainerGetToConstructorInjectionRector to add parent::__construct() to commands 2019-07-04 12:37:01 +03:00
Tomas Votruba
3aa8e4952d [PHP] Add scope limitation to ArgumentAdderRector for 3party non-existing params [closes #1662] 2019-07-02 22:17:02 +02:00
Tomas Votruba
4cec86bbe0 remove preslash of use imports from RenameClassRetor 2019-07-02 22:08:45 +02:00
Tomas Votruba
0d78c02ee6 add polyfil functions features to PHP sets 2019-07-02 18:33:28 +02:00
Tomas Votruba
82a379dc2b fix InjectAnnotationClassRector for @var case 2019-07-02 17:07:11 +02:00
Tomas Votruba
522fc0ca58 rename level dir to set 2019-06-08 22:41:52 +02:00
Tomas Votruba
1509b720ad Fix anonymous class method return type resolving [closes #1566] 2019-06-05 17:09:36 +02:00