Commit Graph

45 Commits

Author SHA1 Message Date
Tomas Votruba
7e7a2f067a Updated Rector to commit 476cfb00cb6a94cb64badf9472ee78f33bdf44b3
476cfb00cb disable fallback for now
2024-01-02 02:40:38 +00:00
Tomas Votruba
1c164a642f Updated Rector to commit 8cab945ae45b651cdf66c8bfbb1603c514733896
8cab945ae4 The ReturnTypeFromReturnNewRector must only handle new instances, to avoid leaking to everything (#5115)
2023-10-04 13:14:06 +00:00
Tomas Votruba
f642d08e09 Updated Rector to commit 41235b8c7c52b0ba77872c2f04921685569c3b6e
41235b8c7c [Core] Deprecate AbstractRector staticTypeMapper, use dependency directly when needed (#5091)
2023-09-29 12:48:57 +00:00
Tomas Votruba
4b8fc3fb05 Updated Rector to commit e698133cad1a85f2384a6cf450d66c54df1876a2
e698133cad [DX] Make ValueResolver explicitly required in Rector rules constructor if needed (#5053)
2023-09-20 12:55:35 +00:00
Tomas Votruba
65c9e5396a Updated Rector to commit 2cf8d837421963a540d2cf6e3b42702b1a8ae09e
2cf8d83742 [TypeDeclaration] Handle fallback from param same type object on ReturnTypeFromReturnNewRector (#5039)
2023-09-18 06:15:34 +00:00
Tomas Votruba
e3116ffed3 Updated Rector to commit 097785424d7239bf0166d1fddb3e2079ce4787c8
097785424d [TypeDeclaration] Allow __invoke() method for return type changed on ClassMethodReturnTypeOverrideGuard (#4667)
2023-08-06 09:54:45 +00:00
Tomas Votruba
2a286e21bd Updated Rector to commit 6110a50ed0aaa58281e3b9de0a195f18bb782ba4
6110a50ed0 [TypeDeclaration] Skip anonymous class and other object on ReturnUnionTypeRector (#4670)
2023-08-06 09:54:38 +00:00
Tomas Votruba
6299c365a0 Updated Rector to commit e98e9e7e1a92265d4ee6a41bf9298f1d606f4a5b
e98e9e7e1a [TypeDeclaration] Allow return anonymous class on ReturnTypeFromReturnNewRector (#4669)
2023-08-06 09:53:37 +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
a48c21e135 Updated Rector to commit ebfe96b4e08b26439c2341cd45e87a7bc5f314fb
ebfe96b4e0 Drop AttributeKey::SCOPE in ClassMethodReturnTypeOverrideGuard (#4144)
2023-06-09 17:30:44 +00:00
Tomas Votruba
8ef3bb6268 Updated Rector to commit af2a06e85ea318a0a294fce64c157f6ae9887383
af2a06e85e [TypeDeclaration] Skip possible void on ReturnTypeFromReturnNewRector (#3890)
2023-05-18 21:38:08 +00:00
Tomas Votruba
cbd1da8466 Updated Rector to commit 2b35d2e75ea03ffe643c012485952ec6df3ea2ba
2b35d2e75e [TypeDeclaration] Move Rector Enterprise TypeDeclaration rules here (#3125)
2022-11-28 20:42:41 +00:00
Tomas Votruba
26bacab80c Updated Rector to commit c0070b1d30a0040e3e58724ac1b3b339e168dcb5
c0070b1d30 [CodeQuality] Skip not ArrayType on ForeachItemsAssignToEmptyArrayToAssignRector (#2752)
2022-08-11 14:46:08 +00:00
Tomas Votruba
967bbc6b59 Updated Rector to commit c0070b1d30a0040e3e58724ac1b3b339e168dcb5
c0070b1d30 [CodeQuality] Skip not ArrayType on ForeachItemsAssignToEmptyArrayToAssignRector (#2752)
2022-08-11 14:29:35 +00:00
Tomas Votruba
42d59f4003 Updated Rector to commit e8e2db769d857346202bc0f59ab4a618ee5b5202
e8e2db769d [TypeDeclaration] Add assigned new to variable in ReturnTypeFromReturnNewRector (#2647)
2022-07-09 14:55:41 +00:00
Tomas Votruba
fbcfb0e30f Updated Rector to commit b45066c505a7bd3569819cee71706ebf0f763b6e
b45066c505 [dx] remove direct assigns (#2617)
2022-07-03 12:14:45 +00:00
Tomas Votruba
bdec76e60e Updated Rector to commit 5ed173f14865e72ba7156645e2a79930152e1cc5
5ed173f148 skip RuleDefinition explicitly
2022-06-07 09:18:30 +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
5b72ec39c6 Updated Rector to commit db57fbaae4
db57fbaae4 Remove myclabs/php-enum dependency (#2388)
2022-05-29 22:41:07 +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
476869ebf4 Updated Rector to commit 129ce269d3
129ce269d3 [Core] Use ReflectionResolver to get ClassReflection when possible (#2226)
2022-05-04 10:46:11 +00:00
Tomas Votruba
82cb57bbf9 Updated Rector to commit 86394aba2a
86394aba2a [TypeDeclaration] Handle inner Closure on ReturnTypeFromReturnNewRector (#1467)
2021-12-11 16:16:09 +00:00
Tomas Votruba
3266f22182 Updated Rector to commit 1d409bc35b
1d409bc35b safe by default
2021-12-10 10:22:23 +00:00
Tomas Votruba
058d52567d Updated Rector to commit c621d7650d
c621d7650d [TypeDeclaration] Add void upper inner function has return on ReturnTypeDeclarationRector (#1447)
2021-12-10 09:57:54 +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
6a0e872ef0 Updated Rector to commit 557c3c6071
cb028ac9c7 remove NodeNameResolver config, breaks much more rules 557c3c6071 fix cs
2021-10-27 19:25:02 +00:00
Tomas Votruba
9aee946272 Updated Rector to commit b26d27cc93
b26d27cc93 [CI] allow to deploy code even if build fails, to see real diff in changes
2021-10-27 11:46:54 +00:00
Tomas Votruba
855541443a Updated Rector to commit edd1ebd5f6
edd1ebd5f6 [PHPStan 1.0] Make SelfType, StaticType and ThisType use ClassReflection over string (#1072)
2021-10-26 20:57:53 +00:00
Tomas Votruba
f24ba3e919 Updated Rector to commit ae55eac4c9
ae55eac4c9 [TypeDeclaration] Allow Function_ and ArrowFunction on ReturnTypeFromReturnNewRector (#583)
2021-08-03 12:03:11 +00:00
Tomas Votruba
1127b0c4e2 Updated Rector to commit bc9d2d48d5
bc9d2d48d5 [DX] Add MissedRectorDueVersionChecker (#465)
2021-07-21 09:35:57 +00:00
Tomas Votruba
96112cb1f0 Updated Rector to commit 2da49992cc
2da49992cc [Downgrade] [PHP 7.2] Make DowngradeParameterTypeWideningRector always downgrade to phpdoc type (#390)
2021-07-05 22:50:18 +00:00
Tomas Votruba
a79e6f56df Updated Rector to commit ff1ad31d6a
ff1ad31d6a [PHP 7.2] Refactor DowngradeParameterTypeWideningRector to class method (#380)
2021-07-05 07:47:59 +00:00
Tomas Votruba
4333c09758 Updated Rector to commit dfbbb02dec
dfbbb02dec [PHP 8.0] Fix DowngradeNamedArgumentRector named arguments (#373)
2021-07-04 13:13:54 +00:00
Tomas Votruba
a042ce3afa Updated Rector to commit 028c1064eb
028c1064eb Fix ReturnTypeFromReturnNewRector rule definition typo (#239)
2021-06-17 15:58:43 +00:00
Tomas Votruba
f04617a297 Updated Rector to commit d88e3a3efb
d88e3a3efb Fix copy-paste errors in rule docs (#143)
2021-06-02 22:56:35 +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
TomasVotruba
0800c7cdc3 fix cs 2021-05-06 20:51:25 +02: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