Commit Graph

63 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 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 267a05386e Updated Rector to commit b3c4aff2ad46d78c1c03800c7301129601aefc4e
b3c4aff2ad Support literals in ReturnTypeFromStrictTypedCallRector (#4511)
2023-07-14 13:32:55 +00:00
Tomas Votruba 7f7ffb52f5 Updated Rector to commit 11796980f4d5cc4c2b07d765fdef097697d40708
11796980f4 [TypeDeclaration] Skip once typed and else return array_map() on ReturnTypeFromStrictTypedCallRector (#4312)
2023-06-21 16:13: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 cde74fdc1d Updated Rector to commit 65765cf54e851c4b768a9124a4abf2790d3037f8
65765cf54e Remove parent node look up from ReturnTypeFromStrictTypedCallRector (#4166)
2023-06-10 21:17:23 +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 fff47a3319 Updated Rector to commit e97b7f5c5631588b9651ba09ab10ce081c9ec492
e97b7f5c56 Utilize MinPhpVersionInterface in more rules (#3752)
2023-05-07 08:04:34 +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 5f5a4162ce Updated Rector to commit 7611dcb05adda44fb14a228574481b3f79d0b9d5
7611dcb05a Use isVoid() (#3574)
2023-04-08 01:08:03 +00:00
Tomas Votruba b4b2b8f25e Updated Rector to commit dc52f2b5bfc3b31c474555ba0155b50ea6211d18
dc52f2b5bf [TypeDeclaration] Handle return from array_map() on ReturnTypeFromStrictTypedCallRector (#3471)
2023-03-10 15:21:11 +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 643657d0ed Updated Rector to commit c3e31f067de83606b46188d26fcca61a3e89c3c8
c3e31f067d move ReturnTypeFromStrictTypedCallRector to enterprise (#2685)
2022-07-19 20:28:05 +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 e7cbd16435 Updated Rector to commit 0686f438cc
0686f438cc [PHPStan] Enable symplify-rules.neon (#2318)
2022-05-15 11:50:50 +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 5147929731 Updated Rector to commit 43aa4d91f7
43aa4d91f7 Add SameNamespacedTypeSpecifier (#2169)
2022-04-26 08:13:18 +00:00
Tomas Votruba f42120a67b Updated Rector to commit 3a2e85d9cb
3a2e85d9cb [TypeDeclaration] Fix ReturnTypeAlreadyAddedChecker on return key of array (#1571)
2021-12-26 10:48:46 +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 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 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 070eedc010 Updated Rector to commit fd5edffa38
fd5edffa38 [TypeDeclaration] Add TypedPropertyFromStrictGetterMethodReturnTypeRector (#1048)
2021-10-23 21:09:26 +00:00
Tomas Votruba 9a92488e2c Updated Rector to commit 82b689d713
82b689d713 add trigger warning about deprecated resolve() and getStaticType() methods in NodeTypeResolver + update all packages (#976)
2021-10-07 19:40:12 +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 8526b37468 Updated Rector to commit 5b98e931dc
5b98e931dc [TypeDeclaration] Skip void type for arrow funtcions (#649)
2021-08-11 15:52:10 +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 1127b0c4e2 Updated Rector to commit bc9d2d48d5
bc9d2d48d5 [DX] Add MissedRectorDueVersionChecker (#465)
2021-07-21 09:35:57 +00:00
Tomas Votruba d77b300a95 Updated Rector to commit 2fc18bd2c0
2fc18bd2c0 [Rectify] Manual twice run rector against rules directory (#448)
2021-07-18 02:11:18 +00:00
Tomas Votruba 2a4b9bb9b2 Updated Rector to commit 747e026bfd
747e026bfd fix cs
2021-07-17 17:26:06 +00:00
Tomas Votruba 7b2bf95199 Updated Rector to commit d3f814ca27
d3f814ca27 cleanup
2021-07-17 17:24:05 +00:00
Tomas Votruba e71a1c12e1 Updated Rector to commit b001e388cc
b001e388cc [TypeDeclaration] Skip ReturnTypeFromStrictTypedCallRector on possible no return (#441)
2021-07-16 16:43:25 +00:00
Tomas Votruba cae21ff247 Updated Rector to commit acabcfc456
acabcfc456 [TypeDeclaration] Do not add return type on parent Closure for deep closure has return type on ReturnTypeFromStrictTypedCallRector (#439)
2021-07-15 22:20:38 +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 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 791eb8723f Updated Rector to commit a435716072
a435716072 Unite any extra reflection parsing to single ReflectionResolver service (#313)
2021-06-27 17:35:23 +00:00