Commit Graph

54 Commits

Author SHA1 Message Date
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 3d9b6b2c99 Updated Rector to commit 620321b3833dd450a7de79a620a07c7131342422
620321b383 Add ReturnTypeFromStrictBoolReturnExprRector support for if/else returns (#5384)
2023-12-23 21:26:40 +00:00
Tomas Votruba 94baa5fede Updated Rector to commit 8df2120b3f546dd7f0eb89bf199a042dfc9283e7
8df2120b3f Skip void without final keyword in ReturnNeverTypeRector as could be implemented with more precise children (#5379)
2023-12-23 14:51:47 +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 135fa91a30 Updated Rector to commit 88112d208bafbe266d5b0e5ec7fcb84058280ce2
88112d208b [TypeDeclaration] Skip non void or never already return typed on ReturnNeverTypeRector (#4723)
2023-08-08 15:44:06 +00:00
Tomas Votruba ee45a5a26e Updated Rector to commit 17fe187769dba735386f3afbad705e27de46b887
17fe187769 [TypeDeclaration] Skip param setter method intersection docblock not autoload on ReturnNeverTypeRector (#4721)
2023-08-08 15:26:09 +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 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 075297ce56 Updated Rector to commit 0af705fb570340cb0e4fbc0b9e897b09bd172f5c
0af705fb57 debug
2023-06-06 16:41:24 +00:00
Tomas Votruba 281f59d306 Updated Rector to commit 7f49261e293df93ac9a81dd49e59ad4abed9ed41
7f49261e29 Make ReturnNeverTypeRector work with type declaration, add it to PHP 8.1 set (#3852)
2023-05-14 22:40:25 +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 e946e57476 Updated Rector to commit dbaf0da38ac23091d39d4df71749da474e8df8ac
dbaf0da38a [TypeMapper] Use Identifier instead of Name on non-object types (#3375)
2023-02-13 14:43:04 +00:00
Tomas Votruba ad67b2505d Updated Rector to commit 2ddd44b249f552c8a4bd573763965de31417aaa3
2ddd44b249 [TypeDeclaration] Replace ParentClassMethodTypeOverrideGuard::isReturnTypeChangeAllowed() with ClassMethodReturnTypeOverrideGuard::shouldSkipClassMethod()  in ReturnNeverTypeRector (#3321)
2023-01-29 13:52:29 +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 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 19ffa21a89 Updated Rector to commit a218dda059
a218dda059 [DX] Move PhpVersionProvider from AbstractRector to particular services (#2189)
2022-04-28 20:11:07 +00:00
Tomas Votruba c7ca691738 Updated Rector to commit ba29e3fd5f
ba29e3fd5f Re-use name scope (#2171)
2022-04-26 13:03:56 +00:00
Tomas Votruba 5147929731 Updated Rector to commit 43aa4d91f7
43aa4d91f7 Add SameNamespacedTypeSpecifier (#2169)
2022-04-26 08:13:18 +00:00
Tomas Votruba 9e282c87ec Updated Rector to commit 2604c7675c
2604c7675c Fixing rules return values (take 2) (#1880)
2022-02-28 06:43:27 +00:00
Tomas Votruba 7bec35aee9 Updated Rector to commit 80882ad175
80882ad175 [TypeDeclaration] Skip Throw_ in construct and as Expr on ReturnNeverTypeRector (#1679)
2022-01-15 08:52:41 +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 6472f7f4fb Updated Rector to commit fc383cc011
fc383cc011 [Scoped] Fix exclude symfony/console/Tester (#1438)
2021-12-09 13:05:29 +00:00
Tomas Votruba f983f475e6 Updated Rector to commit 9beed78815
9beed78815 [Core] Add BetterNodeFinder::hasInstancesOfInFunctionLikeScoped() to handle only true when has same parent FunctionLike (#1405)
2021-12-06 19:50:11 +00:00
Tomas Votruba 2aabd11a01 Updated Rector to commit b6b0e646ca
b6b0e646ca [TypeDeclaration][Php 8.1] Do not skip return on parent anonymous class method (#1403)
2021-12-06 12:09:21 +00:00
Tomas Votruba 06547fe6bc Updated Rector to commit 9ca73202e8
9ca73202e8 [ReturnTypeDeclaration][Php 8.1] Do not skip yield parent anonymous class method (#1402)
2021-12-06 11:11:51 +00:00
Tomas Votruba 5aa845f3c2 Updated Rector to commit c6582a8666
c6582a8666 [TypeDeclaration][Php 8.1] Do not change parent anonymous class method return type to never on ReturnNeverTypeRector (#1400)
2021-12-06 08:48:05 +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 3d98187ea1 Updated Rector to commit 39a530c1f5
39a530c1f5 [DX] Add strict PHPStan rules - step #2 (#1330)
2021-11-28 17:01:20 +00:00
Tomas Votruba 3a883b2fc9 Updated Rector to commit af81708d80
af81708d80 [TypeDeclaration] Skip conditional Throw_ on ReturnNeverTypeRector (#1217)
2021-11-12 09:48:23 +00:00
Tomas Votruba b5d03cf1f4 Updated Rector to commit f32035d12f
f32035d12f [TypeDeclaration] Skip Conditional on ReturnNeverTypeRector (#1200)
2021-11-10 10:27:52 +00:00
Tomas Votruba 04db37fabd Updated Rector to commit 461cb9f38c
461cb9f38c [Defluent] Remove often-breaking set (#1062)
2021-10-26 00:34:35 +00:00
Tomas Votruba 61389a9b2c Updated Rector to commit f6f7431ce7
f6f7431ce7 [DX] Merge getObjectType() and getStaticType() methods to single getType() (#973)
2021-10-07 17:46:41 +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 dfa7a8133f Updated Rector to commit 923bb72983
923bb72983 [Naming] Remove MakeBoolPropertyRespectIsHasWasMethodNamingRector, not reliable and rather PHPStan scope (#511)
2021-07-25 16:57:05 +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 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 a7f25f1444 Updated Rector to commit 2a394c750f
2a394c750f Reflection cleanup + inline union types for couple of param docs (#330)
2021-06-29 13:37:16 +00:00
Tomas Votruba 5080937c23 Updated Rector to commit 75c77576a5
75c77576a5 ReturnNeverTypeRector: use  for php7.x support (#296)
2021-06-29 12:35:49 +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