sunnysideup /
silverstripe-modulechecks
| 1 | <?php |
||
| 2 | |||
| 3 | class ModulechecksTest extends SapphireTest |
||
| 4 | { |
||
| 5 | protected $usesDatabase = false; |
||
| 6 | |||
| 7 | protected $requiredExtensions = array(); |
||
| 8 | |||
| 9 | public function TestDevBuild() |
||
| 10 | { |
||
| 11 | $exitStatus = shell_exec('php framework/cli-script.php dev/build flush=all > dev/null; echo $?'); |
||
| 12 | $exitStatus = intval(trim($exitStatus)); |
||
| 13 | $this->assertEquals(0, $exitStatus); |
||
|
0 ignored issues
–
show
|
|||
| 14 | } |
||
| 15 | } |
||
| 16 |
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.