These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | class EcommerceNutritionalProductsTest extends SapphireTest { |
||
3 | |||
4 | protected $usesDatabase = false; |
||
5 | |||
6 | protected $requiredExtensions = array(); |
||
7 | |||
8 | public function TestDevBuild() |
||
9 | { |
||
10 | shell_exec('php framework/cli-script dev/build flush=all', $output, $exitStatus); |
||
0 ignored issues
–
show
|
|||
11 | $this->assertEquals(0, $exitStatus); |
||
0 ignored issues
–
show
The method
assertEquals() does not seem to exist on object<EcommerceNutritionalProductsTest> .
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...
|
|||
12 | } |
||
13 | |||
14 | } |
||
15 | |||
16 |
This check marks access to variables or properties that have not been declared yet. While PHP has no explicit notion of declaring a variable, accessing it before a value is assigned to it is most likely a bug.