GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Program::pid()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 2
1
<?php declare(strict_types=1);
2
3
namespace ApiClients\Client\Supervisord\Resource;
4
5
use ApiClients\Foundation\Hydrator\Annotation\EmptyResource;
6
use ApiClients\Foundation\Resource\AbstractResource;
7
8
/**
9
 * @EmptyResource("EmptyProgram")
10
 */
11
abstract class Program extends AbstractResource implements ProgramInterface
12
{
13
    /**
14
     * @var string
15
     */
16
    protected $group;
17
18
    /**
19
     * @var string
20
     */
21
    protected $name;
22
23
    /**
24
     * @var int
25
     */
26
    protected $pid;
27
28
    /**
29
     * @var string
30
     */
31
    protected $description;
32
33
    /**
34
     * @var int
35
     */
36
    protected $state;
37
38
    /**
39
     * @var string
40
     */
41
    protected $statename;
42
43
    /**
44
     * @var int
45
     */
46
    protected $now;
47
48
    /**
49
     * @var int
50
     */
51
    protected $start;
52
53
    /**
54
     * @var int
55
     */
56
    protected $stop;
57
58
    /**
59
     * @var string
60
     */
61
    protected $spawnerr;
62
63
    /**
64
     * @var int
65
     */
66
    protected $exitstatus;
67
68
    /**
69
     * @var string
70
     */
71
    protected $logfile;
72
73
    /**
74
     * @var string
75
     */
76
    protected $stdout_logfile;
77
78
    /**
79
     * @var string
80
     */
81
    protected $stderr_logfile;
82
83
    /**
84
     * @return string
85
     */
86
    public function group(): string
87
    {
88
        return $this->group;
89
    }
90
91
    /**
92
     * @return string
93
     */
94
    public function name(): string
95
    {
96
        return $this->name;
97
    }
98
99
    /**
100
     * @return int
101
     */
102
    public function pid(): int
103
    {
104
        return $this->pid;
105
    }
106
107
    /**
108
     * @return string
109
     */
110
    public function description(): string
111
    {
112
        return $this->description;
113
    }
114
115
    /**
116
     * @return int
117
     */
118
    public function state(): int
119
    {
120
        return $this->state;
121
    }
122
123
    /**
124
     * @return string
125
     */
126
    public function statename(): string
127
    {
128
        return $this->statename;
129
    }
130
131
    /**
132
     * @return int
133
     */
134
    public function now(): int
135
    {
136
        return (int)$this->now;
137
    }
138
139
    /**
140
     * @return int
141
     */
142
    public function start(): int
143
    {
144
        return (int)$this->start;
145
    }
146
147
    /**
148
     * @return int
149
     */
150
    public function stop(): int
151
    {
152
        return (int)$this->stop;
153
    }
154
155
    /**
156
     * @return string
157
     */
158
    public function spawnerr(): string
159
    {
160
        return $this->spawnerr;
161
    }
162
163
    /**
164
     * @return int
165
     */
166
    public function exitstatus(): int
167
    {
168
        return $this->exitstatus;
169
    }
170
171
    /**
172
     * @return string
173
     */
174
    public function logfile(): string
175
    {
176
        return $this->logfile;
177
    }
178
179
    /**
180
     * @return string
181
     */
182
    public function stdoutLogfile(): string
183
    {
184
        return $this->stdout_logfile;
185
    }
186
187
    /**
188
     * @return string
189
     */
190
    public function stderrLogfile(): string
191
    {
192
        return $this->stderr_logfile;
193
    }
194
}
195