Commit Graph

16041 Commits

Author SHA1 Message Date
Tomas Votruba a0204cf9f1 Updated Rector to commit b37e2733e1c393bc802d0c378abfa3f3f4d87068
b37e2733e1 [Core] Ensure reindex node attributes even on re-print (#4030)
2023-05-30 13:30:54 +00:00
Tomas Votruba 36bff0a577 Updated Rector to commit 105df5f485c8e3b2e9b75320555a32b5325186b5
105df5f485 Remove NewToMethodCallRector as unused core and no other extension, niche to use, better handle by PHPStorm (#4029)
2023-05-30 13:20:44 +00:00
Tomas Votruba df2ad70dd3 Updated Rector to commit 4c782243fdb6b03474faa0076800048cb3ef0de9
4c782243fd Remove ChangeReadOnlyPropertyWithDefaultValueToConstantRector as overly detailed checks, better use PHPStan and refactor individually (#4028)
2023-05-30 13:09:27 +00:00
Tomas Votruba 010d5d2c6f Updated Rector to commit 22e97d1c418d0772cf449ed888522ca060829ddf
22e97d1c41 Cleanup stmts (#4027)
2023-05-30 13:05:48 +00:00
Tomas Votruba 8fa5f13430 Updated Rector to commit 953ecb9ecd02d5fc13a21cd7086b60aa45eac31d
953ecb9ecd Improve RemoveUnusedNonEmptyArrayBeforeForeachRector to work with foreach over stmts (#4026)
2023-05-30 12:38:31 +00:00
Tomas Votruba 01ece07757 Updated Rector to commit e0d7483c6257a772829bc28ca76c8237cabb6435
e0d7483c62 Make use of stmts assign in StringableForToStringRector (#4025)
2023-05-30 12:30:41 +00:00
Tomas Votruba fed7beb412 Updated Rector to commit 5bae1ebdcee327ac3dcf4a25175f9013af54ec3d
5bae1ebdce trigger CI
2023-05-30 10:33:01 +00:00
Tomas Votruba 1a69dcf241 Updated Rector to commit d413dc15e6cbe5ac10f5fe6fd06711fcb7267a0b
d413dc15e6 Remove unused method addNodesBeforeNode() (#4024)
2023-05-30 09:18:02 +00:00
Tomas Votruba 9fd6682367 Updated Rector to commit e2213f21762d74946a34197921aa905623493e8c
e2213f2176 Remove unused addNodeAfterNode(), return nodes instead (#4023)
2023-05-30 09:05:58 +00:00
Tomas Votruba 28d2a3ced0 Updated Rector to commit d413dc15e6cbe5ac10f5fe6fd06711fcb7267a0b
d413dc15e6 Remove unused method addNodesBeforeNode() (#4024)
2023-05-30 09:05:54 +00:00
Tomas Votruba 6f79fcfb1e Updated Rector to commit e2213f21762d74946a34197921aa905623493e8c
e2213f2176 Remove unused addNodeAfterNode(), return nodes instead (#4023)
2023-05-30 08:41:10 +00:00
Tomas Votruba 672d7d7dfe Updated Rector to commit e2213f21762d74946a34197921aa905623493e8c
e2213f2176 Remove unused addNodeAfterNode(), return nodes instead (#4023)
2023-05-30 08:16:08 +00:00
Tomas Votruba 305fa5edd6 Updated Rector to commit b97fe194b45a7915fd1509b9388315f49582cb2c
b97fe194b4 [Php80] Remove parent attribute usage on ClassPropertyAssignToConstructorPromotionRector (#4022)
2023-05-29 23:40:49 +00:00
Tomas Votruba 74fee33fad Updated Rector to commit 5979f30756eca7e8f2736514451d5c7bdfed50ce
5979f30756 Remove removeNode() from FuncGetArgsToVariadicParamRector (#4021)
2023-05-29 21:33:59 +00:00
Tomas Votruba 5062188fe8 Updated Rector to commit 0ea7b49d5839f4dcdf5c9966cf410b3394c5e060
0ea7b49d58 [Testing] Remove require_once on TestingParser::parseFileToDecoratedNodes() (#4009)
2023-05-29 18:30:06 +00:00
Tomas Votruba 83e5614f51 Updated Rector to commit 45a9dd5df8411c31f89e87b8cfcc4348625ce627
45a9dd5df8 fix cs
2023-05-29 14:21:32 +00:00
Tomas Votruba 84d2957596 Updated Rector to commit 3dfe7f9c11dc0ea75ba73da6f4639c1718843dc2
3dfe7f9c11 [Test] Enable displayDetailsOnTestsThatTriggerWarnings to true in tests to show warning (#4020)
2023-05-29 14:21:02 +00:00
Tomas Votruba 9f963a664a Updated Rector to commit 3dfe7f9c11dc0ea75ba73da6f4639c1718843dc2
3dfe7f9c11 [Test] Enable displayDetailsOnTestsThatTriggerWarnings to true in tests to show warning (#4020)
2023-05-29 14:08:28 +00:00
Tomas Votruba 8d722f5b92 Updated Rector to commit 3dfe7f9c11dc0ea75ba73da6f4639c1718843dc2
3dfe7f9c11 [Test] Enable displayDetailsOnTestsThatTriggerWarnings to true in tests to show warning (#4020)
2023-05-29 14:02:39 +00:00
Tomas Votruba 4c71bd6171 Updated Rector to commit 4ea7d0f477ff10755172869818056824b2d42dcd
4ea7d0f477 [DeadCode] Clean up PHPStan notice on ComplexNodeRemover::processRemoveParamWithKeys() (#4018)
2023-05-29 13:42:03 +00:00
Tomas Votruba 8925a6a4f0 Updated Rector to commit 4ea7d0f477ff10755172869818056824b2d42dcd
4ea7d0f477 [DeadCode] Clean up PHPStan notice on ComplexNodeRemover::processRemoveParamWithKeys() (#4018)
2023-05-29 13:28:38 +00:00
Tomas Votruba e4e5a9d57d Updated Rector to commit 4ea7d0f477ff10755172869818056824b2d42dcd
4ea7d0f477 [DeadCode] Clean up PHPStan notice on ComplexNodeRemover::processRemoveParamWithKeys() (#4018)
2023-05-29 12:58:14 +00:00
Tomas Votruba 0610c13b0a Updated Rector to commit 4ea7d0f477ff10755172869818056824b2d42dcd
4ea7d0f477 [DeadCode] Clean up PHPStan notice on ComplexNodeRemover::processRemoveParamWithKeys() (#4018)
2023-05-29 12:45:31 +00:00
Tomas Votruba 694cd80b82 Updated Rector to commit 4ea7d0f477ff10755172869818056824b2d42dcd
4ea7d0f477 [DeadCode] Clean up PHPStan notice on ComplexNodeRemover::processRemoveParamWithKeys() (#4018)
2023-05-29 12:40:47 +00:00
Tomas Votruba 2f8ba99efb Updated Rector to commit 4ea7d0f477ff10755172869818056824b2d42dcd
4ea7d0f477 [DeadCode] Clean up PHPStan notice on ComplexNodeRemover::processRemoveParamWithKeys() (#4018)
2023-05-29 12:32:37 +00:00
Tomas Votruba 85587ab16d Updated Rector to commit 4ea7d0f477ff10755172869818056824b2d42dcd
4ea7d0f477 [DeadCode] Clean up PHPStan notice on ComplexNodeRemover::processRemoveParamWithKeys() (#4018)
2023-05-29 12:26:31 +00:00
Tomas Votruba 6b379fd240 Updated Rector to commit e6048295f9001e693403f9f47fd956c543636c16
e6048295f9 [DeadCode] Use  flag on return ClassMethod node on RemoveUnusedConstructorParamRector (#4017)
2023-05-29 12:18:38 +00:00
Tomas Votruba 672507859d Updated Rector to commit 580c76d7fe50f608dfac67f011cd6cac33b6ef72
580c76d7fe [DeadCode] Revert constructor with middle param removal on RemoveUnusedPrivatePropertyRector (#4016)
2023-05-29 12:06:26 +00:00
Tomas Votruba 485a9df50b Updated Rector to commit a91057e5a1f14fe12a1e9bded2c006012c09b00d
a91057e5a1 Remove PARENT_NODE from ArrayDimFetchTypeResolver (#4015)
2023-05-29 09:58:15 +00:00
Tomas Votruba 1b08d37c26 Updated Rector to commit f15cbd7a7d1913287cf67fa9ee2311ebee11cae3
f15cbd7a7d Remove PARENT_NODE from RemoveUnusedConstructorParamRector (#4014)
2023-05-29 09:38:38 +00:00
Tomas Votruba 601ac11f14 Updated Rector to commit 32510e0dc7ee63d5a38c7d088aaf82eee605c516
32510e0dc7 Remove array items directly RemoveDuplicatedArrayKeyRector (#4013)
2023-05-29 09:16:46 +00:00
Tomas Votruba c98c306aa8 Updated Rector to commit cd48bfcc4785fb0d2cf828240f8f71231b232c85
cd48bfcc47 Cleanup removeNodeFromStatements(), removeArg(), removeParam(), removeStmt() methods and remove nodes directly (#4012)
2023-05-29 08:39:56 +00:00
Tomas Votruba b6aa01ccb7 Updated Rector to commit 8f24c73f1894356dd9ad3745924d027fa65a5602
8f24c73f18 Remove PARENT_NODE from CommentsMerger (#4011)
2023-05-29 08:09:04 +00:00
Tomas Votruba 969127f9a6 Updated Rector to commit f429e2811c97689001f45c420d1d674322d00822
f429e2811c Remove use imports directly (#4008)
2023-05-29 06:32:46 +00:00
Tomas Votruba b4e067384d Updated Rector to commit 7891fdab42c174d2443674004396aef362994d4a
7891fdab42 [ProcessAnalyzer] Remove parent attribute on RectifiedAnalyzer (#4010)
2023-05-29 00:14:54 +00:00
Tomas Votruba b403b25ebd Updated Rector to commit 1f594c05a70e6a8a40f15503644ed86a75bbc5f9
1f594c05a7 [CodeQuality] Remove parent attribute on LocalPropertyAnalyzer (#4007)
2023-05-28 21:32:40 +00:00
Tomas Votruba 4cf0c8c8ba Updated Rector to commit 48991c6394059d53256dcfacf41957f8a434a453
48991c6394 [Performance] Reduce ClassReflection lookup on RemoveUnusedPrivateMethodRector (#4006)
2023-05-28 21:08:58 +00:00
Tomas Votruba 45419321ce Updated Rector to commit 95d3dc93770718d2337a7addbfed021f6cad8072
95d3dc9377 [DeadCode] Remove parent lookup on RemoveUnusedPrivateMethodRector (#4005)
2023-05-28 21:02:39 +00:00
Tomas Votruba 1e426f9497 Updated Rector to commit cc6dc93b566930e66b61ee04205ef943a8d9d339
cc6dc93b56 [CodeQuality] Reduce parent lookup on LocalPropertyAnalyzer::resolveFetchedPropertiesToTypesFromClass() (#4004)
2023-05-28 20:47:12 +00:00
Tomas Votruba 84236fa01b Updated Rector to commit 25d6a9740ed21735c4194b94f4d5cabe5b976832
25d6a9740e Cleanup usage of NodesToAddCollector, return nodes directly instead (#4003)
2023-05-28 20:45:54 +00:00
Tomas Votruba aadd5bb215 Updated Rector to commit 3fb912c94432b75fb50a14071f584671a882970d
3fb912c944 Rebuild docs (#4002)
2023-05-28 20:41:33 +00:00
Tomas Votruba 0ac7af6da1 Updated Rector to commit 3fb912c94432b75fb50a14071f584671a882970d
3fb912c944 Rebuild docs (#4002)
2023-05-28 16:17:31 +00:00
Tomas Votruba 99ac9186fd Updated Rector to commit 25ae1d85be40243e03c950de3ac15af7b5b5d3b2
25ae1d85be Remove TokenGetAllToObjectRector, as rare to use and leaky to handle, better handle in controller manual way (#4001)
2023-05-28 16:12:02 +00:00
Tomas Votruba 82f764337c Updated Rector to commit ec2893301809a41a4629aabc3888b968a9613f5e
ec28933018 [Naming] Remove parent attribute on VariableRenamer (#4000)
2023-05-28 14:39:57 +00:00
Tomas Votruba 35af12fddf Updated Rector to commit 7a739fd157144b4a03d88a01a5dd01740a02f2c7
7a739fd157 [Php81] Remove parent attribute on ReadOnlyPropertyRector (#3999)
2023-05-28 14:30:49 +00:00
Tomas Votruba 80189225db Updated Rector to commit 4d4c73d5957cd03b26d4a7f6b6b3e209f4506cd3
4d4c73d595 [automated] Apply Coding Standard (#3998)
2023-05-28 14:14:36 +00:00
Tomas Votruba c1d2a2d580 Updated Rector to commit 4d4c73d5957cd03b26d4a7f6b6b3e209f4506cd3
4d4c73d595 [automated] Apply Coding Standard (#3998)
2023-05-28 13:57:53 +00:00
Tomas Votruba 9b4ae51505 Updated Rector to commit 4d4c73d5957cd03b26d4a7f6b6b3e209f4506cd3
4d4c73d595 [automated] Apply Coding Standard (#3998)
2023-05-28 00:32:17 +00:00
Tomas Votruba 23ab3fd50e Updated Rector to commit fddbb6231342654d15bbaec2792f182881ef66fe
fddbb62313 [TypeDeclaration] Remove parent attribute on ConstructorAssignDetector (#3996)
2023-05-27 21:03:27 +00:00
Tomas Votruba 9c4d020ccb Updated Rector to commit fddbb6231342654d15bbaec2792f182881ef66fe
fddbb62313 [TypeDeclaration] Remove parent attribute on ConstructorAssignDetector (#3996)
2023-05-27 20:24:32 +00:00