Commit Graph

2039 Commits

Author SHA1 Message Date
Tomas Votruba
2747e037dd Updated Rector to commit 743fef03d939a8a4fc4aa9364df057854e97e5c7
743fef03d9 [CodingStyle] Add StaticArrowFunctionRector (#2657)
2022-07-13 16:07:41 +00:00
Tomas Votruba
8b3c974a42 Updated Rector to commit fba410bf6ed6da0657cb8ec939a22ad3988fc4ad
fba410bf6e [StrictTypes] Add MethodCall/StaticCall to ExclusiveNativeCallLikeReturnMatcher (#2646)
2022-07-09 14:14:37 +00:00
Tomas Votruba
239f91295e Updated Rector to commit b67bf649899000a913c4c91ec7ce43b165aa471d
b67bf64989 move ParamTypeByParentCallTypeRector to type-declaration-strict set
2022-07-07 09:23:09 +00:00
Tomas Votruba
81662109e0 Updated Rector to commit 649e5119376355e4d009f5db569b3785d10aaa37
649e511937 [TypeDeclaration] Add TypedPropertyFromStrictSetUpRector (#2636)
2022-07-06 11:56:20 +00:00
Tomas Votruba
b050f5de99 Updated Rector to commit a70d0e5518260479d055a0d5a90e28e43cad58f7
a70d0e5518 [Php54] Rename ArrayToShortArrayRector to LongArrayToShortArrayRector (#2628)
2022-07-03 23:03:40 +00:00
Tomas Votruba
3d95b4f79c Updated Rector to commit f78af109208cfe6c217a89ecd80fb7a5a5c518e9
f78af10920 [EarlyReturn] Remove ReturnAfterToEarlyOnBreakRector as risky and turning around next/previous nodes (#2624)
2022-07-03 20:28:06 +00:00
Tomas Votruba
76fb7eb0e9 Updated Rector to commit dfc6e1d9c05a4ab0c861332298d3184763d9ebfb
dfc6e1d9c0 [DeadCode] Handle edge cases on RemoveJustVariableAssignRector (#2621)
2022-07-03 14:34:26 +00:00
Tomas Votruba
80dae040ce Updated Rector to commit 39a6ed5d83fcb4d96adb9112e2332081b8a6bec6
39a6ed5d83 Enable rule (#2619)
2022-07-03 12:51:23 +00:00
Tomas Votruba
4153a8246a Updated Rector to commit 45c91eb8ba874853d5717d7267c85776b2502f9d
45c91eb8ba [DeadCode] Add RemoveJustVariableAssignRector (#2618)
2022-07-03 12:43:42 +00:00
Tomas Votruba
189f399cf2 Updated Rector to commit 0660b21ecec553393226003c16432a626e20f8ec
0660b21ece [Php54] Add ArrayToShortArrayRector (#2615)
2022-07-03 11:40:45 +00:00
Tomas Votruba
8c06162529 Updated Rector to commit f608461e44c6a4008a2bff6c603ba9d52d3ffacf
f608461e44 Remove RemoveOverriddenValuesRector as flow of control is not reliable and could cause invalid removal (#2614)
2022-07-03 08:06:08 +00:00
Tomas Votruba
2ef7fcfcd2 Updated Rector to commit 23bad1ec21a1ba71c748073cae083ce55484e1a7
23bad1ec21 [EarlyReturn] Add ReturnEarlyIfVariableRector (#2609)
2022-07-02 22:36:41 +00:00
Tomas Votruba
2524b7ef68 Updated Rector to commit 89a7a4dfbb3e05a306c0f5b9950c28588d4f2af9
89a7a4dfbb [TypeDeclaration] Add ReturnTypeFromStrictScalarReturnExprRector (#2601)
2022-07-01 13:42:45 +00:00
Tomas Votruba
8c4e269a9d Updated Rector to commit 6be87763cbe27e0c20d3923df0efe629e5cae6f8
6be87763cb [CodeQuality] Remove DateTimeToDateTimeInterfaceRector as mostly opinionated and way too much generics (#2598)
2022-07-01 07:42:17 +00:00
Tomas Votruba
fbc13bfea3 Updated Rector to commit e6e5895517eb301f3fa3b00759b06876cacde836
e6e5895517 [Naming] Skip used in arrow function args on RenameVariableToMatchMethodCallReturnTypeRector (#2599)
2022-07-01 07:39:49 +00:00
Tomas Votruba
8582284513 Updated Rector to commit ed92724c846790f1bab66cd81b3e20a6561694ed
ed92724c84 [DX] Try unused public const PHPStan rule (#2595)
2022-06-30 13:57:27 +00:00
Tomas Votruba
4f6ff772bb Updated Rector to commit 82b24679cd1763f610b5356684766658ab9a80fa
82b24679cd [DeadCode] Handle anonymous and arrow function uses in RemoveJustPropertyFetchRector (#2592)
2022-06-30 13:32:41 +00:00
Tomas Votruba
26c0e5c79b Updated Rector to commit 143f743d4ffb63b8fa6649841782d6d48735d472
143f743d4f [DX] Add MissingInSetCommand, to verify what rules are not part of their sets (#2594)
2022-06-30 13:31:25 +00:00
Tomas Votruba
d6e035e01a Updated Rector to commit 7c8b23b02d
7c8b23b02d [CodeQuality] Add TernaryFalseExpressionToIfRector (#2590)
2022-06-29 16:03:56 +00:00
Tomas Votruba
846aa2b4c2 Updated Rector to commit e97dd8f360
e97dd8f360 Use rector downgrade php (#2582)
2022-06-28 12:42:29 +00:00
Tomas Votruba
f2b6b30624 Updated Rector to commit e81691f1c6
e81691f1c6 [DowngradePhp80] Add DowngradeMixedTypeTypedPropertyRector (#2579)
2022-06-27 12:30:57 +00:00
Tomas Votruba
2e275ef1ff Updated Rector to commit 78d110af4c
78d110af4c [TypeDeclaration] Add ReturnTypeFromStrictNewArrayRector (#2572)
2022-06-26 11:48:44 +00:00
Tomas Votruba
68845a00bf Updated Rector to commit 80715e62b5
80715e62b5 [CodeQuality] Drop ArrayThisCallToThisMethodCallRector as changes behavior and better handled by FirstClassCallableRector (#2571)
2022-06-26 10:18:31 +00:00
Tomas Votruba
65284cc98a Updated Rector to commit 237f255023
237f255023 [TypeDeclaration] Add ReturnTypeFromStrictNativeFuncCallRector (#2570)
2022-06-26 10:02:03 +00:00
Tomas Votruba
c10f29b7bb Updated Rector to commit 42707709f7
42707709f7 [TypeDeclaration] Kick off ReturnTypeFromStrictReturnExprRector (#2563)
2022-06-25 14:38:11 +00:00
Tomas Votruba
f638f7a12a Updated Rector to commit fe88fbb630
fe88fbb630 [PHP 8.1] Add FirstClassCallableRector (#2544)
2022-06-21 07:39:15 +00:00
Tomas Votruba
dd31e833a9 Updated Rector to commit ce1c29184d
ce1c29184d [scoped] change only year and month, to make diff esaier to see; autoload is handled already
2022-06-11 12:27:46 +00:00
Tomas Votruba
b4891e547c Updated Rector to commit a5340c6f06
a5340c6f06 [Renaming] Do not rename docblock same name not found in use inside namespace (#2471)
2022-06-11 11:59:10 +00:00
Tomas Votruba
a9ffd906d7 Updated Rector to commit 368dbb048c
368dbb048c docs: fix instruction in CONTRIBUTING.md (#2470)
2022-06-10 05:55:49 +00:00
Tomas Votruba
7e1e20e9f2 Updated Rector to commit 17b86d4b77
17b86d4b77 [CodeQuality] Remove unnecessary check next return removed no SimplifyIfElseToTernaryRector (#2457)
2022-06-09 06:07:50 +00:00
Tomas Votruba
e8d4384fe8 Updated Rector to commit 6c8b3dc9f8
6c8b3dc9f8 [DeadCode][PHPUnit] handle crash on RemoveJustPropertyFetchForAssignRector+SimplifyForeachInstanceOfRector (#2453)
2022-06-08 05:54:40 +00:00
Tomas Votruba
b6a8818d00 Updated Rector to commit cbbe410aff
cbbe410aff string prefixing is still needed
2022-06-07 09:46:15 +00:00
Tomas Votruba
9bb996bfce Updated Rector to commit a9779404d3
a9779404d3 try without prefixing string classes
2022-06-07 09:38:27 +00:00
Tomas Votruba
bdfd24339f Updated Rector to commit 2e977bd3aad21113e0bb7e2aa9b102f6f1e9246d
2e977bd3aa deploy to original repository
2022-06-07 08:22:29 +00:00
Tomas Votruba
91f5aab952 Updated Rector to commit 4f07a4f30f
4f07a4f30f [Php74] Remove ReservedFnFunctionRector (#2447)
2022-06-07 06:40:10 +00:00
Tomas Votruba
aa2cb1b997 Updated Rector to commit 0eba231b07
0eba231b07 [PHP 8.1] Move ConstantListClassToEnumRector to PHP 8.1 (#2444)
2022-06-06 17:12:56 +00:00
Tomas Votruba
a28f4b14a4 Updated Rector to commit 2022-06-06 16:43:29 +00:00
Tomas Votruba
08cadc8e87 Updated Rector to commit 38a9718b52
38a9718b52 [CS] Fix dynamic and broken indent detection, allow to configure spacing via RectorConfig::indent() method (#2442)
2022-06-06 09:59:48 +00:00
Tomas Votruba
07acf2086f Updated Rector to commit 40d9102eab
40d9102eab [Renaming] Do not Rename Docblock inner Namespace on RenameClassRector (#2441)
2022-06-06 06:00:07 +00:00
Tomas Votruba
3113a2404c Updated Rector to commit dbb54b83cc
dbb54b83cc [automated] Re-Generate Nodes/Rectors Documentation (#2438)
2022-06-05 00:39:10 +00:00
Tomas Votruba
bf28f06a74 Updated Rector to commit 6b9984175f
6b9984175f [Naming] Fix PseudoNamespaceToNamespaceRector reporting on change (#2426)
2022-06-04 08:16:56 +00:00
Tomas Votruba
98eb7617da Updated Rector to commit 283a9af3f0
283a9af3f0 [Renaming] Skip docblock rename different namespace on RenameClassRector (#2419)
2022-06-04 07:39:10 +00:00
Tomas Votruba
9537927564 Updated Rector to commit c5f35e4a1d
c5f35e4a1d [DeadCode] Add RemoveJustPropertyFetchForAssignRector (#2423)
2022-06-03 10:11:45 +00:00
Tomas Votruba
14da17860d Updated Rector to commit 7722a57d80
7722a57d80 [PHP 8.0] Add return type support to ConstantListClassToEnumRector (#2420)
2022-06-03 07:23:26 +00:00
Tomas Votruba
02c0f07aa0 Updated Rector to commit 9187ff0430
9187ff0430 [Scoped] Update full_build.sh to reflect the current Github workflow for build scoped (#2413)
2022-06-02 07:23:49 +00:00
Tomas Votruba
780f0d3ad8 Updated Rector to commit 06b0b325da
06b0b325da remove victor, it handles only metafiles, not unused classes
2022-06-01 07:38:23 +00:00
Tomas Votruba
79fb9f78db Updated Rector to commit b48271e18f
b48271e18f [DowngradePhp82] Add DowngradeReadonlyClassRector to downgrade readonly class (#2322)
2022-05-31 21:25:48 +00:00
Tomas Votruba
8506c85563 Updated Rector to commit 01fc91e575
01fc91e575 [CodeQuality] Add empty array support to InlineArrayReturnAssignRector (#2397)
2022-05-31 07:47:20 +00:00
Tomas Votruba
0501290a9d Updated Rector to commit dc6bd9680c
dc6bd9680c [e2e] Handle Parent Property empty missing Scope on StaticCallToMethodCallRector+RenameClassRector (#2396)
2022-05-31 07:17:00 +00:00
Tomas Votruba
d035c86f90 Updated Rector to commit a7e66d67bd
a7e66d67bd remove excluded files
2022-05-30 00:02:22 +00:00
Tomas Votruba
9a9e8960ee Updated Rector to commit 9cd69c2b3d
9cd69c2b3d [automated] Re-Generate Nodes/Rectors Documentation (#2385)
2022-05-29 00:36:37 +00:00
Tomas Votruba
94e64470da Updated Rector to commit 012e9ad553
012e9ad553 Add annotation to attribute core rename in AnnotationToAttributeRector (#2384)
2022-05-28 00:27:30 +00:00
Tomas Votruba
b748edb1e3 Updated Rector to commit 37df55a2fd
37df55a2fd [DX] Remove non-PHP file formatting based on editorconfig, rather let external coding standard tools handle the file format (#2378)
2022-05-27 16:47:28 +00:00
Tomas Votruba
370e072a87 Updated Rector to commit a9dd89b1cc
a9dd89b1cc [DX] Remove CommandNaming magic, check rector class exists in RectorConfig (#2372)
2022-05-27 15:06:05 +00:00
Tomas Votruba
6693d5cd3d Updated Rector to commit 45eef47f27
45eef47f27 [DX] Various config merge, improve RectorConfig methods (#2371)
2022-05-27 13:38:07 +00:00
Tomas Votruba
7e46eb8267 Updated Rector to commit a2d6da8b4e
a2d6da8b4e Back to php-scoper 0.14 with scoping from php 8.0 (#2370)
2022-05-27 11:51:31 +00:00
Tomas Votruba
beba7d6efe Updated Rector to commit 1249d947f4
1249d947f4 Try php-scoper 0.17 (#2368)
2022-05-27 11:25:02 +00:00
Tomas Votruba
911a9772d6 Updated Rector to commit e690cd059c
e690cd059c restore downgrade configs
2022-05-27 10:39:50 +00:00
Tomas Votruba
bcf77dc873 Updated Rector to commit f5a06553ce
f5a06553ce [CodeQuality] Add InlineIsAInstanceOfRector (#2364)
2022-05-26 22:07:22 +00:00
Tomas Votruba
74a2d071eb Updated Rector to commit 3da22b0231
3da22b0231 [Php81] Skip ArrayDimFetch from ArrayObject in Assign var on ReadOnlyPropertyRector (#2363)
2022-05-26 07:20:40 +00:00
Tomas Votruba
c5eecc40c0 Updated Rector to commit 4c53b206a4
4c53b206a4 [Php80] Do not remove array<mixed> inside Union type on UnionTypesRector (#2358)
2022-05-25 06:59:11 +00:00
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
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
2b85976c4c Updated Rector to commit adb6e68c2a
adb6e68c2a [automated] Re-Generate Nodes/Rectors Documentation (#2343)
2022-05-22 00:38:26 +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
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
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
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
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
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
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
d72f56e566 Updated Rector to commit 30f2f91909
30f2f91909 [CodeQuality][DeadCode] Handle SimplifyUselessVariableRector+RemoveOverriddenValuesRector (#2277)
2022-05-10 12:38:09 +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
992aade98a Updated Rector to commit d89c23267c
d89c23267c [automated] Re-Generate Nodes/Rectors Documentation (#2262)
2022-05-08 00:33:36 +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
a2cfc4196f Updated Rector to commit 0175838a0c
0175838a0c [DX] Cleanup ComplexNodeRemover (#2230)
2022-05-05 06:11:24 +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
467291c58c Updated Rector to commit 0052951dd0
0052951dd0 Bump Symplify and PHPStan rules version (#2218)
2022-05-03 15:01:15 +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
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
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
127b77fdf0 Updated Rector to commit ae45be1cf3
ae45be1cf3 [DX] Add note warning about using old config (#2174)
2022-04-26 23:02:07 +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
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
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
5dd71bbea3 Updated Rector to commit 91f6470cbc
91f6470cbc [DX] Update to use Method Call from RectorConfig on rector configs ( config/set dir) (#2108)
2022-04-20 18:29:39 +00:00
Tomas Votruba
e3b6e1da0f Updated Rector to commit 03fbf02ec4
03fbf02ec4 [DX] Run UpgradeRectorConfigRector on /configs/set (#2099)
2022-04-20 07:12:09 +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
b733212c38 Updated Rector to commit 91b8573525
91b8573525 [PHPStan] Set compatible with upcoming PHPStan 1.6.x with set NodeConnectingVisitor tags (#2014)
2022-04-15 17:36:53 +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
1cdd8d4e52 Updated Rector to commit 09499098eb
09499098eb [TypeDeclaration] Register ParamAnnotationIncorrectNullableRector to type-declaration config set (#2071)
2022-04-14 14:58:58 +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
be26c813d6 Updated Rector to commit d0c25cc4b9
d0c25cc4b9 [TypeDeclaration] Register ReturnAnnotationIncorrectNullableRector and VarAnnotationIncorrectNullableRector to type-declaration config set (#2062)
2022-04-13 16:41:06 +00:00
Tomas Votruba
863e58bc5e Updated Rector to commit 363f4083d5
363f4083d5 [TypeDeclaration] Make TypedPropertyFromAssignsRector configurable with INLINE_PUBLIC (#2052)
2022-04-13 16:35:59 +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
071d7cb788 Updated Rector to commit c35cc97d38
c35cc97d38 [DX] Add phpVersion() method to RectorConfig + make use of new config class in test configs (#2065)
2022-04-12 14:41:09 +00:00
Tomas Votruba
c983f7c3b5 Updated Rector to commit 799b77a8ed
799b77a8ed Fix typo in a comment (#2064)
2022-04-12 12:57:21 +00:00
Tomas Votruba
0dc28df936 Updated Rector to commit 8d92c466fd
8d92c466fd [DX] Use RectorConfig in configs (#2063)
2022-04-12 11:52:08 +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
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
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
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
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
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
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
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
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
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
1cc0b6c8ca Updated Rector to commit 4c890be2c1
4c890be2c1 Remove old PHPSpec 3 and 4 sets (#1902)
2022-03-03 20:04:11 +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
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
5c5f771155 Updated Rector to commit b765bdb683
b765bdb683 Enable MemoryCacheStorage in more CI setups (#1853)
2022-02-21 17:03:43 +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
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
7d7b002e7c Updated Rector to commit 9fe44263f9
9fe44263f9 [DX] Inline PARALLEL_SYSTEM_ERROR_COUNT_LIMIT option to keep user scope outside internal system (#1818)
2022-02-15 22:07:17 +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
7247d62498 Updated Rector to commit 4f13982aab
4f13982aab [DX] Make progress bar less verbose on CI (#1797)
2022-02-11 12:13:24 +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
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
4d73ef43e2 Updated Rector to commit bc0eac36f4
bc0eac36f4 Fix PHPStan parser for different PHP version parsing (#1791)
2022-02-09 12:17:46 +00:00
Tomas Votruba
b1d44ed8b3 Updated Rector to commit 94ef798f75
94ef798f75 [parser] use simple parser to remove unsupported code (#1789)
2022-02-09 01:05:58 +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
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
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
3ebcd0c7ba Updated Rector to commit f632fa0957
f632fa0957 [DowngradePhp80] Add DowngradeStringReturnTypeOnToStringRector (#1750)
2022-01-31 17:52:49 +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
890cd8f422 Updated Rector to commit 15e28c6de8
15e28c6de8 [RemoveFinalFromConstRector] (#1732)
2022-01-26 18:39:23 +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
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
d697482a5c Updated Rector to commit f0928ab52c
f0928ab52c [cleanup] remove historical and unsupported safe 0.7 (#1709)
2022-01-21 13:18:52 +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
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
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
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
840ae52412 Updated Rector to commit fda8d1af45
fda8d1af45 [Parallel] Add Option PARALLEL_TIMEOUT_IN_SECONDS and PARALLEL_SYSTEM_ERROR_COUNT_LIMIT constant to allow reconfigure it in rector config (#1673)
2022-01-14 11:43:06 +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
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
Tomas Votruba
d60e53c3ca Updated Rector to commit 1f7170df9e
81b7411267 Fix access to optional array key when using  function 1f7170df9e Merge pull request #1648 from ste93cry/fix-phpstan-access-to-undefined-array-key
2022-01-08 00:28:55 +00:00
Tomas Votruba
300503afe6 Updated Rector to commit f42b3f91e2
8d64aee223 Fix memory leak b5dce9edd7 Further improvement f42b3f91e2 Merge pull request #1643 from ondrejmirtes/fix-memory-leak
2022-01-07 00:57:38 +00:00
Tomas Votruba
88a06d884f Updated Rector to commit 840bd5e3e6
d8609d9225 [Parallel] Unsupported files are not skipped 840bd5e3e6 Merge pull request #1638 from gander/main
2022-01-05 11:30:27 +00:00
Tomas Votruba
3d189d0552 Updated Rector to commit 0a0e0fdab5
0a0e0fdab5 [Downgrade PHP 7.0] Add Exception fallback for instanceof Throwable (#1608)
2022-01-04 09:29:33 +00:00
Tomas Votruba
eaa95768d6 Updated Rector to commit f900476469
f900476469 [Downgrade 7.0] Fix value calls that do not lex in PHP 5.6 (#1615)
2022-01-04 01:08:47 +00:00
Tomas Votruba
9f3110a4a1 Updated Rector to commit c3d008cd0e
c3d008cd0e [Downgrade 7.0] Make catch clauses catching Throwable also catch Exception (#1609)
2022-01-03 12:59:17 +00:00
Tomas Votruba
dd6ffa61b2 Updated Rector to commit 9baf531477
9baf531477 Avoid clearing the cache while saving it on parallel (#1616)
2022-01-03 05:20:02 +00:00
Tomas Votruba
ffcf6171ac Updated Rector to commit 9c6a6b0422
9c6a6b0422 [automated] Re-Generate Nodes/Rectors Documentation (#1612)
2022-01-02 00:31:07 +00:00
Tomas Votruba
907bc4b9b8 Updated Rector to commit 7d927c9a41
7d927c9a41 [Downgrade PHP 7.0] Move Throwable out of type hints (#1602)
2022-01-01 11:19:05 +00:00
Tomas Votruba
1a5260ef5d Updated Rector to commit b8a527c07e
b8a527c07e DowngradeSelfTypeDeclarationRector: Fix example output (#1606)
2022-01-01 11:02:34 +00:00
Tomas Votruba
b1cba49930 Updated Rector to commit 311ffc6ec3
311ffc6ec3 [Php81] Skip ReadOnlyPropertyRector on Clone  (#1599)
2021-12-31 09:04:07 +00:00
Tomas Votruba
825d9bd12b Updated Rector to commit 8648410c86
8648410c86 [Scoped] Fixing downgrade part 2 (#1597)
2021-12-30 16:07:15 +00:00
Tomas Votruba
486b7bee9f Updated Rector to commit 068369e632
068369e632 fix: add failing test and fix for repeated numeric strings (#1591)
2021-12-30 08:15:26 +00:00
Tomas Votruba
5f4bbd4591 Updated Rector to commit 5181bf9016
5181bf9016 Update to PHPStan ^1.3 (#1589)
2021-12-29 23:18:00 +00:00
Tomas Votruba
6f59bc8f4b Updated Rector to commit 29838d0c0d
29838d0c0d [Parallel] Process smaller chunk of files at once (#1587)
2021-12-28 14:03:15 +00:00
Tomas Votruba
aced4967b7 Updated Rector to commit fa7249028c
fa7249028c [Scoped] Fix PHP71_BIN_PATH: unbound variable on local full_build.sh (#1586)
2021-12-28 12:08:43 +00:00
Tomas Votruba
fc5610bdbd Updated Rector to commit b0936667c8
b0936667c8 [DowngradePhp56] Add DowngradeArrayFilterUseConstantRector (#1573)
2021-12-27 19:30:54 +00:00
Tomas Votruba
915ec2228d Updated Rector to commit 602aa13f7c
602aa13f7c [Transform]Move ReservedFnFunctionRector to Php74 namespace (#1471)
2021-12-27 17:16:09 +00:00
Tomas Votruba
901fe8ed44 Updated Rector to commit 68dde1af51
68dde1af51 [TypeDeclaration] Skip controller render method on @var to type declaratoin (#1576)
2021-12-27 11:31:14 +00:00
Tomas Votruba
12ae680f84 Updated Rector to commit 1ac835fca7
1ac835fca7 [automated] Re-Generate Nodes/Rectors Documentation (#1570)
2021-12-26 00:38:36 +00:00
Tomas Votruba
4c463f51f8 Updated Rector to commit 09fa15238a
09fa15238a [Core] Use StaticNonPhpFileSuffixes value object in PhpFilesFinder (#1562)
2021-12-25 12:44:33 +00:00
Tomas Votruba
ef5b9ac979 Updated Rector to commit 2487d9fe67
2487d9fe67 [DowngradePhp70] Add DowngradeMethodCallOnCloneRector (#1554)
2021-12-24 04:22:47 +00:00
Tomas Votruba
d09e8c256a Updated Rector to commit 89c3483001
89c3483001 [TypeDeclaratoin] Add AccessoryLiteralStringType to static type mapper (#1558)
2021-12-24 01:23:52 +00:00
Tomas Votruba
80c023c646 Updated Rector to commit 8f8685af81
8f8685af81 [Scoped] Update full_build.sh Local script to test locally to avoid error on php 7.1 and 7.2 (#1552)
2021-12-23 10:41:56 +00:00
Tomas Votruba
e378a052e4 Updated Rector to commit 3f80cd0543
3f80cd0543 [Core] Refactor RectifiedAnalyzer: no longer need check PhpDocInfo->hasChanged() (#1545)
2021-12-22 11:07:14 +00:00
Tomas Votruba
16f4095ade Updated Rector to commit 6861ae9a4f
6861ae9a4f Merge VarDocPropertyTypeInferer (#1543)
2021-12-21 23:27:28 +00:00
Tomas Votruba
09776f16ae Updated Rector to commit 2a18c59a0c
2a18c59a0c [DowngradePhp80] Add DowngradeReflectionClassGetConstantsFilterRector (#1529)
2021-12-20 12:16:44 +00:00
Tomas Votruba
e888119375 Updated Rector to commit c4ffdb5d8e
c4ffdb5d8e [DeadCode] Handle parent:: call with assign when no parent on RemoveParentCallWithoutParentRector (#1531)
2021-12-20 12:15:10 +00:00
Tomas Votruba
84f68c601f Updated Rector to commit daa44253f9
daa44253f9 [DowngradePhp74][DowngradePhp80] Apply ternary with method_exists on DowngradeReflectionGetTypeRector + DowngradeReflectionGetAttributesRector (#1530)
2021-12-20 12:13:23 +00:00
Tomas Votruba
9ca383a82e Updated Rector to commit 0cc56b0a0b
0cc56b0a0b [automated] Re-Generate Nodes/Rectors Documentation (#1522)
2021-12-19 00:36:48 +00:00
Tomas Votruba
d358c43350 Updated Rector to commit 4e0a1ce694
4e0a1ce694 [Php80] Handle double quoted sql statement annotation on AnnotationToAttributeRector (#1516)
2021-12-18 10:25:56 +00:00
Tomas Votruba
0bc44a07f1 Updated Rector to commit 4bac761fc8
4bac761fc8 [DeadCode] Skip parent not found on RemoveParentCallWithoutParentRector (#1510)
2021-12-17 00:05:48 +00:00
Tomas Votruba
e24fd607c2 Updated Rector to commit 6bd25c8094
6bd25c8094 [CodingStyle] Skip new line on ConsistentPregDelimiterRector (#1506)
2021-12-16 10:12:20 +00:00
Tomas Votruba
0b00c0b487 Updated Rector to commit 3417ff434b
3417ff434b [TypeDeclaration] Remove CompleteVarDocTypePropertyRector, is handled by split rules (#1500)
2021-12-15 00:48:30 +00:00
Tomas Votruba
e04672ace0 Updated Rector to commit 0127d15e07
0127d15e07 Cleanup (#1493)
2021-12-14 13:44:57 +00:00
Tomas Votruba
d0b4d2fb7e Updated Rector to commit 67d1b5f590
67d1b5f590 [DowngradePhp80] Add DowngradeReflectionPropertyGetDefaultValueRector (#1486)
2021-12-14 09:41:13 +00:00
Tomas Votruba
b2218b1dc3 Updated Rector to commit a7fe982fcb
a7fe982fcb [Renaming] Handle Rename before AttributeGroup on RenameClassRector (#1481)
2021-12-14 08:14:22 +00:00
Tomas Votruba
db952265ef Updated Rector to commit 363908f477
363908f477 Fix phpstan configured parser to treat project with its code version (#1480)
2021-12-13 22:30:47 +00:00
Tomas Votruba
c2d4952c88 Updated Rector to commit 2bde6b3262
2bde6b3262 [Core] Fix undefined constant ReflectionClassConstant::IS_PUBLIC in php 7.x (#1474)
2021-12-13 12:09:12 +00:00
Tomas Votruba
b3d73e0955 Updated Rector to commit a9290c8911
a9290c8911 [automated] Re-Generate preload.php (#1468)
2021-12-12 00:33:56 +00:00
Tomas Votruba
a893773fb3 Updated Rector to commit f2e58a222f
f2e58a222f [Scoped] Fix downgrade rector-generator (#1461)
2021-12-11 09:27:25 +00:00
Tomas Votruba
8c4aedacef Updated Rector to commit fa31841d4d
fa31841d4d [DX] Warn about deprecated constant configuration (#1444)
2021-12-10 00:25:09 +00:00
Tomas Votruba
a65233ea4f Updated Rector to commit 0c695e2e05
0c695e2e05 [Downgrade PHP 8.0] Add DowngradeDereferenceableOperationRector (#1442)
2021-12-09 17:01:18 +00:00
Tomas Votruba
3f3f25f123 Updated Rector to commit 7e13d0c639
7e13d0c639 [Transform] Move ReservedFnFunctionRector from Php74 to Transform namespace (#1423)
2021-12-09 14:39:40 +00:00
Tomas Votruba
b6c5b4fd3c Updated Rector to commit c445b5a13a
c445b5a13a [Php80] Add AddParamBasedOnParentClassMethodRector (#1431)
2021-12-09 14:35:22 +00:00
Tomas Votruba
e92067fbdf Updated Rector to commit c26d6cc868
c26d6cc868 [DowngradePhp80] Add DowngradeRecursiveDirectoryIteratorHasChildrenRector (#1440)
2021-12-09 14:27:07 +00:00
Tomas Votruba
6472f7f4fb Updated Rector to commit fc383cc011
fc383cc011 [Scoped] Fix exclude symfony/console/Tester (#1438)
2021-12-09 13:05:29 +00:00
Tomas Votruba
6ee24b2d05 Updated Rector to commit b2947fd96f
b2947fd96f [Alternative][Validation] Add AllowEmptyConfigurableRectorInterface interface for alternative to not show warning on allowed rector rule to have default fallback config (#1422)
2021-12-08 05:39:17 +00:00
Tomas Votruba
cef01a5874 Updated Rector to commit 7608c7f332
7608c7f332 deprecate phalcon set, as partial framework without support (#1420)
2021-12-07 22:37:02 +00:00
Tomas Votruba
3c3c64edbd Updated Rector to commit 9d8e5c9011
9d8e5c9011 [CodingStyle] Remove UseMessageVariableForSprintfInSymfonyStyleRector as local custom rule (#1419)
2021-12-07 22:31:51 +00:00
Tomas Votruba
616997a2f0 Updated Rector to commit fb58a4d54a
fb58a4d54a [vendor-patches] Add back patches/danielstjules-stringy-src-stringy-php.patch to patches directory (#1411)
2021-12-07 03:18:07 +00:00
Tomas Votruba
f3d9b9c31c Updated Rector to commit 5493b6dc13
5493b6dc13 [DX] Re-use configure() in docs + remove prefixing of ValueObjectInliner (#1410)
2021-12-06 21:12:03 +00:00
Tomas Votruba
8eada0bd4b Updated Rector to commit 079b20c894
079b20c894 [PHP 7.4] Skip dependency on native ReflectionProperty->getType() (#1409)
2021-12-06 19:42:49 +00:00
Tomas Votruba
d33418d841 Updated Rector to commit a685282042
a685282042 [DowngradePhp80] Add getAttributes() reflection downgrade (#1406)
2021-12-06 13:10:17 +00:00
Tomas Votruba
f63516d9b4 Updated Rector to commit 27a78d96ed
27a78d96ed [Cleanup] merge duplicated SplitStringClassConstantToClassConstFetchRector to UseClassKeywordForClassNameResolutionRector (#1401)
2021-12-06 07:48:16 +00:00
Tomas Votruba
d66e622e1b Updated Rector to commit dda87fc6d2
dda87fc6d2 [VendorLocker] Allow both in vendor for child and parent on ParentClassMethodTypeOverrideGuard (#1399)
2021-12-06 06:57:16 +00:00
Tomas Votruba
ea32bebe15 Updated Rector to commit 29562a6545
29562a6545 [CodingStyle] Remove custom code rule ManualJsonStringToJsonEncodeArrayRector, not much generic (#1398)
2021-12-05 21:47:27 +00:00
Tomas Votruba
e6aa910018 Updated Rector to commit 2fbc1d4742
2fbc1d4742 [automated] Re-Generate preload.php (#1393)
2021-12-05 00:35:00 +00:00
Tomas Votruba
4a5f1c82b3 Updated Rector to commit 8547bdba9d
8547bdba9d [Php81] Skip ReadOnlyPropertyRector on Entity id (#1379)
2021-12-04 07:57:42 +00:00
Tomas Votruba
1a2c8559f4 Updated Rector to commit 81a50ac6dd
81a50ac6dd [DowngradePhp81] Add DowngradeArraySpreadStringKeyRector (#1369)
2021-12-03 04:58:55 +00:00
Tomas Votruba
8a92b6daba Updated Rector to commit 49d6cc0dfa
49d6cc0dfa [Php 8.1 Dep] Update stringy vendor patches to update with #[\ReturnTypeWillChange] (#1370)
2021-12-03 04:56:40 +00:00
Tomas Votruba
768d809544 Updated Rector to commit 3f07f38426
3f07f38426 VisibilityManipulator adjustment (#1362)
2021-12-02 07:34:16 +00:00