public removeCheck ( string $check ) | ||
$check | string |
public function removeCheck($check)
{
if (in_array($check, $this->checks)) {
$this->checks = array_diff($this->checks, [$check]);
}
}
protected function getCleanChecker() { $config = new Standard(TEST_ROOT); $check = new LowlevelChecks($config); $check->removeCheck('cache'); $check->configChecks = []; return $check; }