The method assertEquals() does not seem to exist on object<RegistryPageTest>.
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...
17
}
18
19
public function testPageLengthFieldOverridesDefault() {
The method assertEquals() does not seem to exist on object<RegistryPageTest>.
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.
The method assertEquals() does not seem to exist on object<RegistryPageTest>.
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.
The method assertInstanceOf() does not seem to exist on object<RegistryPageTest>.
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.
According to PSR2, the closing brace of classes should be placed on the next line directly after the body.
Below you find some examples:
// Incorrect placement according to PSR2classMyClass{publicfunctionfoo(){}// This blank line is not allowed.}// CorrectclassMyClass{publicfunctionfoo(){}// No blank lines after this line.}
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.