Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
1 / 1 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
||
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | /** @license For full copyright and license information, please see the LICENSE.md file. */ |
| 6 | |
| 7 | namespace App\Core\Installer\Service; |
| 8 | |
| 9 | defined('AMMONLY_APP') || exit('Direct script access is forbidden.'); |
| 10 | |
| 11 | /** |
| 12 | * Contract for checking system and host environment requirements prior to installation. |
| 13 | * |
| 14 | * @package App\Core\Installer\Service |
| 15 | */ |
| 16 | interface SystemRequirementsCheckerInterface |
| 17 | { |
| 18 | /** |
| 19 | * Evaluates environment requirements. |
| 20 | * |
| 21 | * @return array{ |
| 22 | * passed: bool, |
| 23 | * php_version: string, |
| 24 | * extensions: list<string>, |
| 25 | * writable_dirs: list<string>, |
| 26 | * checks: array<string, array{status: bool, current: string, required: string}> |
| 27 | * } |
| 28 | */ |
| 29 | public function check(): array; |
| 30 | } |