$this->config = $config;
}
- protected function doExecute()
+ protected function doExecute(): int
{
if ($this->getOption('v')) {
$this->out('Class: ' . __CLASS__);
$files = glob('mod/*.php');
$this->checkFiles($php_path, $files);
- if ($this->getOption('v')) {
- $this->out('Directory: include');
- }
-
- $files = glob('include/*.php');
- $this->checkFiles($php_path, $files);
-
if ($this->getOption('v')) {
$this->out('Directory: addon');
}