Skip to content

Commit 5d11cea

Browse files
committed
fix
1 parent 8bede0a commit 5d11cea

File tree

3 files changed

+27
-1
lines changed

3 files changed

+27
-1
lines changed

tests/rules/UnresolvableQueryMethodRuleTest.php

+7-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,13 @@ public function testBug536(): void
7272

7373
public function testBug548(): void
7474
{
75-
$this->analyse([__DIR__ . '/data/bug-548.php'], []);
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+
]);
7682
}
7783

7884
public function testBug547(): void

tests/rules/config/.phpunit-phpstan-dba-mysqli.cache

+10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/rules/config/.phpunit-phpstan-dba-pdo-mysql.cache

+10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)