The method assertDatabaseHas() does not exist on Sfneal\Testing\Utils\Traits\AssertDatabase. Did you maybe mean assertDatabaseHasMany()?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
18
$this->/** @scrutinizer ignore-call */
19
assertDatabaseHas($table, $data);
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...
19
}
20
}
21
22
/**
23
* Assert that an array of records is missing in the database.
24
*
25
* @param Model|string $table
26
* @param array[] $records
27
*/
28
protected function assertDatabaseMissingMany($table, array $records)
The method assertDatabaseMissing() does not exist on Sfneal\Testing\Utils\Traits\AssertDatabase. Did you maybe mean assertDatabaseMissingMany()?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
31
$this->/** @scrutinizer ignore-call */
32
assertDatabaseMissing($table, $data);
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.