Passed
Pull Request — 1.x (#448)
by Akihito
02:24 queued 40s
created

Types   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 1
dl 0
loc 5
rs 10
c 1
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 2 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace BEAR\Package;
6
7
use ArrayObject;
8
9
/**
10
 * Type definitions for BEAR.Package
11
 *
12
 * @phpcs:disable SlevomatCodingStandard.Commenting.DocCommentSpacing
13
 *
14
 * Domain Types
15
 * @psalm-type AppName = non-empty-string
16
 * @psalm-type Context = non-empty-string
17
 * @psalm-type AppDir = non-empty-string
18
 * @psalm-type ScriptDir = non-empty-string
19
 * @psalm-type VarDir = non-empty-string
20
 * @psalm-type LogDir = non-empty-string
21
 * @psalm-type TmpDir = non-empty-string
22
 *
23
 * Server Arrays
24
 * @psalm-type ServerArray = array<string, mixed>
25
 * @psalm-type GlobalsArray = array<string, mixed>
26
 * @psalm-type CliArgv = list<string>
27
 *
28
 * Router Types
29
 * @psalm-type HttpMethod = non-empty-string
30
 * @psalm-type ResourceUri = non-empty-string
31
 * @psalm-type QueryParams = array<string, mixed>
32
 *
33
 * Compiler Types
34
 * @psalm-type ClassList = ArrayObject<int, string>
35
 * @psalm-type OverwrittenFiles = ArrayObject<int, string>
36
 * @psalm-type ClassPaths = list<string>
37
 * @psalm-type LoadedClasses = list<class-string>
38
 *
39
 * @phpcs:enable
40
 */
41
final class Types
42
{
43
    /** @codeCoverageIgnore */
44
    private function __construct()
45
    {
46
    }
47
}
48