Corrected namespaces + Chnaged tab size to 4

+ Went through all the Model classes and updated their namespaces to match their parent folder name
+ Changed tab sizes to 4 spaces instead of 2 (in all php files)
This commit is contained in:
Benjamin Blake
2020-02-20 13:21:18 -07:00
parent b17224ce39
commit dcd2d8bdf3
15 changed files with 1679 additions and 1712 deletions

View File

@ -1,24 +1,24 @@
<?php declare(strict_types=1);
namespace Gitea\Models;
namespace Gitea\Model;
use Enum\{EnumTrait};
/** Defines the state of a Gitea status. */
final class StatusState {
use EnumTrait;
use EnumTrait;
/** @var string The status is an error. */
const error = 'error';
/** @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 a failure. */
const failure = 'failure';
/** @var string The status is pending. */
const pending = 'pending';
/** @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 success. */
const success = 'success';
/** @var string The status is a warning. */
const warning = 'warning';
/** @var string The status is a warning. */
const warning = 'warning';
}