Renamed the 'lib' folder to 'src'

This commit is contained in:
Cédric Belin
2019-04-02 11:23:19 +02:00
parent a524382b55
commit 3a33d37d48
17 changed files with 5 additions and 5 deletions

View File

@ -0,0 +1,36 @@
<?php declare(strict_types=1);
namespace Gitea\Models;
use Enum\{EnumTrait};
/**
* Defines the state of a Gitea status.
*/
final class StatusState {
use EnumTrait;
/**
* @var string The status is an error.
*/
const ERROR = 'error';
/**
* @var string The status is a failure.
*/
const FAILURE = 'failure';
/**
* @var string The status is pending.
*/
const PENDING = 'pending';
/**
* @var string The status is a success.
*/
const SUCCESS = 'success';
/**
* @var string The status is a warning.
*/
const WARNING = 'warning';
}