1 | <?php |
||
8 | abstract class ParaunitProcessAbstract implements ParaunitProcessInterface, RetryAwareInterface, ProcessResultInterface |
||
9 | { |
||
10 | /** @var int */ |
||
11 | protected $retryCount = 0; |
||
12 | |||
13 | /** @var bool */ |
||
14 | protected $shouldBeRetried = false; |
||
15 | |||
16 | /** @var string */ |
||
17 | protected $uniqueId; |
||
18 | |||
19 | /** @var string */ |
||
20 | protected $filename; |
||
21 | |||
22 | /** @var string[] */ |
||
23 | protected $testResults; |
||
24 | |||
25 | /** @var bool */ |
||
26 | protected $segmentationFault; |
||
27 | |||
28 | /** @var bool */ |
||
29 | protected $fatalError; |
||
30 | |||
31 | /** |
||
32 | * @param string $commandLine |
||
33 | */ |
||
34 | 39 | public function __construct($commandLine) |
|
48 | |||
49 | /** |
||
50 | * @return string |
||
51 | */ |
||
52 | 7 | public function getUniqueId() |
|
56 | |||
57 | /** |
||
58 | * @return int |
||
59 | */ |
||
60 | 20 | public function getRetryCount() |
|
64 | |||
65 | /** |
||
66 | */ |
||
67 | 4 | public function increaseRetryCount() |
|
71 | |||
72 | /** |
||
73 | */ |
||
74 | 7 | public function markAsToBeRetried() |
|
78 | |||
79 | /** |
||
80 | * @return bool |
||
81 | */ |
||
82 | 37 | public function isToBeRetried() |
|
86 | |||
87 | /** |
||
88 | * @return $this |
||
89 | */ |
||
90 | 3 | public function reset() |
|
94 | |||
95 | /** |
||
96 | * @return string |
||
97 | */ |
||
98 | 14 | public function getFilename() |
|
102 | |||
103 | /** |
||
104 | * @return string[] |
||
105 | */ |
||
106 | 29 | public function getTestResults() |
|
110 | |||
111 | /** |
||
112 | * @param string[] $testResults |
||
113 | */ |
||
114 | 24 | public function setTestResults(array $testResults) |
|
118 | |||
119 | 3 | public function reportSegmentationFault() |
|
123 | |||
124 | 3 | public function reportFatalError() |
|
128 | |||
129 | /** |
||
130 | * @return bool |
||
131 | */ |
||
132 | 29 | public function hasSegmentationFaults() |
|
136 | |||
137 | /** |
||
138 | * @return bool |
||
139 | */ |
||
140 | 26 | public function hasFatalErrors() |
|
144 | |||
145 | /** |
||
146 | * @return bool |
||
147 | */ |
||
148 | public function isEmpty() |
||
152 | } |
||
153 |
An attempt at access to an undefined property has been detected. This may either be a typographical error or the property has been renamed but there are still references to its old name.
If you really want to allow access to undefined properties, you can define magic methods to allow access. See the php core documentation on Overloading.