5625 Commits

Author SHA1 Message Date
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
e7b61135b9 Updated Rector to commit 340e5226000cba351cc282ca572af6f76418e1bd
340e522600 [deprecated] Remove deprecated closure return rules, return type from strict bool/scalar returns (#6287)
2024-09-04 08:17:49 +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
3936c30c7e Updated Rector to commit 3aa886f88d54d440d107577996d65cd968c0c8b0
3aa886f88d [deprecated] Remove deprecated ChangeAndIfToEarlyReturnRector, CallableThisArrayToAnonymousFunctionRector + casting rules (#6276)
2024-09-02 08:07:01 +00:00
Tomas Votruba
da9d971829 Updated Rector to commit a9575034c3c774fe8aa5c42a0adbea008efaf000
a9575034c3 [DX] Remove undocumented and single implementer of skip voter, keep it simple (#6275)
2024-09-02 00:42:26 +00:00
Tomas Votruba
41f0665875 Updated Rector to commit ad30cfb302cb1e3ef1e04a5b55ffddc86be5f576
ad30cfb302 [Config] Improve ComposerJsonPhpVersionResolver API, make use of explicit php set files (#6273)
2024-09-01 23:51:23 +00:00
Tomas Votruba
ddcb4cdfc9 Updated Rector to commit 96b585bd2640cb09ef79271907f444f3218c42b2
96b585bd26 Adds AddClosureParamTypeFromObjectRector (#6265)
2024-09-01 12:00:53 +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
39ddc0f654 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:14:24 +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
c5919c93d6 Updated Rector to commit 3ed476b9ab65958d85416e48a810b11dbaf4283a
3ed476b9ab [TypeDeclaration] Add AddReturnArrayDocblockBasedOnArrayMapRector (#6235)
2024-08-14 22:29:38 +00:00
Tomas Votruba
86cae8066f Updated Rector to commit fdd7f638a6e1f4d7ebf244f5827acdb687f14b3c
fdd7f638a6 [TypeDeclaration] Add AddParamArrayDocblockBasedOnCallableNativeFuncCallRector (#6233)
2024-08-14 18:24:06 +00:00
Tomas Votruba
67ca1f4e40 Updated Rector to commit e4ceb29d6e8fa02a4519ae35ab38eda2e622f7e1
e4ceb29d6e Adds the ScalarValueToConstFetchRector rule (#6195)
2024-08-12 21:02:44 +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
d40c7c4301 Updated Rector to commit e4708c58a4ddb167511d61dff636d9edcdd0e805
e4708c58a4 [CodeQuality] Ensure check native array type on Foreach* rules (#6222)
2024-08-06 14:21:15 +00:00
Tomas Votruba
c050377f96 Updated Rector to commit 69a3e31e443dc9610e675ee2ac380cd8f6581a4c
69a3e31e44  [CodeQuality] Skip Generator on SimplifyForeachToCoalescingRector  (#6221)
2024-08-06 13:55:04 +00:00
Tomas Votruba
cfe590f0e1 Updated Rector to commit 147c96190e99909c71c2d920a83ae96cc9b3bd57
147c96190e Add known type casting to AnnotationToAttributeRector (#6217)
2024-08-06 12:34:27 +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
Tomas Votruba
97226e5e00 Updated Rector to commit aa90b800b54459bf2999eca94c101a6c0d51e4d8
aa90b800b5 [AutoImport] Add shared AddUseStatementGuard for PostRector that apply add use statement (#6212)
2024-08-03 08:26:49 +00:00
Tomas Votruba
7aeb17c570 Updated Rector to commit ad36316e98182d42006195f66b2f3942639b97b9
ad36316e98 Rectify and clean up skip config (#6205)
2024-08-01 07:43:24 +00:00
Tomas Votruba
0c6bf49523 Updated Rector to commit 97653a96da462aecddd02306557e811ccc38d6cb
97653a96da Skip only response inside controller class (#6204)
2024-07-31 14:46:41 +00:00
Tomas Votruba
278f98107f Updated Rector to commit de1d2737d6410eefbbdf516cafef0a2d4e760425
de1d2737d6 [Configuration] Allow define max level > possible level on LevelRulesResolver (#6203)
2024-07-30 13:14:21 +00:00
Tomas Votruba
5d77aded79 Updated Rector to commit 3e9f12f8b1623fb62984f4c9f883bef5f5e511c0
3e9f12f8b1 Remove SimplifyUselessVariableRector from code quality level (#6201)
2024-07-30 12:13:45 +00:00