| Total Complexity | 3 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class BrowserOutputter implements IOutputter |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * https://github.com/php/php-src/tree/master/sapi |
||
| 15 | * PHP7以前のものは対応しない |
||
| 16 | * @var array |
||
| 17 | */ |
||
| 18 | private $sapis = [ |
||
| 19 | 'apache2handler' => 'http', |
||
| 20 | 'cgi' => 'http', |
||
| 21 | 'cli' => 'console', |
||
| 22 | 'fpm' => 'http', |
||
| 23 | 'embed' => 'unsupported', |
||
| 24 | 'litespeed' => 'unsupported', |
||
| 25 | 'phpdbg' => 'unsupported', |
||
| 26 | 'tests' => 'unsupported' |
||
| 27 | ]; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * {@inheritdoc} |
||
| 31 | */ |
||
| 32 | public function write(string $message) |
||
| 40 |