18301 Commits

Author SHA1 Message Date
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
68889ac8de Updated Rector to commit 98f61597c8d6d0568ae3e5ee00ea826cc2e47aa2
98f61597c8 Remove unneeded bin/add-phpstan-self-replace.php and bin/test-fixture-stats.php on target remote-repository on build (#6244)
2024-08-20 14:32:58 +00:00
Tomas Votruba
85a76abf27 Updated Rector to commit 06b658ce8925934d244af225e72eff75ca1b6d23
06b658ce89 Remove self after exection of add-phpstan-self-replace.php (#6243)
2024-08-20 14:23:37 +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
ff383da894 Updated Rector to commit fc1e742fa4d9861ccdc5933f3b53613b8223438d
fc1e742fa4 Deprecate PublicConstantVisibilityRector, as adds public blindly everywhere; use scope-based approach instead (#6238)
2024-08-16 23:17:37 +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
bfade8b1dc 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 18:30:02 +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
c5e99b8f73 Updated Rector to commit e09d82c508da47d736599a57f3a02cae48979027
e09d82c508 Fix PropertyTypeFromStrictSetterGetterRector for default null (#6231)
2024-08-12 21:40:08 +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 1.2.3 2024-08-12 16:36:46 +00:00
Tomas Votruba
4abab4c20b Updated Rector to commit 51261506c37859e99fde858677031dd0d72e7bfc
51261506c3 [TypeDeclaration] Skip mixed in union on ClosureReturnTypeRector (#6228)
2024-08-12 15:05:58 +00:00
Tomas Votruba
267b6cc081 Updated Rector to commit 24fb5874905da56065ef38d9cfe9bff77cb04cac
24fb587490 [TypeDeclaration] Skip isset and empty with index on param variable on StrictArrayParamDimFetchRector (#6227)
2024-08-12 15:02:53 +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
f253bfe059 Updated Rector to commit 6a4d7178cc23656fabc4ea31a8d1673cdfde6e37
6a4d7178cc [PHPStanStaticTypeMapper] Clean up TypeUnwrapper::removeNullTypeFromUnionType() (#6220)
2024-08-06 13:28:43 +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
9005492a19 Updated Rector to commit 0f09b7a0b9f9f3a445a8c4014c8d951579d1de03
0f09b7a0b9 [Php71] Clean up unnecessary ++$key on MultiExceptionCatchRector (#6219)
2024-08-06 11:31:04 +00:00
Tomas Votruba
133d2994dc Updated Rector to commit 60251725f66909f09ab0e52cf60a3b0f9dcb66e6
60251725f6 [Php71] Allow multiple same catches on MultiExceptionCatchRector (#6218)
2024-08-06 10:49:24 +00:00
Tomas Votruba
befbb6072a Updated Rector to commit 0632b44293d1917d06254b4f606076a443514fb0
0632b44293 Merge only if one item follow next to avoid skipping a type in MultiExceptionCatchRector (#6216)
2024-08-06 09:22:05 +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
4e0154b92e Updated Rector to commit 75ce1aca7497254aca3c9eb1f3d694d260187f2c
75ce1aca74 [automated] Re-Generate Nodes/Rectors Documentation (#6214)
2024-08-04 00:33:23 +00:00
Tomas Votruba
2db99e8534 Updated Rector to commit c62c1dea338589bcc3aa96b50bcabade2d470483
c62c1dea33 [automated] Apply Coding Standard (#6215)
2024-08-04 00:33:20 +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
94cc1082b6 Updated Rector to commit b0e67abb4ef200a40fee5e4ab9519c7b43d4a35d
b0e67abb4e [TypeDeclaration] Handle crash on nullable intersection on ClosureReturnTypeRector (#6213)
2024-08-02 12:32:39 +00:00
Tomas Votruba
0d620db599 Updated Rector to commit cfebef69d9503d566029d590cd7d9425803ecd9e
cfebef69d9 Typo fix on message on LevelRulesResolver.php (#6211)
2024-08-02 06:39:06 +00:00
Tomas Votruba
f4d9831d88 Updated Rector to commit fa0d8d834d3518168a150bbba8157b2880d66ad6
fa0d8d834d [AutoImport] Add test for skip auto import on conflict lower short class name usage (#6208)
2024-08-01 09:42:35 +00:00
Tomas Votruba
16fc59838c Updated Rector to commit 1331f9792c0b14488fe66ef140145ac331956b6f
1331f9792c [Php54] No need reprint when array is just created on LongArrayToShortArrayRector (#6206)
2024-08-01 08:13:27 +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
baf6792e1e Updated Rector to commit 71ae13a461e3225c63d095597a4145d8851d555e
71ae13a461 Carbon use parse method (#6183)
2024-07-31 15:16:44 +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
5517856324 Updated Rector to commit 97653a96da462aecddd02306557e811ccc38d6cb
97653a96da Skip only response inside controller class (#6204)
2024-07-30 13:32:12 +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
6ee74971fb Updated Rector to commit de1d2737d6410eefbbdf516cafef0a2d4e760425
de1d2737d6 [Configuration] Allow define max level > possible level on LevelRulesResolver (#6203)
2024-07-30 12:57:33 +00:00
Tomas Votruba
ae375d0a10 Updated Rector to commit b0e4e23553ceee726012abc900c532c91e049e3b
b0e4e23553 Skip symfony response in ReturnTypeFromReturnNewRector (#6202)
2024-07-30 12:15:56 +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
Tomas Votruba
67a5402027 Updated Rector to commit ed6b9124d64a80b10e6e81153353b8e59cd1d8e1
ed6b9124d6 Use instanceof check (#6200)
2024-07-30 10:42:34 +00:00