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 66use ReflectionMethod ;
77use Symfony \Component \HttpFoundation \Request ;
88use function class_exists ;
9+ use function interface_exists ;
910use function strpos ;
1011
1112class ExtensionTest extends TypeInferenceTestCase
@@ -14,14 +15,12 @@ class ExtensionTest extends TypeInferenceTestCase
1415 /** @return mixed[] */
1516 public function dataFileAsserts (): iterable
1617 {
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 ' );
2019
20+ if (interface_exists ('Symfony\Component\Messenger\Handler\MessageSubscriberInterface ' )) {
2121 yield from $ this ->gatherAssertTypes (__DIR__ . '/data/messenger_handle_trait_with_subscriber.php ' );
2222 }
2323
24- yield from $ this ->gatherAssertTypes (__DIR__ . '/data/messenger_handle_trait.php ' );
2524 yield from $ this ->gatherAssertTypes (__DIR__ . '/data/envelope_all.php ' );
2625 yield from $ this ->gatherAssertTypes (__DIR__ . '/data/header_bag_get.php ' );
2726 yield from $ this ->gatherAssertTypes (__DIR__ . '/data/response_header_bag_get_cookies.php ' );
You can’t perform that action at this time.
0 commit comments