18474 Commits

Author SHA1 Message Date
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
Tomas Votruba
8c20f42cfe Updated Rector to commit ed6b9124d64a80b10e6e81153353b8e59cd1d8e1
ed6b9124d6 Use instanceof check (#6200)
2024-07-30 10:04:00 +00:00
Tomas Votruba
d8888509ca Updated Rector to commit 0c06da93972a98fc1e3a40dd7609d79d884efb0e
0c06da9397 Support more assign cases in PropertyFetchAssignManipulator (#6192)
2024-07-28 22:26:23 +00:00
Tomas Votruba
e691d4e808 Updated Rector to commit 56f4768465eb6154456b8dba6d15fb99eace3bfe
56f4768465 [automated] Apply Coding Standard (#6197)
2024-07-28 10:14:30 +00:00
Tomas Votruba
c1dcedad66 Updated Rector to commit 56f4768465eb6154456b8dba6d15fb99eace3bfe
56f4768465 [automated] Apply Coding Standard (#6197)
2024-07-28 00:33:22 +00:00
Tomas Votruba
f2a8c55503 Updated Rector to commit 2a328edef4bb5056da7ffe2b244a4e1f796ffd16
2a328edef4 [automated] Re-Generate Nodes/Rectors Documentation (#6196)
2024-07-28 00:32:59 +00:00
Tomas Votruba
608879e768 Updated Rector to commit 7d6b6ed95f9c6c4731a0915f9624ec342548de65
7d6b6ed95f [AutoImport] Add new line for add use statement if next first stmt is not Use_ or GroupUse (#6194)
2024-07-27 07:38:48 +00:00
Tomas Votruba
ea7301739d Updated Rector to commit ac3d2f6bb311bfaddc484f2839119469a571b1a9
ac3d2f6bb3 [Performance] [PostRector] Avoid unnecessary traverse() to count total namespaces on NameImportingPostRector (#6191)
2024-07-26 08:34:48 +00:00
Tomas Votruba
2cff9fb625 Updated Rector to commit 2896dca2a2c53c579d7a21916056e3d0afa2439c
2896dca2a2 [PostRector] Only register ClassRenamingPostRector when class data collector not empty (#6188)
2024-07-26 08:06:01 +00:00
Tomas Votruba
2f1188fc5d Updated Rector to commit 1746c2d4efbd77438aae9b9ea8c21855bc750b42
1746c2d4ef [AutoImport] Skip early on no \ in identifier name on NameImportingPhpDocNodeVisitor (#6189)
2024-07-26 08:05:30 +00:00
Tomas Votruba
aac69782fe Updated Rector to commit 3268b08b8629be3ad00d435c0ca8fe53447ae535
3268b08b86 fix issue #8755 about wrong systemError location (#6184)
2024-07-25 15:42:54 +00:00
Tomas Votruba
1b431b24ad Updated Rector to commit 3268b08b8629be3ad00d435c0ca8fe53447ae535
3268b08b86 fix issue #8755 about wrong systemError location (#6184)
2024-07-25 12:26:44 +00:00
Tomas Votruba
38b9cd6da5 Updated Rector to commit b95c4e8b061f0bf94a2608936edee7beaf228f18
b95c4e8b06 Fix scoper build due to composer/pcre conflict (#6186)
2024-07-25 11:04:48 +00:00
Tomas Votruba
044e636401 Rector 1.2.2 1.2.2 2024-07-25 07:44:34 +00:00
Tomas Votruba
19fc78b91d Updated Rector to commit 1aef75583cc0c1314f151c24fac27e7af69e7d7d
1aef75583c [TypeDeclaration] Clean up get ClassReflection on loop on TypedPropertyFromCreateMockAssignRector (#6181)
2024-07-24 07:51:04 +00:00
Tomas Votruba
b7033ef12a Updated Rector to commit fa84ab5de0c4b7be8125b7f6c4c60afbc2a27327
fa84ab5de0 Remove fixture with .php extension (#6182)
2024-07-24 06:45:15 +00:00
Tomas Votruba
90fab4da5d Updated Rector to commit eba615375fc6b795827e4ef3135d88c58479719d
eba615375f [TypeDeclaration] Allow defined in non-setUp() on TypedPropertyFromCreateMockAssignRector (#6180)
2024-07-23 23:03:08 +00:00
Tomas Votruba
ceea11feef Updated Rector to commit 1a58300b7d6ccaa1adbb1760b4a355263dc41408
1a58300b7d [TypeDeclaration] Handle nullable MockObject on TypedPropertyFromCreateMockAssignRector (#6179)
2024-07-23 21:52:49 +00:00
Tomas Votruba
65dfd8cb76 Updated Rector to commit 07fffd50f3b62196856f22622815768385554272
07fffd50f3 [TypeDeclaration] Skip possible value resetted on TypedPropertyFromCreateMockAssignRector (#6178)
2024-07-23 21:21:50 +00:00
Tomas Votruba
8d7c7faf2f Updated Rector to commit 417b208b58da94040e01c5f9629ae33db472df78
417b208b58 [TypeDeclaration] Add TypedPropertyFromCreateMockAssignRector (#6177)
2024-07-23 17:11:54 +00:00
Tomas Votruba
cecbffbf7d Updated Rector to commit b0c89a98a0eb4a62d3141d950484d6e3ea7fdbda
b0c89a98a0 fix: Convert DateTime to Carbon properly when hours/minutes/seconds are used (#6176)
2024-07-23 16:05:22 +00:00
Tomas Votruba
dd8c5b5f6d Updated Rector to commit 29e926608b0008df286370f94cf5c26b4aa86226
29e926608b  [NodeTypeResolver] Fill scope of dynamic variable variable  (#6175)
2024-07-22 22:19:14 +00:00
Tomas Votruba
5ab7399531 Updated Rector to commit e4c27be2ed869ed495cb5631ec9e6efc0ddc68ee
e4c27be2ed [NodeTypeResolver] Clean up re-fill scope on PHPStanNodeScopeResolver on variable variable (#6174)
2024-07-22 22:11:28 +00:00
Tomas Votruba
bd7006a992 Updated Rector to commit c82965c053f6e80ff6c257ba98bbd18bf8f4394f
c82965c053 [NodeTypeResolver] Handle crash on variable variable with assign on FirstClassCallableRector (#6173)
2024-07-22 13:58:25 +00:00
Tomas Votruba
d35c1aa009 Updated Rector to commit 938f4a2a24ec32f7ee9e9447abad7f37b1046d3f
938f4a2a24 [TypeDeclaration] Update fixture and example method name (#6171)
2024-07-22 09:24:17 +00:00
Tomas Votruba
85fe52c53a Updated Rector to commit ecdb0d4e3528ad9ea921678b0a0d69455da7fde6
ecdb0d4e35 [TypeDeclaration] Skip possible void and return by docblock on ReturnTypeFromMockObjectRector (#6170)
2024-07-22 00:24:31 +00:00
Tomas Votruba
0591dbc6c0 Updated Rector to commit 623bbf66a6ac2f652af0f14e7bd9fad4075d3d12
623bbf66a6 [TypeDeclaration] Add missing usage of ClassMethodReturnTypeOverrideGuard on ReturnTypeFromMockObjectRector (#6169)
2024-07-21 23:42:47 +00:00
Tomas Votruba
cb7b302201 Updated Rector to commit 1f7cc28d5ee4856812da63a79e05898d84f5adcb
1f7cc28d5e [TypeDeclaration] Flip position between bool return and return tyep from strict constant on TypeDeclarationLevel (#6168)
2024-07-21 23:14:56 +00:00