Commit Graph

567 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
9427cdb84c Updated Rector to commit 1d2d51e20ce11d0f603e42bd8869c1ab6d2a52cc
1d2d51e20c [Nette] Replace deprecated Json::FORCE_ARRAY and Json::PRETTY on Nette\Utils\Json usage (#5814)
2024-04-09 20:37:51 +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
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
e3df11f1c1 Updated Rector to commit 0ff8cb0a99db5de31bb999977a5a417bb282e4d2
0ff8cb0a99 [DX] Warn about run on /vendor directory (#5525)
2024-01-30 16:58:24 +00:00
Tomas Votruba
94c55b84c0 Updated Rector to commit 1608ae8c9497bbfaf78ce54130ec304963ac6f2a
1608ae8c94 [Windows] Utilize Nette\Utils\FileSystem instead of Symfony\Component\Filesystem\Filesystem to write file (#5514)
2024-01-28 22:41:37 +00:00
Tomas Votruba
c155c9cbaa Updated Rector to commit 040b839e71ec558c83553bc1462924e96993f6f0
040b839e71 [Windows] Rework add windows support on tests CI (#5504)
2024-01-28 08:50:44 +00:00
Tomas Votruba
dd875cd0c9 Updated Rector to commit d09ae7400a75f7694a11c2d8353c2fd14b6419e3
d09ae7400a Add "custom-rule" command to make creating rules easy (#5498)
2024-01-25 00:06:40 +00:00
Tomas Votruba
1cb0be7069 Updated Rector to commit b0f1e6354fed26a46ea5ebac73c6d688cc85068b
b0f1e6354f [Performance] Call UnchangedFilesFilter->filterFileInfos() only once on FilesFinder (#5464)
2024-01-13 20:47:59 +00:00
Tomas Votruba
35bb56366b Updated Rector to commit 38d716ecec295b96a94cc2db9b3091fc1ca0ea94
38d716ecec [Performance] Remove duplicate filter extension files on FilesFinder (#5463)
2024-01-13 19:16:19 +00:00
Tomas Votruba
969e0174a1 Updated Rector to commit c02e5294b647a2aa7d83c8b2381dffbc7768b428
c02e5294b6 [Performance] Using PathSkipper in FilesFinder (#5452)
2024-01-10 14:04:28 +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
8e7d3b2d52 Updated Rector to commit 595086559f9ed5196d53c6dbea907043153bda61
595086559f [psr-4] Update Rector core test reference (#5410)
2024-01-01 09:05:02 +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
1731eeac5d Updated Rector to commit befe096ca10f7476efeb082fb7c736ba7bd07af5
befe096ca1 [phpstan] tidy up bin files, group complex errors + Cleanup AddTypeToConstRector (#5405)
2023-12-31 20:56:31 +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
326e84f967 Updated Rector to commit 7078b51a7cfe02d85474a38192caf797beedcfd6
7078b51a7c [TypeDeclaration] Add ReturnTypeFromStrictFluentReturnRector (#4890)
2023-09-01 11:10:35 +00:00
Tomas Votruba
2142e5018e Updated Rector to commit 3c34942dc98015298c9aa3fdb0369190937021d8
3c34942dc9 Revert "Revert "use NewOptimizedDirectorySourceLocator"" (#4846)
2023-08-24 16:53:49 +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
86016b833d Updated Rector to commit 31ad417ee444a31ed1ca07c54e9dddac2404fc1b
31ad417ee4 Make relativeFilePathFromDirectory() private as used only locally (#4735)
2023-08-09 13:19:45 +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
6981c70c9a Updated Rector to commit 9ed8c21b127cdd45a28307d5fc41668f867f4ef4
9ed8c21b12 [DeadCode] Remove findFirstPrevious() usage on UselessIfCondBeforeForeachDetector (#4388)
2023-07-01 09:41:56 +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
3313a231b7 Updated Rector to commit bb609b28e327ca1fb7827b6bc548013d19a2cf4e
bb609b28e3 [Core] Always reset stopTraversal to false on next Rector visit (#4182)
2023-06-11 14:17:34 +00:00
Tomas Votruba
c718a1c775 Updated Rector to commit f7b43d4565fb27cf53c77a86bf7d4afd8f5a556f
f7b43d4565 Performance: Prevent sorting of files in PhpFilesFinder (#4164)
2023-06-11 09:36:14 +00:00
Tomas Votruba
f67dcbaeac Updated Rector to commit f8c6c5cb6a23ce48ddd576dffceff52d440c4a07
f8c6c5cb6a Remove parent node from RenameMethodRector (#4154)
2023-06-10 09:11:14 +00:00
Tomas Votruba
484965351d Updated Rector to commit 21a233dac32e82d493a60fad86d2eb72cd568838
21a233dac3 Skipping: Use plain string functions instead of regex matching (#4153)
2023-06-10 08:40:50 +00:00
Tomas Votruba
f82e30a026 Updated Rector to commit ae874efa148e6d5a031503892a6307824b4d7003
ae874efa14 Remove SourceLocatorProviderInterface as unused (#4126)
2023-06-08 22:00:17 +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
65abab80de Updated Rector to commit 5c1be93b80c3f7bfd8bd158ba0a55501a7acaefc
5c1be93b80 PHP 8.2 is supported (#3717)
2023-05-01 01:36:32 +00:00
Tomas Votruba
8f2079c8ca Updated Rector to commit 10c36b08fa0c980bd31b3059cafa12610852ebdd
10c36b08fa [Test] Rename fixture and refactor to solve random error (#3677)
2023-04-24 03:09:16 +00:00
Tomas Votruba
bad054cd43 Updated Rector to commit 07a0475e07e8802973beedd84050fd8a6c536b64
07a0475e07 Simplify PhpFilesFinder (#3649)
2023-04-23 20:01:56 +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
b3c8106e73 Updated Rector to commit adfc65ab9500d1a6066bcb05944dd9c5e7c4c7d1
adfc65ab95 [Core] Use is_dir() instead of ! is_file() on FileAndDirectoryFilter::filterDirectories() (#3451)
2023-03-04 08:52:18 +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
66cc09e8b6 Updated Rector to commit d118ae38e265476684bcf566b87301cca5716ed9
d118ae38e2 Use phpstan-deprecation-rules (#3330)
2023-02-02 09:24:12 +00:00
Tomas Votruba
2e9b687937 Updated Rector to commit 82163244c12ff8d14073bda37f21cfb03e532a6f
82163244c1 skip migrations, storage and database
2023-01-30 15:35:13 +00:00
Tomas Votruba
764b0a2692 Updated Rector to commit cb5b01223d46272004e947f122ae1e36d516f83a
cb5b01223d [automated] Re-Generate Nodes/Rectors Documentation (#3259)
2023-01-01 00:36:31 +00:00
Tomas Votruba
ff75474d25 Updated Rector to commit 39f43c01cbc34a8bb064f056d39f1b8d2bd7a152
39f43c01cb Use Symfony ~6.1.x to avoid crash on update vendor-patch (#3134)
2022-12-01 14:10:32 +00:00
Tomas Votruba
4464342ec0 Updated Rector to commit 03f627b38589a03c59108e71d66fb3c04bf0dacf
03f627b385 count
2022-11-12 10:21:30 +00:00
Tomas Votruba
9a86942399 Updated Rector to commit 86c0920bdf0222f3c3e6ddf8490804f428a39fae
86c0920bdf [Init] Add smart paths detection to init command to make first Rector experience better (#3050)
2022-11-11 14:53:57 +00:00
Tomas Votruba
ddc864eff4 Updated Rector to commit 7b7d5a4b8bb61b52a298cbf941b7df131897f55b
7b7d5a4b8b Revert string specific identifier values on Type Mappers (#3024)
2022-11-01 14:15:38 +00:00
Tomas Votruba
48bf5c84cd Updated Rector to commit befc5441a1ef5c19cabf9cae0619d5c2cd23a028
befc5441a1 Add real path to filePaths when not false (#3004)
2022-10-21 10:12:40 +00:00
Tomas Votruba
e87c848801 Updated Rector to commit ff4d797c73a51a3fb12cb644c6911ecd7313ec1b
ff4d797c73 [DeadCode][EarlyReturn] Handle RemoveUnusedVariableAssignRector+RemoveAlwaysElseRector (#2964)
2022-10-02 20:24:31 +00:00
Tomas Votruba
d82c31f345 Updated Rector to commit 36ac5305f1b7b1007e4cbf6260695d2ae16fef5f
36ac5305f1 [DX] Use own path normalizer (#2881)
2022-09-01 11:48:21 +00:00
Tomas Votruba
6c20d257e3 Updated Rector to commit d3d18d442c8f2ca64f5ebef5c7a7541938fa1e2a
d3d18d442c keep relative paths
2022-09-01 09:30:44 +00:00
Tomas Votruba
31ff77efb6 Updated Rector to commit 2ffad9317d2038e4c625341b338ab3cbd77f54cc
2ffad9317d Inline Skipper (#2877)
2022-08-31 21:51:50 +00:00