Commit Graph

518 Commits

Author SHA1 Message Date
Tomas Votruba 12c115e6f6 Updated Rector to commit 5193d43b644f9d059d9964ebcc6820181a7bca18
5193d43b64 [NodeTypeResolver] Remove unnecessary loop SourceLocator collection on DynamicSourceLocatorProvider (#5852)
2024-05-02 02:21:56 +00:00
Tomas Votruba 664f4e3a6b Updated Rector to commit 0f1987b0faa8dc1c5e086c9b95457d6018b2cd82
0f1987b0fa Adds a link to the PHP Static Analysis Attributes rector rules (#5787)
2024-04-01 16:51:34 +00:00
Tomas Votruba 42078c4127 Updated Rector to commit 08d73a1af5ebc77bf37e9854fc1aca76cd5fcbcb
08d73a1af5 [Printer] Apply configurable multiline on Fluent Method Call on print after method call created/re-printed (#5779)
2024-03-28 16:05:42 +00:00
Tomas Votruba 695c190be3 Updated Rector to commit 94b5561ca87ee6825a098c7c506b774582bf3354
94b5561ca8 chore: bump min version of github actions (fix deprecations) (#5675)
2024-03-01 20:02:28 +00:00
Tomas Votruba b0211bc3d8 Updated Rector to commit fa75fcf0d1445f90cff9199875aba352671795f9
fa75fcf0d1 [Performance][PhpVersionResolver] Cache resolve platform/require from composer.json on ProjectComposerJsonPhpVersionResolver (#5542)
2024-02-01 23:54:40 +00:00
Tomas Votruba ec3d78eef4 Updated Rector to commit 5a3a59c50c7810296274eb4408737c8f2f8921e7
5a3a59c50c Remove collectors, as performance very costly and not practically useful (#5470)
2024-01-15 22:10:40 +00:00
Tomas Votruba 7e7a2f067a Updated Rector to commit 476cfb00cb6a94cb64badf9472ee78f33bdf44b3
476cfb00cb disable fallback for now
2024-01-02 02:40:38 +00:00
Tomas Votruba 7ba32aac1f Updated Rector to commit e12c73eb339a847bcd717025abf5bc43f1cd0e4c
e12c73eb33 [psr-4] Move tests to main namespace, as part of /src and /packages merge - step 2 (#5407)
2024-01-01 00:20:45 +00:00
Tomas Votruba c5421dfd82 Updated Rector to commit e48234e23981f4022e704bc500b9a9197727e87e
e48234e239 Skip RenameMethodRector in never (#5305)
2023-12-01 09:49:11 +00:00
Tomas Votruba 184cf49468 Updated Rector to commit f9de5d311e7e69d1ad2cb5f3087970d8b9335920
f9de5d311e [Php80] Handle RenameClassRector+AnnotationToAttributeRector with auto import and existing attribute defined (#5219)
2023-11-02 03:20:18 +00:00
Tomas Votruba 671f50c702 Updated Rector to commit ee715396945596fffb158ff8278749feb01ea01a
ee71539694 [NodeTypeResolver] Use isScalar()->yes() usage on StaticTypeAnalyzer and ScalarTypeComparator services (#5099)
2023-10-01 01:36:35 +00:00
Tomas Votruba 4ea05c5a5f Updated Rector to commit e530fc1e1a98faa22509115e79de5e5f2997208d
e530fc1e1a Introducing Collectors - final step 🥳  - processing collected data + test case (#4970)
2023-09-19 11:53:28 +00:00
Tomas Votruba 0208918c02 Updated Rector to commit 071730611619e0b6eb79d18af29480341d4a0361
0717306116 Implement a max jobs per worker budget (#4965)
2023-09-10 12:29:23 +00:00
Tomas Votruba 8e8434e575 Updated Rector to commit b8485c6c17c6e1f128a33eaf6b63dfc605d77db3
b8485c6c17 Fix Rector extension config loading (#4946)
2023-09-09 10:50:11 +00:00
Tomas Votruba 326e84f967 Updated Rector to commit 7078b51a7cfe02d85474a38192caf797beedcfd6
7078b51a7c [TypeDeclaration] Add ReturnTypeFromStrictFluentReturnRector (#4890)
2023-09-01 11:10:35 +00:00
Tomas Votruba e57e1c363e Updated Rector to commit 6d0f7da6e3d41e41781251d23f5ff934047d15cd
6d0f7da6e3 fix duplicated method
2023-08-15 22:27:51 +00:00
Tomas Votruba 987f47e02b Updated Rector to commit 645190ad31421260caf8fa202df9e03b93a12cbb
645190ad31 [DX] Remove $nodeScopeResolver->setAnalysedFiles() usage as on parallel, it only lookup inside scheduled jobs (#4768)
2023-08-11 11:32:21 +00:00
Tomas Votruba 7bb4bad572 Updated Rector to commit 1659ca292848fc1722b4b084d9fd1625b21e69c9
1659ca2928 [DX] Deprecate NonPhpRectorInterface, the only rule and its file processor, to make Rector handle exlusively PHP (#4761)
2023-08-10 19:26:52 +00:00
Tomas Votruba 50e22e8613 Updated Rector to commit bcb51e81bc9cbc667017eea9240d7f8564848768
bcb51e81bc [Renaming] Deprecate PseudoNamespaceToNamespaceRector as too dynamic and unreliable, use the RenameClassRector instead (#4755)
2023-08-10 11:47:33 +00:00
Tomas Votruba cd0b3a7cca Updated Rector to commit 6e9378e3bf2a4ae78fb53d93e193be473ffcb5d4
6e9378e3bf [DX] Merge RectorOutputStyle, OutputStyleInterface to RectorStyle (#4711)
2023-08-07 21:49:15 +00:00
Tomas Votruba a68d89f0cc Updated Rector to commit 6f1f2676d45d2c514d567bdb52cfbb06c8b3db53
6f1f2676d4 [DX] Various injection and tests details improvement (#4702)
2023-08-07 12:16:32 +00:00
Tomas Votruba 9ee8cf74ba Updated Rector to commit f10821b43226affce9e7f3b0085b231ff39940f1
f10821b432 [DX] Remove deprecated RectorConfigProvider, use SimpleParameterProvider instead (#4658)
2023-08-06 00:09:08 +00:00
Tomas Votruba aae549741f Updated Rector to commit 0cb3fd0feb464b4568e07607a05c794637aa2862
0cb3fd0feb [Php73] Handle crash Type Error on JsonThrowOnErrorRector (#4626)
2023-08-01 10:55:14 +00:00
Tomas Votruba 5a842dbce3 Updated Rector to commit c1e03db126ca74dc518aa4a0c9a04715e7f1cd44
c1e03db126 [cs] Re-run ECS dev version to try out regression (#4595)
2023-07-25 08:52:39 +00:00
Tomas Votruba d7e7f1eba1 Updated Rector to commit fcc32e5b0d7bb1314dc09a92fb9eeedc31295c51
fcc32e5b0d Bump to phpdoc-parser 1.23 and fill construct() attributes (#4590)
2023-07-24 14:31:01 +00:00
Tomas Votruba bff94f9200 Updated Rector to commit ceab6d71bb3436c1c613651a12af55954ab3f7bf
ceab6d71bb Add currentStmt property on AbstractRector to allow pull Scope from it on deep Expr (#4437)
2023-07-19 11:08:33 +00:00
Tomas Votruba b9ed01d3be Updated Rector to commit 972d7607f1c4ab8b733b91d7aa5020ce1b143538
972d7607f1 [Application] Merge process files on both parallel and non-parallel process (#4523)
2023-07-19 10:53:43 +00:00
Tomas Votruba 10b083fee2 Updated Rector to commit 295a01c49f086ab6c442f4287d0dded308cc8a6e
295a01c49f [NodeTypeResolver] Remove nestedChainMethodCallLimit() for deep method call counter check (#4504)
2023-07-13 12:47:15 +00:00
Tomas Votruba 484c94d08a Updated Rector to commit 868612ae6bac93afe8d9aea8fd7d2fb6c6306991
868612ae6b [DX] Remove parent node from AbstractRector (#4465)
2023-07-09 18:49:55 +00:00
Tomas Votruba abbf3c7b97 Updated Rector to commit fb0ae6dd929596556c2e7454068ecdec5e326378
fb0ae6dd92 [Performance] Add $hasUnreachableStatementNode flag on PHPStanNodeScopeResolver to ensure execute UnreachableStatementNodeVisitor only when it has (#4416)
2023-07-04 13:33:50 +00:00
Tomas Votruba 63da13d421 Updated Rector to commit 4a0008452981d918b6590b82cf8f2577b3aa8171
4a00084529 [automated] Apply Coding Standard (#4402)
2023-07-02 00:37:53 +00:00
Tomas Votruba 6981c70c9a Updated Rector to commit 9ed8c21b127cdd45a28307d5fc41668f867f4ef4
9ed8c21b12 [DeadCode] Remove findFirstPrevious() usage on UselessIfCondBeforeForeachDetector (#4388)
2023-07-01 09:41:56 +00:00
Tomas Votruba 9718cf02a8 Updated Rector to commit 5a91bde755a1906e932d8346466c98101a31ec02
5a91bde755 [DX] Make autowired commands with tags (#4385)
2023-06-30 16:53:55 +00:00
Tomas Votruba ff28aaca4c Updated Rector to commit 21f8014b30f4a4230f787ca1698a2c53d6d5f18a
21f8014b30 [DI] Autowire annotation to attribute mapper via tags (#4190)
2023-06-12 10:45:32 +00:00
Tomas Votruba 503a6059f8 Updated Rector to commit a8922f7431c9c9188be501107ee7819e0130da4c
a8922f7431 skip temporarily match + throws downagrade in symfony/console, very unlikely to run
2023-06-11 23:01:39 +00:00
Tomas Votruba 7ceca5a857 Updated Rector to commit bf2fe78378130e72970cd41c8a4cc2f1807ab951
bf2fe78378 Various cleanup (#4121)
2023-06-08 19:43:06 +00:00
Tomas Votruba 2464e91763 Updated Rector to commit 754f2b31495ef47302a5db4783b2bf8b152ef2d0
754f2b3149 misc
2023-06-08 19:17:51 +00:00
Tomas Votruba 9b000bfc6d Updated Rector to commit 827b364d7e72e17b5903c368bc82b8b9cf3faec6
827b364d7e add commands optinally
2023-06-08 19:15:09 +00:00
Tomas Votruba 936365906d Updated Rector to commit 1d8b12dc022dc4ff9c9c26a2fc1ea409027d271b
1d8b12dc02 Remove NormalizeNamespaceByPSR4ComposerAutoloadRector as only moves files to namespaces, does not update any class referenes; better use IDE here (#4057)
2023-06-03 16:37:32 +00:00
Tomas Votruba 9a2931cbe4 Updated Rector to commit bdc2fc99631f67eeb2d96e2cf0906279c2561c9a
bdc2fc9963 [NodeManipulator] Remove parent lookup on PropertyFetchAssignManipulator (#4037)
2023-06-01 08:56:46 +00:00
Tomas Votruba 88a767b244 Updated Rector to commit 71f00d95fc16f31f7af4a524d5e179f467089e16
71f00d95fc [1.0] Replace NodeConnectingVisitor with ParentConnectingVisitor (#3900)
2023-05-22 08:41:41 +00:00
Tomas Votruba 7b0f60a033 Updated Rector to commit c24338f5dc0d5ea2469f5078692b6e017f2c3641
c24338f5dc [DX] Add oustide any set to help detecting rules that could be part of some set (#3853)
2023-05-14 23:36:37 +00:00
Tomas Votruba 65abab80de Updated Rector to commit 5c1be93b80c3f7bfd8bd158ba0a55501a7acaefc
5c1be93b80 PHP 8.2 is supported (#3717)
2023-05-01 01:36:32 +00:00
Tomas Votruba 9038a0d99c Updated Rector to commit 1a91d04c5256e451c744eeb848aaa0182dd227c5
1a91d04c52 [CodeQuality] Add cast scalar support on ReturnTypeFromStrictScalarRector (#3544)
2023-04-01 10:14:17 +00:00
Tomas Votruba 1af1cd5c12 Updated Rector to commit 5371408babdacb17ccbbe89b4c74281dcb4825c1
5371408bab [Container] Add RectorConfig::containerCacheDirectory() (#3490)
2023-03-19 20:28:32 +00:00
Tomas Votruba 1391f51af4 Updated Rector to commit 13a25fea9ad99131399bc9f79050cc382627254b
13a25fea9a [Config] Increase default nested chain method call limit to 120 (#3491)
2023-03-19 20:14:35 +00:00
Tomas Votruba 7d0f151a40 Updated Rector to commit a2cd7283fbf2d6b2904016c51e3f4a545caa0256
a2cd7283fb Typo fix comment php 7.3 compat on rector workflow (#3432)
2023-03-01 13:00:30 +00:00
Tomas Votruba 9463a3bf8f Updated Rector to commit b9fef0f123d379125f7d946c49959c292feea723
b9fef0f123 Add unused import remover to cleanup use imports after changes (#3358)
2023-02-08 15:30:12 +00:00
Tomas Votruba 1f4ea6f9b2 Updated Rector to commit 7f873f0311679c23feacabd3089c8185b9a93c74
7f873f0311 [DX] Add back node helper functions to ease debugging (#3354)
2023-02-07 13:11:11 +00:00
Tomas Votruba 5a533a3702 Updated Rector to commit c3ff0fd4328b603df30c7e7bb833cb1e641f410c
c3ff0fd432 Upgrade to PHPUnit 10 🥳️ (#3332)
2023-02-03 17:47:50 +00:00