![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/allure-framework/allure-php-commons/src/Model/ |
<?php namespace Qameta\Allure\Model; use JsonSerializable; final class Status extends AbstractEnum implements JsonSerializable { private const FAILED = 'failed'; private const BROKEN = 'broken'; private const PASSED = 'passed'; private const SKIPPED = 'skipped'; public static function failed(): self { return self::create(self::FAILED); } public static function broken(): self { return self::create(self::BROKEN); } public static function passed(): self { return self::create(self::PASSED); } public static function skipped(): self { return self::create(self::SKIPPED); } public function jsonSerialize(): string { return (string) $this; } }