2271 Commits

Author SHA1 Message Date
Tomas Votruba
f3e173b7f3 Updated Rector to commit 8efa7151e64abf2ccdc7a589230d4799f41ed449
8efa7151e6 [FamilyTree] Use parent->hasNativeMethod() on ClassChildAnalyzer->resolveParentClassMethods() (#2357)
2022-05-24 20:58:57 +00:00
Tomas Votruba
5dfc95ba95 Updated Rector to commit e1ecbe90fc96be1af3a59ef2312383aa85d5a15d
e1ecbe90fc [DeadCode] Handle RemoveDoubleAssignRector+RemoveUnusedVariableAssignRector (#2355)
2022-05-24 20:58:43 +00:00
Tomas Votruba
b93cf80a4f Updated Rector to commit dc9189280f34a29309ee3b9de20c788ed46402c8
dc9189280f [PHPStan] Update to PHPStan ^1.7.0 (#2354)
2022-05-24 13:01:35 +00:00
Tomas Votruba
3e7be42701 Updated Rector to commit a14bd2665535ea0d8ec6f3307db302c7f8a5fc68
a14bd26655 [Core] Handle Previous Stmt not Stmt on UnreachableStmtAnalyzer (#2353)
2022-05-24 09:06:01 +00:00
Tomas Votruba
5d8ca84738 Updated Rector to commit f25715b7b39a700bff2c1d8b162b9520da71d9eb
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 1691157a6414c8494065c5ddde64168ac2f8da93
1691157a64 [Core] Use PropertyFetchAnalyzer::isFilledViaMethodCallInConstructStmts() in ConstructorAssignDetector::isPropertyAssigned() (#2351)
2022-05-23 14:15:07 +00:00
Tomas Votruba
bb3b32dd59 Rector 0.13.0 2022-05-23 10:26:32 +00:00
Tomas Votruba
f89782b964 Updated Rector to commit f134b6183e8c1a9cef0d69cb3255015c963d3c19
f134b6183e [Php71] Ensure return  only when catch of TryCatch removed on MultiExceptionCatchRector (#2350)
2022-05-23 03:50:09 +00:00
Tomas Votruba
a2cadae414 Updated Rector to commit 3fe07aa6a1b368b191cc0ed3df030988ae57bd39
3fe07aa6a1 [Experiment][Naming] Keep GroupUse Stmt on UseImportsResolver::resolveForNode() (#2349)
2022-05-22 21:05:36 +00:00
Tomas Votruba
291f513fb2 Updated Rector to commit f8c204adba7515823ad213f30d541bf87e921177
f8c204adba [Naming] Handle Grouped use import on UseImportsResolver (#2348)
2022-05-22 17:40:56 +00:00
Tomas Votruba
b7c661cd45 Updated Rector to commit a9c6d9bd06515b5e5bbbcad3b2f7e70d3ab59125
a9c6d9bd06 [Core][DeadCode] Remove ClassMethodManipulator->isPropertyPromotion() (#2346)
2022-05-22 17:06:09 +00:00
Tomas Votruba
a935bbc0cb Updated Rector to commit 8fbc6582f998a7c3330a1ca7ff731f2e8fb2476f
8fbc6582f9 [Core][Naming] Move collecting param names method to FunctionLikeManipulator (#2347)
2022-05-22 16:59:48 +00:00
Tomas Votruba
1192ab052e Updated Rector to commit 68906c7e178d486c9f6de95b70b40e8af70793f8
68906c7e17 [DeadCode] Skip used in compact() on RemoveUnusedConstructorParamRector (#2345)
2022-05-22 11:48:33 +00:00
Tomas Votruba
87e9b6cac3 Updated Rector to commit 20731aedd2668b2d920ac7502266996c9ccb618b
20731aedd2 add RectorConfigProvider::getSymfonyContainerXml()
2022-05-22 07:50:39 +00:00
Tomas Votruba
cb9cf8dc77 Updated Rector to commit a59e9cece64b192b0e8b7701909cece3ef060bd8
a59e9cece6 Fix return type of FileInfoParser::parseFileInfoToNodesAndDecorate (#2344)
2022-05-22 07:24:14 +00:00
Tomas Votruba
de0de9aad5 Updated Rector to commit 08a35afeb1cd4ac464b7da9d73f0256b1b585537
08a35afeb1 remove symfony routes json paramter as unused
2022-05-22 07:19:57 +00:00
Tomas Votruba
7b1430a8bc Updated Rector to commit adb6e68c2a2c407961ee6cb69ed0ae79112e5c27
adb6e68c2a [automated] Re-Generate Nodes/Rectors Documentation (#2343)
2022-05-22 07:17:20 +00:00
Tomas Votruba
2b85976c4c Updated Rector to commit adb6e68c2a2c407961ee6cb69ed0ae79112e5c27
adb6e68c2a [automated] Re-Generate Nodes/Rectors Documentation (#2343)
2022-05-22 00:38:26 +00:00
Tomas Votruba
1eaab8962d Updated Rector to commit fef1a0395585e350faef1d1c23c182c2aa923151
fef1a03955 [DeadCode] Skip used in Closure use on RemoveUnusedConstructorParamRector (#2341)
2022-05-21 16:30:26 +00:00
Tomas Votruba
71be1e7075 Updated Rector to commit b4120a885084c5e15814aceae41b2e0a1bdb66e0
b4120a8850 [DX] Use direct method on node, instead of token position (#2340)
2022-05-21 12:10:19 +00:00
Tomas Votruba
a073a51536 Updated Rector to commit b4120a885084c5e15814aceae41b2e0a1bdb66e0
b4120a8850 [DX] Use direct method on node, instead of token position (#2340)
2022-05-21 11:58:43 +00:00
Tomas Votruba
3051b40bdb Updated Rector to commit b4120a885084c5e15814aceae41b2e0a1bdb66e0
b4120a8850 [DX] Use direct method on node, instead of token position (#2340)
2022-05-21 09:54:08 +00:00
Tomas Votruba
85503305b8 Updated Rector to commit b4120a885084c5e15814aceae41b2e0a1bdb66e0
b4120a8850 [DX] Use direct method on node, instead of token position (#2340)
2022-05-21 09:46:20 +00:00
Tomas Votruba
ba3d4a2c17 Updated Rector to commit b4120a885084c5e15814aceae41b2e0a1bdb66e0
b4120a8850 [DX] Use direct method on node, instead of token position (#2340)
2022-05-21 08:50:30 +00:00
Tomas Votruba
6fe802bfdc Updated Rector to commit fcadc67328afe2b040fb7eaebe382000b1e22034
fcadc67328 add symfony php config option to allow loading route factory (#2339)
2022-05-21 08:48:33 +00:00
Tomas Votruba
66041dec16 Updated Rector to commit 36fd8fa61977566826294e3721d198153ea0095a
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 f0a1b688f360319847d86901d66f96a456b1c75d
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 1a56ec173686816bc4e237a2de40355e8270a7c7
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 3f0a0b7259737f77c673c3e7c462a6530c0123f5
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 f90acd4c3ab5541e65dfd49566d6680db9d929d9
f90acd4c3a [DowngradePhp80] Handle inside Closure on DowngradeMatchToSwitchRector (#2333)
2022-05-19 14:31:37 +00:00
Tomas Votruba
ce9b1cc6e6 Updated Rector to commit 30a53bfd939afef66afb1e0d71d5b2583eda0693
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 36af81f0ddf6a850d218ce53bcb894f1dca46de4
36af81f0dd [DowngradePhp80] Handle match inside ArrowFunction on DowngradeMatchToSwitchRector (#2330)
2022-05-18 15:26:57 +00:00
Tomas Votruba
ed2c26a73e Updated Rector to commit 0704ba0af4c93aa38cb77e288fe444b879fb8ef4
0704ba0af4 [Core] Remove clean comment on NodeComparator::isNodeEqual() (#2329)
2022-05-18 13:06:07 +00:00
Tomas Votruba
1bc7ee9334 Updated Rector to commit e33bcf19bea2d31916641ad6e276c39bcec41cfe
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 2c0f802aaf18f2fb5087c38b50f6ffc028460694
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 eeeba85f485f8d8caf2f5528ba93717cea6ced22
eeeba85f48 [Core] Improve PropertyFetchFinder to use PropertyFetchAnalyzer (#2326)
2022-05-18 07:44:45 +00:00
Tomas Votruba
de15691138 Updated Rector to commit 50943ea4f2966e5f2d946cff138c65e1efed5cb1
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 50943ea4f2966e5f2d946cff138c65e1efed5cb1
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 15d93fa8158bdbfdbb1965e4e749e7cd68f79bbf
15d93fa815 [DeadCode] Handle combine RemoveAlwaysTrueIfConditionRector + RemoveDeadConstructorRector (#2324)
2022-05-17 09:51:50 +00:00
Tomas Votruba
0cbc3aa523 Updated Rector to commit 15d93fa8158bdbfdbb1965e4e749e7cd68f79bbf
15d93fa815 [DeadCode] Handle combine RemoveAlwaysTrueIfConditionRector + RemoveDeadConstructorRector (#2324)
2022-05-16 21:21:34 +00:00
Tomas Votruba
74de754026 Updated Rector to commit 7a08f1bbe556b0d3074e5fb04d251598487a5ce4
7a08f1bbe5 [Core] Move ->shouldShowProgressBar() before loop (#2323)
2022-05-16 19:08:11 +00:00
Tomas Votruba
792ac60a81 Updated Rector to commit 7a08f1bbe556b0d3074e5fb04d251598487a5ce4
7a08f1bbe5 [Core] Move ->shouldShowProgressBar() before loop (#2323)
2022-05-16 09:43:25 +00:00
Tomas Votruba
4708d6b081 Updated Rector to commit c0086b7e14fd72a16df6b8ba0d8b4f9440181a1b
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 91ffbbb74db837e33b7dc8362bdeeb90757ea532
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 0686f438cce9816adbba19a072d35faa463c2f54
0686f438cc [PHPStan] Enable symplify-rules.neon (#2318)
2022-05-15 11:50:50 +00:00
Tomas Votruba
c99e1d9cdf Updated Rector to commit d61eea4aca1d6269f7ba75f5facaf6d742d3e51e
d61eea4aca [Core] Ensure parent is Node on AbstractScopeAwareRector (#2317)
2022-05-15 10:32:22 +00:00
Tomas Votruba
98b2db6b30 Updated Rector to commit 70f10c9c779e5f82d9464f8e9e5ab0e3e12977c9
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 96400215b55a957bd5d5af2b8195af9bdb83c2ca
96400215b5 [automated] Re-Generate Nodes/Rectors Documentation (#2314)
2022-05-15 09:42:33 +00:00
Tomas Votruba
d63573a7d2 Updated Rector to commit 1d75b53e9775a330c075aacc8b8ca75e2af2a604
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 3ed69d7ecf2cf7227ee5fa10894b4eccf9a8ddf7
3ed69d7ecf [CodeQuality] Apply StmtsAwareInterface node on SimplifyUselessVariableRector (#2310)
2022-05-14 09:33:59 +00:00