14486 Commits

Author SHA1 Message Date
Tomas Votruba
9a39eb02a3
remove old docs file 2022-07-02 09:35:21 +02:00
Tomas Votruba
824b5c7f9b
remove old docs 2022-07-02 09:34:43 +02:00
Tomas Votruba
7b91c0386b Updated Rector to commit 3e66b4a6348e2d106dc714760c946003bdc9807d
3e66b4a634 add multi args acceptor (#2605)
2022-07-01 14:24:55 +00:00
Tomas Votruba
84dff4485c Updated Rector to commit 12f380b343bc991d5b138206d68cd244d0aca776
12f380b343 Add edge cases to skip (#2604)
2022-07-01 13:50:24 +00:00
Tomas Votruba
2524b7ef68 Updated Rector to commit 89a7a4dfbb3e05a306c0f5b9950c28588d4f2af9
89a7a4dfbb [TypeDeclaration] Add ReturnTypeFromStrictScalarReturnExprRector (#2601)
2022-07-01 13:42:45 +00:00
Tomas Votruba
9b93bb7c42 Updated Rector to commit ed8e26eb3bb471b93c20b3b10c431f13a543cbaa
ed8e26eb3b rebuild docs
2022-07-01 07:44:56 +00:00
Tomas Votruba
8c4e269a9d Updated Rector to commit 6be87763cbe27e0c20d3923df0efe629e5cae6f8
6be87763cb [CodeQuality] Remove DateTimeToDateTimeInterfaceRector as mostly opinionated and way too much generics (#2598)
2022-07-01 07:42:17 +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
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 7c8b23b02d49c397deb2cf194f0e0bfeef6ea90c
7c8b23b02d [CodeQuality] Add TernaryFalseExpressionToIfRector (#2590)
2022-06-29 16:03:56 +00:00
Tomas Votruba
39d9381da5 Updated Rector to commit 407ad5fc5e4766fcc41043b0c8558b98aa08caea
407ad5fc5e remove unused reference
2022-06-29 15:03:44 +00:00
Tomas Votruba
3574bf6399 Rector 0.13.7 0.13.7 2022-06-29 12:00:57 +00:00
Tomas Votruba
b8ba3df855 Updated Rector to commit 4ef72542a3d609eb0ba367cb2a00af7894fc50f0
4ef72542a3 fix static
2022-06-29 12:00:10 +00:00
Tomas Votruba
19c1fb9829 Updated Rector to commit 87b3ad56dd568ad4c17daafdca20c5aa865e2108
87b3ad56dd Remove SmartFileInfo registration in bootstrap.php (#2589)
2022-06-29 11:52:41 +00:00
Tomas Votruba
f0abc6fd73 Updated Rector to commit 250bcbbd2fd23f9dcbb697640dd40dee78aadc66
250bcbbd2f Bump PHPStan to 1.8 (#2588)
2022-06-29 11:05:24 +00:00
Tomas Votruba
6f73a90692 Updated Rector to commit d1807682bf00aeb1cbe87756a897b7ff77bd2bf5
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 1d037d151f713a2568159a3aad82121cbd076883
1d037d151f Clean up phpstan ignore errors (#2584)
2022-06-28 16:44:22 +00:00
Tomas Votruba
0b6c455d19 Updated Rector to commit 719191352dfaca9a04916c194c914cc3e15e8949
719191352d clean up tweak package test workflow (#2583)
2022-06-28 14:46:16 +00:00
Tomas Votruba
846aa2b4c2 Updated Rector to commit e97dd8f3607c8f0d038ef630f6e4bc5bccf58a89
e97dd8f360 Use rector downgrade php (#2582)
2022-06-28 12:42:29 +00:00
Tomas Votruba
bebb65659c Updated Rector to commit 92621698c22c5ea04799c1233f9522cdf7ac651d
92621698c2 [DX] Move UnionTypeFactory to NodeTypeResolver packages (#2581)
2022-06-27 20:29:12 +00:00
Tomas Votruba
f2b6b30624 Updated Rector to commit e81691f1c68a976c1589830642cd45873389d962
e81691f1c6 [DowngradePhp80] Add DowngradeMixedTypeTypedPropertyRector (#2579)
2022-06-27 12:30:57 +00:00
Tomas Votruba
ec6f7db42d Updated Rector to commit 89a684f2b79f746464051f751e7291e5a2591ce2
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 0a644b148b39ee4adfde45519622b7cd9e4ef0d6
0a644b148b [TypeDeclaration] Measure complexity by array shape nesting (#2576)
2022-06-26 15:09:52 +00:00
Tomas Votruba
34a79bec5d Updated Rector to commit 59ed8480e4420fecc1bb0fb14a71bee5d562a38b
59ed8480e4 [TypeDeclaration] Add more precise array type doc (#2575)
2022-06-26 14:43:06 +00:00
Tomas Votruba
b2e913a042 Updated Rector to commit a11dd6a534d973b0524ce8f7ba221cf7ba82fe6e
a11dd6a534 [TypeDeclaration] Add more precise array type doc (#2574)
2022-06-26 14:05:53 +00:00
Tomas Votruba
0522de2970 Updated Rector to commit cf8cbcd4cb6a55961800f3d664c6098307c0e0df
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 78d110af4c8dc8df0b335cbbc857087cd260b55a
78d110af4c [TypeDeclaration] Add ReturnTypeFromStrictNewArrayRector (#2572)
2022-06-26 11:48:44 +00:00
Tomas Votruba
68845a00bf Updated Rector to commit 80715e62b5da2ad57bd7bc0fbf4be78a12e5e6fa
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 237f255023d122d970f9a567dc4685db9c56b978
237f255023 [TypeDeclaration] Add ReturnTypeFromStrictNativeFuncCallRector (#2570)
2022-06-26 10:02:03 +00:00
Tomas Votruba
13fb2e3eb1 Updated Rector to commit e42466004ebbbbcfdeff4b7afebdfa8c8b092348
e42466004e [types] Skip test case in ArrayShapeFromConstantArrayReturnRector (#2568)
2022-06-25 20:03:31 +00:00
Tomas Votruba
fce82edc61 Updated Rector to commit f517e29acd09ac6e050c3b9a1ae3a5fe85173f79
f517e29acd fix return type to PHP 7.0
2022-06-25 19:37:16 +00:00
Tomas Votruba
156b4d421d Updated Rector to commit 4121a5da62343fb8245780bd9051d1bae3357825
4121a5da62 [TypeDeclaration] Add multi return support to ReturnTypeFromStrictReturnExprRector (#2567)
2022-06-25 16:48:22 +00:00
Tomas Votruba
b0a44e83a2 Updated Rector to commit c6fe564d2732c8d2b7166d27741b395e34db5212
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 6845975035289df55f72cc710101fc9ae5d4ae1b
6845975035 [Core] Replace deprecated ->enterCatch() with enterCatchType() (#2548)
2022-06-25 16:12:40 +00:00
Tomas Votruba
582aecc7dd Updated Rector to commit 237f603c81d4bbbd0de22e5eebdf32f53902ee15
237f603c81 Skip all but exactly one return (#2565)
2022-06-25 16:12:31 +00:00
Tomas Votruba
fcc93743fa Updated Rector to commit 82f1bb30c2d77f97dfb4043bbd951c9d2e7224f9
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 dcad222eb70b83ce46d2d639393ca42aeaadd11a
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 7391b856dd7182b03ee8e5a850999d4f09e4bf7f
7391b856dd rebuild docs
2022-06-25 15:02:55 +00:00
Tomas Votruba
552fa76d7c Updated Rector to commit 859999c33a81789f0bd987e621b6af9f3e5f9cbc
859999c33a require at least PHP 7.4
2022-06-25 14:55:09 +00:00
Tomas Votruba
535101d1ee Updated Rector to commit ac7b2d478356a7ede03c0c6e34049bfcaaaee211
ac7b2d4783 Extract bool type analyzer (#2564)
2022-06-25 14:47:31 +00:00
Tomas Votruba
c10f29b7bb Updated Rector to commit 42707709f7ad4ab383d737c0bd6510e6c3609f1d
42707709f7 [TypeDeclaration] Kick off ReturnTypeFromStrictReturnExprRector (#2563)
2022-06-25 14:38:11 +00:00
Tomas Votruba
a0db66f4be Updated Rector to commit 564c12768040c63675985f005471a32a603e75d7
564c127680 [fix] Skip doc-types in ReturnStrictTypeAnalyzer (#2562)
2022-06-25 13:21:09 +00:00
Tomas Votruba
4682eeff15 Updated Rector to commit 24d2250c592ca4f443e256e5841ddba03f8c82ae
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 38b6b60b244a81b0e3b3bc181278f1295a645127
38b6b60b24 Clean MethodToMethodCallRector (#2554)
2022-06-24 11:11:40 +00:00
Tomas Votruba
baf7c2cd12 Updated Rector to commit 9a683effa916e5b0550ed4e26a399e6501959f03
9a683effa9 Fix @return on StaticDoctrineAnnotationParser and PlainValueParser (#2560)
2022-06-24 05:46:03 +00:00