mirror of
https://github.com/Karaka-Management/oms-ProjectManagement.git
synced 2026-01-11 15:48:41 +00:00
phpcs fix
This commit is contained in:
parent
fef0707465
commit
af2e9af685
|
|
@ -30,7 +30,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
|||
/**
|
||||
* Module path.
|
||||
*
|
||||
* @var string
|
||||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public const MODULE_PATH = __DIR__ . '/../';
|
||||
|
|
@ -38,7 +38,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
|||
/**
|
||||
* Module version.
|
||||
*
|
||||
* @var string
|
||||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public const MODULE_VERSION = '1.0.0';
|
||||
|
|
@ -46,7 +46,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
|||
/**
|
||||
* Module name.
|
||||
*
|
||||
* @var string
|
||||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public const MODULE_NAME = 'ProjectManagement';
|
||||
|
|
@ -54,7 +54,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
|||
/**
|
||||
* Module id.
|
||||
*
|
||||
* @var int
|
||||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public const MODULE_ID = 1001700000;
|
||||
|
|
@ -62,7 +62,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
|||
/**
|
||||
* Providing.
|
||||
*
|
||||
* @var string[]
|
||||
* @var string[]
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected static array $providing = [];
|
||||
|
|
@ -70,7 +70,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
|||
/**
|
||||
* Dependencies.
|
||||
*
|
||||
* @var string[]
|
||||
* @var string[]
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected static array $dependencies = [];
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ class Project
|
|||
/**
|
||||
* ID.
|
||||
*
|
||||
* @var int
|
||||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private int $id = 0;
|
||||
|
|
@ -39,7 +39,7 @@ class Project
|
|||
/**
|
||||
* Start date.
|
||||
*
|
||||
* @var \DateTime
|
||||
* @var \DateTime
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private \DateTime $start;
|
||||
|
|
@ -47,7 +47,7 @@ class Project
|
|||
/**
|
||||
* End date.
|
||||
*
|
||||
* @var \DateTime
|
||||
* @var \DateTime
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private \DateTime $end;
|
||||
|
|
@ -55,7 +55,7 @@ class Project
|
|||
/**
|
||||
* Estimated end date.
|
||||
*
|
||||
* @var \DateTime
|
||||
* @var \DateTime
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private \DateTime $endEstimated;
|
||||
|
|
@ -63,7 +63,7 @@ class Project
|
|||
/**
|
||||
* Project name.
|
||||
*
|
||||
* @var string
|
||||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private string $name = '';
|
||||
|
|
@ -71,7 +71,7 @@ class Project
|
|||
/**
|
||||
* Project description.
|
||||
*
|
||||
* @var string
|
||||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private string $description = '';
|
||||
|
|
@ -79,7 +79,7 @@ class Project
|
|||
/**
|
||||
* Project raw description.
|
||||
*
|
||||
* @var string
|
||||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private string $descriptionRaw = '';
|
||||
|
|
@ -87,7 +87,7 @@ class Project
|
|||
/**
|
||||
* Calendar.
|
||||
*
|
||||
* @var int|Calendar
|
||||
* @var int|Calendar
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private $calendar;
|
||||
|
|
@ -95,7 +95,7 @@ class Project
|
|||
/**
|
||||
* Current total costs.
|
||||
*
|
||||
* @var Money
|
||||
* @var Money
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private Money $costs;
|
||||
|
|
@ -103,7 +103,7 @@ class Project
|
|||
/**
|
||||
* Budget costs.
|
||||
*
|
||||
* @var Money
|
||||
* @var Money
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private Money $budgetCosts;
|
||||
|
|
@ -111,7 +111,7 @@ class Project
|
|||
/**
|
||||
* Budget earnings.
|
||||
*
|
||||
* @var Money
|
||||
* @var Money
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private Money $budgetEarnings;
|
||||
|
|
@ -119,7 +119,7 @@ class Project
|
|||
/**
|
||||
* Current total earnings.
|
||||
*
|
||||
* @var Money
|
||||
* @var Money
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private Money $earnings;
|
||||
|
|
@ -127,7 +127,7 @@ class Project
|
|||
/**
|
||||
* Progress percentage.
|
||||
*
|
||||
* @var int
|
||||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private int $progress = 0;
|
||||
|
|
@ -135,7 +135,7 @@ class Project
|
|||
/**
|
||||
* Progress calculation.
|
||||
*
|
||||
* @var int
|
||||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private int $progressType = ProgressType::MANUAL;
|
||||
|
|
@ -143,7 +143,7 @@ class Project
|
|||
/**
|
||||
* Media files.
|
||||
*
|
||||
* @var Media[]
|
||||
* @var Media[]
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private array $media = [];
|
||||
|
|
@ -151,7 +151,7 @@ class Project
|
|||
/**
|
||||
* Created at.
|
||||
*
|
||||
* @var \DateTime
|
||||
* @var \DateTime
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private \DateTime $createdAt;
|
||||
|
|
@ -159,7 +159,7 @@ class Project
|
|||
/**
|
||||
* Created by.
|
||||
*
|
||||
* @var int
|
||||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private $createdBy = 0;
|
||||
|
|
@ -167,7 +167,7 @@ class Project
|
|||
/**
|
||||
* Tasks.
|
||||
*
|
||||
* @var Tasks[]
|
||||
* @var Tasks[]
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private $tasks = [];
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ final class ProjectMapper extends DataMapperAbstract
|
|||
/**
|
||||
* Columns.
|
||||
*
|
||||
* @var array<string, array<string, bool|string>>
|
||||
* @var array<string, array<string, bool|string>>
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected static array $columns = [
|
||||
|
|
@ -57,7 +57,7 @@ final class ProjectMapper extends DataMapperAbstract
|
|||
/**
|
||||
* Has many relation.
|
||||
*
|
||||
* @var array<string, array<string, null|string>>
|
||||
* @var array<string, array<string, null|string>>
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected static array $hasMany = [
|
||||
|
|
@ -78,7 +78,7 @@ final class ProjectMapper extends DataMapperAbstract
|
|||
/**
|
||||
* Has one relation.
|
||||
*
|
||||
* @var array<string, array<string, string>>
|
||||
* @var array<string, array<string, string>>
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected static array $ownsOne = [
|
||||
|
|
@ -91,7 +91,7 @@ final class ProjectMapper extends DataMapperAbstract
|
|||
/**
|
||||
* Primary table.
|
||||
*
|
||||
* @var string
|
||||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected static string $table = 'projectmanagement_project';
|
||||
|
|
@ -99,7 +99,7 @@ final class ProjectMapper extends DataMapperAbstract
|
|||
/**
|
||||
* Created at.
|
||||
*
|
||||
* @var string
|
||||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected static string $createdAt = 'projectmanagement_project_created_at';
|
||||
|
|
@ -107,7 +107,7 @@ final class ProjectMapper extends DataMapperAbstract
|
|||
/**
|
||||
* Primary field name.
|
||||
*
|
||||
* @var string
|
||||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected static string $primaryField = 'projectmanagement_project_id';
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user