Commit Graph

51 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
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
b2b3a0f5cc Updated Rector to commit 33fa6262970128e964fc4099d88d9a7369828e1a
33fa626297 [DX] Make PhpDocInfoFactory explicitly required in Rector rule constructor, if needed (#5051)
2023-09-20 12:41:26 +00:00
Tomas Votruba
dd741c0c67 Updated Rector to commit e9e6a42eaea1006ac822ba72902806a7d6f7e508
e9e6a42eae Fixed constant types handling in TypedPropertyFromStrictConstructorRector (#4588)
2023-07-24 08:19:54 +00:00
Tomas Votruba
94b97948c5 Updated Rector to commit 079cd5116ab16585e9b656ad7cd6eef8417137ef
079cd5116a cs
2023-07-23 16:22:04 +00:00
Tomas Votruba
1191015c78 Updated Rector to commit a8ae2d8c2a92536f95a70dc99eaebb01168c4a6f
a8ae2d8c2a implemented TypedPropertyFromStrictConstructorReadonlyClassRector (#4552)
2023-07-23 16:12:36 +00:00
Tomas Votruba
f8344bbd9a Updated Rector to commit c12703def127562155efcee2c348ca3a4d08c170
c12703def1 Simplify TypedPropertyFromStrictConstructorRector (#4587)
2023-07-23 11:23:26 +00:00
Tomas Votruba
7e9abb6ee1 Updated Rector to commit d0604509d0c3e22a29d1f3f174873e7c7596abb4
d0604509d0 [Performance] [TypeDeclaration] Reduce resolve ClassReflection on each property on TypedPropertyFromStrictConstructorRector (#4536)
2023-07-19 10:37:14 +00:00
Tomas Votruba
4c28e357ca Updated Rector to commit 20ec11e73d8998f9ad7533c8f179ee7be8e2abdf
20ec11e73d [Docblock] Move DocBlockUpdater service usage from AbstractRector to PhpDocTypeChanger (#4215)
2023-06-14 04:39:10 +00:00
Tomas Votruba
d3744158b9 Updated Rector to commit 0adda9c2d86f49949242604d6f45311724175d36
0adda9c2d8 [TypeDeclaration] Remove parent lookup on TrustedClassMethodPropertyTypeInferer (#4207)
2023-06-12 21:57:31 +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
75f99e1dc0 Updated Rector to commit a36a4d9fcb244d5d49a45255d9581a16410dff7a
a36a4d9fcb Remove unused imports (#3567)
2023-04-05 19:01:37 +00:00
Tomas Votruba
29be2b6a0f Updated Rector to commit 9c64c2a7ef9aa19592349b3928173adc9b9eb394
9c64c2a7ef [TypeDeclaration] Fix TypedPropertyFromStrictConstructorRector to avoid conflict with default type (#3269)
2023-01-08 16:13:32 +00:00
Tomas Votruba
a91bb662d1 Updated Rector to commit 7331d043786c1f74eff315fcc1d55032e9939dfc
7331d04378 [TypeDeclaration] Use existing MakePropertyTypedGuard on TypedPropertyFromStrictConstructorRector (#3131)
2022-11-30 01:03:05 +00:00
Tomas Votruba
8c4eaabd37 Updated Rector to commit 02bdae0fcfae253c103638411300625f474aa67c
02bdae0fcf [TypeDeclaration] Skip doctrine collection type (#3130)
2022-11-29 20:32:30 +00:00
Tomas Votruba
9e5592263d Updated Rector to commit e28b04a36a9fc2020dd5d3ff97dfa322c61d17b4
e28b04a36a [TypeDeclaration] Make TypedPropertyFromStrictSetUpRector use Class_ (#3129)
2022-11-29 20:22:22 +00:00
Tomas Votruba
2f473df977 Updated Rector to commit e8e3bd5ed90bab56caef0c0fc5829e42efb9f9ba
e8e3bd5ed9 [TypeDeclaration] Skip property names in TypedPropertyFromStrictConstructorRector (#3128)
2022-11-29 19:26:20 +00:00
Tomas Votruba
24b5f6d999 Updated Rector to commit 14b5cb1d6747f44e827dcce2160105dc17496927
14b5cb1d67 [TypeDeclaration] Skip property exists in parent on TypedPropertyFromStrictConstructorRector (#2659)
2022-07-14 00:42:36 +00:00
Tomas Votruba
81662109e0 Updated Rector to commit 649e5119376355e4d009f5db569b3785d10aaa37
649e511937 [TypeDeclaration] Add TypedPropertyFromStrictSetUpRector (#2636)
2022-07-06 11:56:20 +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
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
58077e6924 Updated Rector to commit f00dfc048d
f00dfc048d [TypeDeclaration] Using ConstructorAssignDetector on TypedPropertyFromStrictConstructorRector (#2055)
2022-04-11 15:13:47 +00:00
Tomas Votruba
abf379e98e Updated Rector to commit e470787eec
e470787eec [TypeDeclaration] Handle multiple methods define __construct later on TypedPropertyFromStrictConstructorRector (#2009)
2022-04-05 08:15:01 +00:00
Tomas Votruba
5f44698947 Updated Rector to commit 85ff4163b0
85ff4163b0 [TypeDeclaration] Handle default value on not inlined assignment in __construct on TypedPropertyFromStrictConstructorRector (#2008)
2022-04-05 08:03:44 +00:00
Tomas Votruba
337e5f6ea3 Updated Rector to commit deb4fb5b5d
deb4fb5b5d [TypeDeclaration] Improve assign/constructor rules (#1499)
2021-12-15 14:50:00 +00:00
Tomas Votruba
79317e0a0f Updated Rector to commit f6c3e95d7b
f6c3e95d7b [TypeDeclaration] Improve PropertyTypeDeclarationRector to work with strict types (#1494)
2021-12-14 15:31:59 +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
0aa0fc532e Updated Rector to commit f5f4d7a2f7
f5f4d7a2f7 [TypeDeclaration] Handle default value on TypedPropertyFromStrictConstructorRector (#862)
2021-09-10 09:41: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
90a746a8cf Updated Rector to commit 617c04a9be
617c04a9be [TypeDeclaration] Separated inferred and no types (#90)
2021-05-22 20:37:33 +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
b2412ad62a
Refactor doctrine/annotation from dynamic to own static-reflection parser (#5974)
* remove doctrine/annotations

* Refactor doctrine/annotation parser to static reflection with phpdoc-parser

* remove doctirne-annotation-parser-syncer

* remove annotation stubs

* use nodes

* almost there

* [ci-review] Rector Rectify

* skip temporary

* phpstan: remove fixed messages

Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-04 11:01:11 +02:00
Tomas Votruba
89a7afb5a4
Merge DeadDocBlock to DeadCode (#5936) 2021-03-21 12:57:56 +00:00