Skip to content

Commit 457bee3

Browse files
committed
skip TypedPropertyFromAssignsRector
1 parent 3052914 commit 457bee3

1 file changed

Lines changed: 2 additions & 12 deletions

File tree

rector.php

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -121,18 +121,8 @@
121121
__DIR__ . '/tests/system/Email/EmailTest.php',
122122
],
123123

124-
TypedPropertyFromAssignsRector::class => [
125-
// union mixed bug @see https://github.com/rectorphp/rector/issues/7640
126-
__DIR__ . '/system/Model.php',
127-
__DIR__ . '/tests/system/API/ResponseTraitTest.php',
128-
__DIR__ . '/tests/system/Honeypot/HoneypotTest.php',
129-
__DIR__ . '/tests/system/Filters/HoneypotTest.php',
130-
__DIR__ . '/tests/system/Test/TestResponseTest.php',
131-
__DIR__ . '/tests/system/Database/Live/ConnectTest.php',
132-
133-
// new class extends Controller marked as object
134-
__DIR__ . '/tests/system/ControllerTest.php',
135-
],
124+
// buggy on union mixed type, new class extends SomeClass marked as object in union, and false replaced with bool in Union
125+
TypedPropertyFromAssignsRector::class,
136126
]);
137127

138128
// auto import fully qualified class names

0 commit comments

Comments
 (0)