<?php
/**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
*
* @license GNU AGPL version 3 or any later version
*
$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');
}