Skip to content

Commit 22afddb

Browse files
committed
Restore tests/rules/UnresolvableQueryMethodRuleTest.php
1 parent 3dae45d commit 22afddb

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

tests/rules/UnresolvableQueryMethodRuleTest.php

Lines changed: 2 additions & 15 deletions
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,24 +71,12 @@ 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

9582
public function testBug676(): void

0 commit comments

Comments
 (0)