Commit Graph

49 Commits

Author SHA1 Message Date
Tomas Votruba 4c2b400cdb Updated Rector to commit ff0705b18b7f2e8e7e9062d0d4fd87a4c5c1b20e
ff0705b18b [CodeQuality] Add Goto_ possible return null on SilentVoidResolver under Do_ (#5773)
2024-03-25 15:52:31 +00:00
Tomas Votruba cc37bbf217 Updated Rector to commit 82d71724f2e2fff036a859e3fe2589fa82adb633
82d71724f2 [TypeDeclaration] Ensure always return with Expr on maybe continued in next stmt on SilentVoidResolver (#5771)
2024-03-25 08:45:48 +00:00
Tomas Votruba 52addb1dde Updated Rector to commit 879feb8931f1465fa463d539e9ce99ebfae4e948
879feb8931 [CodeQuality] Handle do { } while maybe returned on ExplicitReturnNullRector (#5766)
2024-03-23 20:33:11 +00:00
Tomas Votruba 74b8ed7cd4 Updated Rector to commit cae06912ed7d7274d900fdc996448f100be2ed34
cae06912ed [CodeQuality] Skip do { } while always returned on ExplicitReturnNullRector (#5760)
2024-03-23 05:12:50 +00:00
Tomas Votruba e6bfc79aa2 Updated Rector to commit 8874f25347004e0c19043e8b97b69470193f0941
8874f25347 [CodeQuality] Move Yield_ and YieldFrom check to SilentVoidResolver (#5759)
2024-03-22 20:34:36 +00:00
Tomas Votruba dd51f7ceed Updated Rector to commit 32bf5c7e7a8da2100f12cbef185c958655d4292d
32bf5c7e7a [CodeQuality] Skip if else return on ExplicitReturnNullRector (#5755)
2024-03-22 16:53:50 +00:00
Tomas Votruba 59f9eb1491 Updated Rector to commit 715103cdf1ecad0b4668f3b9e38582b3e5b55fbe
715103cdf1 Add support for YieldFrom into places where Yield_ is checked (#5499)
2024-02-03 22:50:20 +00:00
Tomas Votruba 7e7a2f067a Updated Rector to commit 476cfb00cb6a94cb64badf9472ee78f33bdf44b3
476cfb00cb disable fallback for now
2024-01-02 02:40:38 +00:00
Tomas Votruba 549a072c08 Updated Rector to commit fa28385f9b46b0119073fb4209762fce23f8c09a
fa28385f9b Refactor BetterNodeFinder::findFirstInFunctionLikeScoped() to work with SilentVoidResolver (#4931)
2023-09-07 04:03:06 +00:00
Tomas Votruba 94613faf8f Updated Rector to commit 54799fc3d3a341643d050d06ecf72b467c8d37e8
54799fc3d3 [TypeDeclaration] Skip return after return closure on AddVoidReturnTypeWhereNoReturnRector (#4930)
2023-09-07 02:10:00 +00:00
Tomas Votruba f36a223be4 Updated Rector to commit aee42009d91dfdca128760fc4b37e09e101db23f
aee42009d9 AddVoidReturnTypeWhereNoReturnRector: fix never type handling (#4918)
2023-09-06 13:12:52 +00:00
Tomas Votruba 51c70b1a6e Updated Rector to commit eca01b375a62cca2d79ee5a1a7fff1795f3cba11
eca01b375a Trigger Rectify (#4924)
2023-09-06 12:41:35 +00:00
Tomas Votruba 7866e76540 Updated Rector to commit 15e924988caf800caffddf1906da948138daf44b
15e924988c Faster SilentVoidResolver (#4923)
2023-09-06 12:33:43 +00:00
Tomas Votruba 28ddc5c0c4 Updated Rector to commit b56b0c2febafe7ab07b187faa9b315f810cac0ae
b56b0c2feb [TypeDeclaration] Remove findParentType() on SilentVoidResolver (#4203)
2023-06-12 18:32:15 +00:00
Tomas Votruba 503a6059f8 Updated Rector to commit a8922f7431c9c9188be501107ee7819e0130da4c
a8922f7431 skip temporarily match + throws downagrade in symfony/console, very unlikely to run
2023-06-11 23:01:39 +00:00
Tomas Votruba 3313a231b7 Updated Rector to commit bb609b28e327ca1fb7827b6bc548013d19a2cf4e
bb609b28e3 [Core] Always reset stopTraversal to false on next Rector visit (#4182)
2023-06-11 14:17:34 +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 bdfd24339f Updated Rector to commit 2e977bd3aad21113e0bb7e2aa9b102f6f1e9246d
2e977bd3aa deploy to original repository
2022-06-07 08:22:29 +00:00
Tomas Votruba aa2cb1b997 Updated Rector to commit 0eba231b07
0eba231b07 [PHP 8.1] Move ConstantListClassToEnumRector to PHP 8.1 (#2444)
2022-06-06 17:12:56 +00:00
Tomas Votruba a28f4b14a4 Updated Rector to commit 2022-06-06 16:43:29 +00:00
Tomas Votruba 7e46eb8267 Updated Rector to commit a2d6da8b4e
a2d6da8b4e Back to php-scoper 0.14 with scoping from php 8.0 (#2370)
2022-05-27 11:51:31 +00:00
Tomas Votruba beba7d6efe Updated Rector to commit 1249d947f4
1249d947f4 Try php-scoper 0.17 (#2368)
2022-05-27 11:25:02 +00:00
Tomas Votruba 5147929731 Updated Rector to commit 43aa4d91f7
43aa4d91f7 Add SameNamespacedTypeSpecifier (#2169)
2022-04-26 08:13:18 +00:00
Tomas Votruba daae17bd4e Updated Rector to commit 12f027c8a1
12f027c8a1 [TypeDeclaration] Handle yield and return in inner function on AddVoidReturnTypeWhereNoReturnRector (#1986)
2022-04-01 05:37:00 +00:00
Tomas Votruba 27cabcdf40 Updated Rector to commit 8c6a966741
8c6a966741 [TypeDeclaration] Include trait in AddVoidReturnTypeWhereNoReturnRector (#1582)
2021-12-27 19:07:28 +00:00
Tomas Votruba c726969380 Updated Rector to commit fc10fce13d
fc10fce13d [Rectify] [Php81] Enable Rectify on Readonly Property only (#1384)
2021-12-04 12:47:17 +00:00
Tomas Votruba 0562d594e0 Updated Rector to commit f985e811be
f985e811be [DX] Add strict PHPStan rules - step #1 (#1324)
2021-11-28 16:42:02 +00:00
Tomas Votruba 7f56f8ae35 Updated Rector to commit 66800f00f1
66800f00f1 [Scoped] Fixing Scoped build bin rector.php (#1174)
2021-11-07 04:15:35 +00:00
Tomas Votruba a42ac7439f Updated Rector to commit c3b6efea7e
c3b6efea7e Move from CLASS_NODE attribute to more reliable parent node finder (#1162)
2021-11-06 12:10:48 +00:00
Tomas Votruba a94a50e863 Updated Rector to commit e525dad6ab
e525dad6ab [PHPStan 1.0] Use Nette filesystem over phpstan filewriter (#1115)
2021-10-30 14:18:31 +00:00
Tomas Votruba ba205b46bb Updated Rector to commit 68d410ef00
68d410ef00 Trigger notification (#741)
2021-08-23 00:20:32 +00:00
Tomas Votruba 674f76ced2 Updated Rector to commit 877cbb2de8
877cbb2de8 fix(scoper): prefix vendor classes from PHPDoc, close #6614 (#739)
2021-08-22 23:17:31 +00:00
Tomas Votruba bee6271c0a Updated Rector to commit 59d63d6f4a
59d63d6f4a [TypeDeclaration] Allow ArrowFunction on ReturnTypeFromStrictTypedCallRector (#556)
2021-07-31 11:40:13 +00:00
Tomas Votruba bb3e86de23 Updated Rector to commit 904a5a7a1c
904a5a7a1c Make use of ClassMethodReturnVendorLockResolver (#377)
2021-07-04 21:21:47 +00:00
Tomas Votruba 1f8149a055 Updated Rector to commit a9b1bbba88
a9b1bbba88 [PHP 8.0] Make Downgrade widening union depend on ClassMethod, the narrow scope (#375)
2021-07-04 18:27:51 +00:00
Tomas Votruba 636eeecaf4 Updated Rector to commit dfd048342b
dfd048342b [PHP 8.0] Run union types for filled param type too (#331)
2021-06-29 14:24:45 +00:00
Tomas Votruba acb5c247f2 Updated Rector to commit d8a7f6c3af
d8a7f6c3af Cleanup NodeRepository (#315)
2021-06-28 10:46:06 +00:00
Tomas Votruba 57002777fc Updated Rector to commit 1a87a3dfcc
1a87a3dfcc [TypeDeclaration] Prevent checking class like has external fully qualifieds when class like is null (#319)
2021-06-28 09:39:23 +00:00
Tomas Votruba 5279626eba Updated Rector to commit ca8f75fae1
ca8f75fae1 [Core] Add ExternalFullyQualifiedAnalyzer to check external FullyQualified extends/interface/traits (#164)
2021-06-08 13:00:02 +00:00
Tomas Votruba 773ce7949a Updated Rector to commit 7de2aa413a
7de2aa413a skip extends unless class_
2021-06-07 23:40:38 +00:00
Tomas Votruba 10ad6fa778 Updated Rector to commit 16ae2dea9d
16ae2dea9d [Core] Fix ConfigurableCallValuesCollectingPhpFileLoader:load() return type (#134)
2021-06-01 14:04:28 +00:00
Tomas Votruba cdc3b7adef Updated Rector to commit f451b0b8e1
f451b0b8e1 [PHP 8.0] Bump to promoted properties (#4)
2021-05-10 23:39:21 +00:00
Tomas Votruba 7d36c3b0b9 Updated Rector to commit a80cf5292d
a80cf5292d revert to working scoper 0.14
2021-05-10 22:23:08 +00:00
Tomas Votruba 363a910cf7 Updated Rector to commit a7db1ad94d
a7db1ad94d use scoper 0.15
2021-05-10 22:10:16 +00:00
Tomas Votruba d56e7982d0 Updated Rector to commit dedd4b55fe
dedd4b55fe make node_helper.php safe for similar names
2021-05-09 20:15:43 +00:00
Abdul Malik Ikhsan 139c73c5b5
[TypeDeclaration] Add missing break; in loop in SilentVoidResolver::isSwitchWithAlwaysReturn() (#6278) 2021-05-01 12:33:28 +00:00
Tomas Votruba 0203e0fda1
[TypeDeclaration] Add array type from returned method call types (#6277) 2021-05-01 12:16:35 +00:00
Tomas Votruba 4dfd6df447
[TypeDeclaration] Skip exception on void (#6182) 2021-04-20 19:50:10 +00:00
Tomas Votruba 157c39aefc
[DX] move src/tests rules from micro-packages to single PSR-4 structure (#5826) 2021-03-12 23:20:25 +01:00