2291 Commits

Author SHA1 Message Date
Tomas Votruba
ac479cd5c4 [TypeDeclaration] Add AddArrayParamDocTypeRector 2019-08-16 15:29:05 +02:00
Tomáš Votruba
bd12dd0d59
Merge pull request #1854 from tigitz/ignore_param_nullable_resource_type
Ignores resource also when type is nullable
2019-08-15 20:53:35 +02:00
Philippe Segatori
c33bdbbd07 Ignores resource also when type is nullable 2019-08-15 20:34:03 +02:00
Tomas Votruba
31a46f0ad8 [CodingStyle] Add AddArrayDefaultToArrayPropertyRector 2019-08-15 14:00:48 +02:00
Tomas Votruba
bd06c46716 decimal is float [closes #1810] 2019-08-15 00:01:54 +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
Tomáš Votruba
3872f39c6d
add reporting extension, rename rector finish to finishing (#1850)
add reporting extension, rename rector finish to finishing
2019-08-14 20:31:55 +02:00
Tomas Votruba
379278296d fix phsptan 0.11.13 compatibility 2019-08-14 20:24:46 +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
583e525d09 Add test case when a constant is made private that should be public 2019-08-12 21:27:05 +02:00
sashabeton
c316d0a2d9 Add missed key in config definition, add test case for it 2019-08-12 15:31:19 +03:00
sashabeton
5719cdaab2 No need to pass args on empty args 2019-08-12 15:18:46 +03:00
sashabeton
9806f6c564 Create new parameter method_if_no_args, fix transforming back() function, add back file to test cases
https://github.com/rectorphp/rector/issues/1824
2019-08-12 14:49:34 +03:00
Tomáš Votruba
2f6f800c80
class manipulator now returns Property on property name search (#1841)
class manipulator now returns Property on property name search
2019-08-11 16:28:27 +02:00
Tomas Votruba
6c7927fc17 class manipulator now returns Property on property name search 2019-08-11 16:21:56 +02:00
Christian Scheb
423559449b Constants declared in interfaces have to be public 2019-08-11 15:08:35 +02:00
Tomas Votruba
0733b53a3d fixup! skip ManyToOne properties in SetterOnlyMethodAnalyzer (#1838) 2019-08-10 17:21:13 +02:00
Tomas Votruba
f15d3306f3 skip ManyToOne properties in SetterOnlyMethodAnalyzer 2019-08-10 14:00:33 +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
c78b60d531 fix args miss-match in RemoveDelegatingParentCallRector 2019-08-09 11:20:06 +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
14f096f8ae skip same-namespace-short name in ImportFullyQualifiedNamesRector 2019-08-08 16:31:31 +02:00
Tomas Votruba
dbacd0ed35 typo 2019-08-08 12:02:16 +02:00
Tomas Votruba
abf60e04db allow multiline empty spaces strings 2019-08-08 11:47:10 +02:00
Tomas Votruba
702624b959 simplify ManualJsonStringToJsonEncodeArrayRector 2019-08-08 11:33:43 +02:00
Tomas Votruba
c3c8e7c21f add concat + multiline case to ManualJsonStringToJsonEncodeArrayRector 2019-08-08 09:48:23 +02:00
Tomas Votruba
7baf954aef add implode support to ManualJsonStringToJsonEncodeArrayRector 2019-08-08 01:04:54 +02:00
Tomas Votruba
2fc2a65ed8 [Nette] Add JsonDecodeEncodeToNetteUtilsJsonDecodeEncodeRector 2019-08-07 13:00:53 +02:00
Tomas Votruba
9341f4fca5 skip abstract parent methods in RemoveUnusedDoctrineEntityMethodAndPropertyRector 2019-08-06 17:57:09 +02:00
Tomas Votruba
2847bf2b8f skip serialized props 2019-08-06 14:23:41 +02:00
Tomas Votruba
73ac67d5ef skip __construct 2019-08-06 14:08:56 +02:00
Tomas Votruba
fb8af74d4a add spaceflow sponsor 2019-08-06 14:08:56 +02:00
Tomas Votruba
6000b30369 [DeadCode] Add RemoveSetterOnlyPropertyAndMethodCallRector 2019-08-06 12:50:53 +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
Tomáš Votruba
b95942aa2f
Improve PHPStan trait scope resolving (#1814)
Improve PHPStan trait scope resolving
2019-08-05 23:12:15 +02:00
Tomas Votruba
a4302b44be Improve trait node scope resolving 2019-08-05 21:13:37 +02:00
slepic
8f16525c3f dont load phpstan-phpunit if phpunit not installed 2019-08-05 18:14:49 +02:00
Tomas Votruba
9145e6685f composer: require nette/di to allow phpstan extension with Reference class 2019-08-05 16:50:34 +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
02463d2bc3 cleanup phpstan errors 2019-08-04 20:49:03 +02:00
Tomas Votruba
201a8f31fa update getName() 2019-08-04 20:41:51 +02:00
Tomas Votruba
6548c5e5fa add alias support to PropertyTypeDeclarationRector 2019-08-04 14:47:35 +02:00
Tomáš Votruba
368c8b79d5
use DateTimeInterface over DateTime (#1806)
use DateTimeInterface over DateTime
2019-08-04 14:22:31 +02:00
Tomas Votruba
12ca3349ce resolve target entity from same namespace 2019-08-04 14:14:10 +02:00
Tomas Votruba
f929cea9b0 fix nullable array type param for PropertyTypeDeclarationRector 2019-08-04 13:53:50 +02:00