Skip to content

Commit 3f62618

Browse files
authored
Restore tests/rules/UnresolvableQueryMethodRuleTest.php
1 parent 1748524 commit 3f62618

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

tests/rules/UnresolvableQueryMethodRuleTest.php

+2-15
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
use PHPStan\Testing\RuleTestCase;
99
use staabm\PHPStanDba\QueryReflection\QueryReflection;
1010
use staabm\PHPStanDba\Rules\SyntaxErrorInQueryMethodRule;
11-
use staabm\PHPStanDba\UnresolvableQueryInvalidAfterSimulationException;
1211
use staabm\PHPStanDba\UnresolvableQueryMixedTypeException;
1312
use staabm\PHPStanDba\UnresolvableQueryStringTypeException;
1413

@@ -72,23 +71,11 @@ public function testBug536(): void
7271

7372
public function testBug548(): void
7473
{
75-
$this->analyse([__DIR__ . '/data/bug-548.php'], [
76-
[
77-
'Unresolvable Query: Seems the query is too dynamic to be resolved by query simulation.',
78-
10,
79-
UnresolvableQueryInvalidAfterSimulationException::getTip(),
80-
],
81-
]);
74+
$this->analyse([__DIR__ . '/data/bug-548.php'], []);
8275
}
8376

8477
public function testBug547(): void
8578
{
86-
$this->analyse([__DIR__ . '/data/bug-547.php'], [
87-
[
88-
'Unresolvable Query: Seems the query is too dynamic to be resolved by query simulation.',
89-
10,
90-
UnresolvableQueryInvalidAfterSimulationException::getTip(),
91-
],
92-
]);
79+
$this->analyse([__DIR__ . '/data/bug-547.php'], []);
9380
}
9481
}

0 commit comments

Comments
 (0)