The method assertStringContainsString() does not exist on UsageFinder\Tests\ConsoleTest.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
25
self::/** @scrutinizer ignore-call */
26
assertStringContainsString(
This check looks for calls to methods that do not seem to exist on a given type.
It looks for the method on the type itself as well as in inherited classes or
implemented interfaces.
This is most likely a typographical error or the method has been renamed.
Loading history...
26
'Searching for Doctrine\Common\Collections\Collection::slice in tests/example.',
27
$output
28
);
29
30
self::assertStringContainsString(
31
'Found usage in src/AppCode.php on line 14.',
32
$output
33
);
34
35
self::assertStringContainsString(
36
'->slice(0, 1);',
37
$output
38
);
39
40
self::assertStringContainsString(
41
'Found usage in src/AppCode.php on line 17.',
42
$output
43
);
44
45
self::assertStringContainsString(
46
'->slice(0, 2);',
47
$output
48
);
49
50
self::assertStringContainsString(
51
'Found usage in src/AppCode.php on line 20.',
52
$output
53
);
54
55
self::assertStringContainsString(
56
'->slice(0, 3);',
57
$output
58
);
59
60
self::assertRegExp('/Finished in (.*)ms/', $output);
The method assertRegExp() does not exist on UsageFinder\Tests\ConsoleTest.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
60
self::/** @scrutinizer ignore-call */
61
assertRegExp('/Finished in (.*)ms/', $output);
This check looks for calls to methods that do not seem to exist on a given type.
It looks for the method on the type itself as well as in inherited classes or
implemented interfaces.
This is most likely a typographical error or the method has been renamed.
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.