Commit Graph

474 Commits

Author SHA1 Message Date
Tomas Votruba 670c768551 Updated Rector to commit 0621d672f946aabc8bd6c9f70feae32d6a390b9f
0621d672f9  [Php80] Skip mixed doc with description and valid doc on MixedTypeRector  (#5906)
2024-05-21 09:36:37 +00:00
Tomas Votruba 049336a81a Updated Rector to commit 8ab5e979db19845b9dd3c39bec566830870845dc
8ab5e979db [Performance] Call cached class names collection on FamilyRelationsAnalyzer (#5879)
2024-05-15 01:48:39 +00:00
Tomas Votruba 4bcc8bbea0 Updated Rector to commit 8f59d4e23ed974bf9eba52a075ef4d1e2604c80d
8f59d4e23e [Php80] Skip remove non-mixed type doc on MixedTypeRector (#5874)
2024-05-14 08:30:55 +00:00
Tomas Votruba 6e65fef1e7 Updated Rector to commit 88648d1e6fe18bcc67ea76ebdc76c1d1e6d1fe6f
88648d1e6f [DeadCode] Skip @param true on native bool type on RemoveUselessParamTagRector (#5798)
2024-04-03 13:39:09 +00:00
Tomas Votruba 36ab30b476 Updated Rector to commit 8bce42424e3418ee287fe34b1004b1f66449b923
8bce42424e [NodeTypeResolver] Move UnionType doc vs FullyQualified native type as not equal to TypeComparator (#5793)
2024-04-03 06:36:42 +00:00
Tomas Votruba 3fdaba944f Updated Rector to commit 52aa64ffe2cc0add4cbffede6ce36cbec576ef2f
52aa64ffe2 [DeadCode] Clean up TypeHasher on Union Type (#5792)
2024-04-03 06:21:54 +00:00
Tomas Votruba 9f2e48fa07 Updated Rector to commit 9b4ad93acd680c5da9a3bab4d5e1f46ad5905b7f
9b4ad93acd Fix removal of useless @param tag when string|null insteadof ?string is used. (#5684)
2024-04-03 05:02:11 +00:00
Tomas Votruba 7f9bb2ae80 Updated Rector to commit df8d2b78edd46542e6426fec606c3ea98d712532
df8d2b78ed Copy subtype phpdoc on ClassPropertyAssignToConstructorPromotionRector (#8438) (#5603)
2024-02-11 09:00:00 +00:00
Tomas Votruba d2dde21bd9 Updated Rector to commit 68c42e7e843bfb9fde2b6516bb1bb76648d67045
68c42e7e84 [DeadCode] Skip Remove @return/@param null functionality in case of sub type (#5350)
2023-12-10 16:34:14 +00:00
Tomas Votruba bb15f9c3c4 Updated Rector to commit e400e37e5fe1d329419874143c16d53242cf5b55
e400e37e5f [DeadCode] Remove null as never used param type in RemoveUselessParamTagRector (#5348)
2023-12-10 12:52:21 +00:00
Tomas Votruba 58923caaf6 Updated Rector to commit 043d43cd0347b4c2a73e896674a1f22ab1ce6d62
043d43cd03 [DeadCode] Remove unused @return mixed on RemoveUselessReturnTagRector (#5332)
2023-12-06 13:28:15 +00:00
Tomas Votruba 374ed77ef0 Updated Rector to commit 4531aeb0cd7ef47a75afbee72237eef45b4cc266
4531aeb0cd [DeadCode] Add Function_ support on RemoveUselessReturnTagRector (#5325)
2023-12-05 09:55:15 +00:00
Tomas Votruba 1095b54b14 Updated Rector to commit 005ccc330c3bb37f9faf0f5e2c319036f2d055b8
005ccc330c Rectify (#5324)
2023-12-04 14:56:20 +00:00
Tomas Votruba 1754c2c66a Updated Rector to commit 526f4cd09c06842987e46d661b6ad87a8da723a7
526f4cd09c Remove return type in case of never in RemoveUselessReturnTagRector (#5323)
2023-12-04 14:51:16 +00:00
Tomas Votruba 6cba20638d Updated Rector to commit 80cf5781c3bf477076753e2a0c2890ae0ecbb4c1
80cf5781c3 [DeadCode] Remove useless nullable @return doc on RemoveUselessReturnTagRector (#5321)
2023-12-04 05:22:37 +00:00
Tomas Votruba ee373e619a Updated Rector to commit 41729c25cb33ec5219433d5e101d6d54ed4045a2
41729c25cb [DeadCode] Skip @return never with void on  RemoveUselessReturnTagRector (#5320)
2023-12-04 01:56:17 +00:00
Tomas Votruba ab4ff53673 Updated Rector to commit 026398c9e1078cb3ac5cac41767b620872166859
026398c9e1 Remove return type in case of void in RemoveUselessReturnTagRector (#5318)
2023-12-03 19:10:14 +00:00
Tomas Votruba 3ef06bdaf4 Updated Rector to commit be924be778eeceffa6105ab330ea7eb366ebb44b
be924be778 [TypeDeclaration] Add If else assign support on TypedPropertyFromAssignsRector (#5314)
2023-12-03 11:18:10 +00:00
Tomas Votruba 5479401552 Updated Rector to commit e2ba601e7ca2e8d602bfc2ffa36bf60a88b1a1f0
e2ba601e7c [DeadCode] Skip return false pseudo type in union on RemoveUselessReturnTagRector (#5172)
2023-10-15 02:06:32 +00:00
Tomas Votruba 549bed6da9 Updated Rector to commit b3639f72d73d9471ea8a843f93eb2ca61cd54a56
b3639f72d7 Update docblock only when changed, directly in rector rule (#4986)
2023-09-11 13:16:45 +00:00
Tomas Votruba 28c16a1c00 Updated Rector to commit d5f399eee5709932b579d41e3799c3097bbc101f
d5f399eee5 [DeadCode] Remove @return void on return self on RemoveUselessReturnTagRector (#4894)
2023-09-02 15:59:59 +00:00
Tomas Votruba fd27dcf231 Updated Rector to commit a4bc873216f6d468524f95ca2746224c48311c2e
a4bc873216 cs
2023-08-10 12:16:13 +00:00
Tomas Votruba 852f522cbd Updated Rector to commit f4b71a5406b7a79e7fa09659c6a1ca0014a558e1
f4b71a5406 [TypeDeclaration] Use native type detection instead of docblock on AssignToPropertyTypeInferer for TypedPropertyFromAssignsRector (#4754)
2023-08-10 12:12:18 +00:00
Tomas Votruba 37853424d5 Updated Rector to commit 715a047989a3b2def0f9e62879c906da61e39cc6
715a047989 Skip description on same line, remove on next line as based on phpdoc-parser in RemoveUselessParamTagRector (#4551)
2023-07-20 12:07:25 +00:00
Tomas Votruba 2042d4bd59 Updated Rector to commit 6488506a36f117e947056eff9f27157a82bf102b
6488506a36 [DeadCode] Remove parent lookup on DeadReturnTagValueNodeAnalyzer (#4235)
2023-06-16 03:38:29 +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 83531b9b9d Updated Rector to commit 4ac2cf87c569ec8ebea4d631d684439c16dd296d
4ac2cf87c5 [Restoration] Remove RemoveFinalFromEntityRector as used only to revert very old Rector bug (#3847)
2023-05-14 15:50:50 +00:00
Tomas Votruba 98e78b2b7c Updated Rector to commit ec61753f20dbabd4b4b350f9d7a994ac61315e82
ec61753f20 [PHP 8.0] Deprecate old UnionTypesRector that is dangerously moving docblocks, use type declaration rules instead (#3846)
2023-05-14 15:41:53 +00:00
Tomas Votruba 2300088c0b Updated Rector to commit 08660ad7077c86c3c86e7d1cbd14d9d7d71cb450
08660ad707 Use isFloat() (#3594)
2023-04-09 00:39:59 +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 7e939b3a17 Updated Rector to commit 91ddd680c78eacc11006126398d64c4b97d38694
91ddd680c7 [TypeDeclaration] Remove unused intersection docblock on nullable intersection on TypedPropertyFromAssignsRector (#3373)
2023-02-12 18:36:15 +00:00
Tomas Votruba 1044a9f5fe Updated Rector to commit db4ec0218f0ad9670790d5725c98bbb34120a97e
db4ec0218f [TypeDeclaration] Handle nullable intersection on TypedPropertyFromAssignsRector (#3372)
2023-02-12 17:34:35 +00:00
Tomas Votruba b607ae2a53 Updated Rector to commit 0d6234b584f14d25e02c8c97afac7f6374aa306c
0d6234b584 [DeadCode] Skip standalone @return false or true on RemoveUselessReturnTagRector (#3202)
2022-12-15 14:08:31 +00:00
Tomas Votruba 2a553a9afd Updated Rector to commit 3dea2bdc4de76d217cc2d67cce4ccb41d2b4c7f3
3dea2bdc4d skip false positive chagne report on RemoveUselessParamTagRector (#3151)
2022-12-04 13:35:33 +00:00
Tomas Votruba afd984fc4e Updated Rector to commit b8c70125cda3a0fbdff216dfccaf065d8fe1aa2b
b8c70125cd [phpstan] Resolve duplicated methods (#2869)
2022-08-31 09:31:19 +00:00
Tomas Votruba 5edd3689a8 Updated Rector to commit bb59a7c99ad30770689fe011c89377402bf6c7ba
bb59a7c99a [DX] Inline symplify/astral to use only active classes (#2851)
2022-08-29 20:49:28 +00:00
Tomas Votruba f7bb838601 Updated Rector to commit f0425bc3cb3d5855da1bff9c38b872a9003e357b
f0425bc3cb Improve scope, PHPStan extension types (#2747)
2022-08-09 13:39:17 +00:00
Tomas Votruba 1d28ca109c Updated Rector to commit 5ec4cff203f68d9578719b54ce3a145efb32bc79
5ec4cff203 [Php56] Handle jump not Expression stmt next initialized on AddDefaultValueForUndefinedVariableRector (#2725)
2022-08-02 06:46:18 +00:00
Tomas Votruba 6d34684c5a Updated Rector to commit 69d3c92b00fd4cd4f435cd8974e5547251b5065e
69d3c92b00 [Php80] Add MixedTypeRector (#2701)
2022-07-27 08:28:59 +00:00
Tomas Votruba fbc13bfea3 Updated Rector to commit e6e5895517eb301f3fa3b00759b06876cacde836
e6e5895517 [Naming] Skip used in arrow function args on RenameVariableToMatchMethodCallReturnTypeRector (#2599)
2022-07-01 07:39:49 +00:00
Tomas Votruba dd31e833a9 Updated Rector to commit ce1c29184d
ce1c29184d [scoped] change only year and month, to make diff esaier to see; autoload is handled already
2022-06-11 12:27:46 +00:00
Tomas Votruba b4891e547c Updated Rector to commit a5340c6f06
a5340c6f06 [Renaming] Do not rename docblock same name not found in use inside namespace (#2471)
2022-06-11 11:59:10 +00:00
Tomas Votruba a9ffd906d7 Updated Rector to commit 368dbb048c
368dbb048c docs: fix instruction in CONTRIBUTING.md (#2470)
2022-06-10 05:55:49 +00:00
Tomas Votruba 7e1e20e9f2 Updated Rector to commit 17b86d4b77
17b86d4b77 [CodeQuality] Remove unnecessary check next return removed no SimplifyIfElseToTernaryRector (#2457)
2022-06-09 06:07:50 +00:00
Tomas Votruba e8d4384fe8 Updated Rector to commit 6c8b3dc9f8
6c8b3dc9f8 [DeadCode][PHPUnit] handle crash on RemoveJustPropertyFetchForAssignRector+SimplifyForeachInstanceOfRector (#2453)
2022-06-08 05:54:40 +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 91f5aab952 Updated Rector to commit 4f07a4f30f
4f07a4f30f [Php74] Remove ReservedFnFunctionRector (#2447)
2022-06-07 06:40:10 +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