2455 Commits

Author SHA1 Message Date
Tomas Votruba
f492007f37 move Contributor tools to utils 2019-08-24 12:50:35 +02:00
Tomáš Votruba
888a9ce4e1
Merge pull request #1889 from markstory/cakephp38
Add cakephp3.8 target and fix a typo
2019-08-24 10:43:32 +02:00
Mark Story
5a4906d230 Fix typo 2019-08-23 21:41:15 -04:00
Tomas Votruba
361a2936d7 import rector self 2019-08-21 19:14:03 +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
Tomáš Votruba
1ff5443ba8
Merge pull request #1870 from jacekll/fix-null-initialization
[DeadCode] Remove null value from property
2019-08-21 11:43:15 +02:00
Christian Scheb
bb11a23014 Remove default excluded file patterns (closes #1815) 2019-08-20 21:04:55 +02:00
jacekll
4af8773bf9 [DeadCode] Remove null value from property 2019-08-20 00:12:39 +02:00
Tomas Votruba
914f0b936c [PHP 7.4] Add literal thousand superator 2019-08-19 16:39:38 +02:00
Tomas Votruba
6c77e2813e autoload files first before project 2019-08-18 01:32:20 +02:00
Tomas Votruba
70665ccad6 skip nested function returns 2019-08-17 14:59:10 +02:00
Tomas Votruba
ad987fd766 skip ctor 2019-08-17 14:30:47 +02:00
Tomas Votruba
251d925b31 add array type to iterable 2019-08-17 13:00:40 +02:00
Tomas Votruba
806b3d1581 remove removal of array types inside *TypeInfo 2019-08-16 22:52:23 +02:00
Tomas Votruba
b9d07b8455 always keep more detailed array types in *TypeInfo 2019-08-16 22:52:23 +02:00
Tomas Votruba
402fa85814 [TypeDeclaration] Add AddArrayReturnDocTypeRector 2019-08-16 22:35:41 +02:00
Tomas Votruba
ac479cd5c4 [TypeDeclaration] Add AddArrayParamDocTypeRector 2019-08-16 15:29:05 +02:00
Tomas Votruba
27b0218b95 skip differnt return in FluentReplaceRector 2019-08-15 00:18:30 +02:00
Tomáš Votruba
20792cc729
Merge pull request #1822 from scheb/private-constant-issue
Add test for #1816: Resolving constant fetches is unsafe
2019-08-14 23:54:42 +02:00
Tomas Votruba
5b87ecdba9 fix FluentReplaceRector for 3+ method calls 2019-08-14 22:52:26 +02:00
Tomas Votruba
0ba915eede add reporting extension, rename rector finish to finishing 2019-08-13 21:00:35 +02:00
Christian Scheb
eefbe071fb Use a dedicated service to resolve class constant fetches after parsing 2019-08-12 22:17:34 +02:00
Christian Scheb
64e0b5389c Collect constant fetches and only resolve them when they're retrieved 2019-08-12 21:27:05 +02:00
Tomas Votruba
9ce4ca6555 add RectorFinishExtensionRunner 2019-08-12 12:47:06 +02:00
Tomas Votruba
6c7927fc17 class manipulator now returns Property on property name search 2019-08-11 16:21:56 +02:00
Tomas Votruba
1f9f5c7e0d add PHPUnitEnvironment 2019-08-10 13:11:22 +02:00
Tomas Votruba
4b584b9507 fix RemoveSetterOnlyPropertyAndMethodCallRector race condition 2019-08-10 11:43:34 +02:00
Tomas Votruba
dda66052b5 decopule NodeRemovingNodeVisitor 2019-08-10 10:04:47 +02:00
Tomas Votruba
2d1ee98ef3 fix reseting of removed nodes 2019-08-09 18:53:31 +02:00
Tomas Votruba
62f766aad3 fix var/method call resolver 2019-08-09 13:48:52 +02:00
Tomas Votruba
40802e5051 fix unused method type for return type 2019-08-09 10:34:50 +02:00
Tomas Votruba
2d4890706f fix non-same parent method name for RemoveParentCallWithoutParentRector 2019-08-09 10:19:34 +02:00
Tomas Votruba
2847bf2b8f skip serialized props 2019-08-06 14:23:41 +02:00
Tomas Votruba
6000b30369 [DeadCode] Add RemoveSetterOnlyPropertyAndMethodCallRector 2019-08-06 12:50:53 +02:00
Tomas Votruba
fc6e80c814 fix scope resolver files for tests 2019-08-06 10:13:11 +02:00
Tomas Votruba
0f60135b08 add removed nodes collector 2019-08-06 09:37:31 +02:00
Tomas Votruba
11732c84e7 fix multiple trait analysis 2019-08-06 08:32:21 +02:00
Tomas Votruba
5c1de848e7 cleanup code 2019-08-06 08:32:21 +02:00
Tomas Votruba
a4302b44be Improve trait node scope resolving 2019-08-05 21:13:37 +02:00
Tomas Votruba
d22f3d009c trait resolving can work with missing vendor parent class 2019-08-05 14:57:29 +02:00
Tomas Votruba
72b91209c7 [DeadCode] Add RemoveUnusedDoctrineEntityMethodAndPropertyRector 2019-08-04 23:39:48 +02:00
Tomas Votruba
201a8f31fa update getName() 2019-08-04 20:41:51 +02:00
Tomas Votruba
9410c0039e add iterable return type for yield values in ReturnTypeDeclarationRector 2019-08-04 13:05:40 +02:00
Tomas Votruba
2844f635cc fix method call type 2019-08-03 18:21:14 +02:00
Tomas Votruba
09708aabe9 fix incorrect null 2019-08-01 11:12:37 +02:00
Tomas Votruba
aeb101312e re-use function return type resolving 2019-08-01 10:18:30 +02:00
Tomas Votruba
7337a292ec fix type analyzer for FQN 2019-07-27 20:57:42 +02:00
Tomas Votruba
4596d656b7 [CodingStyle] Add ManualJsonStringToJsonEncodeArrayRector 2019-07-24 16:28:32 +02:00
Tomas Votruba
2b1e07399d make SymfonyContainer factory configurable with kernel_environment 2019-07-21 10:06:53 +02:00