Tomas Votruba
d71e817365
Updated Rector to commit 992d1efc75
...
992d1efc75
[CodeQuality] Skip CallableThisArrayToAnonymousFunctionRector when inside of Attribute (#2212 )
2022-05-02 09:44:00 +00:00
Tomas Votruba
0263197624
Updated Rector to commit 3f1f632c04
...
3f1f632c04
[automated] Apply Coding Standard (#2204 )
2022-05-01 00:51:36 +00:00
Tomas Votruba
a36b608f99
Updated Rector to commit e782cccb55
...
e782cccb55
[CodingStyle] Clean up spl_object_hash() check on NewlineAfterStatementRector (#2203 )
2022-04-30 06:40:36 +00:00
Tomas Votruba
0ab11406b4
Updated Rector to commit 4d7c087805
...
4d7c087805
[DeadCode] Improve RemoveUnreachableStatementRector performance by return after array_splice early (#2193 )
2022-04-29 06:42:11 +00:00
Tomas Votruba
e6d9de7fba
Updated Rector to commit 08bb10de6b
...
08bb10de6b
[CodeQuality] Add InlineArrayReturnAssignRector (#2183 )
2022-04-28 14:55:01 +00:00
Tomas Votruba
3912bd3674
Updated Rector to commit aa89fde52b
...
aa89fde52b
link the token
2022-04-27 22:40:38 +00:00
Tomas Votruba
2e00657da7
Updated Rector to commit 4fea4e23b9
...
4fea4e23b9
[TypeDeclaration] Skip return type defined Closure on ReturnTypeDeclarationRector (#2179 )
2022-04-27 13:37:37 +00:00
Tomas Votruba
5147929731
Updated Rector to commit 43aa4d91f7
...
43aa4d91f7
Add SameNamespacedTypeSpecifier (#2169 )
2022-04-26 08:13:18 +00:00
Tomas Votruba
f27b77df88
Updated Rector to commit 90dae505af
...
90dae505af
Remove uses nodes attribute - part #1 (#2155 )
2022-04-25 07:10:07 +00:00
Tomas Votruba
22a6a7d222
Updated Rector to commit dc7a9a85f3
...
dc7a9a85f3
[DeadCode] Skip remove variable on switch use return after break on RemoveUnusedVariableAssignRector (#2145 )
2022-04-24 07:48:38 +00:00
Tomas Votruba
11667e7491
Updated Rector to commit 2f5a525e65
...
2f5a525e65
Revert adding RemoveNamespaceRector (#2133 )
2022-04-23 10:11:50 +00:00
Tomas Votruba
af205b10a4
Updated Rector to commit 75fccc5d58
...
75fccc5d58
[Php71] Remove PropertyFetchAnalyzer::isFilledByConstructParam (#2122 )
2022-04-22 00:49:25 +00:00
Tomas Votruba
07e4ebd293
Updated Rector to commit a0c8a6be61
...
a0c8a6be61
add deprecations to Option constants and refer to RectorConfig (#2112 )
2022-04-21 06:47:26 +00:00
Tomas Votruba
764369f38b
Updated Rector to commit d90953d9a9
...
d90953d9a9
[DX] Add RectorConfig upgrade rule to make upgrade easier :) (#2098 )
2022-04-20 07:06:09 +00:00
Tomas Votruba
2684ff98ab
Updated Rector to commit 5025d255ca
...
5025d255ca
[Core] Rollback ParameterProvider autowire into AbstractRector (#2095 )
2022-04-19 08:10:27 +00:00
Tomas Votruba
2fb3b1c1d8
Rector 0.12.21
2022-04-18 12:12:41 +00:00
Tomas Votruba
5f10b8092d
Updated Rector to commit 46d2c00038
...
46d2c00038
[automated] Re-Generate Nodes/Rectors Documentation (#2085 )
2022-04-17 00:35:02 +00:00
Tomas Votruba
cfa1942bf9
Updated Rector to commit 73bf29c279
...
73bf29c279
[TypeDeclaration] Remove NullType when already has mixed on ParamAnnotationIncorrectNullableRector (#2081 )
2022-04-16 16:16:44 +00:00
Tomas Votruba
74a8a29f4c
Updated Rector to commit 8be11db297
...
8be11db297
[Naming] Skip used by trait on RenamePropertyToMatchTypeRector (#2077 )
2022-04-15 07:29:32 +00:00
Tomas Votruba
446b0a8f86
Updated Rector to commit c509923516
...
c509923516
[Feature] Add ParamAnnotationIncorrectNullableRector for fixing incorrect null type in @param (#2069 )
2022-04-14 08:12:26 +00:00
Tomas Votruba
e7029ad1f5
Updated Rector to commit 0ba8579821
...
0ba8579821
[Fix] Make UnionTypesRector and ReturnAnnotationIncorrectNullableRector skip chaotic methods (#2067 )
2022-04-13 16:29:57 +00:00
Tomas Votruba
6c73983fe9
Updated Rector to commit a1ac1b6fdf
...
a1ac1b6fdf
[Feature] Add ReturnAnnotationIncorrectNullableRector for fixing incorrect null type in @return (#2060 )
2022-04-12 06:58:51 +00:00
Tomas Votruba
479b159635
Updated Rector to commit f12861bda0
...
f12861bda0
[Php74] Move multi rules used tests to tests/Issues for TypedPropertyRector (#2051 )
2022-04-11 08:29:44 +00:00
Tomas Votruba
c4650c159a
Updated Rector to commit 76667332cf
...
76667332cf
[automated] Re-Generate Nodes/Rectors Documentation (#2041 )
2022-04-10 00:31:45 +00:00
Tomas Votruba
cd7d84363a
Updated Rector to commit 5a2682e4a5
...
5a2682e4a5
[TypeDeclaration] Skip in trait on TypedPropertyFromAssignsRector (#2030 )
2022-04-09 07:29:28 +00:00
Tomas Votruba
34dc036a62
Updated Rector to commit b12415b7b2
...
b12415b7b2
[TypeDeclaration] Skip default type value different with type assigned (#2027 )
2022-04-08 08:52:55 +00:00
Tomas Votruba
bc4242dccb
Updated Rector to commit 8f9abbd8b7
...
8f9abbd8b7
Trigger notification (#2015 )
2022-04-07 07:54:47 +00:00
Tomas Votruba
1c3a355583
Updated Rector to commit be530c5e2f
...
be530c5e2f
[Removing] Add RemoveNamespaceRector (#2013 )
2022-04-06 12:39:03 +00:00
Tomas Votruba
5f44698947
Updated Rector to commit 85ff4163b0
...
85ff4163b0
[TypeDeclaration] Handle default value on not inlined assignment in __construct on TypedPropertyFromStrictConstructorRector (#2008 )
2022-04-05 08:03:44 +00:00
Tomas Votruba
7fde66200e
Updated Rector to commit 258f2d031e
...
258f2d031e
phpstan (#2006 )
2022-04-04 05:57:16 +00:00
Tomas Votruba
7e7dc913ba
Updated Rector to commit 02bb2edef3
...
02bb2edef3
[Scoper] Clean up scoper replace namespace stub (#2002 )
2022-04-03 00:58:28 +00:00
Tomas Votruba
c5a12d271e
Updated Rector to commit 7a37df2b60
...
7a37df2b60
[DeadCode] Add Closure support on RemoveLastReturnRector (#1993 )
2022-04-02 08:38:27 +00:00
Tomas Votruba
daae17bd4e
Updated Rector to commit 12f027c8a1
...
12f027c8a1
[TypeDeclaration] Handle yield and return in inner function on AddVoidReturnTypeWhereNoReturnRector (#1986 )
2022-04-01 05:37:00 +00:00
Tomas Votruba
963952f993
Updated Rector to commit eba904f406
...
eba904f406
[Php80] Skip empty default on ChangeSwitchToMatchRector (#1980 )
2022-03-31 11:04:24 +00:00
Tomas Votruba
7ede09fb94
Updated Rector to commit a375ee2641
...
a375ee2641
[Core][EarlyReturn][Php73] Fix used along tweak between JsonThrowOnErrorRector + ChangeAndIfToEarlyReturnRector (#1979 )
2022-03-30 06:32:05 +00:00
Tomas Votruba
6f12ae7d35
Updated Rector to commit b97ce487e6
...
b97ce487e6
[CodeQuality] Handle Param by reference in target method on CallableThisArrayToAnonymousFunctionRector (#1974 )
2022-03-29 06:08:35 +00:00
Tomas Votruba
2d8fcc1394
Updated Rector to commit a20320d8ca
...
a20320d8ca
[Php55] Move GetCalledClassToSelfClassRector + GetCalledClassToStaticClassRector from php 7.4 to 5.5 SetList (#1972 )
2022-03-28 09:17:08 +00:00
Tomas Votruba
9ac9586ee2
Updated Rector to commit 6f61a09243
...
6f61a09243
[TypeDeclaration] Skip key has bracket {}[] on ArrayShapeFromConstantArrayReturnRector (#1968 )
2022-03-27 11:19:47 +00:00
Tomas Votruba
bb3ebe7fed
Updated Rector to commit 900eca0ce5
...
900eca0ce5
[Doc] Fix composer docs generation ConfiguredCodeSample in RemoveUnusedPrivatePropertyRector (#1963 )
2022-03-26 19:22:15 +00:00
Tomas Votruba
ec76745f1f
Updated Rector to commit 699e314ef3
...
699e314ef3
Fix stub PHPUnit\Framework\TestCase (#1960 )
2022-03-25 13:08:27 +00:00
Tomas Votruba
0a72eb262e
Updated Rector to commit 6ebf140ee5
...
6ebf140ee5
Remove psr/http-message dep on downgrade scoped (#1958 )
2022-03-24 04:54:45 +00:00
Tomas Votruba
9728a66366
Updated Rector to commit cbefb243e2
...
cbefb243e2
[TypeDeclaration] Avoid adding param type in case of different default type (#1956 )
2022-03-23 09:36:21 +00:00
Tomas Votruba
65f6a3f867
Updated Rector to commit 8f86f525f7
...
8f86f525f7
Fix stub PHPUnit\Framework\TestCase (#1954 )
2022-03-22 14:39:27 +00:00
Tomas Votruba
a5de7de1ba
Updated Rector to commit d5c5fe3a97
...
d5c5fe3a97
[Php80] Handle return match no default on ChangeSwitchToMatchRector (#1949 )
2022-03-21 07:38:33 +00:00
Tomas Votruba
247cb9fc8b
Updated Rector to commit f82fa3182c
...
f82fa3182c
[DeadCode] Make RemoveUnusedPrivatePropertyRector configurable to allow skip remove assign with side effect (#1948 )
2022-03-20 19:48:16 +00:00
Tomas Votruba
3de728ec5c
Updated Rector to commit 2d3419bc94
...
2d3419bc94
[Arguments] Handle by pass 2nd argument default value on ArgumentAdderRector (#1946 )
2022-03-18 13:14:22 +00:00
Tomas Votruba
0c232fa881
Updated Rector to commit feae0cfa0c
...
feae0cfa0c
[DeadCode][CodingStyle] Handle SplitDoubleAssignRector+RemoveUnusedPrivatePropertyRector (#1944 )
2022-03-17 07:36:14 +00:00
Tomas Votruba
9d2d61cbdd
Updated Rector to commit f7e1035828
...
f7e1035828
[Php81] Skip static property on ReadOnlyPropertyRector (#1939 )
2022-03-16 09:24:07 +00:00
Tomas Votruba
16633831b8
Updated Rector to commit b83523354f
...
b83523354f
[DeadCode] Skip called by current classname on RemoveUnusedPrivateClassConstantRector (#1931 )
2022-03-15 09:06:38 +00:00
Tomas Votruba
64de0ed996
Updated Rector to commit 90bb8b9868
...
90bb8b9868
Enable vendor patching (#1929 )
2022-03-14 09:10:58 +00:00
Tomas Votruba
8f8963b6ba
Updated Rector to commit 81c2492118
...
81c2492118
[automated] Re-Generate Nodes/Rectors Documentation (#1925 )
2022-03-13 00:30:25 +00:00
Tomas Votruba
9200bbb091
Updated Rector to commit 9d74e20acb
...
9d74e20acb
[Dep] Add PHPUnit\Framework\TestCase stub on target-repository bootstrap.php (#1924 )
2022-03-12 17:33:54 +00:00
Tomas Votruba
b61a2f6afa
Updated Rector to commit 07df2bc028
...
07df2bc028
[CodingStyle] Use alias name when exists on CatchExceptionNameMatchingTypeRector (#1920 )
2022-03-11 08:59:17 +00:00
Tomas Votruba
53fdb25a5e
Updated Rector to commit 888f483102
...
888f483102
[Renaming] Apply rename fully qualified namespace docblock on RenameNamespaceRector (#1917 )
2022-03-10 10:09:54 +00:00
Tomas Votruba
9094a0693a
Updated Rector to commit 73306740de
...
73306740de
[Transform] Handle property exists via Property Promotion on NewToMethodCallRector (#1915 )
2022-03-08 08:23:12 +00:00
Tomas Votruba
fe65ca2911
Updated Rector to commit 8057e33f91
...
8057e33f91
[TypeDeclaration] Add ArrayShapeFromConstantArrayReturnRector (#1908 )
2022-03-07 11:34:50 +00:00
Tomas Votruba
2d19ff31f4
Updated Rector to commit 55a13c0020
...
55a13c0020
test run in phpstan 1.4.8 (#1904 )
2022-03-06 00:42:13 +00:00
Tomas Votruba
63e7bd57f7
Updated Rector to commit 00e857f07e
...
00e857f07e
[Transform] Add type matching to MethodCallToPropertyFetchRector (#1905 )
2022-03-05 11:00:01 +00:00
Tomas Votruba
fe55b1f78a
Updated Rector to commit 4296dd5559
...
c60362fd41
typo 4296dd5559
update docs
2022-03-04 11:12:01 +00:00
Tomas Votruba
5224477400
Updated Rector to commit 1b717dc74e
...
1b717dc74e
[DeadCode] Ensure parent assign is Expression Stmt for RemoveUnusedVariableAssignRector (#1893 )
2022-03-03 04:28:33 +00:00
Tomas Votruba
dd64fa545d
Updated Rector to commit 0cac723079
...
0cac723079
[DeadCode] Clean casted CallLike in Assign Expr on RemoveUnusedVariableAssignRector (#1889 )
2022-03-02 10:10:00 +00:00
Tomas Votruba
09bf6a0592
Updated Rector to commit 10de06f33f
...
10de06f33f
[DeadCode] Skip RemoveUnusedVariableAssignRector on assign to dynamic variable (#1884 )
2022-03-01 10:08:14 +00:00
Tomas Votruba
9e282c87ec
Updated Rector to commit 2604c7675c
...
2604c7675c
Fixing rules return values (take 2) (#1880 )
2022-02-28 06:43:27 +00:00
Tomas Votruba
ca31c3958d
Updated Rector to commit eec25fff0d
...
eec25fff0d
[automated] Re-Generate Nodes/Rectors Documentation (#1876 )
2022-02-27 00:40:38 +00:00
Tomas Votruba
598bce3f9d
Updated Rector to commit f686cbac1c
...
f686cbac1c
[DowngradePhp72] Handle in assign on DowngradePregUnmatchedAsNullConstantRector (#1872 )
2022-02-26 04:25:13 +00:00
Tomas Votruba
16915ba0c1
Updated Rector to commit da3c997066
...
da3c997066
[Rules] Fixing Rector rules return values (#1867 )
2022-02-25 08:28:29 +00:00
Tomas Votruba
eecb24a948
Updated Rector to commit bb4a9068c2
...
bb4a9068c2
Do not prepend a \ to the type, if it is already Fully Qualified (#1863 )
2022-02-24 13:30:15 +00:00
Tomas Votruba
2e01de459a
Updated Rector to commit 3e33dd1aa7
...
3e33dd1aa7
[DeadCode] Handle empty try and catch on RemoveDeadTryCatchRector (#1860 )
2022-02-23 08:20:48 +00:00
Tomas Votruba
a398597def
Updated Rector to commit 35b07ce068
...
35b07ce068
[Scoped] Using php-parallel-lint latest with --no-dev (#1855 )
2022-02-22 00:28:05 +00:00
Tomas Votruba
7241528ca6
Updated Rector to commit 886aad92f9
...
886aad92f9
[Php81] Skip ReadOnlyPropertyRector on Stmt is not inline with __construct (#1846 )
2022-02-21 03:49:57 +00:00
Tomas Votruba
b77988232c
Updated Rector to commit c44bfcc00e
...
c44bfcc00e
[automated] Re-Generate Nodes/Rectors Documentation (#1838 )
2022-02-20 00:35:49 +00:00
Tomas Votruba
6a33cabe38
Updated Rector to commit ad976b6ea0
...
ad976b6ea0
remove fixed error
2022-02-19 00:59:36 +00:00
Tomas Votruba
ede8f558b7
Updated Rector to commit f022c20446
...
f022c20446
[DX] Remove GenericClassMethodParamRector, rather PHPStorm one-time refactoring job (#1830 )
2022-02-18 00:42:23 +00:00
Tomas Votruba
5ddf2c900f
Updated Rector to commit 0f3363c37b
...
0f3363c37b
[Php74] Remove TemplateType check on TypedPropertyRector (#1826 )
2022-02-17 10:39:26 +00:00
Tomas Votruba
b206f0de34
Updated Rector to commit 4cf6522e77
...
4cf6522e77
[Php81] Skip used as ArrayDimFetch on Arg on side effect FuncCall on ReadOnlyPropertyRector (#1821 )
2022-02-16 21:07:17 +00:00
Tomas Votruba
fc910d5859
Updated Rector to commit b708e071f3
...
b708e071f3
[Php74] Skip variable FuncCall () on ReservedFnFunctionRector (#1815 )
2022-02-15 12:37:44 +00:00
Tomas Votruba
20133c8832
Updated Rector to commit 41a25ebaeb
...
41a25ebaeb
[Scoped] Fixing build scoped for Symfony Cache Contract and ExpressionLanguageProvider (#1813 )
2022-02-14 01:03:53 +00:00
Tomas Votruba
617d8d5718
Updated Rector to commit 0db5ce6f6d
...
0db5ce6f6d
[automated] Re-Generate Nodes/Rectors Documentation (#1809 )
2022-02-13 00:29:38 +00:00
Tomas Votruba
bdc3ab220b
Updated Rector to commit 3720a55f51
...
3720a55f51
[TypeDeclaration] Use @return type on Generator on ReturnTypeDeclarationRector (#1794 )
2022-02-12 12:13:46 +00:00
Tomas Votruba
a5a202b286
Updated Rector to commit 03ce06db76
...
03ce06db76
[Php74] Handle Multiple types with NullType on TypedPropertyRector when PHP 8.0 Feature enabled (#1803 )
2022-02-11 08:39:14 +00:00
Tomas Votruba
b3811e658f
Updated Rector to commit d29b89113a
...
d29b89113a
[Php74] Skip mixed type on TypedPropertyRector on auto import enabled (#1798 )
2022-02-10 13:29:48 +00:00
Tomas Votruba
3b8eaada80
Updated Rector to commit 7c14a98e54
...
7c14a98e54
[DowngradePhp72/73/74] Refactor JsonConstCleaner: move defined check after in names check (#1788 )
2022-02-09 00:07:41 +00:00
Tomas Votruba
bda78cedf4
Updated Rector to commit 50d19784ab
...
50d19784ab
[Php80] Doc mirror var to param improvement on ClassPropertyAssignToConstructorPromotionRector (#1775 )
2022-02-08 00:23:09 +00:00
Tomas Votruba
dea8c30c8e
Updated Rector to commit 63425bae22
...
63425bae22
[Transform] Make ParentClassToTraitsRector match only exact parent, no its child (#1774 )
2022-02-07 19:38:34 +00:00
Tomas Votruba
6b7bb4ae18
Updated Rector to commit aa4f45484a
...
aa4f45484a
[automated] Re-Generate Nodes/Rectors Documentation (#1772 )
2022-02-06 08:25:55 +00:00
Tomas Votruba
361d8f4a2f
Updated Rector to commit f374b9faa8
...
f374b9faa8
[PHP 8.0] Include keys in annotation to attribute transformation (#1766 )
2022-02-05 10:39:52 +00:00
Tomas Votruba
5cd63fd2ce
Updated Rector to commit 0a63fe4d52
...
0a63fe4d52
[DowngradePhp72] Add DowngradePhp72JsonConstRector (#1765 )
2022-02-04 14:07:32 +00:00
Tomas Votruba
967c07844d
Updated Rector to commit 335206f065
...
335206f065
[DX] Remove @deprecated docblock for only bool passing config in rector rules (#1762 )
2022-02-03 09:49:01 +00:00
Tomas Votruba
1c5290301d
Updated Rector to commit 2468277687
...
2468277687
[TypeDeclaration] Handle infered ThisType on auto import on ReturnTypeDeclarationRector (#1760 )
2022-02-02 09:10:44 +00:00
Tomas Votruba
de716594a8
Updated Rector to commit a51b81cf2f
...
a51b81cf2f
[PHPStan] Clean up PHPStan ignore errors (#1755 )
2022-02-01 05:54:42 +00:00
Tomas Votruba
7aad2b845d
Updated Rector to commit 5b23064299
...
5b23064299
[Scoper] Exclude Attribute polyfill class from class_alias (take 1) (#1747 )
2022-01-31 14:04:38 +00:00
Tomas Votruba
c88e1fc601
Updated Rector to commit e44222bd5c
...
e44222bd5c
[automated] Re-Generate Nodes/Rectors Documentation (#1743 )
2022-01-30 00:27:52 +00:00
Tomas Votruba
67fb92b15d
Updated Rector to commit d31e2233e8
...
d31e2233e8
[Php81] Skip override abstract method on NewInInitializerRector (#1740 )
2022-01-29 16:32:26 +00:00
Tomas Votruba
2ebc6821cc
Updated Rector to commit 79dd9bb5f4
...
79dd9bb5f4
[Php81] Do not add final modifier on class constant that the class has children on FinalizePublicClassConstantRector (#1739 )
2022-01-28 11:05:27 +00:00
Tomas Votruba
9875b5de97
Updated Rector to commit c6142e139f
...
c6142e139f
[Php56][Php70] Handle ExceptionHandlerTypehintRector+CatchExceptionNameMatchingTypeRector+AddDefaultValueForUndefinedVariableRector (#1735 )
2022-01-27 09:07:13 +00:00
Tomas Votruba
20964885f0
Updated Rector to commit 64d76cd11e
...
64d76cd11e
[FinalizePublicClassConstantRector] Ignore final classes (#1730 )
2022-01-26 10:10:51 +00:00
Tomas Votruba
d3e1bb7e5d
Updated Rector to commit 084ac39f29
...
084ac39f29
Add option to configure followLinks of finder (#1703 )
2022-01-25 00:12:31 +00:00
Tomas Votruba
7626873cdf
Updated Rector to commit 386c97b914
...
386c97b914
[Naming][Php56] Do not add default value init for renamed variable from param on RenameParamToMatchTypeRector+AddDefaultValueForUndefinedVariableRector (#1716 )
2022-01-24 04:18:32 +00:00
Tomas Votruba
12ec968038
Updated Rector to commit 88a32076c6
...
88a32076c6
[Php74] Skip readonly on RestoreDefaultNullToNullableTypePropertyRector (#1713 )
2022-01-22 09:45:55 +00:00
Tomas Votruba
c4b2af01d7
Updated Rector to commit 2934929fac
...
2934929fac
[CodingStyle] Handle more than one method contains try catch on CatchExceptionNameMatchingTypeRector (#1706 )
2022-01-21 06:12:56 +00:00