Commit Graph

14618 Commits

Author SHA1 Message Date
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
Tomas Votruba
c9b4c3f38d Updated Rector to commit 0fb4f5bfbb
0fb4f5bfbb [Core] Apply Scope Refresh on Enum_ (#2549)
2022-06-21 14:59:06 +00:00
Tomas Votruba
7e8b6a22aa Updated Rector to commit e8ca23fd15
e8ca23fd15 [Php81] NullToStrictStringFuncCallArgRector - Register more function (#2543)
2022-06-21 10:27:51 +00:00
Tomas Votruba
8c3b690acb Updated Rector to commit 79b25e861d
79b25e861d [DeadCode] Handle always terminated If_ ElseIf_[] Else_ on RemoveUnreachableStatementRector (#2547)
2022-06-21 10:20:21 +00:00
Tomas Votruba
7547ec311c Updated Rector to commit dd4064e431
dd4064e431 cleanup php-version bound tests, now under one version no need to separate (#2546)
2022-06-21 08:08:29 +00:00
Tomas Votruba
f638f7a12a Updated Rector to commit fe88fbb630
fe88fbb630 [PHP 8.1] Add FirstClassCallableRector (#2544)
2022-06-21 07:39:15 +00:00
Tomas Votruba
bb396cb5b1 Updated Rector to commit 6c713a776c
6c713a776c [DeadCode] Handle always terminated TryCatch on RemoveUnreachableStatementRector (#2545)
2022-06-21 06:34:28 +00:00
Tomas Votruba
9550950b4e Updated Rector to commit a16bc1b576
a16bc1b576 skip privatization, as unknown side effect (#2542)
2022-06-20 17:57:13 +00:00
Tomas Votruba
491ac4d181 Updated Rector to commit a16bc1b576
a16bc1b576 skip privatization, as unknown side effect (#2542)
2022-06-20 15:12:00 +00:00
Tomas Votruba
c1ace7d7d7 Updated Rector to commit d4ec140212
d4ec140212 [Php81] Skip str_replace() pass array subject on NullToStrictStringFuncCallArgRector (#2541)
2022-06-20 15:00:36 +00:00
Tomas Votruba
6df03b5f94 Updated Rector to commit d4ec140212
d4ec140212 [Php81] Skip str_replace() pass array subject on NullToStrictStringFuncCallArgRector (#2541)
2022-06-20 14:51:15 +00:00