5306 Commits

Author SHA1 Message Date
Tomas Votruba
4bf474e653 Updated Rector to commit be53013ca3dff5b3eca8cdb3e688d744585e2557
be53013ca3 [CodeQuality] Remove SimplifyIfExactValueReturnValueRector, as overly defensive + InlineSimplePropertyAnnotationRector as purely coding standard area (#3764)
2023-05-07 19:35:01 +00:00
Tomas Votruba
da6f698ff7 Updated Rector to commit 14fa8c914b12bfc6a4112d77e03057dab9b90cd4
14fa8c914b Cleanup phpstan errors (#3748)
2023-05-06 22:11:26 +00:00
Tomas Votruba
b61a41bf01 Updated Rector to commit d13351c5b5800fdd9a25f1d8d9198749898ff2f6
d13351c5b5 Apply Rector + coding standard (#3745)
2023-05-06 18:23:35 +00:00
Tomas Votruba
b614e74d5b Updated Rector to commit dab0910a4e43f5ea999abb00bbb29041b2a66882
dab0910a4e Rename  to  (#3742)
2023-05-06 14:58:36 +00:00
Tomas Votruba
ab5dbb3f11 Updated Rector to commit 4c1544d2b44eb7ca65c2af2b034ed54da6b969d3
4c1544d2b4 Rename processFiles to processFile (#3741)
2023-05-06 14:57:55 +00:00
Tomas Votruba
5eeea8840a Updated Rector to commit 4179a87aac262d7f38daf79f8a2f530808d1cf8e
4179a87aac [Caching] Fix dependent files not yet exists on ChangedFilesDetector::cacheFileWithDependencies() (#3736)
2023-05-05 10:24:42 +00:00
Tomas Votruba
1e2a0a6217 Updated Rector to commit 8b48059c347d98d191478504da236c4c2ba1e667
8b48059c34 [NodeTypeResolver] Simplify NodeTypeResolver: remove IdentifierTypeResolver dependency (#3733)
2023-05-05 08:16:16 +00:00
Tomas Votruba
17b11d7934 Updated Rector to commit f6972de10fb2cee85fe3559c58f71b5e9fe4811e
f6972de10f Cache on successful file processing (#3614)
2023-05-01 21:32:35 +00:00
Tomas Votruba
65abab80de Updated Rector to commit 5c1be93b80c3f7bfd8bd158ba0a55501a7acaefc
5c1be93b80 PHP 8.2 is supported (#3717)
2023-05-01 01:36:32 +00:00
Tomas Votruba
4a2e921404 Updated Rector to commit c3aca95a7d1281beee8850ae001952760cce6658
c3aca95a7d Calculate diff only once per file after refactoring (#3711)
2023-04-30 02:34:57 +00:00
Tomas Votruba
1089ade96c Updated Rector to commit ed8e74e36b46076d1e4c8920b593b2dd43448049
ed8e74e36b [CodingStyle] Skip positive-int and negative-int over int on VarConstantCommentRector (#3709)
2023-04-29 15:37:29 +00:00
Tomas Votruba
bd3ec63267 Updated Rector to commit 2bb26e36611fdee67ead9fac0b7cc18ead0d923b
2bb26e3661 [PostRector] Improve performance NameImportingPostRector (#3708)
2023-04-29 14:12:48 +00:00
Tomas Votruba
b2bc547d46 Updated Rector to commit 0451834fd58ba9a7fddde47f47a60c4911388738
0451834fd5 [NodeTypeResolver] Improve ParametersAcceptorSelectorVariantsWrapper by directly use ParametersAcceptorSelector::combineAcceptors() (#3706)
2023-04-29 07:20:27 +00:00
Tomas Votruba
6773471488 Updated Rector to commit f19c86c993bb1fe1b487fce587d6582ef9f29a6a
f19c86c993 [NodeTypeResolver] Add AssignedToNodeVisitor (#3694)
2023-04-27 18:21:20 +00:00
Tomas Votruba
62693051ca Updated Rector to commit 31e22ff70699ac52c0cd4faee5b5f42291bb8ccb
31e22ff706 [PHPStanStaticTypeMapper] Improve performance of UnionTypeMapper take 3 (#3690)
2023-04-26 13:34:46 +00:00
Tomas Votruba
0284fe8f94 Updated Rector to commit 931e6e24502a70dd19cd93c0ef10510b23213f87
931e6e2450 [PHPStanStaticTypeMapper] Improve UnionTypeMapper performance take 2 (#3688)
2023-04-26 04:39:15 +00:00
Tomas Votruba
1084c94b7d Updated Rector to commit bd478cc1b2fa2934e980e3d92c97a66ad7b260bd
bd478cc1b2 [PHPStanStaticTypeMapper] Improve UnionTypeMapper performance (#3686)
2023-04-25 21:31:09 +00:00
Tomas Votruba
d4fe88d8f2 Updated Rector to commit 92d38cfba31d2a2811c19dd57810e296a725c91e
92d38cfba3 [TypeDeclaration] Refactor UnionTypeMapper::narrowBoolType() to allow bool|int|false converted to bool|int (#3685)
2023-04-25 21:01:30 +00:00
Tomas Votruba
701d429812 Updated Rector to commit 2efca7308210405e65198d44a7521f84940fdd21
2efca73082 [TypeDeclaration] Handle regression multiple params no longer working on AddMethodCallBasedStrictParamTypeRector (#3681)
2023-04-24 17:11:45 +00:00
Tomas Votruba
6becad5a83 Updated Rector to commit 26bd7485f3168e92e8e4dd7c7d81d816241454bf
26bd7485f3 [Test] Remove PropertyRenameFactoryTest.php (#3679)
2023-04-24 09:28:11 +00:00
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