In camelCase names are written without any punctuation, the start of each new word
being marked by a capital letter. The whole name starts with a capital letter as well.
Thus the name database provider becomes DatabaseProvider.
Loading history...
22
{
23
/**
24
* {@inheritdoc}
25
*/
26
public function expectException($exception, $message = '', $code = null)
It seems like you call parent on a different method (expectExceptionMessage() instead of expectException()). Are you sure this is correct? If so, you might want to change this to $this->expectExceptionMessage().
This check looks for a call to a parent method whose name is different than
the method from which it is called.
It seems like you call parent on a different method (expectExceptionCode() instead of expectException()). Are you sure this is correct? If so, you might want to change this to $this->expectExceptionCode().
This check looks for a call to a parent method whose name is different than
the method from which it is called.
It seems like you call parent on a different method (setExpectedException() instead of expectException()). Are you sure this is correct? If so, you might want to change this to $this->setExpectedException().
This check looks for a call to a parent method whose name is different than
the method from which it is called.
It seems like you call parent on a different method (getMockBuilder() instead of createMock()). Are you sure this is correct? If so, you might want to change this to $this->getMockBuilder().
This check looks for a call to a parent method whose name is different than
the method from which it is called.
Classes in PHP are usually named in CamelCase.
In camelCase names are written without any punctuation, the start of each new word being marked by a capital letter. The whole name starts with a capital letter as well.
Thus the name database provider becomes
DatabaseProvider
.