diff --git a/tests/Type/WebMozartAssert/ImpossibleCheckTypeMethodCallRuleTest.php b/tests/Type/WebMozartAssert/ImpossibleCheckTypeMethodCallRuleTest.php index 92207d3..8d87a92 100644 --- a/tests/Type/WebMozartAssert/ImpossibleCheckTypeMethodCallRuleTest.php +++ b/tests/Type/WebMozartAssert/ImpossibleCheckTypeMethodCallRuleTest.php @@ -47,6 +47,11 @@ public function testExtension(): void ]); } + public function testBug68(): void + { + $this->analyse([__DIR__ . '/data/bug-68.php'], []); + } + public function testBug85(): void { $this->analyse([__DIR__ . '/data/bug-85.php'], []); diff --git a/tests/Type/WebMozartAssert/data/bug-68.php b/tests/Type/WebMozartAssert/data/bug-68.php new file mode 100644 index 0000000..ba7972e --- /dev/null +++ b/tests/Type/WebMozartAssert/data/bug-68.php @@ -0,0 +1,16 @@ +