1914 Commits

Author SHA1 Message Date
Tomas Votruba
70e4672978 Updated Rector to commit e38d2d90e75643e483b9c79b7967f221b1e8158f
e38d2d90e7 [PhpParser] Use general FunctionLike instanceof check for inner scope check on BetterNodeFinder (#6334)
2024-09-29 09:04:45 +00:00
Tomas Votruba
4dcabd8124 Updated Rector to commit 80f7e5bdcb547515c1cc1d0143208d644e23ea8e
80f7e5bdcb Skip arrow function in scoped search (#6333)
2024-09-29 07:23:57 +00:00
Tomas Votruba
99536e7b6c Updated Rector to commit 80f7e5bdcb547515c1cc1d0143208d644e23ea8e
80f7e5bdcb Skip arrow function in scoped search (#6333)
2024-09-28 12:14:00 +00:00
Tomas Votruba
4244745d9f Updated Rector to commit 319e244ed574585d8de4333b042aa034b81c028d
319e244ed5 [DeadCode] Skip extension load append variable on RemoveAlwaysTrueIfConditionRector (#6332)
2024-09-28 09:27:28 +00:00
Tomas Votruba
91ebadc6e8 Updated Rector to commit e2d96476a6386d05058b4bd6b35035b36ba6d05a
e2d96476a6 [Php81] Allow used as assign expr on ReadOnlyPropertyRector (#6331)
2024-09-27 17:13:56 +00:00
Tomas Votruba
d9b96f4460 Updated Rector to commit 1d80ecf67ffb4454579ebd158c7db6e8a016f1ac
1d80ecf67f Fix first class callable to use combineAcceptors() to avoid assert Arg instance error (#6330)
2024-09-26 18:03:57 +00:00
Tomas Votruba
3c7157c142 Updated Rector to commit f619d8670e85d0bd2859c475ca31178bc0e02254
f619d8670e Bump to PHPStan 1.12.5 and Fix deprecated ParametersAcceptorSelector::selectSingle() (#6329)
2024-09-26 16:51:04 +00:00
Tomas Votruba
a523c407d7 Updated Rector to commit 06622fe175ee9859b414ba2ea2b6c6d46adb360c
06622fe175 Bump to phpstan/phpdoc-parser:1.32.0 and run composer preload (#6328)
2024-09-26 12:47:37 +00:00
Tomas Votruba
569cb9f7eb Updated Rector to commit e74ecfb6599f75dbd1463a6ac0b43d99c6dad466
e74ecfb659 [TypeDeclaration] Handle crash on func call not found on BoolReturnTypeFromBooleanStrictReturnsRector (#6327)
2024-09-26 08:25:20 +00:00
Tomas Votruba
8acfec7036 Updated Rector to commit 51700181bcbd4d2b2f2904bb5a2fe517fea30132
51700181bc [PhpParser] Alternative PR for findInstancesOfScoped() to keep existing performance (#6324)
2024-09-22 19:14:45 +00:00
Tomas Votruba
3c4a159a55 Updated Rector to commit 51700181bcbd4d2b2f2904bb5a2fe517fea30132
51700181bc [PhpParser] Alternative PR for findInstancesOfScoped() to keep existing performance (#6324)
2024-09-22 18:17:47 +00:00
Tomas Votruba
ebc5937a0e Updated Rector to commit 92f64ffc17e7ad969edf8e48cf02ba68f72b2efc
92f64ffc17 [Performance] Reduce double traverse on StrictNativeFunctionReturnTypeAnalyzer (#6320)
2024-09-21 13:09:46 +00:00
Tomas Votruba
169f83fb56 Updated Rector to commit 3c50a47e30e962033f72376b47be8a8ca65dbde5
3c50a47e30 Bump to PHPStan 1.12.4 and fix test (#6318)
2024-09-20 02:01:20 +00:00
Tomas Votruba
fb6dd9de84 Updated Rector to commit a1cbff44f9b2adb60308748fa949ac8e51c9238b
a1cbff44f9 use rector/release-notes-generator:^0.3.0 (#6311)
2024-09-18 08:30:29 +00:00
Tomas Votruba
6f6009511c Updated Rector to commit 9620889bef4198a84ae6f4e2870fc3920595657e
9620889bef Fix incorrect result after using RemoveByType in PhpDocInfo (#6301)
2024-09-13 20:11:08 +00:00
Tomas Votruba
eb623ce3a0 Updated Rector to commit 7f9c6b0f0a2f6093c3da6b7d1326c4add4e7040f
7f9c6b0f0a [TypeDeclaration] Convert inline @var tag to assert() (#6300)
2024-09-13 07:50:10 +00:00
Tomas Votruba
61420a6bd4 Updated Rector to commit 71fb2e4c9346bf6ce6b057ff3d77511662f7913c
71fb2e4c93 Add MacOS troubleshooting to CONTRIBUTING.md (#6298)
2024-09-09 14:18:42 +00:00
Tomas Votruba
9c002d17ef Updated Rector to commit 1ebb7aa29bfff54059d455ee6f908fa47a7416c3
1ebb7aa29b [CodeQuality] Allow transform static to self on final class on ConvertStaticPrivateConstantToSelfRector (#6295)
2024-09-08 17:21:31 +00:00
Tomas Votruba
9011953565 Updated Rector to commit c9f4b4f843cef6757e6da1de8fb2a6f08987bced
c9f4b4f843 bump to laravel illuminate/container: ^11.22.0 (#6296)
2024-09-07 23:58:18 +00:00
Tomas Votruba
9fd26b514b Updated Rector to commit 1c20d81c56a0ec9cb7663421add2bd1004278370
1c20d81c56 Bump to PHPStan 1.12.2 and Fix test (#6289)
2024-09-05 21:15:47 +00:00
Tomas Votruba
be46a565ff Updated Rector to commit 8c9469092fa4735f54c58df220f22887c6e20e1f
8c9469092f Optimise checking the node types allowed for each rule (#6232)
2024-09-04 08:10:29 +00:00
Tomas Votruba
f5ea40a973 Updated Rector to commit 97eb222b6b3954419bc6e22d9640859e97934c4d
97eb222b6b [DX] Type of class method/class const cannot be checked, use Class_ instead (#6281)
2024-09-02 11:00:48 +00:00
Tomas Votruba
86066d948c Updated Rector to commit 9da99ea4370a4c11d5df2aa7af7de4cde129c626
9da99ea437 [deprecations] Remove deprecated GetClassToInstanceOfRector, UseIncrementAssignRector, DetectNodeCommand (#6278)
2024-09-02 09:55:41 +00:00
Tomas Votruba
71850def81 Updated Rector to commit 4eacb1ccc94f378eec0f3a08dbd8c90935d8d248
4eacb1ccc9 [automated] Re-Generate preload.php (#6268)
2024-09-01 00:37:22 +00:00
Tomas Votruba
2d115a2c54 Updated Rector to commit b2213fdb4431413ab027e9f83ffb97e0cb8d838f
b2213fdb44 [Refactor] Move bloated logic on NameImportingPostRector into ClassNameImportSkipper and NameImporter (#6267)
2024-08-31 11:36:27 +00:00
Tomas Votruba
334519dc5c Updated Rector to commit 07cfc2754d59ecfcd411e813d9d5fd48def7c035
07cfc2754d [Performance][AutoImport] Verify already use last name usage on long name on NameImportingPostRector (#6264)
2024-08-29 20:19:35 +00:00
Tomas Votruba
f9441cf43d Updated Rector to commit 816c73347df4a5e4da48903af1190c131fcccb8c
816c73347d [CodeQuality] Handle crash on first class callable inside match on OptionalParametersAfterRequiredRector (#6263)
2024-08-28 11:50:11 +00:00
Tomas Votruba
4a305c3654 Updated Rector to commit b2b18abd7e5896611ba96130bcc8372d7e91a784
b2b18abd7e Tidy up (#6259)
2024-08-27 14:41:40 +00:00
Tomas Votruba
78795796cc Updated Rector to commit dc3850fead456e00bfe3fcbffb42beee70cc2893
dc3850fead [TypeDeclaration] Adds AddClosureParamTypeFromArgRector (#6258)
2024-08-27 10:29:31 +00:00
Tomas Votruba
c40050628b Updated Rector to commit db11aa556ff2cd07f2c63bbbe42441b273f99cda
db11aa556f [Performance] [TypeDeclaration] Reduce double traverse on SilentVoidResolver::hasExclusiveVoid() (#6255)
2024-08-26 17:11:58 +00:00
Tomas Votruba
b8c4f153f8 Updated Rector to commit db11aa556ff2cd07f2c63bbbe42441b273f99cda
db11aa556f [Performance] [TypeDeclaration] Reduce double traverse on SilentVoidResolver::hasExclusiveVoid() (#6255)
2024-08-26 16:41:19 +00:00
Tomas Votruba
35362bf266 Rector 1.2.4 2024-08-23 14:01:25 +00:00
Tomas Votruba
02729b46c1 Updated Rector to commit 2891d15d933ec11f741a1c88139165b42987c940
2891d15d93 [Php84] Do not reprint node type on ExplicitNullableParamTypeRector (#6250)
2024-08-23 05:48:25 +00:00
Tomas Votruba
dc2d69aa43 Updated Rector to commit 4f89b7498e7bfb7dccc8872e042fcbc3a687a7f1
4f89b7498e [AttributeKey] Drop virtual_node attribute (#6239)
2024-08-22 08:56:01 +00:00
Tomas Votruba
067bef0057 Updated Rector to commit 65184c515d56a6dd84310d37c86c79765f26c957
65184c515d Temporary pin illuminate/container to 11.20.0 (#6247)
2024-08-21 08:21:24 +00:00
Tomas Votruba
082c3ba4ca Updated Rector to commit c3f5cbca9f9c79f66f2a35accdd480875e62cf20
c3f5cbca9f [Php70] Fix with \r\n on EregToPregMatchRector (#6246)
2024-08-21 07:42:47 +00:00
Tomas Votruba
975b7cd487 Updated Rector to commit 377ec5526c796970b568ac8be0b01b03f11db483
377ec5526c Use ocramius/package-versions to get output phpstan version installed to replace on build (#6242)
2024-08-20 14:15:38 +00:00
Tomas Votruba
e001fc4219 Updated Rector to commit 4f70e80c2d5f1febd01de2e7fa4a057880909dcb
4f70e80c2d Bump phpstan to 1.11.11 and pcre to 3.3.0 (#6241)
2024-08-20 13:23:49 +00:00
Tomas Votruba
0d670df26a Updated Rector to commit fc1e742fa4d9861ccdc5933f3b53613b8223438d
fc1e742fa4 Deprecate PublicConstantVisibilityRector, as adds public blindly everywhere; use scope-based approach instead (#6238)
2024-08-18 07:47:24 +00:00
Tomas Votruba
59fedd58dd Updated Rector to commit 54bf4397654836bd28b5419768e739f6f372df05
54bf439765 [AutoImport] Do not add cast on valid Integer type on aliased Name Node on auto import enabled (#6237)
2024-08-16 19:59:49 +00:00
Tomas Votruba
c643bd2810 Updated Rector to commit 174adf163cad4e588e5da961a7972c64a24d2615
174adf163c [AutoImport] Do not add cast on valid Integer type on Name Node on auto import enabled (#6236)
2024-08-16 17:48:16 +00:00
Tomas Votruba
c78b22e600 Updated Rector to commit 3ed476b9ab65958d85416e48a810b11dbaf4283a
3ed476b9ab [TypeDeclaration] Add AddReturnArrayDocblockBasedOnArrayMapRector (#6235)
2024-08-15 12:58:29 +00:00
Tomas Votruba
4314aa7026 Updated Rector to commit 3ed476b9ab65958d85416e48a810b11dbaf4283a
3ed476b9ab [TypeDeclaration] Add AddReturnArrayDocblockBasedOnArrayMapRector (#6235)
2024-08-15 07:54:21 +00:00
Tomas Votruba
e5ed65899e Updated Rector to commit 0ddeb5186280c31a121c8b426cb4422069cbca78
0ddeb51862 Trigger Build (#6230)
2024-08-12 19:31:57 +00:00
Tomas Votruba
23b19b16e8 Updated Rector to commit 0ddeb5186280c31a121c8b426cb4422069cbca78
0ddeb51862 Trigger Build (#6230)
2024-08-12 18:56:39 +00:00
Tomas Votruba
2433e95410 Rector 1.2.3 2024-08-12 16:36:46 +00:00
Tomas Votruba
39ccd68bc8 Updated Rector to commit 67238d841a46b5fecc9ef204ffef4ba773e82cb9
67238d841a [docs] add note about new find-rule page (#6224)
2024-08-08 14:11:33 +00:00
Tomas Votruba
efcd77aa17 Updated Rector to commit 67238d841a46b5fecc9ef204ffef4ba773e82cb9
67238d841a [docs] add note about new find-rule page (#6224)
2024-08-08 13:54:22 +00:00
Tomas Votruba
cbfdee3c34 Updated Rector to commit 59585ae75aafa8c5e2666b047a84f13ab35fb59f
59585ae75a [Experiment] [NodeTypeResolver] Remove no longer needed deep Expr visitor ExprScopeFromStmtNodeVisitor (#6223)
2024-08-07 06:07:44 +00:00
Tomas Votruba
ea37cb5b5e Updated Rector to commit 7f0688c1e4b5aaa6d75cbc458db35b4b6988f9c0
7f0688c1e4 Add withRealPathReporting() to allow real paths in output formatters (#6187)
2024-08-05 20:48:53 +00:00