It seems like assertContains() must be provided by classes using this trait. How about adding it as abstract method to this trait?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
13
$this->/** @scrutinizer ignore-call */
14
assertContains($name, $result);
Loading history...
14
}
15
16
/**
17
* @dataProvider expectedFields
18
*/
19
public function testSettersAndGetters($name, $value = 'foo')
It seems like assertSetterExists() must be provided by classes using this trait. How about adding it as abstract method to this trait?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
It seems like assertGetterExists() must be provided by classes using this trait. How about adding it as abstract method to this trait?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation