Commit Graph

5286 Commits

Author SHA1 Message Date
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
fea2d9c334 Updated Rector to commit 092fb226b9278a741b26bb9277c159c1be009f21
092fb226b9 [Testing] Reduce IO on AbstractRectorTestCase take 2 (#3671)
2023-04-23 16:02:01 +00:00
Tomas Votruba
73a34b3d2c Updated Rector to commit c6d11cdbd6ee41a8b4e072a8fa76864174164358
c6d11cdbd6 [Testing] Reduce IO on AbstractRectorTestCase::doTestFile() (#3670)
2023-04-23 15:24:02 +00:00
Tomas Votruba
b211e37b4b Updated Rector to commit dc57cffad71a875b8ccd11be265260754c47d32e
dc57cffad7 [Skipper] Prevent unnecessary IO (#3664)
2023-04-23 06:42:15 +00:00
Tomas Votruba
1e7e693624 Updated Rector to commit c7379ec641e50e8227f9d3b4ef1306fba324ce6e
c7379ec641 Improve ParentClassMethodTypeOverrideGuard performance (#3660)
2023-04-23 06:06:39 +00:00
Tomas Votruba
8f5010d680 Updated Rector to commit 16a20ef786b688eec60990c7913aebf85b51e8dc
16a20ef786 [BetterPhpDocParser] Simplify BetterTokenIterator (#3656)
2023-04-22 22:13:31 +00:00
Tomas Votruba
bd36624100 Updated Rector to commit 81e7980962f1db29f0fc2be5800a822cfb07f656
81e7980962 Prevent unnecessary IO in ChangedFilesDetector (#3650)
2023-04-22 16:52:31 +00:00
Tomas Votruba
4c33fd079a Updated Rector to commit f26a47636a3bb0b63d16dc6c3bde36406fbfd393
f26a47636a [BetterPhpdocParser] Remove getTokens() method on BetterTokenIterator (#3655)
2023-04-22 15:45:56 +00:00
Tomas Votruba
4564073a8a Updated Rector to commit 59720a1105eeec521130754510b7b1c8d4da50c1
59720a1105 Fix phpstan notice (#3653)
2023-04-22 15:32:02 +00:00
Tomas Votruba
7662f7e333 Updated Rector to commit 0a086a89cde5f219a5cfabcb34a6e5598a2e6e18
0a086a89cd NodeTypeResolver: prevent unncessary reflection calls (#3647)
2023-04-22 08:05:51 +00:00
Tomas Votruba
72d660b556 Updated Rector to commit 20a586577e11b0fca6dc41ee9c7979f5d10725d1
20a586577e Regenerate preload (#3641)
2023-04-20 16:02:06 +00:00
Tomas Votruba
ef3f017e7b Updated Rector to commit fff22320cedf04f5aa2449592f1924bc5ebc5551
fff22320ce Simplify AccessoryNonEmptyStringTypeCorrector (#3636)
2023-04-20 13:44:42 +00:00
Tomas Votruba
91a5e19669 Updated Rector to commit ff899747379670edd250e653764e51ae592aac16
ff89974737 NodeTypeResolver: remove unnecessary check (#3626)
2023-04-20 12:15:14 +00:00
Tomas Votruba
cee0e8f32f Updated Rector to commit 9f5d6b9c9ab814382bacc1c127e1807ecc7aaec0
9f5d6b9c9a Remove runtime autoloading from NodeTypeResolver (#3627)
2023-04-20 10:43:06 +00:00
Tomas Votruba
03e48b83b1 Updated Rector to commit fbb472feb11f34bb94a1e6869e93b505103fa27f
fbb472feb1 Rename PARALLEL_TIMEOUT_IN_SECONDS to PARALLEL_JOB_TIMEOUT_IN_SECONDS (#3613)
2023-04-17 12:58:24 +00:00
Tomas Votruba
c333025ba2 Updated Rector to commit 34e1cf13fdd613cb732d082cfcfa86bbdb7db5dc
34e1cf13fd NodeTypeResolver: cheap checks first in isObjectTypeOfObjectType() (#3621)
2023-04-16 15:11:00 +00:00
Tomas Votruba
8e0981a696 Updated Rector to commit bc0a0d77f49995f9bba85e0aa244123cd66f5fae
bc0a0d77f4 [DX] Add INSTANCEOF set to work with types via instanceof checks (#3609)
2023-04-13 10:01:45 +00:00
Tomas Votruba
9b243e6539 Updated Rector to commit 3a9bebf657bfdf7cb5b3ab59b3471987dd6a35f6
3a9bebf657 [CodeQuality] Handle crash on BinaryOp/Mul and variable variable: 9364name on IntvalToTypeCastRector (#3608)
2023-04-12 13:24:05 +00:00
Tomas Votruba
1144dcd388 Updated Rector to commit 54a340ce750f48aa3e09f65e02df9dc6fa2206a0
54a340ce75 Revert Cache on successful file processing (#3604) (#3607)
2023-04-11 08:29:27 +00:00
Tomas Votruba
87f8efd4a8 Updated Rector to commit 4c56874ee79f5dd3ea2e97ea12e13335ebd6765b
4c56874ee7 Cache on successful file processing (#3604)
2023-04-11 06:22:54 +00:00
Tomas Votruba
f6fb04983f Updated Rector to commit 951e9f9643fcfde430aa5784596454838c6c8cb0
951e9f9643 [DeadCode] Skip used as assign var next on RemoveJustPropertyFetchRector (#3605)
2023-04-10 23:58:01 +00:00
Tomas Votruba
4b77ea5ad7 Updated Rector to commit 7dcb16a9be817798363b094ad8cf9308d0063abf
7dcb16a9be [DX] Allow --memory-limit to be configured via configuration file (#3601)
2023-04-10 14:35:48 +00:00
Tomas Votruba
5fdcf2414e Updated Rector to commit 27364c5d4acf8a7e70bc1c3b1efd3d1461b48e7e
27364c5d4a Allow --no-diffs to be configured via configuration file (#3598)
2023-04-10 13:55:06 +00:00
Tomas Votruba
3f1c0e6187 Updated Rector to commit 9629890a306844ba49ea6689d58fbecb67a7980e
9629890a30 Use isInteger() (#3593)
2023-04-09 00:51:38 +00:00
Tomas Votruba
2300088c0b Updated Rector to commit 08660ad7077c86c3c86e7d1cbd14d9d7d71cb450
08660ad707 Use isFloat() (#3594)
2023-04-09 00:39:59 +00:00
Tomas Votruba
6a6d35d3ed Updated Rector to commit 0492831348592eba9ac956845d711aa4fe5f7b1a
0492831348 Use isString() (#3595)
2023-04-09 00:34:06 +00:00
Tomas Votruba
a03a19aeca Updated Rector to commit 273e4b43f1dbe84d426f4db5ab7ea9b0b1fea190
273e4b43f1 Use isBoolean() (#3591)
2023-04-08 16:37:58 +00:00
Tomas Votruba
679f8a6710 Updated Rector to commit 0389ec89d79713b46f280cc6f028783c1d4e48b8
0389ec89d7 Improve ArraySpreadInsteadOfArrayMergeRector (#3568) (#3589)
2023-04-08 16:24:17 +00:00
Tomas Votruba
470e7f2c55 Updated Rector to commit a6ca5a0e8429d8c1423916c07ba5e72efdeafd44
a6ca5a0e84 Re-apply isVoid() (#3574) (#3586)
2023-04-08 14:00:36 +00:00
Tomas Votruba
3da290e4ab Updated Rector to commit dbb0e196a43d8c14a9de6abeef8fe081e95c51c2
dbb0e196a4 Revert all is* changes (#3584)
2023-04-08 13:25:07 +00:00
Tomas Votruba
9d60770133 Updated Rector to commit e66317aeb276bb0b544e7b4b55057c9dab5fbb73
e66317aeb2 fix cs (#3579)
2023-04-08 11:32:12 +00:00
Tomas Votruba
93412b6620 Updated Rector to commit 000514186cc2843e1bca0ee4f655f5615ac191ab
000514186c Show the fixture file on failing tests (#3577)
2023-04-08 09:56:01 +00:00
Tomas Votruba
aaddfe2522 Updated Rector to commit 59cdfc8d814b094bffd814f4679c828cd45c7ec9
59cdfc8d81 Use isInteger() (#3571)
2023-04-08 01:19:54 +00:00
Tomas Votruba
e7c7a40197 Updated Rector to commit 437cc5aa660262603343cdbb193e0a54abf9037e
437cc5aa66 Use isBoolean() (#3570)
2023-04-08 01:12:35 +00:00
Tomas Votruba
5f5a4162ce Updated Rector to commit 7611dcb05adda44fb14a228574481b3f79d0b9d5
7611dcb05a Use isVoid() (#3574)
2023-04-08 01:08:03 +00:00
Tomas Votruba
32306ae608 Updated Rector to commit aa73118601d7421ca268ce8835efffb27a558008
aa73118601 Use isString() (#3573)
2023-04-08 01:03:37 +00:00
Tomas Votruba
be3c7cb235 Updated Rector to commit 46301c10a803d2b6727270a738e8c9c297b0b10c
46301c10a8 Use isFloat() (#3572)
2023-04-08 00:59:02 +00:00
Tomas Votruba
75f99e1dc0 Updated Rector to commit a36a4d9fcb244d5d49a45255d9581a16410dff7a
a36a4d9fcb Remove unused imports (#3567)
2023-04-05 19:01:37 +00:00
Tomas Votruba
288d74ea5d Updated Rector to commit be24410a00da07e1aeb4eba8083d0e06f19868a9
be24410a00  [PostRector] Skip remove unused used at @see for Generic tag  (#3562)
2023-04-05 00:15:15 +00:00
Tomas Votruba
c2fef6bfc2 Updated Rector to commit 1da22824edd107108e087d40233769817a2cbe25
1da22824ed [PostRector] Skip remove unused use on used as ConstFetchNode, eg: TypeKind::* (#3560)
2023-04-04 00:56:57 +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
9b6b4fafd3 Updated Rector to commit fd2e1a181d96cee745529f345d77be55de3f5d17
fd2e1a181d [CodingStyle] Remove previous node attribute on TernaryConditionVariableAssignmentRector (#3540)
2023-03-30 16:42:45 +00:00
Tomas Votruba
2b57174b33 Updated Rector to commit b3ea98f636dc6f965589eaf5fcf6dcda6e38cd9b
b3ea98f636 [NodeTypeResolver] Make NodeTraverser as property on NodeScopeAndMetadataDecorator (#3532)
2023-03-28 19:24:10 +00:00
Tomas Votruba
dc695d1925 Updated Rector to commit d0d87702a7b9a8140575d4bee3e9695199bb6338
d0d87702a7 [NodeTypeResolver] Make NodeTraverser as property on PHPStanNodeScopeResolver (#3533)
2023-03-28 19:22:16 +00:00
Tomas Votruba
d1b207c569 Updated Rector to commit 87186dd873893b15bc4ef881348e02a224e16c07
87186dd873 [NodeTypeResolver] Remove NodeScopeAndMetadataDecorator::decorateStmtsFromString() method (#3530)
2023-03-28 15:38:13 +00:00
Tomas Votruba
44b210bff3 Updated Rector to commit b167b7109dd698b3f473bd3927a9677e46c2b887
b167b7109d [core] Remove ParentConnectingVisitor from SimpleCallableNodeTraverser (#3520)
2023-03-26 09:53:46 +00:00
Tomas Votruba
3cb738e57e Updated Rector to commit 6d3efd5be7ab2de0a25aebabddb26c497611d4fb
6d3efd5be7 [Core] Set configured file extensions to analyzed files for NodeScopeResolver (#3522)
2023-03-26 08:46:54 +00:00
Tomas Votruba
7294170d53 Updated Rector to commit 3445422189028175f9d99563c3ec5e5bad86e9b5
3445422189 Remove deprecated @noRector warning (#3518)
2023-03-25 11:20:04 +00:00
Tomas Votruba
0b3c5d9bcc Updated Rector to commit f22ddc8f18ef345d5e9c99cbb667548c3c854d7d
f22ddc8f18 Add not null compare to FlipTypeControlToUseExclusiveTypeRector (#3513)
2023-03-23 23:21:34 +00:00
Tomas Votruba
9d7d2b3376 Updated Rector to commit 697479f14891c51f53e64144826cbe65e2c48dcc
697479f148 Performance: Improve node name resolver performance (#3506)
2023-03-23 15:26:18 +00:00