Commit Graph

977 Commits

Author SHA1 Message Date
Tomas Votruba
5d8ca84738 Updated Rector to commit f25715b7b3
f25715b7b3 [Php73] Skip Encapsed on StringifyStrNeedlesRector + Temporary Pin PHPStan 1.6.9 (#2352)
2022-05-24 08:37:28 +00:00
Tomas Votruba
edbab99c60 Updated Rector to commit 1691157a64
1691157a64 [Core] Use PropertyFetchAnalyzer::isFilledViaMethodCallInConstructStmts() in ConstructorAssignDetector::isPropertyAssigned() (#2351)
2022-05-23 14:15:07 +00:00
Tomas Votruba
f89782b964 Updated Rector to commit f134b6183e
f134b6183e [Php71] Ensure return  only when catch of TryCatch removed on MultiExceptionCatchRector (#2350)
2022-05-23 03:50:09 +00:00
Tomas Votruba
a935bbc0cb Updated Rector to commit 8fbc6582f9
8fbc6582f9 [Core][Naming] Move collecting param names method to FunctionLikeManipulator (#2347)
2022-05-22 16:59:48 +00:00
Tomas Votruba
7b1430a8bc Updated Rector to commit adb6e68c2a
adb6e68c2a [automated] Re-Generate Nodes/Rectors Documentation (#2343)
2022-05-22 07:17:20 +00:00
Tomas Votruba
2b85976c4c Updated Rector to commit adb6e68c2a
adb6e68c2a [automated] Re-Generate Nodes/Rectors Documentation (#2343)
2022-05-22 00:38:26 +00:00
Tomas Votruba
71be1e7075 Updated Rector to commit b4120a8850
b4120a8850 [DX] Use direct method on node, instead of token position (#2340)
2022-05-21 12:10:19 +00:00
Tomas Votruba
85503305b8 Updated Rector to commit b4120a8850
b4120a8850 [DX] Use direct method on node, instead of token position (#2340)
2022-05-21 09:46:20 +00:00
Tomas Votruba
6fe802bfdc Updated Rector to commit fcadc67328
fcadc67328 add symfony php config option to allow loading route factory (#2339)
2022-05-21 08:48:33 +00:00
Tomas Votruba
6a5ebad0e7 Updated Rector to commit f0a1b688f3
f0a1b688f3 [DowngradePhp80] Apply PHPStan 1.7.x-dev compatible for PhpParameterReflection (#2336)
2022-05-20 10:24:40 +00:00
Tomas Votruba
ce9b1cc6e6 Updated Rector to commit 30a53bfd93
30a53bfd93 [DowngradePhp80] Add in arrow function in return support on DowngradeMatchToSwitchRector (#2331)
2022-05-19 06:59:21 +00:00
Tomas Votruba
de15691138 Updated Rector to commit 50943ea4f2
50943ea4f2 [CodeQuality] Skip re use variable in assign Expr on InlineArrayReturnAssignRector (#2325)
2022-05-18 05:10:35 +00:00
Tomas Votruba
f845008257 Updated Rector to commit 50943ea4f2
50943ea4f2 [CodeQuality] Skip re use variable in assign Expr on InlineArrayReturnAssignRector (#2325)
2022-05-18 01:37:38 +00:00
Tomas Votruba
9ec874fb89 Updated Rector to commit 15d93fa815
15d93fa815 [DeadCode] Handle combine RemoveAlwaysTrueIfConditionRector + RemoveDeadConstructorRector (#2324)
2022-05-17 09:51:50 +00:00
Tomas Votruba
74de754026 Updated Rector to commit 7a08f1bbe5
7a08f1bbe5 [Core] Move ->shouldShowProgressBar() before loop (#2323)
2022-05-16 19:08:11 +00:00
Tomas Votruba
792ac60a81 Updated Rector to commit 7a08f1bbe5
7a08f1bbe5 [Core] Move ->shouldShowProgressBar() before loop (#2323)
2022-05-16 09:43:25 +00:00
Tomas Votruba
4708d6b081 Updated Rector to commit c0086b7e14
c0086b7e14 [e2e] Add e2e for tests removed node display applied rules with return null (#2320)
2022-05-16 01:19:48 +00:00
Tomas Votruba
ad10fd18db Updated Rector to commit 96400215b5
96400215b5 [automated] Re-Generate Nodes/Rectors Documentation (#2314)
2022-05-15 09:42:33 +00:00
Tomas Votruba
d63573a7d2 Updated Rector to commit 1d75b53e97
1d75b53e97 [Core] Add ScopeAnalyzer service to verify if Node is Scope aware (#2311)
2022-05-14 11:32:37 +00:00
Tomas Votruba
f2550b0de1 Updated Rector to commit f92d5deca3
f92d5deca3 Fix Scalar_Encapsed node as dynamic in  (#2309)
2022-05-14 02:43:00 +00:00
Tomas Votruba
b03aa95fcc Updated Rector to commit 28dc9cebb2
28dc9cebb2 Prepare NamedToUnnamedArgs for PhpParameterReflection change in PHPStan 1.7 (#2305)
2022-05-13 09:29:14 +00:00
Tomas Votruba
093c37f3c5 Updated Rector to commit 78aaf7ee0b
78aaf7ee0b [Php82] Add ReadOnlyClassRector (#2296)
2022-05-12 15:51:17 +00:00
Tomas Votruba
bca89e29da Updated Rector to commit 33cd52e703
33cd52e703 Fix position of class after non-reachable stmts (#2299)
2022-05-12 09:11:03 +00:00
Tomas Votruba
e0323c00f8 Updated Rector to commit 39e552c4c9
39e552c4c9 Various little improvement (#2297)
2022-05-12 06:13:58 +00:00
Tomas Votruba
d967349fb9 Updated Rector to commit cd2a644e0c
cd2a644e0c [Core] Refactor RectifiedAnalyzer: early check against AbstractScopeAwareRector instead of Original node (#2295)
2022-05-12 05:20:59 +00:00
Tomas Votruba
412270b47d Updated Rector to commit 2ccb53592e
2ccb53592e Improve indent types (#2294)
2022-05-11 22:54:59 +00:00
Tomas Votruba
ea968d80ae Updated Rector to commit 1026ede751
1026ede751 Remove requires from tests, as all tests run on PHP 8.1 (#2293)
2022-05-11 22:23:42 +00:00
Tomas Votruba
a48a02b46d Updated Rector to commit 9163864800
9163864800 Remove DowngradeGeneratedScalarTypesRector as way hacky to particular string solution, better use patching (#2289)
2022-05-11 16:29:59 +00:00
Tomas Votruba
7e928f8b96 Updated Rector to commit 12fa9407f7
12fa9407f7 [DeadCode] Skip @return static on return self when class is not final or in trait on RemoveUselessReturnTagRector (#2282)
2022-05-11 05:14:30 +00:00
Tomas Votruba
a93d572d86 Updated Rector to commit ebd4c3fee6
ebd4c3fee6 [Renaming] Skip renaming method call on RenameMethodRector when both old and new exists, which implements interface as config (#2276)
2022-05-11 00:39:05 +00:00
Tomas Votruba
9306ff041a Updated Rector to commit fa073d4408
fa073d4408 [CodeQuality] Add SimplifyIfExactValueReturnValueRector (#2278)
2022-05-10 16:14:43 +00:00
Tomas Votruba
d72f56e566 Updated Rector to commit 30f2f91909
30f2f91909 [CodeQuality][DeadCode] Handle SimplifyUselessVariableRector+RemoveOverriddenValuesRector (#2277)
2022-05-10 12:38:09 +00:00
Tomas Votruba
447f9a972f Updated Rector to commit e5a45afba3
e5a45afba3 [CodeQuality][CodingStyle] Handle Scope not available error on CallableThisArrayToAnonymousFunctionRector+CountArrayToEmptyArrayComparisonRector (#2274)
2022-05-09 20:16:44 +00:00
Tomas Votruba
fa402052ff Updated Rector to commit 97a33aa694
97a33aa694 [Core] Remove is_string() check on glob loop data (#2267)
2022-05-09 09:51:17 +00:00
Tomas Votruba
ec43ca03ec Updated Rector to commit 97a33aa694
97a33aa694 [Core] Remove is_string() check on glob loop data (#2267)
2022-05-09 06:43:28 +00:00
Tomas Votruba
aa0465d388 Updated Rector to commit 975fdf113f
975fdf113f [DX] Add StmtsAwareInterface to catch node by type (#2269)
2022-05-08 20:57:50 +00:00
Tomas Votruba
992aade98a Updated Rector to commit d89c23267c
d89c23267c [automated] Re-Generate Nodes/Rectors Documentation (#2262)
2022-05-08 00:33:36 +00:00
Tomas Votruba
e1b8b2e468 Updated Rector to commit 81ba0c90bd
81ba0c90bd [Scoper] Remove PHPStanStubLoader: move to dedicated file to define native classes (#2249)
2022-05-07 09:29:04 +00:00
Tomas Votruba
24318b9a19 Updated Rector to commit 26cad67b1c
26cad67b1c [CodingStyle] Clean up getParents() call on MakeInheritedMethodVisibilitySameAsParentRector (#2246)
2022-05-07 00:18:08 +00:00
Tomas Votruba
a548c62cde Updated Rector to commit ede1106a69
ede1106a69 [DX] Improve DowngradeCatchThrowableRector to return nodes directly (#2241)
2022-05-06 07:17:49 +00:00
Tomas Votruba
7242caf99b Updated Rector to commit 7f5acb613b
7f5acb613b [Core] Add BetterNodeFinder::findFirstInlinedPrevious() (#2238)
2022-05-05 13:58:33 +00:00
Tomas Votruba
4b66436386 Updated Rector to commit d8c523625c
d8c523625c Various property + class context improvements (#2234)
2022-05-05 09:39:03 +00:00
Tomas Votruba
a2cfc4196f Updated Rector to commit 0175838a0c
0175838a0c [DX] Cleanup ComplexNodeRemover (#2230)
2022-05-05 06:11:24 +00:00
Tomas Votruba
975a637463 Updated Rector to commit 2d16736414
2d16736414 [DX] Remove poorly designed NodeToReplacePostRector, return changed nodes directly in the current rule (#2229)
2022-05-04 22:24:14 +00:00
Tomas Votruba
ebc3a0684d Updated Rector to commit 767e7692e1
767e7692e1 [Experimental] Add refactorWithScope() method to get typed Scope easily and required (#2227)
2022-05-04 15:20:50 +00:00
Tomas Votruba
476869ebf4 Updated Rector to commit 129ce269d3
129ce269d3 [Core] Use ReflectionResolver to get ClassReflection when possible (#2226)
2022-05-04 10:46:11 +00:00
Tomas Votruba
128aa6dc82 Updated Rector to commit 7209b23341
7209b23341 [Php73] Skip both reset and key assigned on ArrayKeyFirstLastRector (#2219)
2022-05-04 00:06:05 +00:00
Tomas Votruba
80c29bac02 Updated Rector to commit c4e1ee2b3e
c4e1ee2b3e Added new functions to NullToStrictStringFuncCallArgRector (#2217)
2022-05-03 12:09:48 +00:00
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
4b7ca796b9 Updated Rector to commit 039181ac6c
039181ac6c [DeadCode] Remove RemoveCodeAfterReturnRector, already handled at RemoveUnreachableStatementRector (#2199)
2022-05-01 05:55:37 +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
db5c2a597b Updated Rector to commit 3e685a63ee
3e685a63ee [CodingStyle] Skip readonly type property on AddArrayDefaultToArrayPropertyRector (#2196)
2022-04-29 13:52:53 +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
19ffa21a89 Updated Rector to commit a218dda059
a218dda059 [DX] Move PhpVersionProvider from AbstractRector to particular services (#2189)
2022-04-28 20:11:07 +00:00
Tomas Votruba
3d30a34d24 Updated Rector to commit b055a88927
b055a88927 Add RectorConfigProvider to ask for configuration behave for 3rd party packages (#2187)
2022-04-28 17:21:22 +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
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
c7ca691738 Updated Rector to commit ba29e3fd5f
ba29e3fd5f Re-use name scope (#2171)
2022-04-26 13:03:56 +00:00
Tomas Votruba
5147929731 Updated Rector to commit 43aa4d91f7
43aa4d91f7 Add SameNamespacedTypeSpecifier (#2169)
2022-04-26 08:13:18 +00:00
Tomas Votruba
99b901c127 Updated Rector to commit 148dda778c
148dda778c Narrow to FQN (#2168)
2022-04-25 23:28:04 +00:00
Tomas Votruba
a71b4168c5 Updated Rector to commit 38e1f8a450
38e1f8a450 Remove NamespaceNodeVisitor (#2167)
2022-04-25 22:12:26 +00:00
Tomas Votruba
c6a4383d80 Updated Rector to commit 69de62a1d8
69de62a1d8 disable StatementNodeVisitor (#2154)
2022-04-25 08:05:28 +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
e7c3ff4e4f Updated Rector to commit f0223b6329
f0223b6329 remove current stmts (#2151)
2022-04-24 22:09:06 +00:00
Tomas Votruba
7466aca164 Updated Rector to commit c3adc6b043
c3adc6b043 [Privatization] Add ParentPropertyLookupGuard service (#2152)
2022-04-24 19:43:23 +00:00
Tomas Votruba
b739fa46b8 Updated Rector to commit 0954611a38
0954611a38 Remove CURRENT_STATEMENT where not needed (#2149)
2022-04-24 17:00:46 +00:00
Tomas Votruba
348b2f0e8d Updated Rector to commit eaaecc39d7
eaaecc39d7 Remove PREVIOUS_STATEMENT from StatementNodeVisitor (#2146)
2022-04-24 16:25:18 +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
44cb73b377 Updated Rector to commit e4858d9a60
e4858d9a60 [Php80] Handle named type on JMS\AccessType on AnnotationToAttributeRector (#2141)
2022-04-23 22:28:13 +00:00
Tomas Votruba
20c7d5ad3a Updated Rector to commit 31656ed51d
31656ed51d [NodeCollector] Remove CurrentStmtResolver service (#2143)
2022-04-23 22:21:52 +00:00
Tomas Votruba
8ba4c2c3e0 Updated Rector to commit ccd3ba67e2
ccd3ba67e2 cleanup MethodCallManipulator (#2135)
2022-04-23 10:42:40 +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
5a03282dce Updated Rector to commit 3986087473
3986087473 [DX] Extract ContainerConfiguratorImportsMerger (#2101)
2022-04-20 08:09:40 +00:00
Tomas Votruba
c32676bea1 Updated Rector to commit de95ab646f
de95ab646f [DX] Add sets() to RectorConfig upgrade rule (#2100)
2022-04-20 07:44:00 +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
1f0de4d2de Updated Rector to commit d30a86313f
d30a86313f [Feature] Add configurable InlineSimplePropertyAnnotationRector for inlining of simple annotations (#2070)
2022-04-14 08:14:01 +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
04f0c86bba Updated Rector to commit 1fc2825e17
1fc2825e17 [Transform] Add FileGetContentsAndJsonDecodeToStaticCallRector (#2059)
2022-04-11 18:05:17 +00:00
Tomas Votruba
cf05c72543 Updated Rector to commit d4c5ec6dfa
d4c5ec6dfa [Feature] Add VarAnnotationIncorrectNullableRector for fixing incorrect null type in @var (#2053)
2022-04-11 13:09:08 +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
2c0475807b Updated Rector to commit 60f1dadd6f
60f1dadd6f Merge FollowRequireByDirRector to almost identical AbsolutizeRequireAndIncludePathRector (#2048)
2022-04-10 20:11:02 +00:00
Tomas Votruba
931bfb66df Updated Rector to commit 0227d24e36
0227d24e36 Merge InArrayAndArrayKeysToArrayKeyExistsRector to ArrayKeysAndInArrayToArrayKeyExistsRector with almost identical behavior (#2047)
2022-04-10 19:50:50 +00:00
Tomas Votruba
650661e16c Updated Rector to commit 9b8e161878
9b8e161878 merge SimplifyDuplicatedTernaryRector to UnnecessaryTernaryExpressionRector, almost identical rule (#2046)
2022-04-10 19:09:26 +00:00
Tomas Votruba
d76ed237fa Updated Rector to commit a2ee46d16e
a2ee46d16e Refactor SymplifyUselessVariableRector to avoid using PREVIOUS_NODE, use current scope instead (#2045)
2022-04-10 18:18:46 +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
3a2aaafb14 Updated Rector to commit 3407066315
3407066315 [DX] Replace global BetterStandardPrinter from AbstractRector with autowired NodePrinterInterface for easier and specific re-use (#2036)
2022-04-09 22:42:24 +00:00
Tomas Votruba
4ea9b41528 Updated Rector to commit 7fd42ea923
7fd42ea923 add possibility to add short doc name (#2032)
2022-04-09 08:05:52 +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
a4d2113720 Updated Rector to commit c20f2301fe
c20f2301fe Add RectorConfigurator for custom configuration methods and avoid conflicts with Symfony API (#2019)
2022-04-08 18:51:16 +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
99c14d2fea Updated Rector to commit 6ee3f4e894
6ee3f4e894 Add new rule to add explicit public scope to unscoped class methods (#2022)
2022-04-07 21:34:33 +00:00
Tomas Votruba
f243fcd6a8 Updated Rector to commit ab8d35ab44
ab8d35ab44 [CodeQuality] Skip with config/ on AbsolutizeRequireAndIncludePathRector (#2024)
2022-04-07 20:59: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
cfa8d3e236 Rector 0.12.20 2022-04-06 12:55:14 +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
6ce4af0b30 Updated Rector to commit a0ad4275d7
a0ad4275d7 [TypeDeclaration] Skip __construct in inner class on TypedPropertyFromStrictConstructorRector (#2010)
2022-04-05 09:29:07 +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
3630df4457 Updated Rector to commit 38add40535
38add40535 [Scoper] Clean up missing use with prefixed (#2003)
2022-04-03 11:07:12 +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
d7c212ece1 Updated Rector to commit 9f9b29c741
9f9b29c741 [DowngradePhp54] Add DowngradeThisInClosureRector (#1995)
2022-04-02 15:46:27 +00:00
Tomas Votruba
22b0d1cc15 Updated Rector to commit e077d7c3fb
e077d7c3fb [DowngradePhp72] Handle variable exists on DowngradeStreamIsattyRector (#1997)
2022-04-02 13:15:38 +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
22e128cb20 Updated Rector to commit aedfc65a48
aedfc65a48 [DeadCode] Remove RemoveUnusedAssignVariableRector in favor of RemoveUnusedVariableAssignRector (#1988)
2022-04-01 07:19:38 +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
98175f2608 Updated Rector to commit b97ce487e6
b97ce487e6 [CodeQuality] Handle Param by reference in target method on CallableThisArrayToAnonymousFunctionRector (#1974)
2022-03-28 22:48:45 +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
a641d86cfa Updated Rector to commit 90bbd4e1a0
90bbd4e1a0 [Php74] Add GetCalledClassToSelfClassRector (#1971)
2022-03-27 18:45:00 +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
39f74c2f08 Updated Rector to commit 86eb0dd363
86eb0dd363 [DX] Remove different php version rector reporting to make run more clean (#1959)
2022-03-24 23:45:46 +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
ccdf1ae8f5 Updated Rector to commit b82368fa4f
b82368fa4f Re-use NeighbourClassLikePrinter (#1957)
2022-03-23 20:15:38 +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
dddd2ea6aa Updated Rector to commit 6b4d6b2c66
6b4d6b2c66 [ECS] Skip StandaloneLineConstructorParamFixer (#1940)
2022-03-16 12:47:52 +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
0fe0835184 Updated Rector to commit 7202782f50
7202782f50 [CodeQuality] Add InlineConstructorDefaultToPropertyRector (#1935)
2022-03-15 17:33:16 +00:00
Tomas Votruba
7572ce6925 Updated Rector to commit a2422d7937
a2422d7937 [Transform] Remove AddInterfaceByParentRector as never used (#1934)
2022-03-15 16:04:34 +00:00
Tomas Votruba
37e1aabdcf Updated Rector to commit 117af55f96
117af55f96 [DX] simplify --debug output to the proccessed file path (#1933)
2022-03-15 14:07:08 +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
0d17a3944d Updated Rector to commit a7bdabc86a
a7bdabc86a Fix some minor misprints (#1922)
2022-03-11 17:37:50 +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
4e57fb25dc Updated Rector to commit 15c8106871
15c8106871 [Order] Deprecate rather coding standard related set, use OrderedClassElementsFixer instead (#1910)
2022-03-07 12:13:17 +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
41d47ce22b Updated Rector to commit 3948d8b1d4
3948d8b1d4 [Arguments] Add RemoveMethodCallParamRector (#1906)
2022-03-05 11:39:32 +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
d7bd6b98d4 Updated Rector to commit e2cc867255
e2cc867255 [PhpSpecToPHPUnit] Deprecate historical set, mostly for experimental in early days (#1901)
2022-03-03 19:57:16 +00:00
Tomas Votruba
be1a72534c Updated Rector to commit 320cdcd8de
320cdcd8de [MockeryToProphecy] Deprecate micro set as not practical (#1899)
2022-03-03 16:37:48 +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
7cad7620bd Updated Rector to commit b33e22de6b
b33e22de6b [Core] Remove InfiniteLoopValidator (#1871)
2022-02-26 10:14:02 +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
7ca19c8bbf Updated Rector to commit 961c3aea5c
961c3aea5c [Core] Remove unneeded ChangedNodeAnalyzer service (#1868)
2022-02-25 10:00:26 +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
8e7b067fa3 Updated Rector to commit babf1be7db
babf1be7db mask
2022-02-22 21:46:37 +00:00
Tomas Votruba
1f36f770f5 Updated Rector to commit 81152d35e8
81152d35e8 [scoper] fix preg_replace buggy prefixing
2022-02-22 21:45:57 +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
636e1a8227 Updated Rector to commit 710e77b2b8
710e77b2b8 [Scoped] Using php-parallel-lint 1.3.1 (#1854)
2022-02-21 15:01:26 +00:00
Tomas Votruba
cc86b38d98 Updated Rector to commit aa1fb8fdef
aa1fb8fdef Bump to Sypmlify 10.1 (#1852)
2022-02-21 12:21:53 +00:00
Tomas Votruba
41de63f175 Updated Rector to commit 900b6fec40
900b6fec40 Fix annotation to attribute rector with doctrine table and nested uniqueConstraints option (#1850)
2022-02-21 11:27:24 +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
7f0e7c49ff Updated Rector to commit a9321717c3
a9321717c3 [PostRector] Refactor NodesToRemoveCollector for detection current stmt removed (#1839)
2022-02-20 14:16:56 +00:00
Tomas Votruba
e8a24324c6 Updated Rector to commit 25ed79188f
25ed79188f Bump Symplify package - use new location for console differ + value object inliner (#1841)
2022-02-20 12:04:56 +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
47b4e8f32b Updated Rector to commit 9137bd2f8a
9137bd2f8a [DX] Remove MoveEntitiesToEntityDirectoryRector, use PHPStan rule + PhpStorm refactoring instead (#1836)
2022-02-18 10:22:03 +00:00
Tomas Votruba
22a76df7b3 Updated Rector to commit 8027c7fd8c
8027c7fd8c [DX] Remove MoveInterfacesToContractNamespaceDirectoryRector as breaky, use PHPStan rule instead (#1835)
2022-02-18 10:00:13 +00:00
Tomas Votruba
2493da671a Updated Rector to commit a4eff1e0ad
a4eff1e0ad [DX] Remove MoveServicesBySuffixToDirectoryRector, better handle by PHPStan + PHPStorm refacor (#1834)
2022-02-18 09:30:35 +00:00
Tomas Votruba
7964c1b773 Updated Rector to commit 1ed8242e44
1ed8242e44 [DX] Remove MoveValueObjectsToValueObjectDirectoryRector, should be handled by PHPStorm refactoring and PHPStan rule checks (#1832)
2022-02-18 01:07:03 +00:00
Tomas Votruba
9b0ea31152 Updated Rector to commit cab8299093
cab8299093 [DX] Remove SingleToManyMethodRector, rather one time job useful for PHPStorm (#1831)
2022-02-18 00:56:23 +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
2924712310 Updated Rector to commit a560205c75
a560205c75 [CodeQuality] Extend SimplifyForeachToArrayFilterRector with compare cond (#1820)
2022-02-15 22:59:07 +00:00
Tomas Votruba
d0d361080e Updated Rector to commit 92d04a5547
92d04a5547 Deprecate RemovingStatic rules as very narrow use case in generic rules (#1819)
2022-02-15 22:46:36 +00:00
Tomas Votruba
378c7f0a44 Updated Rector to commit 7d8444e81b
7d8444e81b [TypeDeclaration] Skip @inheritdoc on PropertyTypeDeclaration (#1752)
2022-02-15 15:35:02 +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
8ea047f3d5 Updated Rector to commit 8bf042b6ae
8bf042b6ae Remove deprecated show command (#1796)
2022-02-09 19:11:27 +00:00
Tomas Votruba
36b7270b94 Updated Rector to commit 9953b6cab1
9953b6cab1 [console] add rector console output style with CI friendly progress bar redraw (#1793)
2022-02-09 18:58:51 +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
b6f1f45d00 Updated Rector to commit 6aa48e1034
6aa48e1034 [DowngradePhp71] Add DowngradePhp71JsonConstRector (#1784)
2022-02-08 22:28:24 +00:00
Tomas Votruba
adcb702c28 Updated Rector to commit 78a42c7b8a
78a42c7b8a [DowngradePhp73] Add DowngradePhp73JsonConstRector (#1782)
2022-02-08 22:20:53 +00:00
Tomas Votruba
d91118e1a3 Updated Rector to commit 20351c5d12
20351c5d12 [DowngradePhp72] Handle in BitwiseOr on DowngradePhp72JsonConstRector (#1781)
2022-02-08 21:23:44 +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
4d4eb2f2ad Updated Rector to commit ca5b89baad
ca5b89baad [Core] Refactor InfiniteLoopValidator (#1771)
2022-02-06 10:37:45 +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
02632d1547 Updated Rector to commit fd7667b5aa
fd7667b5aa [CodeQuality] Skip ExplicitMethodCallOverMagicGetSetRector on method no param + variadic (#1768)
2022-02-05 11:36:15 +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
6695b021a0 Updated Rector to commit 29c634ff65
29c634ff65 [Php74] Add inlinePublic configurable for TypedPropertyRector (#1745)
2022-02-02 21:14:38 +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
3ebcd0c7ba Updated Rector to commit f632fa0957
f632fa0957 [DowngradePhp80] Add DowngradeStringReturnTypeOnToStringRector (#1750)
2022-01-31 17:52:49 +00:00
Tomas Votruba
9aee7e82f1 Updated Rector to commit b7b4dc07c8
b7b4dc07c8 [Scoped] Remove namespace from polyfill (#1749)
2022-01-31 15:18:37 +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
28f8cfafaf Updated Rector to commit 73f5fc13bb
73f5fc13bb [Php81] Handle non-dynamic + dynamic args (non-array, non-scalar) passed to New_ on NewInInitializerRector (#1737)
2022-01-28 12:21:10 +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
890cd8f422 Updated Rector to commit 15e28c6de8
15e28c6de8 [RemoveFinalFromConstRector] (#1732)
2022-01-26 18:39:23 +00:00
Tomas Votruba
625848ed0d Updated Rector to commit 75c0b27d37
75c0b27d37 [types] Add HasPropertyTypeMapepr and HasMethodTypeMapper (#1731)
2022-01-26 11:59:37 +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
fc1e56bf9f Updated Rector to commit 7453122793
7453122793 ucfirst
2022-01-25 23:03:38 +00:00
Tomas Votruba
538fae2da2 Updated Rector to commit 1869c1dc00
1869c1dc00 [DX] Add --memory-limit option to pass memory limit to parallel subprocesses (#1726)
2022-01-25 11:53:27 +00:00
Tomas Votruba
37ad68b794 Updated Rector to commit caeeb78f6f
caeeb78f6f Bump Symplify to 10.0.16 + improve complexity (#1725)
2022-01-25 11:43:54 +00:00
Tomas Votruba
e9def0d5bc Updated Rector to commit 420dc935ae
420dc935ae [DowngradePhp72] Fix downgrade json null as true for DowngradeJsonDecodeNullAssociativeArgRector (#1724)
2022-01-25 10:49:46 +00:00
Tomas Votruba
4fd7947603 Updated Rector to commit 7cf24218f0
7cf24218f0 [DowngradePhp72] Add DowngradeJsonDecodeNullAssociativeArgRector (#1723)
2022-01-25 10:05:47 +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
f61a2947b9 Updated Rector to commit 85719ff0e7
85719ff0e7 [Downgrade 7.0] Strip unnecessary parentheses around expressions (#1617)
2022-01-24 08:38:25 +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
676e7a5820 Updated Rector to commit c8e5b8abd7
c8e5b8abd7 [Php80] Handle AnnotationToAttributeRector + ClassPropertyAssignToConstructorPromotionRector (#1712)
2022-01-21 23:06:42 +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
Tomas Votruba
9abce1612b Updated Rector to commit 672b339ebd
672b339ebd [e2e][scoped] Add e2e global install on scoped (#1704)
2022-01-20 21:15:14 +00:00
Tomas Votruba
12613b9c6a Updated Rector to commit 9b62f0a4c7
9b62f0a4c7 [Parallel] Remove unused SingleFileProcessor (#1700)
2022-01-19 13:18:25 +00:00
Tomas Votruba
f2b4b95aa2 Updated Rector to commit dbf132092a
dbf132092a [Php71] Skip property fetch array assigned in method call on __construct on CountOnNullRector (#1698)
2022-01-19 08:54:57 +00:00
Tomas Votruba
4515eabbc8 Updated Rector to commit 71719b5e05
71719b5e05 [Php70] Do not take side effect on IfToSpaceshipRector (#1696)
2022-01-18 15:46:28 +00:00
Tomas Votruba
c00c31fd50 Updated Rector to commit 1c7460bcfc
1c7460bcfc [Privatization] Skip ChangeReadOnlyVariableWithDefaultValueToConstantRector when local variable never used (#1693)
2022-01-18 07:55:51 +00:00
Tomas Votruba
bc1b388847 Updated Rector to commit bf2f6dd0e9
bf2f6dd0e9 [Php71] Skip iterable on CountOnNullRector (#1691)
2022-01-17 16:18:54 +00:00
Tomas Votruba
bd264fd61f Updated Rector to commit f92c52d30a
f92c52d30a Update symplify to ^10.0.11 (#1690)
2022-01-17 10:06:08 +00:00
Tomas Votruba
165b238ab7 Updated Rector to commit 94e7ac8ef8
94e7ac8ef8 [Naming] Fix property interface and underscore naming (#1689)
2022-01-17 00:12:52 +00:00
Tomas Votruba
caf39c6999 Updated Rector to commit 72de31e70f
72de31e70f Ensure autoloader is loaded in globally installed Rector (#1683)
2022-01-16 01:39:16 +00:00
Tomas Votruba
7bec35aee9 Updated Rector to commit 80882ad175
80882ad175 [TypeDeclaration] Skip Throw_ in construct and as Expr on ReturnNeverTypeRector (#1679)
2022-01-15 08:52:41 +00:00
Tomas Votruba
903c96a6c2 Updated Rector to commit 6ea0032a70
6ea0032a70 [CodeQuality] Do not add \ on static on CallableThisArrayToAnonymousFunctionRector (#1671)
2022-01-14 09:27:49 +00:00
Tomas Votruba
89982c6c94 Updated Rector to commit 2607c2a79b
2607c2a79b [Php81] Add NullToStrictStringFuncCallArgRector (#1655)
2022-01-13 13:02:46 +00:00
Tomas Votruba
c6d9c4e26b Updated Rector to commit fd34e6c925
fd34e6c925 Do not remove final modifier from private constructors (#1663)
2022-01-12 10:12:35 +00:00
Tomas Votruba
3bf32aa1f9 Updated Rector to commit bbe0567317
bbe0567317 [DX] Use type safe access with PrivatePropertyAccessor (#1660)
2022-01-11 19:06:30 +00:00
Tomas Votruba
ddc2f64433 Updated Rector to commit 2676f89d13
2676f89d13 [PhpAttribute] Fix array key of class constant reference (#1659)
2022-01-11 15:18:02 +00:00
Tomas Votruba
a5aef684ff Updated Rector to commit e27e483094
e27e483094 [Core] BetterStandardPrinter performance improvement with unnecessary regex check on no Closure Uses and no ClassMethod ReturnType (#1653)
2022-01-10 00:03:45 +00:00
Tomas Votruba
3df670f627 Updated Rector to commit 4ab2ab5850
ea2ea17385 [automated] Re-Generate Nodes/Rectors Documentation 4ab2ab5850 Merge pull request #1650 from rectorphp/automated-regenerated-nodes-rectors-documentation
2022-01-09 10:54:09 +00:00
Tomas Votruba
d799d58c0e Updated Rector to commit 1dc94831c5
704b1bec11 [DowngradePhp80] Add DowngradeNumberFormatNoFourthArgRector 37e2e84500 [ci-review] Rector Rectify c6f84fa033 [ci-review] Rector Rectify 31b5cbf4b2 skip named arg 490dbb6365 skip different func call 05854d69d0 skip has fourth arg d7bf81e064 skip no third arg 8f18542a00 add failing test case 7df7bcae20 implemented 7702d5df1f register efcd01a961 phpstan 6f7b8a2788 phpstan d54672face phpstan 2fd995c396 [ci-review] Rector Rectify 3c2abcb79d [ci-review] Rector Rectify 2b16ac9761 phpstan 58f3574328 phpstan 620d2b3125 [ci-review] Rector Rectify ec364cbd03 [ci-review] Rector Rectify 0355abcde2 rectify fix 1dc94831c5 Merge pull request #1649 from rectorphp/downgrade-php80-numberformat
2022-01-08 17:02:43 +00:00