Code Coverage |
||||||||||||||||
Lines |
Branches |
Paths |
Functions and Methods |
Classes and Traits |
||||||||||||
| Total | |
0.00% |
0 / 6 |
|
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
| Php | |
0.00% |
0 / 6 |
|
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
| execute | |
0.00% |
0 / 6 |
|
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| 1 | <?php |
| 2 | |
| 3 | namespace App\Service\ApplicationInfo; |
| 4 | |
| 5 | class Php extends Lib |
| 6 | { |
| 7 | /** |
| 8 | * @var string[] |
| 9 | */ |
| 10 | public array $requiredextensions = [ |
| 11 | 'Zend OPcache', |
| 12 | 'ctype', |
| 13 | 'curl', |
| 14 | 'dom', |
| 15 | 'fileinfo', |
| 16 | 'gd', |
| 17 | 'iconv', |
| 18 | 'intl', |
| 19 | 'json', |
| 20 | 'mbstring', |
| 21 | 'mysqli', |
| 22 | 'PDO', |
| 23 | 'SimpleXML', |
| 24 | 'soap', |
| 25 | 'tokenizer', |
| 26 | 'xml', |
| 27 | 'xmlwriter', |
| 28 | 'zip', |
| 29 | 'mysqli', |
| 30 | 'pdo_mysql', |
| 31 | 'xmlreader', |
| 32 | 'gd', |
| 33 | 'sodium', |
| 34 | ]; |
| 35 | |
| 36 | public function execute(): void |
| 37 | { |
| 38 | $this->resetCache(); |
| 39 | $this->testVersion(); |
| 40 | $this->testExtensions($this->requiredextensions); |
| 41 | $this->envReport(); |
| 42 | $this->testDirectory(); |
| 43 | $this->testDB($this->env['APP_DATABASE_URL'], 'SELECT * FROM parameter'); |
| 44 | } |
| 45 | } |