File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 6
6
use ReflectionMethod ;
7
7
use Symfony \Component \HttpFoundation \Request ;
8
8
use function class_exists ;
9
+ use function interface_exists ;
9
10
use function strpos ;
10
11
11
12
class ExtensionTest extends TypeInferenceTestCase
@@ -14,14 +15,12 @@ class ExtensionTest extends TypeInferenceTestCase
14
15
/** @return mixed[] */
15
16
public function dataFileAsserts (): iterable
16
17
{
17
- if (class_exists ('Symfony\Component\Messenger\Handler\MessageSubscriberInterface ' )) {
18
- // todo temporary check
19
- die ('test if case is triggered ' );
18
+ yield from $ this ->gatherAssertTypes (__DIR__ . '/data/messenger_handle_trait.php ' );
20
19
20
+ if (interface_exists ('Symfony\Component\Messenger\Handler\MessageSubscriberInterface ' )) {
21
21
yield from $ this ->gatherAssertTypes (__DIR__ . '/data/messenger_handle_trait_with_subscriber.php ' );
22
22
}
23
23
24
- yield from $ this ->gatherAssertTypes (__DIR__ . '/data/messenger_handle_trait.php ' );
25
24
yield from $ this ->gatherAssertTypes (__DIR__ . '/data/envelope_all.php ' );
26
25
yield from $ this ->gatherAssertTypes (__DIR__ . '/data/header_bag_get.php ' );
27
26
yield from $ this ->gatherAssertTypes (__DIR__ . '/data/response_header_bag_get_cookies.php ' );
You can’t perform that action at this time.
0 commit comments