Commit Graph

14578 Commits

Author SHA1 Message Date
Tomas Votruba
e4686081a5 Updated Rector to commit 29935703b1f53a5588adece78f23c53b5b07fec4
29935703b1 keep RELEASE_DATE const as part of public api (#2596)
2022-06-30 14:09:44 +00:00
Tomas Votruba
8582284513 Updated Rector to commit ed92724c846790f1bab66cd81b3e20a6561694ed
ed92724c84 [DX] Try unused public const PHPStan rule (#2595)
2022-06-30 13:57:27 +00:00
Tomas Votruba
4f6ff772bb Updated Rector to commit 82b24679cd1763f610b5356684766658ab9a80fa
82b24679cd [DeadCode] Handle anonymous and arrow function uses in RemoveJustPropertyFetchRector (#2592)
2022-06-30 13:32:41 +00:00
Tomas Votruba
26c0e5c79b Updated Rector to commit 143f743d4ffb63b8fa6649841782d6d48735d472
143f743d4f [DX] Add MissingInSetCommand, to verify what rules are not part of their sets (#2594)
2022-06-30 13:31:25 +00:00
Tomas Votruba
ff3ea12e20 Updated Rector to commit 09df9d00bd01094d8e5921a2aadd9f6298f333be
09df9d00bd [DeadCode] Handle collection of Case_ on RemoveUnreachableStatementRector (#2593)
2022-06-30 12:46:02 +00:00
Tomas Votruba
b3b9e9867d Updated Rector to commit 945fcc81ba3030f276e0a2d0cc8dd554e5e3171e
945fcc81ba [DeadCode] Handle always terminated Switch_ on RemoveUnreachableStatementRector (#2591)
2022-06-30 08:03:44 +00:00
Tomas Votruba
d6e035e01a Updated Rector to commit 7c8b23b02d
7c8b23b02d [CodeQuality] Add TernaryFalseExpressionToIfRector (#2590)
2022-06-29 16:03:56 +00:00
Tomas Votruba
39d9381da5 Updated Rector to commit 407ad5fc5e
407ad5fc5e remove unused reference
2022-06-29 15:03:44 +00:00
Tomas Votruba
3574bf6399 Rector 0.13.7 2022-06-29 12:00:57 +00:00
Tomas Votruba
b8ba3df855 Updated Rector to commit 4ef72542a3
4ef72542a3 fix static
2022-06-29 12:00:10 +00:00
Tomas Votruba
19c1fb9829 Updated Rector to commit 87b3ad56dd
87b3ad56dd Remove SmartFileInfo registration in bootstrap.php (#2589)
2022-06-29 11:52:41 +00:00
Tomas Votruba
f0abc6fd73 Updated Rector to commit 250bcbbd2f
250bcbbd2f Bump PHPStan to 1.8 (#2588)
2022-06-29 11:05:24 +00:00
Tomas Votruba
6f73a90692 Updated Rector to commit d1807682bf
d1807682bf [Core] Apply auto fallback to use Scope from File when Node both doesnot has parent Node and Scope (#2587)
2022-06-29 09:55:25 +00:00
Tomas Votruba
7cf1d35492 Updated Rector to commit 1d037d151f
1d037d151f Clean up phpstan ignore errors (#2584)
2022-06-28 16:44:22 +00:00
Tomas Votruba
0b6c455d19 Updated Rector to commit 719191352d
719191352d clean up tweak package test workflow (#2583)
2022-06-28 14:46:16 +00:00
Tomas Votruba
846aa2b4c2 Updated Rector to commit e97dd8f360
e97dd8f360 Use rector downgrade php (#2582)
2022-06-28 12:42:29 +00:00
Tomas Votruba
bebb65659c Updated Rector to commit 92621698c2
92621698c2 [DX] Move UnionTypeFactory to NodeTypeResolver packages (#2581)
2022-06-27 20:29:12 +00:00
Tomas Votruba
f2b6b30624 Updated Rector to commit e81691f1c6
e81691f1c6 [DowngradePhp80] Add DowngradeMixedTypeTypedPropertyRector (#2579)
2022-06-27 12:30:57 +00:00
Tomas Votruba
ec6f7db42d Updated Rector to commit 89a684f2b7
89a684f2b7 [Core] Apply Scope refresh for Namespace_ and FileWithoutNamespace (#2569)
2022-06-27 08:32:39 +00:00
Tomas Votruba
69f0d6887b Updated Rector to commit 0a644b148b
0a644b148b [TypeDeclaration] Measure complexity by array shape nesting (#2576)
2022-06-26 15:09:52 +00:00
Tomas Votruba
34a79bec5d Updated Rector to commit 59ed8480e4
59ed8480e4 [TypeDeclaration] Add more precise array type doc (#2575)
2022-06-26 14:43:06 +00:00
Tomas Votruba
b2e913a042 Updated Rector to commit a11dd6a534
a11dd6a534 [TypeDeclaration] Add more precise array type doc (#2574)
2022-06-26 14:05:53 +00:00
Tomas Votruba
0522de2970 Updated Rector to commit cf8cbcd4cb
cf8cbcd4cb [Core] Refactor CreatedByRuleDecorator to only set CREATED_BY_RULE on target Node when class is equals (#2573)
2022-06-26 13:53:02 +00:00
Tomas Votruba
2e275ef1ff Updated Rector to commit 78d110af4c
78d110af4c [TypeDeclaration] Add ReturnTypeFromStrictNewArrayRector (#2572)
2022-06-26 11:48:44 +00:00
Tomas Votruba
68845a00bf Updated Rector to commit 80715e62b5
80715e62b5 [CodeQuality] Drop ArrayThisCallToThisMethodCallRector as changes behavior and better handled by FirstClassCallableRector (#2571)
2022-06-26 10:18:31 +00:00
Tomas Votruba
65284cc98a Updated Rector to commit 237f255023
237f255023 [TypeDeclaration] Add ReturnTypeFromStrictNativeFuncCallRector (#2570)
2022-06-26 10:02:03 +00:00
Tomas Votruba
13fb2e3eb1 Updated Rector to commit e42466004e
e42466004e [types] Skip test case in ArrayShapeFromConstantArrayReturnRector (#2568)
2022-06-25 20:03:31 +00:00
Tomas Votruba
fce82edc61 Updated Rector to commit f517e29acd
f517e29acd fix return type to PHP 7.0
2022-06-25 19:37:16 +00:00
Tomas Votruba
156b4d421d Updated Rector to commit 4121a5da62
4121a5da62 [TypeDeclaration] Add multi return support to ReturnTypeFromStrictReturnExprRector (#2567)
2022-06-25 16:48:22 +00:00
Tomas Votruba
b0a44e83a2 Updated Rector to commit c6fe564d27
c6fe564d27 [TypeDeclaration] Handle inner function Yield and Return_ on ReturnTypeFromStrictReturnExprRector (#2566)
2022-06-25 16:33:06 +00:00
Tomas Votruba
a0705ea3d6 Updated Rector to commit 6845975035
6845975035 [Core] Replace deprecated ->enterCatch() with enterCatchType() (#2548)
2022-06-25 16:12:40 +00:00
Tomas Votruba
582aecc7dd Updated Rector to commit 237f603c81
237f603c81 Skip all but exactly one return (#2565)
2022-06-25 16:12:31 +00:00
Tomas Votruba
fcc93743fa Updated Rector to commit 82f1bb30c2
82f1bb30c2 [Core] Handle Scope not available on CallableThisArrayToAnonymousFunctionRector+CountArrayToEmptyArrayComparisonRector (#2552)
2022-06-25 16:12:12 +00:00
Tomas Votruba
f8d669f3e6 Updated Rector to commit dcad222eb7
dcad222eb7 [Core] Handle Scope not available on DowngradeArrayIsListRector+DowngradePregUnmatchedAsNullConstantRector (#2556)
2022-06-25 16:11:22 +00:00
Tomas Votruba
dcc41f4563 Updated Rector to commit 7391b856dd
7391b856dd rebuild docs
2022-06-25 15:02:55 +00:00
Tomas Votruba
552fa76d7c Updated Rector to commit 859999c33a
859999c33a require at least PHP 7.4
2022-06-25 14:55:09 +00:00
Tomas Votruba
535101d1ee Updated Rector to commit ac7b2d4783
ac7b2d4783 Extract bool type analyzer (#2564)
2022-06-25 14:47:31 +00:00
Tomas Votruba
c10f29b7bb Updated Rector to commit 42707709f7
42707709f7 [TypeDeclaration] Kick off ReturnTypeFromStrictReturnExprRector (#2563)
2022-06-25 14:38:11 +00:00
Tomas Votruba
a0db66f4be Updated Rector to commit 564c127680
564c127680 [fix] Skip doc-types in ReturnStrictTypeAnalyzer (#2562)
2022-06-25 13:21:09 +00:00
Tomas Votruba
4682eeff15 Updated Rector to commit 24d2250c59
24d2250c59 [Parallel] Display stack trace on --debug on parallel (#2561)
2022-06-25 06:53:01 +00:00
Tomas Votruba
b27efafdc1 Updated Rector to commit 38b6b60b24
38b6b60b24 Clean MethodToMethodCallRector (#2554)
2022-06-24 11:11:40 +00:00
Tomas Votruba
baf7c2cd12 Updated Rector to commit 9a683effa9
9a683effa9 Fix @return on StaticDoctrineAnnotationParser and PlainValueParser (#2560)
2022-06-24 05:46:03 +00:00
Tomas Votruba
8643b18ecc Updated Rector to commit bab38355ae
bab38355ae [TypeDeclaration] Skip string type override nullable string return on AddReturnTypeDeclarationRector (#2559)
2022-06-23 20:42:36 +00:00
Tomas Votruba
a74b851a08 Updated Rector to commit 2907687792
2907687792 Fix @return on StaticDoctrineAnnotationParser::resolveAnnotationValue() (#2558)
2022-06-23 20:27:42 +00:00
Tomas Votruba
4522848db4 Updated Rector to commit 005ca33bcb
005ca33bcb [DowngradePhp80] Do not change correct Union array docblock to mixed[] on DowngradeUnionTypeDeclarationRector (#2555)
2022-06-22 22:21:39 +00:00
Tomas Votruba
5c1a3199d3 Updated Rector to commit 574e000de6
574e000de6 [Php54] Add MethodCall and StaticCall support on RemoveReferenceFromCallRector (#2553)
2022-06-22 11:51:58 +00:00
Tomas Votruba
7667c349a1 Updated Rector to commit 6c0332cd60
6c0332cd60 [PSR4] Do not remove declare(strict_types=1) on NormalizeNamespaceByPSR4ComposerAutoloadRector (#2551)
2022-06-22 07:49:49 +00:00
Tomas Votruba
09d862a443 Updated Rector to commit 83f2b16f0c
83f2b16f0c [cs] add static lambda rule [closes #2514]
2022-06-21 23:59:33 +00:00
Tomas Votruba
138ae66a5b Updated Rector to commit 83f2b16f0c
83f2b16f0c [cs] add static lambda rule [closes #2514]
2022-06-21 15:38:46 +00:00
Tomas Votruba
3e494a7524 Rector 0.13.6 2022-06-21 15:26:14 +00:00