Commit Graph

14269 Commits

Author SHA1 Message Date
Tomas Votruba
66041dec16 Updated Rector to commit 36fd8fa619
36fd8fa619 [NodeTypeResolver] Remove DummyTraitClass check as the class no longer exists (#2338)
2022-05-20 18:06:50 +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
f102e48ada Updated Rector to commit 1a56ec1736
1a56ec1736 [Php80] Handle default in previous not used in next switch (#2335)
2022-05-19 18:13:25 +00:00
Tomas Votruba
f2940cdc9c Updated Rector to commit 3f0a0b7259
3f0a0b7259 [Php80] Skip no default return fluent on ChangeSwitchToMatchRector (#2334)
2022-05-19 16:31:50 +00:00
Tomas Votruba
aff4495016 Updated Rector to commit f90acd4c3a
f90acd4c3a [DowngradePhp80] Handle inside Closure on DowngradeMatchToSwitchRector (#2333)
2022-05-19 14:31:37 +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
e591a53599 Updated Rector to commit 36af81f0dd
36af81f0dd [DowngradePhp80] Handle match inside ArrowFunction on DowngradeMatchToSwitchRector (#2330)
2022-05-18 15:26:57 +00:00
Tomas Votruba
ed2c26a73e Updated Rector to commit 0704ba0af4
0704ba0af4 [Core] Remove clean comment on NodeComparator::isNodeEqual() (#2329)
2022-05-18 13:06:07 +00:00
Tomas Votruba
1bc7ee9334 Updated Rector to commit e33bcf19be
e33bcf19be [Core] Override pModifiers() method to set final and abstract modifiers early on BetterStandardPrinter (#2328)
2022-05-18 10:48:11 +00:00
Tomas Votruba
b0c0273ab6 Updated Rector to commit 2c0f802aaf
2c0f802aaf [DeadCode] Allow return Nop Stmts (comments) on RemoveAlwaysTrueIfConditionRector (#2327)
2022-05-18 08:14:13 +00:00
Tomas Votruba
9f20f49090 Updated Rector to commit eeeba85f48
eeeba85f48 [Core] Improve PropertyFetchFinder to use PropertyFetchAnalyzer (#2326)
2022-05-18 07:44:45 +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
0cbc3aa523 Updated Rector to commit 15d93fa815
15d93fa815 [DeadCode] Handle combine RemoveAlwaysTrueIfConditionRector + RemoveDeadConstructorRector (#2324)
2022-05-16 21:21:34 +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
d08b83c426 Updated Rector to commit 91ffbbb74d
91ffbbb74d [Core] Direct assign visitors property data on RectorNodeTraverser (#2315)
2022-05-15 13:20:49 +00:00
Tomas Votruba
e7cbd16435 Updated Rector to commit 0686f438cc
0686f438cc [PHPStan] Enable symplify-rules.neon (#2318)
2022-05-15 11:50:50 +00:00
Tomas Votruba
c99e1d9cdf Updated Rector to commit d61eea4aca
d61eea4aca [Core] Ensure parent is Node on AbstractScopeAwareRector (#2317)
2022-05-15 10:32:22 +00:00
Tomas Votruba
98b2db6b30 Updated Rector to commit 70f10c9c77
70f10c9c77 [Core] Fix message configure rule error on EmptyConfigurableRectorChecker (#2316)
2022-05-15 10:13:55 +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
11c262469b Updated Rector to commit 3ed69d7ecf
3ed69d7ecf [CodeQuality] Apply StmtsAwareInterface node on SimplifyUselessVariableRector (#2310)
2022-05-14 09:33:59 +00:00
Tomas Votruba
d10a01e47f Updated Rector to commit fcb2dc6f33
fcb2dc6f33 [CodeQuality] Do not duplicate Expr on SimplifyIfElseToTernaryRector+SimplifyUselessVariableRector+CompleteDynamicPropertiesRector (#2308)
2022-05-14 07:38:00 +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
c50600c391 Updated Rector to commit 26d2589aba
26d2589aba [Parallel] Fix --debug not working in parallel (#2307)
2022-05-13 16:18:07 +00:00
Tomas Votruba
1b5d975dcf Updated Rector to commit 4d31934258
4d31934258 Add new rule to add annotations from router configuration to symfony controllers (#2306)
2022-05-13 10:14:21 +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
cd95eb3dcc Updated Rector to commit 1ec5e2d35b
1ec5e2d35b restore links
2022-05-12 19:20:31 +00:00
Tomas Votruba
99edeb9629 Updated Rector to commit 52ea41240e
47bea33c2e use changelog annotations to display useful into under the change 52ea41240e restore regex replaces
2022-05-12 19:17:07 +00:00
Tomas Votruba
c37682bea7 Updated Rector to commit f0d68c75a1
f0d68c75a1 [Php82] Fixtures for skip combination writable + readonly on ReadOnlyClassRector (#2304)
2022-05-12 16:54:11 +00:00
Tomas Votruba
a9b5ab7bc7 Updated Rector to commit f0d68c75a1
f0d68c75a1 [Php82] Fixtures for skip combination writable + readonly on ReadOnlyClassRector (#2304)
2022-05-12 16:10:15 +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
75c4d1eb67 Updated Rector to commit 93cf392561
93cf392561 Add [file] + [rule] debug info on --debug + fix literal number downgrade type change to string (#2302)
2022-05-12 14:35:14 +00:00
Tomas Votruba
50d04ee8b8 Updated Rector to commit e88903f64e
e88903f64e [Core] Improve UnreachableStmtAnalyzer: verify itself by recursive call (#2300)
2022-05-12 10:26:38 +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
060b1642ed Updated Rector to commit 55be345ca9
55be345ca9 Various improvements (#2291)
2022-05-11 17:53:44 +00:00
Tomas Votruba
f0a799c4c1 Updated Rector to commit 17d200dfa6
17d200dfa6 [DX] Skip extra comment, add RectorConfig->rules() (#2290)
2022-05-11 16:53:20 +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
f3598b9c94 Updated Rector to commit b8ff9ab25c
b8ff9ab25c Use ReflectionResolver when possible, use AbstractRector when scope not needed (#2288)
2022-05-11 14:46:44 +00:00
Tomas Votruba
099d77eea7 Updated Rector to commit 77dcd92d7f
77dcd92d7f [TypeDeclaration] Use AbstractRector on ParamTypeDeclarationRector (#2287)
2022-05-11 14:04:35 +00:00
Tomas Votruba
b16e5d61a8 Updated Rector to commit 4d358dade1
4d358dade1 [Core] Allow any Node passed to ReflectionResolver::resolveClassReflection() (#2286)
2022-05-11 13:46:30 +00:00
Tomas Votruba
aa55f3e517 Updated Rector to commit 4d358dade1
4d358dade1 [Core] Allow any Node passed to ReflectionResolver::resolveClassReflection() (#2286)
2022-05-11 13:35:32 +00:00
Tomas Votruba
7fc2669a02 Updated Rector to commit f5927bb55e
f5927bb55e [Core] Add ReflectionResolver::resolveClassReflectionSourceObject() method (#2285)
2022-05-11 13:10:39 +00:00