2130 Commits

Author SHA1 Message Date
Tomas Votruba
92dc4499a5 Fix fqn doc with alraedy PHP imported namespace 2019-08-24 12:37:51 +02:00
Tomas Votruba
3ca87a1bc3 use shorter files for easier copy-paste 2019-08-24 11:07:13 +02:00
Tomas Votruba
f720d1face Fix missing args in PreferThisOrSelfMethodCallRector 2019-08-24 01:10:20 +02:00
Tomáš Votruba
844f1cc202
[CodingStyle] Fix ImportFullyQualifiedNamesRector for imported… (#1885)
[CodingStyle] Fix ImportFullyQualifiedNamesRector for imported namespace
2019-08-22 09:46:00 +02:00
Tomas Votruba
1792dcc195 [CodingStyle] Fix ImportFullyQualifiedNamesRector for imported namespaces 2019-08-22 09:43:12 +02:00
Tomáš Votruba
3a86093ac7
Merge pull request #1884 from scheb/const-parent-visibility-2
Parent constant visibility when it is declared in a super-superclass
2019-08-21 22:26:02 +02:00
Christian Scheb
e42527ddc8 Detect parent constant visibility when it is declared in a super-superclass 2019-08-21 21:58:39 +02:00
Tomas Votruba
ed68d44b4b [CodingStyle] Make import ImportFullyQualifiedNamesRector include same short class in same namespace 2019-08-21 20:24:18 +02:00
Tomas Votruba
361a2936d7 import rector self 2019-08-21 19:14:03 +02:00
Tomas Votruba
49e36355c4 [CodingStyle] Import short classes as well [ref #1877] 2019-08-21 18:57:05 +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
Tomas Votruba
9876455163 [PSR4] Improve renamed classes collector to sort by highest parent 2019-08-21 11:54:13 +02:00
Tomáš Votruba
cbbce30ed8
Merge pull request #1865 from rectorphp/psr4-namespace
[PSR4] Add NormalizeNamespaceByPSR4ComposerAutoloadRector
2019-08-19 22:05:57 +02:00
Tomas Votruba
914f0b936c [PHP 7.4] Add literal thousand superator 2019-08-19 16:39:38 +02:00
Tomas Votruba
222912be5e add ref 2019-08-19 15:41:47 +02:00
Tomas Votruba
9b9ce531b2 [PSR4] Add NormalizeNamespaceByPSR4ComposerAutoloadRector 2019-08-18 12:56:56 +02:00
Tomas Votruba
f9773142b2 cs fixes 2019-08-18 01:34:42 +02:00
Tomas Votruba
17e71ca0bf fix type resolutoin in PropertyNodeParamTypeInferer 2019-08-17 15:44:59 +02:00
Tomáš Votruba
c383ed61e0
merge ArrayPropertyDefaultValueRector to superior AddArrayDefau… (#1863)
merge ArrayPropertyDefaultValueRector to superior AddArrayDefaultToArrayPropertyRector
2019-08-17 15:37:59 +02:00
Tomas Votruba
03a5e8ae4e fix phpstan 0.11.14 compat 2019-08-17 15:33:45 +02:00
Tomas Votruba
c59e842eb2 merge ArrayPropertyDefaultValueRector to superior AddArrayDefaultToArrayPropertyRector 2019-08-17 15:05:42 +02:00
Tomáš Votruba
d39042ea2c
[TypeDeclaration] Various AddArrayReturnDocTypeRector improveme… (#1862)
[TypeDeclaration] Various AddArrayReturnDocTypeRector improvements
2019-08-17 15:05:23 +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
ebd52bc236 do not re-add already existing docs 2019-08-17 14:26:11 +02:00
Tomas Votruba
efe9e1041d skip duplicated array type 2019-08-17 13:56:12 +02:00
Tomas Votruba
bfdd7bfcd5 fix incorrect return type 2019-08-17 13:48:16 +02:00
Christian Scheb
1836cba680 Refactored 2019-08-17 13:45:29 +02:00
Tomas Votruba
421833c50e skip void return type in annotation 2019-08-17 13:38:54 +02:00
Christian Scheb
e462f6cfd9 Consider parent constant's visibility 2019-08-17 13:36:48 +02:00
Christian Scheb
61c40190fc Add test case for overriding constants 2019-08-17 13:36:48 +02:00
Tomas Votruba
8bd327b771 add mixed[] explicit type on array 2019-08-17 13:07:15 +02:00
Tomas Votruba
251d925b31 add array type to iterable 2019-08-17 13:00:40 +02:00
Tomas Votruba
a76127ffbb fix lowercase of union fqn types 2019-08-17 00:36:51 +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
Tomáš Votruba
5ad858c8b1
Merge pull request #1856 from rectorphp/array-param-doc
[TypeDeclaration] Add AddArrayParamDocTypeRector
2019-08-16 17:02:09 +02:00
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