golden hour
/opt/cpanel/ea-wappspector/vendor/phpunit/php-code-coverage/src/Report/Html
⬆️ Go Up
Upload
File/Folder
Size
Actions
Colors.php
1.7 KB
Del
OK
CustomCssFile.php
1.07 KB
Del
OK
Facade.php
5.28 KB
Del
OK
Renderer
-
Del
OK
Renderer.php
9.99 KB
Del
OK
Edit: Colors.php
<?php declare(strict_types=1); /* * This file is part of phpunit/php-code-coverage. * * (c) Sebastian Bergmann <sebastian@phpunit.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace SebastianBergmann\CodeCoverage\Report\Html; /** * @psalm-immutable */ final class Colors { private readonly string $successLow; private readonly string $successMedium; private readonly string $successHigh; private readonly string $warning; private readonly string $danger; public static function default(): self { return new self('#dff0d8', '#c3e3b5', '#99cb84', '#fcf8e3', '#f2dede'); } public static function from(string $successLow, string $successMedium, string $successHigh, string $warning, string $danger): self { return new self($successLow, $successMedium, $successHigh, $warning, $danger); } private function __construct(string $successLow, string $successMedium, string $successHigh, string $warning, string $danger) { $this->successLow = $successLow; $this->successMedium = $successMedium; $this->successHigh = $successHigh; $this->warning = $warning; $this->danger = $danger; } public function successLow(): string { return $this->successLow; } public function successMedium(): string { return $this->successMedium; } public function successHigh(): string { return $this->successHigh; } public function warning(): string { return $this->warning; } public function danger(): string { return $this->danger; } }
Save