@@ -34,271 +34,271 @@ |
||
34 | 34 | */ |
35 | 35 | trait Serialization |
36 | 36 | { |
37 | - use ObjectInitialisation; |
|
38 | - |
|
39 | - /** |
|
40 | - * The custom Carbon JSON serializer. |
|
41 | - * |
|
42 | - * @var callable|null |
|
43 | - */ |
|
44 | - protected static $serializer; |
|
45 | - |
|
46 | - /** |
|
47 | - * List of key to use for dump/serialization. |
|
48 | - * |
|
49 | - * @var string[] |
|
50 | - */ |
|
51 | - protected $dumpProperties = ['date', 'timezone_type', 'timezone']; |
|
52 | - |
|
53 | - /** |
|
54 | - * Locale to dump comes here before serialization. |
|
55 | - * |
|
56 | - * @var string|null |
|
57 | - */ |
|
58 | - protected $dumpLocale; |
|
59 | - |
|
60 | - /** |
|
61 | - * Embed date properties to dump in a dedicated variables so it won't overlap native |
|
62 | - * DateTime ones. |
|
63 | - * |
|
64 | - * @var array|null |
|
65 | - */ |
|
66 | - protected $dumpDateProperties; |
|
67 | - |
|
68 | - /** |
|
69 | - * Return a serialized string of the instance. |
|
70 | - * |
|
71 | - * @return string |
|
72 | - */ |
|
73 | - public function serialize() |
|
74 | - { |
|
75 | - return serialize($this); |
|
76 | - } |
|
77 | - |
|
78 | - /** |
|
79 | - * Create an instance from a serialized string. |
|
80 | - * |
|
81 | - * @param string $value |
|
82 | - * |
|
83 | - * @throws InvalidFormatException |
|
84 | - * |
|
85 | - * @return static |
|
86 | - */ |
|
87 | - public static function fromSerialized($value) |
|
88 | - { |
|
89 | - $instance = @unserialize((string) $value); |
|
90 | - |
|
91 | - if (!$instance instanceof static) { |
|
92 | - throw new InvalidFormatException("Invalid serialized value: $value"); |
|
93 | - } |
|
94 | - |
|
95 | - return $instance; |
|
96 | - } |
|
97 | - |
|
98 | - /** |
|
99 | - * The __set_state handler. |
|
100 | - * |
|
101 | - * @param string|array $dump |
|
102 | - * |
|
103 | - * @return static |
|
104 | - */ |
|
105 | - #[ReturnTypeWillChange] |
|
106 | - public static function __set_state($dump) |
|
107 | - { |
|
108 | - if (\is_string($dump)) { |
|
109 | - return static::parse($dump); |
|
110 | - } |
|
111 | - |
|
112 | - /** @var \DateTimeInterface $date */ |
|
113 | - $date = get_parent_class(static::class) && method_exists(parent::class, '__set_state') |
|
114 | - ? parent::__set_state((array) $dump) |
|
115 | - : (object) $dump; |
|
116 | - |
|
117 | - return static::instance($date); |
|
118 | - } |
|
119 | - |
|
120 | - /** |
|
121 | - * Returns the list of properties to dump on serialize() called on. |
|
122 | - * |
|
123 | - * @return array |
|
124 | - */ |
|
125 | - public function __sleep() |
|
126 | - { |
|
127 | - $properties = $this->getSleepProperties(); |
|
128 | - |
|
129 | - if ($this->localTranslator ?? null) { |
|
130 | - $properties[] = 'dumpLocale'; |
|
131 | - $this->dumpLocale = $this->locale ?? null; |
|
132 | - } |
|
133 | - |
|
134 | - return $properties; |
|
135 | - } |
|
136 | - |
|
137 | - public function __serialize(): array |
|
138 | - { |
|
139 | - if (isset($this->timezone_type)) { |
|
140 | - return [ |
|
141 | - 'date' => $this->date ?? null, |
|
142 | - 'timezone_type' => $this->timezone_type, |
|
143 | - 'timezone' => $this->timezone ?? null, |
|
144 | - ]; |
|
145 | - } |
|
146 | - |
|
147 | - $timezone = $this->getTimezone(); |
|
148 | - $export = [ |
|
149 | - 'date' => $this->format('Y-m-d H:i:s.u'), |
|
150 | - 'timezone_type' => $timezone->getType(), |
|
151 | - 'timezone' => $timezone->getName(), |
|
152 | - ]; |
|
153 | - |
|
154 | - // @codeCoverageIgnoreStart |
|
155 | - if (\extension_loaded('msgpack') && isset($this->constructedObjectId)) { |
|
156 | - $export['dumpDateProperties'] = [ |
|
157 | - 'date' => $this->format('Y-m-d H:i:s.u'), |
|
158 | - 'timezone' => serialize($this->timezone ?? null), |
|
159 | - ]; |
|
160 | - } |
|
161 | - // @codeCoverageIgnoreEnd |
|
162 | - |
|
163 | - if ($this->localTranslator ?? null) { |
|
164 | - $export['dumpLocale'] = $this->locale ?? null; |
|
165 | - } |
|
166 | - |
|
167 | - return $export; |
|
168 | - } |
|
169 | - |
|
170 | - /** |
|
171 | - * Set locale if specified on unserialize() called. |
|
172 | - * |
|
173 | - * @return void |
|
174 | - */ |
|
175 | - #[ReturnTypeWillChange] |
|
176 | - public function __wakeup() |
|
177 | - { |
|
178 | - if (parent::class && method_exists(parent::class, '__wakeup')) { |
|
179 | - // @codeCoverageIgnoreStart |
|
180 | - try { |
|
181 | - parent::__wakeup(); |
|
182 | - } catch (Throwable $exception) { |
|
183 | - try { |
|
184 | - // FatalError occurs when calling msgpack_unpack() in PHP 7.4 or later. |
|
185 | - ['date' => $date, 'timezone' => $timezone] = $this->dumpDateProperties; |
|
186 | - parent::__construct($date, unserialize($timezone)); |
|
187 | - } catch (Throwable $ignoredException) { |
|
188 | - throw $exception; |
|
189 | - } |
|
190 | - } |
|
191 | - // @codeCoverageIgnoreEnd |
|
192 | - } |
|
193 | - |
|
194 | - $this->constructedObjectId = spl_object_hash($this); |
|
195 | - |
|
196 | - if (isset($this->dumpLocale)) { |
|
197 | - $this->locale($this->dumpLocale); |
|
198 | - $this->dumpLocale = null; |
|
199 | - } |
|
200 | - |
|
201 | - $this->cleanupDumpProperties(); |
|
202 | - } |
|
203 | - |
|
204 | - public function __unserialize(array $data): void |
|
205 | - { |
|
206 | - // @codeCoverageIgnoreStart |
|
207 | - try { |
|
208 | - $this->__construct($data['date'] ?? null, $data['timezone'] ?? null); |
|
209 | - } catch (Throwable $exception) { |
|
210 | - if (!isset($data['dumpDateProperties']['date'], $data['dumpDateProperties']['timezone'])) { |
|
211 | - throw $exception; |
|
212 | - } |
|
213 | - |
|
214 | - try { |
|
215 | - // FatalError occurs when calling msgpack_unpack() in PHP 7.4 or later. |
|
216 | - ['date' => $date, 'timezone' => $timezone] = $data['dumpDateProperties']; |
|
217 | - $this->__construct($date, unserialize($timezone)); |
|
218 | - } catch (Throwable $ignoredException) { |
|
219 | - throw $exception; |
|
220 | - } |
|
221 | - } |
|
222 | - // @codeCoverageIgnoreEnd |
|
223 | - |
|
224 | - if (isset($data['dumpLocale'])) { |
|
225 | - $this->locale($data['dumpLocale']); |
|
226 | - } |
|
227 | - } |
|
228 | - |
|
229 | - /** |
|
230 | - * Prepare the object for JSON serialization. |
|
231 | - * |
|
232 | - * @return array|string |
|
233 | - */ |
|
234 | - #[ReturnTypeWillChange] |
|
235 | - public function jsonSerialize() |
|
236 | - { |
|
237 | - $serializer = $this->localSerializer ?? static::$serializer; |
|
238 | - |
|
239 | - if ($serializer) { |
|
240 | - return \is_string($serializer) |
|
241 | - ? $this->rawFormat($serializer) |
|
242 | - : $serializer($this); |
|
243 | - } |
|
244 | - |
|
245 | - return $this->toJSON(); |
|
246 | - } |
|
247 | - |
|
248 | - /** |
|
249 | - * @deprecated To avoid conflict between different third-party libraries, static setters should not be used. |
|
250 | - * You should rather transform Carbon object before the serialization. |
|
251 | - * |
|
252 | - * JSON serialize all Carbon instances using the given callback. |
|
253 | - * |
|
254 | - * @param callable $callback |
|
255 | - * |
|
256 | - * @return void |
|
257 | - */ |
|
258 | - public static function serializeUsing($callback) |
|
259 | - { |
|
260 | - static::$serializer = $callback; |
|
261 | - } |
|
262 | - |
|
263 | - /** |
|
264 | - * Cleanup properties attached to the public scope of DateTime when a dump of the date is requested. |
|
265 | - * foreach ($date as $_) {} |
|
266 | - * serializer($date) |
|
267 | - * var_export($date) |
|
268 | - * get_object_vars($date) |
|
269 | - */ |
|
270 | - public function cleanupDumpProperties() |
|
271 | - { |
|
272 | - if (PHP_VERSION < 8.2) { |
|
273 | - foreach ($this->dumpProperties as $property) { |
|
274 | - if (isset($this->$property)) { |
|
275 | - unset($this->$property); |
|
276 | - } |
|
277 | - } |
|
278 | - } |
|
279 | - |
|
280 | - return $this; |
|
281 | - } |
|
282 | - |
|
283 | - private function getSleepProperties(): array |
|
284 | - { |
|
285 | - $properties = $this->dumpProperties; |
|
286 | - |
|
287 | - // @codeCoverageIgnoreStart |
|
288 | - if (!\extension_loaded('msgpack')) { |
|
289 | - return $properties; |
|
290 | - } |
|
291 | - |
|
292 | - if (isset($this->constructedObjectId)) { |
|
293 | - $this->dumpDateProperties = [ |
|
294 | - 'date' => $this->format('Y-m-d H:i:s.u'), |
|
295 | - 'timezone' => serialize($this->timezone ?? null), |
|
296 | - ]; |
|
297 | - |
|
298 | - $properties[] = 'dumpDateProperties'; |
|
299 | - } |
|
300 | - |
|
301 | - return $properties; |
|
302 | - // @codeCoverageIgnoreEnd |
|
303 | - } |
|
37 | + use ObjectInitialisation; |
|
38 | + |
|
39 | + /** |
|
40 | + * The custom Carbon JSON serializer. |
|
41 | + * |
|
42 | + * @var callable|null |
|
43 | + */ |
|
44 | + protected static $serializer; |
|
45 | + |
|
46 | + /** |
|
47 | + * List of key to use for dump/serialization. |
|
48 | + * |
|
49 | + * @var string[] |
|
50 | + */ |
|
51 | + protected $dumpProperties = ['date', 'timezone_type', 'timezone']; |
|
52 | + |
|
53 | + /** |
|
54 | + * Locale to dump comes here before serialization. |
|
55 | + * |
|
56 | + * @var string|null |
|
57 | + */ |
|
58 | + protected $dumpLocale; |
|
59 | + |
|
60 | + /** |
|
61 | + * Embed date properties to dump in a dedicated variables so it won't overlap native |
|
62 | + * DateTime ones. |
|
63 | + * |
|
64 | + * @var array|null |
|
65 | + */ |
|
66 | + protected $dumpDateProperties; |
|
67 | + |
|
68 | + /** |
|
69 | + * Return a serialized string of the instance. |
|
70 | + * |
|
71 | + * @return string |
|
72 | + */ |
|
73 | + public function serialize() |
|
74 | + { |
|
75 | + return serialize($this); |
|
76 | + } |
|
77 | + |
|
78 | + /** |
|
79 | + * Create an instance from a serialized string. |
|
80 | + * |
|
81 | + * @param string $value |
|
82 | + * |
|
83 | + * @throws InvalidFormatException |
|
84 | + * |
|
85 | + * @return static |
|
86 | + */ |
|
87 | + public static function fromSerialized($value) |
|
88 | + { |
|
89 | + $instance = @unserialize((string) $value); |
|
90 | + |
|
91 | + if (!$instance instanceof static) { |
|
92 | + throw new InvalidFormatException("Invalid serialized value: $value"); |
|
93 | + } |
|
94 | + |
|
95 | + return $instance; |
|
96 | + } |
|
97 | + |
|
98 | + /** |
|
99 | + * The __set_state handler. |
|
100 | + * |
|
101 | + * @param string|array $dump |
|
102 | + * |
|
103 | + * @return static |
|
104 | + */ |
|
105 | + #[ReturnTypeWillChange] |
|
106 | + public static function __set_state($dump) |
|
107 | + { |
|
108 | + if (\is_string($dump)) { |
|
109 | + return static::parse($dump); |
|
110 | + } |
|
111 | + |
|
112 | + /** @var \DateTimeInterface $date */ |
|
113 | + $date = get_parent_class(static::class) && method_exists(parent::class, '__set_state') |
|
114 | + ? parent::__set_state((array) $dump) |
|
115 | + : (object) $dump; |
|
116 | + |
|
117 | + return static::instance($date); |
|
118 | + } |
|
119 | + |
|
120 | + /** |
|
121 | + * Returns the list of properties to dump on serialize() called on. |
|
122 | + * |
|
123 | + * @return array |
|
124 | + */ |
|
125 | + public function __sleep() |
|
126 | + { |
|
127 | + $properties = $this->getSleepProperties(); |
|
128 | + |
|
129 | + if ($this->localTranslator ?? null) { |
|
130 | + $properties[] = 'dumpLocale'; |
|
131 | + $this->dumpLocale = $this->locale ?? null; |
|
132 | + } |
|
133 | + |
|
134 | + return $properties; |
|
135 | + } |
|
136 | + |
|
137 | + public function __serialize(): array |
|
138 | + { |
|
139 | + if (isset($this->timezone_type)) { |
|
140 | + return [ |
|
141 | + 'date' => $this->date ?? null, |
|
142 | + 'timezone_type' => $this->timezone_type, |
|
143 | + 'timezone' => $this->timezone ?? null, |
|
144 | + ]; |
|
145 | + } |
|
146 | + |
|
147 | + $timezone = $this->getTimezone(); |
|
148 | + $export = [ |
|
149 | + 'date' => $this->format('Y-m-d H:i:s.u'), |
|
150 | + 'timezone_type' => $timezone->getType(), |
|
151 | + 'timezone' => $timezone->getName(), |
|
152 | + ]; |
|
153 | + |
|
154 | + // @codeCoverageIgnoreStart |
|
155 | + if (\extension_loaded('msgpack') && isset($this->constructedObjectId)) { |
|
156 | + $export['dumpDateProperties'] = [ |
|
157 | + 'date' => $this->format('Y-m-d H:i:s.u'), |
|
158 | + 'timezone' => serialize($this->timezone ?? null), |
|
159 | + ]; |
|
160 | + } |
|
161 | + // @codeCoverageIgnoreEnd |
|
162 | + |
|
163 | + if ($this->localTranslator ?? null) { |
|
164 | + $export['dumpLocale'] = $this->locale ?? null; |
|
165 | + } |
|
166 | + |
|
167 | + return $export; |
|
168 | + } |
|
169 | + |
|
170 | + /** |
|
171 | + * Set locale if specified on unserialize() called. |
|
172 | + * |
|
173 | + * @return void |
|
174 | + */ |
|
175 | + #[ReturnTypeWillChange] |
|
176 | + public function __wakeup() |
|
177 | + { |
|
178 | + if (parent::class && method_exists(parent::class, '__wakeup')) { |
|
179 | + // @codeCoverageIgnoreStart |
|
180 | + try { |
|
181 | + parent::__wakeup(); |
|
182 | + } catch (Throwable $exception) { |
|
183 | + try { |
|
184 | + // FatalError occurs when calling msgpack_unpack() in PHP 7.4 or later. |
|
185 | + ['date' => $date, 'timezone' => $timezone] = $this->dumpDateProperties; |
|
186 | + parent::__construct($date, unserialize($timezone)); |
|
187 | + } catch (Throwable $ignoredException) { |
|
188 | + throw $exception; |
|
189 | + } |
|
190 | + } |
|
191 | + // @codeCoverageIgnoreEnd |
|
192 | + } |
|
193 | + |
|
194 | + $this->constructedObjectId = spl_object_hash($this); |
|
195 | + |
|
196 | + if (isset($this->dumpLocale)) { |
|
197 | + $this->locale($this->dumpLocale); |
|
198 | + $this->dumpLocale = null; |
|
199 | + } |
|
200 | + |
|
201 | + $this->cleanupDumpProperties(); |
|
202 | + } |
|
203 | + |
|
204 | + public function __unserialize(array $data): void |
|
205 | + { |
|
206 | + // @codeCoverageIgnoreStart |
|
207 | + try { |
|
208 | + $this->__construct($data['date'] ?? null, $data['timezone'] ?? null); |
|
209 | + } catch (Throwable $exception) { |
|
210 | + if (!isset($data['dumpDateProperties']['date'], $data['dumpDateProperties']['timezone'])) { |
|
211 | + throw $exception; |
|
212 | + } |
|
213 | + |
|
214 | + try { |
|
215 | + // FatalError occurs when calling msgpack_unpack() in PHP 7.4 or later. |
|
216 | + ['date' => $date, 'timezone' => $timezone] = $data['dumpDateProperties']; |
|
217 | + $this->__construct($date, unserialize($timezone)); |
|
218 | + } catch (Throwable $ignoredException) { |
|
219 | + throw $exception; |
|
220 | + } |
|
221 | + } |
|
222 | + // @codeCoverageIgnoreEnd |
|
223 | + |
|
224 | + if (isset($data['dumpLocale'])) { |
|
225 | + $this->locale($data['dumpLocale']); |
|
226 | + } |
|
227 | + } |
|
228 | + |
|
229 | + /** |
|
230 | + * Prepare the object for JSON serialization. |
|
231 | + * |
|
232 | + * @return array|string |
|
233 | + */ |
|
234 | + #[ReturnTypeWillChange] |
|
235 | + public function jsonSerialize() |
|
236 | + { |
|
237 | + $serializer = $this->localSerializer ?? static::$serializer; |
|
238 | + |
|
239 | + if ($serializer) { |
|
240 | + return \is_string($serializer) |
|
241 | + ? $this->rawFormat($serializer) |
|
242 | + : $serializer($this); |
|
243 | + } |
|
244 | + |
|
245 | + return $this->toJSON(); |
|
246 | + } |
|
247 | + |
|
248 | + /** |
|
249 | + * @deprecated To avoid conflict between different third-party libraries, static setters should not be used. |
|
250 | + * You should rather transform Carbon object before the serialization. |
|
251 | + * |
|
252 | + * JSON serialize all Carbon instances using the given callback. |
|
253 | + * |
|
254 | + * @param callable $callback |
|
255 | + * |
|
256 | + * @return void |
|
257 | + */ |
|
258 | + public static function serializeUsing($callback) |
|
259 | + { |
|
260 | + static::$serializer = $callback; |
|
261 | + } |
|
262 | + |
|
263 | + /** |
|
264 | + * Cleanup properties attached to the public scope of DateTime when a dump of the date is requested. |
|
265 | + * foreach ($date as $_) {} |
|
266 | + * serializer($date) |
|
267 | + * var_export($date) |
|
268 | + * get_object_vars($date) |
|
269 | + */ |
|
270 | + public function cleanupDumpProperties() |
|
271 | + { |
|
272 | + if (PHP_VERSION < 8.2) { |
|
273 | + foreach ($this->dumpProperties as $property) { |
|
274 | + if (isset($this->$property)) { |
|
275 | + unset($this->$property); |
|
276 | + } |
|
277 | + } |
|
278 | + } |
|
279 | + |
|
280 | + return $this; |
|
281 | + } |
|
282 | + |
|
283 | + private function getSleepProperties(): array |
|
284 | + { |
|
285 | + $properties = $this->dumpProperties; |
|
286 | + |
|
287 | + // @codeCoverageIgnoreStart |
|
288 | + if (!\extension_loaded('msgpack')) { |
|
289 | + return $properties; |
|
290 | + } |
|
291 | + |
|
292 | + if (isset($this->constructedObjectId)) { |
|
293 | + $this->dumpDateProperties = [ |
|
294 | + 'date' => $this->format('Y-m-d H:i:s.u'), |
|
295 | + 'timezone' => serialize($this->timezone ?? null), |
|
296 | + ]; |
|
297 | + |
|
298 | + $properties[] = 'dumpDateProperties'; |
|
299 | + } |
|
300 | + |
|
301 | + return $properties; |
|
302 | + // @codeCoverageIgnoreEnd |
|
303 | + } |
|
304 | 304 | } |
@@ -32,1068 +32,1068 @@ |
||
32 | 32 | */ |
33 | 33 | trait Comparison |
34 | 34 | { |
35 | - /** @var bool */ |
|
36 | - protected $endOfTime = false; |
|
37 | - |
|
38 | - /** @var bool */ |
|
39 | - protected $startOfTime = false; |
|
40 | - |
|
41 | - /** |
|
42 | - * Determines if the instance is equal to another |
|
43 | - * |
|
44 | - * @example |
|
45 | - * ``` |
|
46 | - * Carbon::parse('2018-07-25 12:45:16')->eq('2018-07-25 12:45:16'); // true |
|
47 | - * Carbon::parse('2018-07-25 12:45:16')->eq(Carbon::parse('2018-07-25 12:45:16')); // true |
|
48 | - * Carbon::parse('2018-07-25 12:45:16')->eq('2018-07-25 12:45:17'); // false |
|
49 | - * ``` |
|
50 | - * |
|
51 | - * @param \Carbon\Carbon|\DateTimeInterface|mixed $date |
|
52 | - * |
|
53 | - * @see equalTo() |
|
54 | - * |
|
55 | - * @return bool |
|
56 | - */ |
|
57 | - public function eq($date): bool |
|
58 | - { |
|
59 | - return $this->equalTo($date); |
|
60 | - } |
|
61 | - |
|
62 | - /** |
|
63 | - * Determines if the instance is equal to another |
|
64 | - * |
|
65 | - * @example |
|
66 | - * ``` |
|
67 | - * Carbon::parse('2018-07-25 12:45:16')->equalTo('2018-07-25 12:45:16'); // true |
|
68 | - * Carbon::parse('2018-07-25 12:45:16')->equalTo(Carbon::parse('2018-07-25 12:45:16')); // true |
|
69 | - * Carbon::parse('2018-07-25 12:45:16')->equalTo('2018-07-25 12:45:17'); // false |
|
70 | - * ``` |
|
71 | - * |
|
72 | - * @param \Carbon\Carbon|\DateTimeInterface|mixed $date |
|
73 | - * |
|
74 | - * @return bool |
|
75 | - */ |
|
76 | - public function equalTo($date): bool |
|
77 | - { |
|
78 | - $this->discourageNull($date); |
|
79 | - $this->discourageBoolean($date); |
|
80 | - |
|
81 | - return $this == $this->resolveCarbon($date); |
|
82 | - } |
|
83 | - |
|
84 | - /** |
|
85 | - * Determines if the instance is not equal to another |
|
86 | - * |
|
87 | - * @example |
|
88 | - * ``` |
|
89 | - * Carbon::parse('2018-07-25 12:45:16')->ne('2018-07-25 12:45:16'); // false |
|
90 | - * Carbon::parse('2018-07-25 12:45:16')->ne(Carbon::parse('2018-07-25 12:45:16')); // false |
|
91 | - * Carbon::parse('2018-07-25 12:45:16')->ne('2018-07-25 12:45:17'); // true |
|
92 | - * ``` |
|
93 | - * |
|
94 | - * @param \Carbon\Carbon|\DateTimeInterface|mixed $date |
|
95 | - * |
|
96 | - * @see notEqualTo() |
|
97 | - * |
|
98 | - * @return bool |
|
99 | - */ |
|
100 | - public function ne($date): bool |
|
101 | - { |
|
102 | - return $this->notEqualTo($date); |
|
103 | - } |
|
104 | - |
|
105 | - /** |
|
106 | - * Determines if the instance is not equal to another |
|
107 | - * |
|
108 | - * @example |
|
109 | - * ``` |
|
110 | - * Carbon::parse('2018-07-25 12:45:16')->notEqualTo('2018-07-25 12:45:16'); // false |
|
111 | - * Carbon::parse('2018-07-25 12:45:16')->notEqualTo(Carbon::parse('2018-07-25 12:45:16')); // false |
|
112 | - * Carbon::parse('2018-07-25 12:45:16')->notEqualTo('2018-07-25 12:45:17'); // true |
|
113 | - * ``` |
|
114 | - * |
|
115 | - * @param \Carbon\Carbon|\DateTimeInterface|mixed $date |
|
116 | - * |
|
117 | - * @return bool |
|
118 | - */ |
|
119 | - public function notEqualTo($date): bool |
|
120 | - { |
|
121 | - return !$this->equalTo($date); |
|
122 | - } |
|
123 | - |
|
124 | - /** |
|
125 | - * Determines if the instance is greater (after) than another |
|
126 | - * |
|
127 | - * @example |
|
128 | - * ``` |
|
129 | - * Carbon::parse('2018-07-25 12:45:16')->gt('2018-07-25 12:45:15'); // true |
|
130 | - * Carbon::parse('2018-07-25 12:45:16')->gt('2018-07-25 12:45:16'); // false |
|
131 | - * Carbon::parse('2018-07-25 12:45:16')->gt('2018-07-25 12:45:17'); // false |
|
132 | - * ``` |
|
133 | - * |
|
134 | - * @param \Carbon\Carbon|\DateTimeInterface|mixed $date |
|
135 | - * |
|
136 | - * @see greaterThan() |
|
137 | - * |
|
138 | - * @return bool |
|
139 | - */ |
|
140 | - public function gt($date): bool |
|
141 | - { |
|
142 | - return $this->greaterThan($date); |
|
143 | - } |
|
144 | - |
|
145 | - /** |
|
146 | - * Determines if the instance is greater (after) than another |
|
147 | - * |
|
148 | - * @example |
|
149 | - * ``` |
|
150 | - * Carbon::parse('2018-07-25 12:45:16')->greaterThan('2018-07-25 12:45:15'); // true |
|
151 | - * Carbon::parse('2018-07-25 12:45:16')->greaterThan('2018-07-25 12:45:16'); // false |
|
152 | - * Carbon::parse('2018-07-25 12:45:16')->greaterThan('2018-07-25 12:45:17'); // false |
|
153 | - * ``` |
|
154 | - * |
|
155 | - * @param \Carbon\Carbon|\DateTimeInterface|mixed $date |
|
156 | - * |
|
157 | - * @return bool |
|
158 | - */ |
|
159 | - public function greaterThan($date): bool |
|
160 | - { |
|
161 | - $this->discourageNull($date); |
|
162 | - $this->discourageBoolean($date); |
|
163 | - |
|
164 | - return $this > $this->resolveCarbon($date); |
|
165 | - } |
|
166 | - |
|
167 | - /** |
|
168 | - * Determines if the instance is greater (after) than another |
|
169 | - * |
|
170 | - * @example |
|
171 | - * ``` |
|
172 | - * Carbon::parse('2018-07-25 12:45:16')->isAfter('2018-07-25 12:45:15'); // true |
|
173 | - * Carbon::parse('2018-07-25 12:45:16')->isAfter('2018-07-25 12:45:16'); // false |
|
174 | - * Carbon::parse('2018-07-25 12:45:16')->isAfter('2018-07-25 12:45:17'); // false |
|
175 | - * ``` |
|
176 | - * |
|
177 | - * @param \Carbon\Carbon|\DateTimeInterface|mixed $date |
|
178 | - * |
|
179 | - * @see greaterThan() |
|
180 | - * |
|
181 | - * @return bool |
|
182 | - */ |
|
183 | - public function isAfter($date): bool |
|
184 | - { |
|
185 | - return $this->greaterThan($date); |
|
186 | - } |
|
187 | - |
|
188 | - /** |
|
189 | - * Determines if the instance is greater (after) than or equal to another |
|
190 | - * |
|
191 | - * @example |
|
192 | - * ``` |
|
193 | - * Carbon::parse('2018-07-25 12:45:16')->gte('2018-07-25 12:45:15'); // true |
|
194 | - * Carbon::parse('2018-07-25 12:45:16')->gte('2018-07-25 12:45:16'); // true |
|
195 | - * Carbon::parse('2018-07-25 12:45:16')->gte('2018-07-25 12:45:17'); // false |
|
196 | - * ``` |
|
197 | - * |
|
198 | - * @param \Carbon\Carbon|\DateTimeInterface|mixed $date |
|
199 | - * |
|
200 | - * @see greaterThanOrEqualTo() |
|
201 | - * |
|
202 | - * @return bool |
|
203 | - */ |
|
204 | - public function gte($date): bool |
|
205 | - { |
|
206 | - return $this->greaterThanOrEqualTo($date); |
|
207 | - } |
|
208 | - |
|
209 | - /** |
|
210 | - * Determines if the instance is greater (after) than or equal to another |
|
211 | - * |
|
212 | - * @example |
|
213 | - * ``` |
|
214 | - * Carbon::parse('2018-07-25 12:45:16')->greaterThanOrEqualTo('2018-07-25 12:45:15'); // true |
|
215 | - * Carbon::parse('2018-07-25 12:45:16')->greaterThanOrEqualTo('2018-07-25 12:45:16'); // true |
|
216 | - * Carbon::parse('2018-07-25 12:45:16')->greaterThanOrEqualTo('2018-07-25 12:45:17'); // false |
|
217 | - * ``` |
|
218 | - * |
|
219 | - * @param \Carbon\Carbon|\DateTimeInterface|mixed $date |
|
220 | - * |
|
221 | - * @return bool |
|
222 | - */ |
|
223 | - public function greaterThanOrEqualTo($date): bool |
|
224 | - { |
|
225 | - $this->discourageNull($date); |
|
226 | - $this->discourageBoolean($date); |
|
227 | - |
|
228 | - return $this >= $this->resolveCarbon($date); |
|
229 | - } |
|
230 | - |
|
231 | - /** |
|
232 | - * Determines if the instance is less (before) than another |
|
233 | - * |
|
234 | - * @example |
|
235 | - * ``` |
|
236 | - * Carbon::parse('2018-07-25 12:45:16')->lt('2018-07-25 12:45:15'); // false |
|
237 | - * Carbon::parse('2018-07-25 12:45:16')->lt('2018-07-25 12:45:16'); // false |
|
238 | - * Carbon::parse('2018-07-25 12:45:16')->lt('2018-07-25 12:45:17'); // true |
|
239 | - * ``` |
|
240 | - * |
|
241 | - * @param \Carbon\Carbon|\DateTimeInterface|mixed $date |
|
242 | - * |
|
243 | - * @see lessThan() |
|
244 | - * |
|
245 | - * @return bool |
|
246 | - */ |
|
247 | - public function lt($date): bool |
|
248 | - { |
|
249 | - return $this->lessThan($date); |
|
250 | - } |
|
251 | - |
|
252 | - /** |
|
253 | - * Determines if the instance is less (before) than another |
|
254 | - * |
|
255 | - * @example |
|
256 | - * ``` |
|
257 | - * Carbon::parse('2018-07-25 12:45:16')->lessThan('2018-07-25 12:45:15'); // false |
|
258 | - * Carbon::parse('2018-07-25 12:45:16')->lessThan('2018-07-25 12:45:16'); // false |
|
259 | - * Carbon::parse('2018-07-25 12:45:16')->lessThan('2018-07-25 12:45:17'); // true |
|
260 | - * ``` |
|
261 | - * |
|
262 | - * @param \Carbon\Carbon|\DateTimeInterface|mixed $date |
|
263 | - * |
|
264 | - * @return bool |
|
265 | - */ |
|
266 | - public function lessThan($date): bool |
|
267 | - { |
|
268 | - $this->discourageNull($date); |
|
269 | - $this->discourageBoolean($date); |
|
270 | - |
|
271 | - return $this < $this->resolveCarbon($date); |
|
272 | - } |
|
273 | - |
|
274 | - /** |
|
275 | - * Determines if the instance is less (before) than another |
|
276 | - * |
|
277 | - * @example |
|
278 | - * ``` |
|
279 | - * Carbon::parse('2018-07-25 12:45:16')->isBefore('2018-07-25 12:45:15'); // false |
|
280 | - * Carbon::parse('2018-07-25 12:45:16')->isBefore('2018-07-25 12:45:16'); // false |
|
281 | - * Carbon::parse('2018-07-25 12:45:16')->isBefore('2018-07-25 12:45:17'); // true |
|
282 | - * ``` |
|
283 | - * |
|
284 | - * @param \Carbon\Carbon|\DateTimeInterface|mixed $date |
|
285 | - * |
|
286 | - * @see lessThan() |
|
287 | - * |
|
288 | - * @return bool |
|
289 | - */ |
|
290 | - public function isBefore($date): bool |
|
291 | - { |
|
292 | - return $this->lessThan($date); |
|
293 | - } |
|
294 | - |
|
295 | - /** |
|
296 | - * Determines if the instance is less (before) or equal to another |
|
297 | - * |
|
298 | - * @example |
|
299 | - * ``` |
|
300 | - * Carbon::parse('2018-07-25 12:45:16')->lte('2018-07-25 12:45:15'); // false |
|
301 | - * Carbon::parse('2018-07-25 12:45:16')->lte('2018-07-25 12:45:16'); // true |
|
302 | - * Carbon::parse('2018-07-25 12:45:16')->lte('2018-07-25 12:45:17'); // true |
|
303 | - * ``` |
|
304 | - * |
|
305 | - * @param \Carbon\Carbon|\DateTimeInterface|mixed $date |
|
306 | - * |
|
307 | - * @see lessThanOrEqualTo() |
|
308 | - * |
|
309 | - * @return bool |
|
310 | - */ |
|
311 | - public function lte($date): bool |
|
312 | - { |
|
313 | - return $this->lessThanOrEqualTo($date); |
|
314 | - } |
|
315 | - |
|
316 | - /** |
|
317 | - * Determines if the instance is less (before) or equal to another |
|
318 | - * |
|
319 | - * @example |
|
320 | - * ``` |
|
321 | - * Carbon::parse('2018-07-25 12:45:16')->lessThanOrEqualTo('2018-07-25 12:45:15'); // false |
|
322 | - * Carbon::parse('2018-07-25 12:45:16')->lessThanOrEqualTo('2018-07-25 12:45:16'); // true |
|
323 | - * Carbon::parse('2018-07-25 12:45:16')->lessThanOrEqualTo('2018-07-25 12:45:17'); // true |
|
324 | - * ``` |
|
325 | - * |
|
326 | - * @param \Carbon\Carbon|\DateTimeInterface|mixed $date |
|
327 | - * |
|
328 | - * @return bool |
|
329 | - */ |
|
330 | - public function lessThanOrEqualTo($date): bool |
|
331 | - { |
|
332 | - $this->discourageNull($date); |
|
333 | - $this->discourageBoolean($date); |
|
334 | - |
|
335 | - return $this <= $this->resolveCarbon($date); |
|
336 | - } |
|
337 | - |
|
338 | - /** |
|
339 | - * Determines if the instance is between two others. |
|
340 | - * |
|
341 | - * The third argument allow you to specify if bounds are included or not (true by default) |
|
342 | - * but for when you including/excluding bounds may produce different results in your application, |
|
343 | - * we recommend to use the explicit methods ->betweenIncluded() or ->betweenExcluded() instead. |
|
344 | - * |
|
345 | - * @example |
|
346 | - * ``` |
|
347 | - * Carbon::parse('2018-07-25')->between('2018-07-14', '2018-08-01'); // true |
|
348 | - * Carbon::parse('2018-07-25')->between('2018-08-01', '2018-08-20'); // false |
|
349 | - * Carbon::parse('2018-07-25')->between('2018-07-25', '2018-08-01'); // true |
|
350 | - * Carbon::parse('2018-07-25')->between('2018-07-25', '2018-08-01', false); // false |
|
351 | - * ``` |
|
352 | - * |
|
353 | - * @param \Carbon\Carbon|\DateTimeInterface|mixed $date1 |
|
354 | - * @param \Carbon\Carbon|\DateTimeInterface|mixed $date2 |
|
355 | - * @param bool $equal Indicates if an equal to comparison should be done |
|
356 | - * |
|
357 | - * @return bool |
|
358 | - */ |
|
359 | - public function between($date1, $date2, $equal = true): bool |
|
360 | - { |
|
361 | - $date1 = $this->resolveCarbon($date1); |
|
362 | - $date2 = $this->resolveCarbon($date2); |
|
363 | - |
|
364 | - if ($date1->greaterThan($date2)) { |
|
365 | - [$date1, $date2] = [$date2, $date1]; |
|
366 | - } |
|
367 | - |
|
368 | - if ($equal) { |
|
369 | - return $this >= $date1 && $this <= $date2; |
|
370 | - } |
|
371 | - |
|
372 | - return $this > $date1 && $this < $date2; |
|
373 | - } |
|
374 | - |
|
375 | - /** |
|
376 | - * Determines if the instance is between two others, bounds included. |
|
377 | - * |
|
378 | - * @example |
|
379 | - * ``` |
|
380 | - * Carbon::parse('2018-07-25')->betweenIncluded('2018-07-14', '2018-08-01'); // true |
|
381 | - * Carbon::parse('2018-07-25')->betweenIncluded('2018-08-01', '2018-08-20'); // false |
|
382 | - * Carbon::parse('2018-07-25')->betweenIncluded('2018-07-25', '2018-08-01'); // true |
|
383 | - * ``` |
|
384 | - * |
|
385 | - * @param \Carbon\Carbon|\DateTimeInterface|mixed $date1 |
|
386 | - * @param \Carbon\Carbon|\DateTimeInterface|mixed $date2 |
|
387 | - * |
|
388 | - * @return bool |
|
389 | - */ |
|
390 | - public function betweenIncluded($date1, $date2): bool |
|
391 | - { |
|
392 | - return $this->between($date1, $date2, true); |
|
393 | - } |
|
394 | - |
|
395 | - /** |
|
396 | - * Determines if the instance is between two others, bounds excluded. |
|
397 | - * |
|
398 | - * @example |
|
399 | - * ``` |
|
400 | - * Carbon::parse('2018-07-25')->betweenExcluded('2018-07-14', '2018-08-01'); // true |
|
401 | - * Carbon::parse('2018-07-25')->betweenExcluded('2018-08-01', '2018-08-20'); // false |
|
402 | - * Carbon::parse('2018-07-25')->betweenExcluded('2018-07-25', '2018-08-01'); // false |
|
403 | - * ``` |
|
404 | - * |
|
405 | - * @param \Carbon\Carbon|\DateTimeInterface|mixed $date1 |
|
406 | - * @param \Carbon\Carbon|\DateTimeInterface|mixed $date2 |
|
407 | - * |
|
408 | - * @return bool |
|
409 | - */ |
|
410 | - public function betweenExcluded($date1, $date2): bool |
|
411 | - { |
|
412 | - return $this->between($date1, $date2, false); |
|
413 | - } |
|
414 | - |
|
415 | - /** |
|
416 | - * Determines if the instance is between two others |
|
417 | - * |
|
418 | - * @example |
|
419 | - * ``` |
|
420 | - * Carbon::parse('2018-07-25')->isBetween('2018-07-14', '2018-08-01'); // true |
|
421 | - * Carbon::parse('2018-07-25')->isBetween('2018-08-01', '2018-08-20'); // false |
|
422 | - * Carbon::parse('2018-07-25')->isBetween('2018-07-25', '2018-08-01'); // true |
|
423 | - * Carbon::parse('2018-07-25')->isBetween('2018-07-25', '2018-08-01', false); // false |
|
424 | - * ``` |
|
425 | - * |
|
426 | - * @param \Carbon\Carbon|\DateTimeInterface|mixed $date1 |
|
427 | - * @param \Carbon\Carbon|\DateTimeInterface|mixed $date2 |
|
428 | - * @param bool $equal Indicates if an equal to comparison should be done |
|
429 | - * |
|
430 | - * @return bool |
|
431 | - */ |
|
432 | - public function isBetween($date1, $date2, $equal = true): bool |
|
433 | - { |
|
434 | - return $this->between($date1, $date2, $equal); |
|
435 | - } |
|
436 | - |
|
437 | - /** |
|
438 | - * Determines if the instance is a weekday. |
|
439 | - * |
|
440 | - * @example |
|
441 | - * ``` |
|
442 | - * Carbon::parse('2019-07-14')->isWeekday(); // false |
|
443 | - * Carbon::parse('2019-07-15')->isWeekday(); // true |
|
444 | - * ``` |
|
445 | - * |
|
446 | - * @return bool |
|
447 | - */ |
|
448 | - public function isWeekday() |
|
449 | - { |
|
450 | - return !$this->isWeekend(); |
|
451 | - } |
|
452 | - |
|
453 | - /** |
|
454 | - * Determines if the instance is a weekend day. |
|
455 | - * |
|
456 | - * @example |
|
457 | - * ``` |
|
458 | - * Carbon::parse('2019-07-14')->isWeekend(); // true |
|
459 | - * Carbon::parse('2019-07-15')->isWeekend(); // false |
|
460 | - * ``` |
|
461 | - * |
|
462 | - * @return bool |
|
463 | - */ |
|
464 | - public function isWeekend() |
|
465 | - { |
|
466 | - return \in_array($this->dayOfWeek, static::$weekendDays, true); |
|
467 | - } |
|
468 | - |
|
469 | - /** |
|
470 | - * Determines if the instance is yesterday. |
|
471 | - * |
|
472 | - * @example |
|
473 | - * ``` |
|
474 | - * Carbon::yesterday()->isYesterday(); // true |
|
475 | - * Carbon::tomorrow()->isYesterday(); // false |
|
476 | - * ``` |
|
477 | - * |
|
478 | - * @return bool |
|
479 | - */ |
|
480 | - public function isYesterday() |
|
481 | - { |
|
482 | - return $this->toDateString() === static::yesterday($this->getTimezone())->toDateString(); |
|
483 | - } |
|
484 | - |
|
485 | - /** |
|
486 | - * Determines if the instance is today. |
|
487 | - * |
|
488 | - * @example |
|
489 | - * ``` |
|
490 | - * Carbon::today()->isToday(); // true |
|
491 | - * Carbon::tomorrow()->isToday(); // false |
|
492 | - * ``` |
|
493 | - * |
|
494 | - * @return bool |
|
495 | - */ |
|
496 | - public function isToday() |
|
497 | - { |
|
498 | - return $this->toDateString() === $this->nowWithSameTz()->toDateString(); |
|
499 | - } |
|
500 | - |
|
501 | - /** |
|
502 | - * Determines if the instance is tomorrow. |
|
503 | - * |
|
504 | - * @example |
|
505 | - * ``` |
|
506 | - * Carbon::tomorrow()->isTomorrow(); // true |
|
507 | - * Carbon::yesterday()->isTomorrow(); // false |
|
508 | - * ``` |
|
509 | - * |
|
510 | - * @return bool |
|
511 | - */ |
|
512 | - public function isTomorrow() |
|
513 | - { |
|
514 | - return $this->toDateString() === static::tomorrow($this->getTimezone())->toDateString(); |
|
515 | - } |
|
516 | - |
|
517 | - /** |
|
518 | - * Determines if the instance is in the future, ie. greater (after) than now. |
|
519 | - * |
|
520 | - * @example |
|
521 | - * ``` |
|
522 | - * Carbon::now()->addHours(5)->isFuture(); // true |
|
523 | - * Carbon::now()->subHours(5)->isFuture(); // false |
|
524 | - * ``` |
|
525 | - * |
|
526 | - * @return bool |
|
527 | - */ |
|
528 | - public function isFuture() |
|
529 | - { |
|
530 | - return $this->greaterThan($this->nowWithSameTz()); |
|
531 | - } |
|
532 | - |
|
533 | - /** |
|
534 | - * Determines if the instance is in the past, ie. less (before) than now. |
|
535 | - * |
|
536 | - * @example |
|
537 | - * ``` |
|
538 | - * Carbon::now()->subHours(5)->isPast(); // true |
|
539 | - * Carbon::now()->addHours(5)->isPast(); // false |
|
540 | - * ``` |
|
541 | - * |
|
542 | - * @return bool |
|
543 | - */ |
|
544 | - public function isPast() |
|
545 | - { |
|
546 | - return $this->lessThan($this->nowWithSameTz()); |
|
547 | - } |
|
548 | - |
|
549 | - /** |
|
550 | - * Determines if the instance is a leap year. |
|
551 | - * |
|
552 | - * @example |
|
553 | - * ``` |
|
554 | - * Carbon::parse('2020-01-01')->isLeapYear(); // true |
|
555 | - * Carbon::parse('2019-01-01')->isLeapYear(); // false |
|
556 | - * ``` |
|
557 | - * |
|
558 | - * @return bool |
|
559 | - */ |
|
560 | - public function isLeapYear() |
|
561 | - { |
|
562 | - return $this->rawFormat('L') === '1'; |
|
563 | - } |
|
564 | - |
|
565 | - /** |
|
566 | - * Determines if the instance is a long year |
|
567 | - * |
|
568 | - * @example |
|
569 | - * ``` |
|
570 | - * Carbon::parse('2015-01-01')->isLongYear(); // true |
|
571 | - * Carbon::parse('2016-01-01')->isLongYear(); // false |
|
572 | - * ``` |
|
573 | - * |
|
574 | - * @see https://en.wikipedia.org/wiki/ISO_8601#Week_dates |
|
575 | - * |
|
576 | - * @return bool |
|
577 | - */ |
|
578 | - public function isLongYear() |
|
579 | - { |
|
580 | - return static::create($this->year, 12, 28, 0, 0, 0, $this->tz)->weekOfYear === 53; |
|
581 | - } |
|
582 | - |
|
583 | - /** |
|
584 | - * Compares the formatted values of the two dates. |
|
585 | - * |
|
586 | - * @example |
|
587 | - * ``` |
|
588 | - * Carbon::parse('2019-06-13')->isSameAs('Y-d', Carbon::parse('2019-12-13')); // true |
|
589 | - * Carbon::parse('2019-06-13')->isSameAs('Y-d', Carbon::parse('2019-06-14')); // false |
|
590 | - * ``` |
|
591 | - * |
|
592 | - * @param string $format date formats to compare. |
|
593 | - * @param \Carbon\Carbon|\DateTimeInterface|string|null $date instance to compare with or null to use current day. |
|
594 | - * |
|
595 | - * @return bool |
|
596 | - */ |
|
597 | - public function isSameAs($format, $date = null) |
|
598 | - { |
|
599 | - return $this->rawFormat($format) === $this->resolveCarbon($date)->rawFormat($format); |
|
600 | - } |
|
601 | - |
|
602 | - /** |
|
603 | - * Determines if the instance is in the current unit given. |
|
604 | - * |
|
605 | - * @example |
|
606 | - * ``` |
|
607 | - * Carbon::parse('2019-01-13')->isSameUnit('year', Carbon::parse('2019-12-25')); // true |
|
608 | - * Carbon::parse('2018-12-13')->isSameUnit('year', Carbon::parse('2019-12-25')); // false |
|
609 | - * ``` |
|
610 | - * |
|
611 | - * @param string $unit singular unit string |
|
612 | - * @param \Carbon\Carbon|\DateTimeInterface|null $date instance to compare with or null to use current day. |
|
613 | - * |
|
614 | - * @throws BadComparisonUnitException |
|
615 | - * |
|
616 | - * @return bool |
|
617 | - */ |
|
618 | - public function isSameUnit($unit, $date = null) |
|
619 | - { |
|
620 | - $units = [ |
|
621 | - // @call isSameUnit |
|
622 | - 'year' => 'Y', |
|
623 | - // @call isSameUnit |
|
624 | - 'week' => 'o-W', |
|
625 | - // @call isSameUnit |
|
626 | - 'day' => 'Y-m-d', |
|
627 | - // @call isSameUnit |
|
628 | - 'hour' => 'Y-m-d H', |
|
629 | - // @call isSameUnit |
|
630 | - 'minute' => 'Y-m-d H:i', |
|
631 | - // @call isSameUnit |
|
632 | - 'second' => 'Y-m-d H:i:s', |
|
633 | - // @call isSameUnit |
|
634 | - 'micro' => 'Y-m-d H:i:s.u', |
|
635 | - // @call isSameUnit |
|
636 | - 'microsecond' => 'Y-m-d H:i:s.u', |
|
637 | - ]; |
|
638 | - |
|
639 | - if (isset($units[$unit])) { |
|
640 | - return $this->isSameAs($units[$unit], $date); |
|
641 | - } |
|
642 | - |
|
643 | - if (isset($this->$unit)) { |
|
644 | - return $this->resolveCarbon($date)->$unit === $this->$unit; |
|
645 | - } |
|
646 | - |
|
647 | - if ($this->localStrictModeEnabled ?? static::isStrictModeEnabled()) { |
|
648 | - throw new BadComparisonUnitException($unit); |
|
649 | - } |
|
650 | - |
|
651 | - return false; |
|
652 | - } |
|
653 | - |
|
654 | - /** |
|
655 | - * Determines if the instance is in the current unit given. |
|
656 | - * |
|
657 | - * @example |
|
658 | - * ``` |
|
659 | - * Carbon::now()->isCurrentUnit('hour'); // true |
|
660 | - * Carbon::now()->subHours(2)->isCurrentUnit('hour'); // false |
|
661 | - * ``` |
|
662 | - * |
|
663 | - * @param string $unit The unit to test. |
|
664 | - * |
|
665 | - * @throws BadMethodCallException |
|
666 | - * |
|
667 | - * @return bool |
|
668 | - */ |
|
669 | - public function isCurrentUnit($unit) |
|
670 | - { |
|
671 | - return $this->{'isSame'.ucfirst($unit)}(); |
|
672 | - } |
|
673 | - |
|
674 | - /** |
|
675 | - * Checks if the passed in date is in the same quarter as the instance quarter (and year if needed). |
|
676 | - * |
|
677 | - * @example |
|
678 | - * ``` |
|
679 | - * Carbon::parse('2019-01-12')->isSameQuarter(Carbon::parse('2019-03-01')); // true |
|
680 | - * Carbon::parse('2019-01-12')->isSameQuarter(Carbon::parse('2019-04-01')); // false |
|
681 | - * Carbon::parse('2019-01-12')->isSameQuarter(Carbon::parse('2018-03-01')); // false |
|
682 | - * Carbon::parse('2019-01-12')->isSameQuarter(Carbon::parse('2018-03-01'), false); // true |
|
683 | - * ``` |
|
684 | - * |
|
685 | - * @param \Carbon\Carbon|\DateTimeInterface|string|null $date The instance to compare with or null to use current day. |
|
686 | - * @param bool $ofSameYear Check if it is the same month in the same year. |
|
687 | - * |
|
688 | - * @return bool |
|
689 | - */ |
|
690 | - public function isSameQuarter($date = null, $ofSameYear = true) |
|
691 | - { |
|
692 | - $date = $this->resolveCarbon($date); |
|
693 | - |
|
694 | - return $this->quarter === $date->quarter && (!$ofSameYear || $this->isSameYear($date)); |
|
695 | - } |
|
696 | - |
|
697 | - /** |
|
698 | - * Checks if the passed in date is in the same month as the instance´s month. |
|
699 | - * |
|
700 | - * @example |
|
701 | - * ``` |
|
702 | - * Carbon::parse('2019-01-12')->isSameMonth(Carbon::parse('2019-01-01')); // true |
|
703 | - * Carbon::parse('2019-01-12')->isSameMonth(Carbon::parse('2019-02-01')); // false |
|
704 | - * Carbon::parse('2019-01-12')->isSameMonth(Carbon::parse('2018-01-01')); // false |
|
705 | - * Carbon::parse('2019-01-12')->isSameMonth(Carbon::parse('2018-01-01'), false); // true |
|
706 | - * ``` |
|
707 | - * |
|
708 | - * @param \Carbon\Carbon|\DateTimeInterface|null $date The instance to compare with or null to use the current date. |
|
709 | - * @param bool $ofSameYear Check if it is the same month in the same year. |
|
710 | - * |
|
711 | - * @return bool |
|
712 | - */ |
|
713 | - public function isSameMonth($date = null, $ofSameYear = true) |
|
714 | - { |
|
715 | - return $this->isSameAs($ofSameYear ? 'Y-m' : 'm', $date); |
|
716 | - } |
|
717 | - |
|
718 | - /** |
|
719 | - * Checks if this day is a specific day of the week. |
|
720 | - * |
|
721 | - * @example |
|
722 | - * ``` |
|
723 | - * Carbon::parse('2019-07-17')->isDayOfWeek(Carbon::WEDNESDAY); // true |
|
724 | - * Carbon::parse('2019-07-17')->isDayOfWeek(Carbon::FRIDAY); // false |
|
725 | - * Carbon::parse('2019-07-17')->isDayOfWeek('Wednesday'); // true |
|
726 | - * Carbon::parse('2019-07-17')->isDayOfWeek('Friday'); // false |
|
727 | - * ``` |
|
728 | - * |
|
729 | - * @param int $dayOfWeek |
|
730 | - * |
|
731 | - * @return bool |
|
732 | - */ |
|
733 | - public function isDayOfWeek($dayOfWeek) |
|
734 | - { |
|
735 | - if (\is_string($dayOfWeek) && \defined($constant = static::class.'::'.strtoupper($dayOfWeek))) { |
|
736 | - $dayOfWeek = \constant($constant); |
|
737 | - } |
|
738 | - |
|
739 | - return $this->dayOfWeek === $dayOfWeek; |
|
740 | - } |
|
741 | - |
|
742 | - /** |
|
743 | - * Check if its the birthday. Compares the date/month values of the two dates. |
|
744 | - * |
|
745 | - * @example |
|
746 | - * ``` |
|
747 | - * Carbon::now()->subYears(5)->isBirthday(); // true |
|
748 | - * Carbon::now()->subYears(5)->subDay()->isBirthday(); // false |
|
749 | - * Carbon::parse('2019-06-05')->isBirthday(Carbon::parse('2001-06-05')); // true |
|
750 | - * Carbon::parse('2019-06-05')->isBirthday(Carbon::parse('2001-06-06')); // false |
|
751 | - * ``` |
|
752 | - * |
|
753 | - * @param \Carbon\Carbon|\DateTimeInterface|null $date The instance to compare with or null to use current day. |
|
754 | - * |
|
755 | - * @return bool |
|
756 | - */ |
|
757 | - public function isBirthday($date = null) |
|
758 | - { |
|
759 | - return $this->isSameAs('md', $date); |
|
760 | - } |
|
761 | - |
|
762 | - /** |
|
763 | - * Check if today is the last day of the Month |
|
764 | - * |
|
765 | - * @example |
|
766 | - * ``` |
|
767 | - * Carbon::parse('2019-02-28')->isLastOfMonth(); // true |
|
768 | - * Carbon::parse('2019-03-28')->isLastOfMonth(); // false |
|
769 | - * Carbon::parse('2019-03-30')->isLastOfMonth(); // false |
|
770 | - * Carbon::parse('2019-03-31')->isLastOfMonth(); // true |
|
771 | - * Carbon::parse('2019-04-30')->isLastOfMonth(); // true |
|
772 | - * ``` |
|
773 | - * |
|
774 | - * @return bool |
|
775 | - */ |
|
776 | - public function isLastOfMonth() |
|
777 | - { |
|
778 | - return $this->day === $this->daysInMonth; |
|
779 | - } |
|
780 | - |
|
781 | - /** |
|
782 | - * Check if the instance is start of day / midnight. |
|
783 | - * |
|
784 | - * @example |
|
785 | - * ``` |
|
786 | - * Carbon::parse('2019-02-28 00:00:00')->isStartOfDay(); // true |
|
787 | - * Carbon::parse('2019-02-28 00:00:00.999999')->isStartOfDay(); // true |
|
788 | - * Carbon::parse('2019-02-28 00:00:01')->isStartOfDay(); // false |
|
789 | - * Carbon::parse('2019-02-28 00:00:00.000000')->isStartOfDay(true); // true |
|
790 | - * Carbon::parse('2019-02-28 00:00:00.000012')->isStartOfDay(true); // false |
|
791 | - * ``` |
|
792 | - * |
|
793 | - * @param bool $checkMicroseconds check time at microseconds precision |
|
794 | - * |
|
795 | - * @return bool |
|
796 | - */ |
|
797 | - public function isStartOfDay($checkMicroseconds = false) |
|
798 | - { |
|
799 | - /* @var CarbonInterface $this */ |
|
800 | - return $checkMicroseconds |
|
801 | - ? $this->rawFormat('H:i:s.u') === '00:00:00.000000' |
|
802 | - : $this->rawFormat('H:i:s') === '00:00:00'; |
|
803 | - } |
|
804 | - |
|
805 | - /** |
|
806 | - * Check if the instance is end of day. |
|
807 | - * |
|
808 | - * @example |
|
809 | - * ``` |
|
810 | - * Carbon::parse('2019-02-28 23:59:59.999999')->isEndOfDay(); // true |
|
811 | - * Carbon::parse('2019-02-28 23:59:59.123456')->isEndOfDay(); // true |
|
812 | - * Carbon::parse('2019-02-28 23:59:59')->isEndOfDay(); // true |
|
813 | - * Carbon::parse('2019-02-28 23:59:58.999999')->isEndOfDay(); // false |
|
814 | - * Carbon::parse('2019-02-28 23:59:59.999999')->isEndOfDay(true); // true |
|
815 | - * Carbon::parse('2019-02-28 23:59:59.123456')->isEndOfDay(true); // false |
|
816 | - * Carbon::parse('2019-02-28 23:59:59')->isEndOfDay(true); // false |
|
817 | - * ``` |
|
818 | - * |
|
819 | - * @param bool $checkMicroseconds check time at microseconds precision |
|
820 | - * |
|
821 | - * @return bool |
|
822 | - */ |
|
823 | - public function isEndOfDay($checkMicroseconds = false) |
|
824 | - { |
|
825 | - /* @var CarbonInterface $this */ |
|
826 | - return $checkMicroseconds |
|
827 | - ? $this->rawFormat('H:i:s.u') === '23:59:59.999999' |
|
828 | - : $this->rawFormat('H:i:s') === '23:59:59'; |
|
829 | - } |
|
830 | - |
|
831 | - /** |
|
832 | - * Check if the instance is start of day / midnight. |
|
833 | - * |
|
834 | - * @example |
|
835 | - * ``` |
|
836 | - * Carbon::parse('2019-02-28 00:00:00')->isMidnight(); // true |
|
837 | - * Carbon::parse('2019-02-28 00:00:00.999999')->isMidnight(); // true |
|
838 | - * Carbon::parse('2019-02-28 00:00:01')->isMidnight(); // false |
|
839 | - * ``` |
|
840 | - * |
|
841 | - * @return bool |
|
842 | - */ |
|
843 | - public function isMidnight() |
|
844 | - { |
|
845 | - return $this->isStartOfDay(); |
|
846 | - } |
|
847 | - |
|
848 | - /** |
|
849 | - * Check if the instance is midday. |
|
850 | - * |
|
851 | - * @example |
|
852 | - * ``` |
|
853 | - * Carbon::parse('2019-02-28 11:59:59.999999')->isMidday(); // false |
|
854 | - * Carbon::parse('2019-02-28 12:00:00')->isMidday(); // true |
|
855 | - * Carbon::parse('2019-02-28 12:00:00.999999')->isMidday(); // true |
|
856 | - * Carbon::parse('2019-02-28 12:00:01')->isMidday(); // false |
|
857 | - * ``` |
|
858 | - * |
|
859 | - * @return bool |
|
860 | - */ |
|
861 | - public function isMidday() |
|
862 | - { |
|
863 | - /* @var CarbonInterface $this */ |
|
864 | - return $this->rawFormat('G:i:s') === static::$midDayAt.':00:00'; |
|
865 | - } |
|
866 | - |
|
867 | - /** |
|
868 | - * Checks if the (date)time string is in a given format. |
|
869 | - * |
|
870 | - * @example |
|
871 | - * ``` |
|
872 | - * Carbon::hasFormat('11:12:45', 'h:i:s'); // true |
|
873 | - * Carbon::hasFormat('13:12:45', 'h:i:s'); // false |
|
874 | - * ``` |
|
875 | - * |
|
876 | - * @param string $date |
|
877 | - * @param string $format |
|
878 | - * |
|
879 | - * @return bool |
|
880 | - */ |
|
881 | - public static function hasFormat($date, $format) |
|
882 | - { |
|
883 | - // createFromFormat() is known to handle edge cases silently. |
|
884 | - // E.g. "1975-5-1" (Y-n-j) will still be parsed correctly when "Y-m-d" is supplied as the format. |
|
885 | - // To ensure we're really testing against our desired format, perform an additional regex validation. |
|
886 | - |
|
887 | - return self::matchFormatPattern((string) $date, preg_quote((string) $format, '/'), static::$regexFormats); |
|
888 | - } |
|
889 | - |
|
890 | - /** |
|
891 | - * Checks if the (date)time string is in a given format. |
|
892 | - * |
|
893 | - * @example |
|
894 | - * ``` |
|
895 | - * Carbon::hasFormatWithModifiers('31/08/2015', 'd#m#Y'); // true |
|
896 | - * Carbon::hasFormatWithModifiers('31/08/2015', 'm#d#Y'); // false |
|
897 | - * ``` |
|
898 | - * |
|
899 | - * @param string $date |
|
900 | - * @param string $format |
|
901 | - * |
|
902 | - * @return bool |
|
903 | - */ |
|
904 | - public static function hasFormatWithModifiers($date, $format): bool |
|
905 | - { |
|
906 | - return self::matchFormatPattern((string) $date, (string) $format, array_merge(static::$regexFormats, static::$regexFormatModifiers)); |
|
907 | - } |
|
908 | - |
|
909 | - /** |
|
910 | - * Checks if the (date)time string is in a given format and valid to create a |
|
911 | - * new instance. |
|
912 | - * |
|
913 | - * @example |
|
914 | - * ``` |
|
915 | - * Carbon::canBeCreatedFromFormat('11:12:45', 'h:i:s'); // true |
|
916 | - * Carbon::canBeCreatedFromFormat('13:12:45', 'h:i:s'); // false |
|
917 | - * ``` |
|
918 | - * |
|
919 | - * @param string $date |
|
920 | - * @param string $format |
|
921 | - * |
|
922 | - * @return bool |
|
923 | - */ |
|
924 | - public static function canBeCreatedFromFormat($date, $format) |
|
925 | - { |
|
926 | - try { |
|
927 | - // Try to create a DateTime object. Throws an InvalidArgumentException if the provided time string |
|
928 | - // doesn't match the format in any way. |
|
929 | - if (!static::rawCreateFromFormat($format, $date)) { |
|
930 | - return false; |
|
931 | - } |
|
932 | - } catch (InvalidArgumentException $e) { |
|
933 | - return false; |
|
934 | - } |
|
935 | - |
|
936 | - return static::hasFormatWithModifiers($date, $format); |
|
937 | - } |
|
938 | - |
|
939 | - /** |
|
940 | - * Returns true if the current date matches the given string. |
|
941 | - * |
|
942 | - * @example |
|
943 | - * ``` |
|
944 | - * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('2019')); // true |
|
945 | - * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('2018')); // false |
|
946 | - * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('2019-06')); // true |
|
947 | - * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('06-02')); // true |
|
948 | - * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('2019-06-02')); // true |
|
949 | - * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('Sunday')); // true |
|
950 | - * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('June')); // true |
|
951 | - * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('12:23')); // true |
|
952 | - * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('12:23:45')); // true |
|
953 | - * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('12:23:00')); // false |
|
954 | - * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('12h')); // true |
|
955 | - * var_dump(Carbon::parse('2019-06-02 15:23:45')->is('3pm')); // true |
|
956 | - * var_dump(Carbon::parse('2019-06-02 15:23:45')->is('3am')); // false |
|
957 | - * ``` |
|
958 | - * |
|
959 | - * @param string $tester day name, month name, hour, date, etc. as string |
|
960 | - * |
|
961 | - * @return bool |
|
962 | - */ |
|
963 | - public function is(string $tester) |
|
964 | - { |
|
965 | - $tester = trim($tester); |
|
966 | - |
|
967 | - if (preg_match('/^\d+$/', $tester)) { |
|
968 | - return $this->year === (int) $tester; |
|
969 | - } |
|
970 | - |
|
971 | - if (preg_match('/^\d{3,}-\d{1,2}$/', $tester)) { |
|
972 | - return $this->isSameMonth(static::parse($tester)); |
|
973 | - } |
|
974 | - |
|
975 | - if (preg_match('/^\d{1,2}-\d{1,2}$/', $tester)) { |
|
976 | - return $this->isSameDay(static::parse($this->year.'-'.$tester)); |
|
977 | - } |
|
978 | - |
|
979 | - $modifier = preg_replace('/(\d)h$/i', '$1:00', $tester); |
|
980 | - |
|
981 | - /* @var CarbonInterface $max */ |
|
982 | - $median = static::parse('5555-06-15 12:30:30.555555')->modify($modifier); |
|
983 | - $current = $this->avoidMutation(); |
|
984 | - /* @var CarbonInterface $other */ |
|
985 | - $other = $this->avoidMutation()->modify($modifier); |
|
986 | - |
|
987 | - if ($current->eq($other)) { |
|
988 | - return true; |
|
989 | - } |
|
990 | - |
|
991 | - if (preg_match('/\d:\d{1,2}:\d{1,2}$/', $tester)) { |
|
992 | - return $current->startOfSecond()->eq($other); |
|
993 | - } |
|
994 | - |
|
995 | - if (preg_match('/\d:\d{1,2}$/', $tester)) { |
|
996 | - return $current->startOfMinute()->eq($other); |
|
997 | - } |
|
998 | - |
|
999 | - if (preg_match('/\d(h|am|pm)$/', $tester)) { |
|
1000 | - return $current->startOfHour()->eq($other); |
|
1001 | - } |
|
1002 | - |
|
1003 | - if (preg_match( |
|
1004 | - '/^(january|february|march|april|may|june|july|august|september|october|november|december)\s+\d+$/i', |
|
1005 | - $tester |
|
1006 | - )) { |
|
1007 | - return $current->startOfMonth()->eq($other->startOfMonth()); |
|
1008 | - } |
|
1009 | - |
|
1010 | - $units = [ |
|
1011 | - 'month' => [1, 'year'], |
|
1012 | - 'day' => [1, 'month'], |
|
1013 | - 'hour' => [0, 'day'], |
|
1014 | - 'minute' => [0, 'hour'], |
|
1015 | - 'second' => [0, 'minute'], |
|
1016 | - 'microsecond' => [0, 'second'], |
|
1017 | - ]; |
|
1018 | - |
|
1019 | - foreach ($units as $unit => [$minimum, $startUnit]) { |
|
1020 | - if ($minimum === $median->$unit) { |
|
1021 | - $current = $current->startOf($startUnit); |
|
1022 | - |
|
1023 | - break; |
|
1024 | - } |
|
1025 | - } |
|
1026 | - |
|
1027 | - return $current->eq($other); |
|
1028 | - } |
|
1029 | - |
|
1030 | - /** |
|
1031 | - * Checks if the (date)time string is in a given format with |
|
1032 | - * given list of pattern replacements. |
|
1033 | - * |
|
1034 | - * @example |
|
1035 | - * ``` |
|
1036 | - * Carbon::hasFormat('11:12:45', 'h:i:s'); // true |
|
1037 | - * Carbon::hasFormat('13:12:45', 'h:i:s'); // false |
|
1038 | - * ``` |
|
1039 | - * |
|
1040 | - * @param string $date |
|
1041 | - * @param string $format |
|
1042 | - * @param array $replacements |
|
1043 | - * |
|
1044 | - * @return bool |
|
1045 | - */ |
|
1046 | - private static function matchFormatPattern(string $date, string $format, array $replacements): bool |
|
1047 | - { |
|
1048 | - // Preg quote, but remove escaped backslashes since we'll deal with escaped characters in the format string. |
|
1049 | - $regex = str_replace('\\\\', '\\', $format); |
|
1050 | - // Replace not-escaped letters |
|
1051 | - $regex = preg_replace_callback( |
|
1052 | - '/(?<!\\\\)((?:\\\\{2})*)(['.implode('', array_keys($replacements)).'])/', |
|
1053 | - function ($match) use ($replacements) { |
|
1054 | - return $match[1].strtr($match[2], $replacements); |
|
1055 | - }, |
|
1056 | - $regex |
|
1057 | - ); |
|
1058 | - // Replace escaped letters by the letter itself |
|
1059 | - $regex = preg_replace('/(?<!\\\\)((?:\\\\{2})*)\\\\(\w)/', '$1$2', $regex); |
|
1060 | - // Escape not escaped slashes |
|
1061 | - $regex = preg_replace('#(?<!\\\\)((?:\\\\{2})*)/#', '$1\\/', $regex); |
|
1062 | - |
|
1063 | - return (bool) @preg_match('/^'.$regex.'$/', $date); |
|
1064 | - } |
|
1065 | - |
|
1066 | - /** |
|
1067 | - * Returns true if the date was created using CarbonImmutable::startOfTime() |
|
1068 | - * |
|
1069 | - * @return bool |
|
1070 | - */ |
|
1071 | - public function isStartOfTime(): bool |
|
1072 | - { |
|
1073 | - return $this->startOfTime ?? false; |
|
1074 | - } |
|
1075 | - |
|
1076 | - /** |
|
1077 | - * Returns true if the date was created using CarbonImmutable::endOfTime() |
|
1078 | - * |
|
1079 | - * @return bool |
|
1080 | - */ |
|
1081 | - public function isEndOfTime(): bool |
|
1082 | - { |
|
1083 | - return $this->endOfTime ?? false; |
|
1084 | - } |
|
1085 | - |
|
1086 | - private function discourageNull($value): void |
|
1087 | - { |
|
1088 | - if ($value === null) { |
|
1089 | - @trigger_error("Since 2.61.0, it's deprecated to compare a date to null, meaning of such comparison is ambiguous and will no longer be possible in 3.0.0, you should explicitly pass 'now' or make an other check to eliminate null values.", \E_USER_DEPRECATED); |
|
1090 | - } |
|
1091 | - } |
|
1092 | - |
|
1093 | - private function discourageBoolean($value): void |
|
1094 | - { |
|
1095 | - if (\is_bool($value)) { |
|
1096 | - @trigger_error("Since 2.61.0, it's deprecated to compare a date to true or false, meaning of such comparison is ambiguous and will no longer be possible in 3.0.0, you should explicitly pass 'now' or make an other check to eliminate boolean values.", \E_USER_DEPRECATED); |
|
1097 | - } |
|
1098 | - } |
|
35 | + /** @var bool */ |
|
36 | + protected $endOfTime = false; |
|
37 | + |
|
38 | + /** @var bool */ |
|
39 | + protected $startOfTime = false; |
|
40 | + |
|
41 | + /** |
|
42 | + * Determines if the instance is equal to another |
|
43 | + * |
|
44 | + * @example |
|
45 | + * ``` |
|
46 | + * Carbon::parse('2018-07-25 12:45:16')->eq('2018-07-25 12:45:16'); // true |
|
47 | + * Carbon::parse('2018-07-25 12:45:16')->eq(Carbon::parse('2018-07-25 12:45:16')); // true |
|
48 | + * Carbon::parse('2018-07-25 12:45:16')->eq('2018-07-25 12:45:17'); // false |
|
49 | + * ``` |
|
50 | + * |
|
51 | + * @param \Carbon\Carbon|\DateTimeInterface|mixed $date |
|
52 | + * |
|
53 | + * @see equalTo() |
|
54 | + * |
|
55 | + * @return bool |
|
56 | + */ |
|
57 | + public function eq($date): bool |
|
58 | + { |
|
59 | + return $this->equalTo($date); |
|
60 | + } |
|
61 | + |
|
62 | + /** |
|
63 | + * Determines if the instance is equal to another |
|
64 | + * |
|
65 | + * @example |
|
66 | + * ``` |
|
67 | + * Carbon::parse('2018-07-25 12:45:16')->equalTo('2018-07-25 12:45:16'); // true |
|
68 | + * Carbon::parse('2018-07-25 12:45:16')->equalTo(Carbon::parse('2018-07-25 12:45:16')); // true |
|
69 | + * Carbon::parse('2018-07-25 12:45:16')->equalTo('2018-07-25 12:45:17'); // false |
|
70 | + * ``` |
|
71 | + * |
|
72 | + * @param \Carbon\Carbon|\DateTimeInterface|mixed $date |
|
73 | + * |
|
74 | + * @return bool |
|
75 | + */ |
|
76 | + public function equalTo($date): bool |
|
77 | + { |
|
78 | + $this->discourageNull($date); |
|
79 | + $this->discourageBoolean($date); |
|
80 | + |
|
81 | + return $this == $this->resolveCarbon($date); |
|
82 | + } |
|
83 | + |
|
84 | + /** |
|
85 | + * Determines if the instance is not equal to another |
|
86 | + * |
|
87 | + * @example |
|
88 | + * ``` |
|
89 | + * Carbon::parse('2018-07-25 12:45:16')->ne('2018-07-25 12:45:16'); // false |
|
90 | + * Carbon::parse('2018-07-25 12:45:16')->ne(Carbon::parse('2018-07-25 12:45:16')); // false |
|
91 | + * Carbon::parse('2018-07-25 12:45:16')->ne('2018-07-25 12:45:17'); // true |
|
92 | + * ``` |
|
93 | + * |
|
94 | + * @param \Carbon\Carbon|\DateTimeInterface|mixed $date |
|
95 | + * |
|
96 | + * @see notEqualTo() |
|
97 | + * |
|
98 | + * @return bool |
|
99 | + */ |
|
100 | + public function ne($date): bool |
|
101 | + { |
|
102 | + return $this->notEqualTo($date); |
|
103 | + } |
|
104 | + |
|
105 | + /** |
|
106 | + * Determines if the instance is not equal to another |
|
107 | + * |
|
108 | + * @example |
|
109 | + * ``` |
|
110 | + * Carbon::parse('2018-07-25 12:45:16')->notEqualTo('2018-07-25 12:45:16'); // false |
|
111 | + * Carbon::parse('2018-07-25 12:45:16')->notEqualTo(Carbon::parse('2018-07-25 12:45:16')); // false |
|
112 | + * Carbon::parse('2018-07-25 12:45:16')->notEqualTo('2018-07-25 12:45:17'); // true |
|
113 | + * ``` |
|
114 | + * |
|
115 | + * @param \Carbon\Carbon|\DateTimeInterface|mixed $date |
|
116 | + * |
|
117 | + * @return bool |
|
118 | + */ |
|
119 | + public function notEqualTo($date): bool |
|
120 | + { |
|
121 | + return !$this->equalTo($date); |
|
122 | + } |
|
123 | + |
|
124 | + /** |
|
125 | + * Determines if the instance is greater (after) than another |
|
126 | + * |
|
127 | + * @example |
|
128 | + * ``` |
|
129 | + * Carbon::parse('2018-07-25 12:45:16')->gt('2018-07-25 12:45:15'); // true |
|
130 | + * Carbon::parse('2018-07-25 12:45:16')->gt('2018-07-25 12:45:16'); // false |
|
131 | + * Carbon::parse('2018-07-25 12:45:16')->gt('2018-07-25 12:45:17'); // false |
|
132 | + * ``` |
|
133 | + * |
|
134 | + * @param \Carbon\Carbon|\DateTimeInterface|mixed $date |
|
135 | + * |
|
136 | + * @see greaterThan() |
|
137 | + * |
|
138 | + * @return bool |
|
139 | + */ |
|
140 | + public function gt($date): bool |
|
141 | + { |
|
142 | + return $this->greaterThan($date); |
|
143 | + } |
|
144 | + |
|
145 | + /** |
|
146 | + * Determines if the instance is greater (after) than another |
|
147 | + * |
|
148 | + * @example |
|
149 | + * ``` |
|
150 | + * Carbon::parse('2018-07-25 12:45:16')->greaterThan('2018-07-25 12:45:15'); // true |
|
151 | + * Carbon::parse('2018-07-25 12:45:16')->greaterThan('2018-07-25 12:45:16'); // false |
|
152 | + * Carbon::parse('2018-07-25 12:45:16')->greaterThan('2018-07-25 12:45:17'); // false |
|
153 | + * ``` |
|
154 | + * |
|
155 | + * @param \Carbon\Carbon|\DateTimeInterface|mixed $date |
|
156 | + * |
|
157 | + * @return bool |
|
158 | + */ |
|
159 | + public function greaterThan($date): bool |
|
160 | + { |
|
161 | + $this->discourageNull($date); |
|
162 | + $this->discourageBoolean($date); |
|
163 | + |
|
164 | + return $this > $this->resolveCarbon($date); |
|
165 | + } |
|
166 | + |
|
167 | + /** |
|
168 | + * Determines if the instance is greater (after) than another |
|
169 | + * |
|
170 | + * @example |
|
171 | + * ``` |
|
172 | + * Carbon::parse('2018-07-25 12:45:16')->isAfter('2018-07-25 12:45:15'); // true |
|
173 | + * Carbon::parse('2018-07-25 12:45:16')->isAfter('2018-07-25 12:45:16'); // false |
|
174 | + * Carbon::parse('2018-07-25 12:45:16')->isAfter('2018-07-25 12:45:17'); // false |
|
175 | + * ``` |
|
176 | + * |
|
177 | + * @param \Carbon\Carbon|\DateTimeInterface|mixed $date |
|
178 | + * |
|
179 | + * @see greaterThan() |
|
180 | + * |
|
181 | + * @return bool |
|
182 | + */ |
|
183 | + public function isAfter($date): bool |
|
184 | + { |
|
185 | + return $this->greaterThan($date); |
|
186 | + } |
|
187 | + |
|
188 | + /** |
|
189 | + * Determines if the instance is greater (after) than or equal to another |
|
190 | + * |
|
191 | + * @example |
|
192 | + * ``` |
|
193 | + * Carbon::parse('2018-07-25 12:45:16')->gte('2018-07-25 12:45:15'); // true |
|
194 | + * Carbon::parse('2018-07-25 12:45:16')->gte('2018-07-25 12:45:16'); // true |
|
195 | + * Carbon::parse('2018-07-25 12:45:16')->gte('2018-07-25 12:45:17'); // false |
|
196 | + * ``` |
|
197 | + * |
|
198 | + * @param \Carbon\Carbon|\DateTimeInterface|mixed $date |
|
199 | + * |
|
200 | + * @see greaterThanOrEqualTo() |
|
201 | + * |
|
202 | + * @return bool |
|
203 | + */ |
|
204 | + public function gte($date): bool |
|
205 | + { |
|
206 | + return $this->greaterThanOrEqualTo($date); |
|
207 | + } |
|
208 | + |
|
209 | + /** |
|
210 | + * Determines if the instance is greater (after) than or equal to another |
|
211 | + * |
|
212 | + * @example |
|
213 | + * ``` |
|
214 | + * Carbon::parse('2018-07-25 12:45:16')->greaterThanOrEqualTo('2018-07-25 12:45:15'); // true |
|
215 | + * Carbon::parse('2018-07-25 12:45:16')->greaterThanOrEqualTo('2018-07-25 12:45:16'); // true |
|
216 | + * Carbon::parse('2018-07-25 12:45:16')->greaterThanOrEqualTo('2018-07-25 12:45:17'); // false |
|
217 | + * ``` |
|
218 | + * |
|
219 | + * @param \Carbon\Carbon|\DateTimeInterface|mixed $date |
|
220 | + * |
|
221 | + * @return bool |
|
222 | + */ |
|
223 | + public function greaterThanOrEqualTo($date): bool |
|
224 | + { |
|
225 | + $this->discourageNull($date); |
|
226 | + $this->discourageBoolean($date); |
|
227 | + |
|
228 | + return $this >= $this->resolveCarbon($date); |
|
229 | + } |
|
230 | + |
|
231 | + /** |
|
232 | + * Determines if the instance is less (before) than another |
|
233 | + * |
|
234 | + * @example |
|
235 | + * ``` |
|
236 | + * Carbon::parse('2018-07-25 12:45:16')->lt('2018-07-25 12:45:15'); // false |
|
237 | + * Carbon::parse('2018-07-25 12:45:16')->lt('2018-07-25 12:45:16'); // false |
|
238 | + * Carbon::parse('2018-07-25 12:45:16')->lt('2018-07-25 12:45:17'); // true |
|
239 | + * ``` |
|
240 | + * |
|
241 | + * @param \Carbon\Carbon|\DateTimeInterface|mixed $date |
|
242 | + * |
|
243 | + * @see lessThan() |
|
244 | + * |
|
245 | + * @return bool |
|
246 | + */ |
|
247 | + public function lt($date): bool |
|
248 | + { |
|
249 | + return $this->lessThan($date); |
|
250 | + } |
|
251 | + |
|
252 | + /** |
|
253 | + * Determines if the instance is less (before) than another |
|
254 | + * |
|
255 | + * @example |
|
256 | + * ``` |
|
257 | + * Carbon::parse('2018-07-25 12:45:16')->lessThan('2018-07-25 12:45:15'); // false |
|
258 | + * Carbon::parse('2018-07-25 12:45:16')->lessThan('2018-07-25 12:45:16'); // false |
|
259 | + * Carbon::parse('2018-07-25 12:45:16')->lessThan('2018-07-25 12:45:17'); // true |
|
260 | + * ``` |
|
261 | + * |
|
262 | + * @param \Carbon\Carbon|\DateTimeInterface|mixed $date |
|
263 | + * |
|
264 | + * @return bool |
|
265 | + */ |
|
266 | + public function lessThan($date): bool |
|
267 | + { |
|
268 | + $this->discourageNull($date); |
|
269 | + $this->discourageBoolean($date); |
|
270 | + |
|
271 | + return $this < $this->resolveCarbon($date); |
|
272 | + } |
|
273 | + |
|
274 | + /** |
|
275 | + * Determines if the instance is less (before) than another |
|
276 | + * |
|
277 | + * @example |
|
278 | + * ``` |
|
279 | + * Carbon::parse('2018-07-25 12:45:16')->isBefore('2018-07-25 12:45:15'); // false |
|
280 | + * Carbon::parse('2018-07-25 12:45:16')->isBefore('2018-07-25 12:45:16'); // false |
|
281 | + * Carbon::parse('2018-07-25 12:45:16')->isBefore('2018-07-25 12:45:17'); // true |
|
282 | + * ``` |
|
283 | + * |
|
284 | + * @param \Carbon\Carbon|\DateTimeInterface|mixed $date |
|
285 | + * |
|
286 | + * @see lessThan() |
|
287 | + * |
|
288 | + * @return bool |
|
289 | + */ |
|
290 | + public function isBefore($date): bool |
|
291 | + { |
|
292 | + return $this->lessThan($date); |
|
293 | + } |
|
294 | + |
|
295 | + /** |
|
296 | + * Determines if the instance is less (before) or equal to another |
|
297 | + * |
|
298 | + * @example |
|
299 | + * ``` |
|
300 | + * Carbon::parse('2018-07-25 12:45:16')->lte('2018-07-25 12:45:15'); // false |
|
301 | + * Carbon::parse('2018-07-25 12:45:16')->lte('2018-07-25 12:45:16'); // true |
|
302 | + * Carbon::parse('2018-07-25 12:45:16')->lte('2018-07-25 12:45:17'); // true |
|
303 | + * ``` |
|
304 | + * |
|
305 | + * @param \Carbon\Carbon|\DateTimeInterface|mixed $date |
|
306 | + * |
|
307 | + * @see lessThanOrEqualTo() |
|
308 | + * |
|
309 | + * @return bool |
|
310 | + */ |
|
311 | + public function lte($date): bool |
|
312 | + { |
|
313 | + return $this->lessThanOrEqualTo($date); |
|
314 | + } |
|
315 | + |
|
316 | + /** |
|
317 | + * Determines if the instance is less (before) or equal to another |
|
318 | + * |
|
319 | + * @example |
|
320 | + * ``` |
|
321 | + * Carbon::parse('2018-07-25 12:45:16')->lessThanOrEqualTo('2018-07-25 12:45:15'); // false |
|
322 | + * Carbon::parse('2018-07-25 12:45:16')->lessThanOrEqualTo('2018-07-25 12:45:16'); // true |
|
323 | + * Carbon::parse('2018-07-25 12:45:16')->lessThanOrEqualTo('2018-07-25 12:45:17'); // true |
|
324 | + * ``` |
|
325 | + * |
|
326 | + * @param \Carbon\Carbon|\DateTimeInterface|mixed $date |
|
327 | + * |
|
328 | + * @return bool |
|
329 | + */ |
|
330 | + public function lessThanOrEqualTo($date): bool |
|
331 | + { |
|
332 | + $this->discourageNull($date); |
|
333 | + $this->discourageBoolean($date); |
|
334 | + |
|
335 | + return $this <= $this->resolveCarbon($date); |
|
336 | + } |
|
337 | + |
|
338 | + /** |
|
339 | + * Determines if the instance is between two others. |
|
340 | + * |
|
341 | + * The third argument allow you to specify if bounds are included or not (true by default) |
|
342 | + * but for when you including/excluding bounds may produce different results in your application, |
|
343 | + * we recommend to use the explicit methods ->betweenIncluded() or ->betweenExcluded() instead. |
|
344 | + * |
|
345 | + * @example |
|
346 | + * ``` |
|
347 | + * Carbon::parse('2018-07-25')->between('2018-07-14', '2018-08-01'); // true |
|
348 | + * Carbon::parse('2018-07-25')->between('2018-08-01', '2018-08-20'); // false |
|
349 | + * Carbon::parse('2018-07-25')->between('2018-07-25', '2018-08-01'); // true |
|
350 | + * Carbon::parse('2018-07-25')->between('2018-07-25', '2018-08-01', false); // false |
|
351 | + * ``` |
|
352 | + * |
|
353 | + * @param \Carbon\Carbon|\DateTimeInterface|mixed $date1 |
|
354 | + * @param \Carbon\Carbon|\DateTimeInterface|mixed $date2 |
|
355 | + * @param bool $equal Indicates if an equal to comparison should be done |
|
356 | + * |
|
357 | + * @return bool |
|
358 | + */ |
|
359 | + public function between($date1, $date2, $equal = true): bool |
|
360 | + { |
|
361 | + $date1 = $this->resolveCarbon($date1); |
|
362 | + $date2 = $this->resolveCarbon($date2); |
|
363 | + |
|
364 | + if ($date1->greaterThan($date2)) { |
|
365 | + [$date1, $date2] = [$date2, $date1]; |
|
366 | + } |
|
367 | + |
|
368 | + if ($equal) { |
|
369 | + return $this >= $date1 && $this <= $date2; |
|
370 | + } |
|
371 | + |
|
372 | + return $this > $date1 && $this < $date2; |
|
373 | + } |
|
374 | + |
|
375 | + /** |
|
376 | + * Determines if the instance is between two others, bounds included. |
|
377 | + * |
|
378 | + * @example |
|
379 | + * ``` |
|
380 | + * Carbon::parse('2018-07-25')->betweenIncluded('2018-07-14', '2018-08-01'); // true |
|
381 | + * Carbon::parse('2018-07-25')->betweenIncluded('2018-08-01', '2018-08-20'); // false |
|
382 | + * Carbon::parse('2018-07-25')->betweenIncluded('2018-07-25', '2018-08-01'); // true |
|
383 | + * ``` |
|
384 | + * |
|
385 | + * @param \Carbon\Carbon|\DateTimeInterface|mixed $date1 |
|
386 | + * @param \Carbon\Carbon|\DateTimeInterface|mixed $date2 |
|
387 | + * |
|
388 | + * @return bool |
|
389 | + */ |
|
390 | + public function betweenIncluded($date1, $date2): bool |
|
391 | + { |
|
392 | + return $this->between($date1, $date2, true); |
|
393 | + } |
|
394 | + |
|
395 | + /** |
|
396 | + * Determines if the instance is between two others, bounds excluded. |
|
397 | + * |
|
398 | + * @example |
|
399 | + * ``` |
|
400 | + * Carbon::parse('2018-07-25')->betweenExcluded('2018-07-14', '2018-08-01'); // true |
|
401 | + * Carbon::parse('2018-07-25')->betweenExcluded('2018-08-01', '2018-08-20'); // false |
|
402 | + * Carbon::parse('2018-07-25')->betweenExcluded('2018-07-25', '2018-08-01'); // false |
|
403 | + * ``` |
|
404 | + * |
|
405 | + * @param \Carbon\Carbon|\DateTimeInterface|mixed $date1 |
|
406 | + * @param \Carbon\Carbon|\DateTimeInterface|mixed $date2 |
|
407 | + * |
|
408 | + * @return bool |
|
409 | + */ |
|
410 | + public function betweenExcluded($date1, $date2): bool |
|
411 | + { |
|
412 | + return $this->between($date1, $date2, false); |
|
413 | + } |
|
414 | + |
|
415 | + /** |
|
416 | + * Determines if the instance is between two others |
|
417 | + * |
|
418 | + * @example |
|
419 | + * ``` |
|
420 | + * Carbon::parse('2018-07-25')->isBetween('2018-07-14', '2018-08-01'); // true |
|
421 | + * Carbon::parse('2018-07-25')->isBetween('2018-08-01', '2018-08-20'); // false |
|
422 | + * Carbon::parse('2018-07-25')->isBetween('2018-07-25', '2018-08-01'); // true |
|
423 | + * Carbon::parse('2018-07-25')->isBetween('2018-07-25', '2018-08-01', false); // false |
|
424 | + * ``` |
|
425 | + * |
|
426 | + * @param \Carbon\Carbon|\DateTimeInterface|mixed $date1 |
|
427 | + * @param \Carbon\Carbon|\DateTimeInterface|mixed $date2 |
|
428 | + * @param bool $equal Indicates if an equal to comparison should be done |
|
429 | + * |
|
430 | + * @return bool |
|
431 | + */ |
|
432 | + public function isBetween($date1, $date2, $equal = true): bool |
|
433 | + { |
|
434 | + return $this->between($date1, $date2, $equal); |
|
435 | + } |
|
436 | + |
|
437 | + /** |
|
438 | + * Determines if the instance is a weekday. |
|
439 | + * |
|
440 | + * @example |
|
441 | + * ``` |
|
442 | + * Carbon::parse('2019-07-14')->isWeekday(); // false |
|
443 | + * Carbon::parse('2019-07-15')->isWeekday(); // true |
|
444 | + * ``` |
|
445 | + * |
|
446 | + * @return bool |
|
447 | + */ |
|
448 | + public function isWeekday() |
|
449 | + { |
|
450 | + return !$this->isWeekend(); |
|
451 | + } |
|
452 | + |
|
453 | + /** |
|
454 | + * Determines if the instance is a weekend day. |
|
455 | + * |
|
456 | + * @example |
|
457 | + * ``` |
|
458 | + * Carbon::parse('2019-07-14')->isWeekend(); // true |
|
459 | + * Carbon::parse('2019-07-15')->isWeekend(); // false |
|
460 | + * ``` |
|
461 | + * |
|
462 | + * @return bool |
|
463 | + */ |
|
464 | + public function isWeekend() |
|
465 | + { |
|
466 | + return \in_array($this->dayOfWeek, static::$weekendDays, true); |
|
467 | + } |
|
468 | + |
|
469 | + /** |
|
470 | + * Determines if the instance is yesterday. |
|
471 | + * |
|
472 | + * @example |
|
473 | + * ``` |
|
474 | + * Carbon::yesterday()->isYesterday(); // true |
|
475 | + * Carbon::tomorrow()->isYesterday(); // false |
|
476 | + * ``` |
|
477 | + * |
|
478 | + * @return bool |
|
479 | + */ |
|
480 | + public function isYesterday() |
|
481 | + { |
|
482 | + return $this->toDateString() === static::yesterday($this->getTimezone())->toDateString(); |
|
483 | + } |
|
484 | + |
|
485 | + /** |
|
486 | + * Determines if the instance is today. |
|
487 | + * |
|
488 | + * @example |
|
489 | + * ``` |
|
490 | + * Carbon::today()->isToday(); // true |
|
491 | + * Carbon::tomorrow()->isToday(); // false |
|
492 | + * ``` |
|
493 | + * |
|
494 | + * @return bool |
|
495 | + */ |
|
496 | + public function isToday() |
|
497 | + { |
|
498 | + return $this->toDateString() === $this->nowWithSameTz()->toDateString(); |
|
499 | + } |
|
500 | + |
|
501 | + /** |
|
502 | + * Determines if the instance is tomorrow. |
|
503 | + * |
|
504 | + * @example |
|
505 | + * ``` |
|
506 | + * Carbon::tomorrow()->isTomorrow(); // true |
|
507 | + * Carbon::yesterday()->isTomorrow(); // false |
|
508 | + * ``` |
|
509 | + * |
|
510 | + * @return bool |
|
511 | + */ |
|
512 | + public function isTomorrow() |
|
513 | + { |
|
514 | + return $this->toDateString() === static::tomorrow($this->getTimezone())->toDateString(); |
|
515 | + } |
|
516 | + |
|
517 | + /** |
|
518 | + * Determines if the instance is in the future, ie. greater (after) than now. |
|
519 | + * |
|
520 | + * @example |
|
521 | + * ``` |
|
522 | + * Carbon::now()->addHours(5)->isFuture(); // true |
|
523 | + * Carbon::now()->subHours(5)->isFuture(); // false |
|
524 | + * ``` |
|
525 | + * |
|
526 | + * @return bool |
|
527 | + */ |
|
528 | + public function isFuture() |
|
529 | + { |
|
530 | + return $this->greaterThan($this->nowWithSameTz()); |
|
531 | + } |
|
532 | + |
|
533 | + /** |
|
534 | + * Determines if the instance is in the past, ie. less (before) than now. |
|
535 | + * |
|
536 | + * @example |
|
537 | + * ``` |
|
538 | + * Carbon::now()->subHours(5)->isPast(); // true |
|
539 | + * Carbon::now()->addHours(5)->isPast(); // false |
|
540 | + * ``` |
|
541 | + * |
|
542 | + * @return bool |
|
543 | + */ |
|
544 | + public function isPast() |
|
545 | + { |
|
546 | + return $this->lessThan($this->nowWithSameTz()); |
|
547 | + } |
|
548 | + |
|
549 | + /** |
|
550 | + * Determines if the instance is a leap year. |
|
551 | + * |
|
552 | + * @example |
|
553 | + * ``` |
|
554 | + * Carbon::parse('2020-01-01')->isLeapYear(); // true |
|
555 | + * Carbon::parse('2019-01-01')->isLeapYear(); // false |
|
556 | + * ``` |
|
557 | + * |
|
558 | + * @return bool |
|
559 | + */ |
|
560 | + public function isLeapYear() |
|
561 | + { |
|
562 | + return $this->rawFormat('L') === '1'; |
|
563 | + } |
|
564 | + |
|
565 | + /** |
|
566 | + * Determines if the instance is a long year |
|
567 | + * |
|
568 | + * @example |
|
569 | + * ``` |
|
570 | + * Carbon::parse('2015-01-01')->isLongYear(); // true |
|
571 | + * Carbon::parse('2016-01-01')->isLongYear(); // false |
|
572 | + * ``` |
|
573 | + * |
|
574 | + * @see https://en.wikipedia.org/wiki/ISO_8601#Week_dates |
|
575 | + * |
|
576 | + * @return bool |
|
577 | + */ |
|
578 | + public function isLongYear() |
|
579 | + { |
|
580 | + return static::create($this->year, 12, 28, 0, 0, 0, $this->tz)->weekOfYear === 53; |
|
581 | + } |
|
582 | + |
|
583 | + /** |
|
584 | + * Compares the formatted values of the two dates. |
|
585 | + * |
|
586 | + * @example |
|
587 | + * ``` |
|
588 | + * Carbon::parse('2019-06-13')->isSameAs('Y-d', Carbon::parse('2019-12-13')); // true |
|
589 | + * Carbon::parse('2019-06-13')->isSameAs('Y-d', Carbon::parse('2019-06-14')); // false |
|
590 | + * ``` |
|
591 | + * |
|
592 | + * @param string $format date formats to compare. |
|
593 | + * @param \Carbon\Carbon|\DateTimeInterface|string|null $date instance to compare with or null to use current day. |
|
594 | + * |
|
595 | + * @return bool |
|
596 | + */ |
|
597 | + public function isSameAs($format, $date = null) |
|
598 | + { |
|
599 | + return $this->rawFormat($format) === $this->resolveCarbon($date)->rawFormat($format); |
|
600 | + } |
|
601 | + |
|
602 | + /** |
|
603 | + * Determines if the instance is in the current unit given. |
|
604 | + * |
|
605 | + * @example |
|
606 | + * ``` |
|
607 | + * Carbon::parse('2019-01-13')->isSameUnit('year', Carbon::parse('2019-12-25')); // true |
|
608 | + * Carbon::parse('2018-12-13')->isSameUnit('year', Carbon::parse('2019-12-25')); // false |
|
609 | + * ``` |
|
610 | + * |
|
611 | + * @param string $unit singular unit string |
|
612 | + * @param \Carbon\Carbon|\DateTimeInterface|null $date instance to compare with or null to use current day. |
|
613 | + * |
|
614 | + * @throws BadComparisonUnitException |
|
615 | + * |
|
616 | + * @return bool |
|
617 | + */ |
|
618 | + public function isSameUnit($unit, $date = null) |
|
619 | + { |
|
620 | + $units = [ |
|
621 | + // @call isSameUnit |
|
622 | + 'year' => 'Y', |
|
623 | + // @call isSameUnit |
|
624 | + 'week' => 'o-W', |
|
625 | + // @call isSameUnit |
|
626 | + 'day' => 'Y-m-d', |
|
627 | + // @call isSameUnit |
|
628 | + 'hour' => 'Y-m-d H', |
|
629 | + // @call isSameUnit |
|
630 | + 'minute' => 'Y-m-d H:i', |
|
631 | + // @call isSameUnit |
|
632 | + 'second' => 'Y-m-d H:i:s', |
|
633 | + // @call isSameUnit |
|
634 | + 'micro' => 'Y-m-d H:i:s.u', |
|
635 | + // @call isSameUnit |
|
636 | + 'microsecond' => 'Y-m-d H:i:s.u', |
|
637 | + ]; |
|
638 | + |
|
639 | + if (isset($units[$unit])) { |
|
640 | + return $this->isSameAs($units[$unit], $date); |
|
641 | + } |
|
642 | + |
|
643 | + if (isset($this->$unit)) { |
|
644 | + return $this->resolveCarbon($date)->$unit === $this->$unit; |
|
645 | + } |
|
646 | + |
|
647 | + if ($this->localStrictModeEnabled ?? static::isStrictModeEnabled()) { |
|
648 | + throw new BadComparisonUnitException($unit); |
|
649 | + } |
|
650 | + |
|
651 | + return false; |
|
652 | + } |
|
653 | + |
|
654 | + /** |
|
655 | + * Determines if the instance is in the current unit given. |
|
656 | + * |
|
657 | + * @example |
|
658 | + * ``` |
|
659 | + * Carbon::now()->isCurrentUnit('hour'); // true |
|
660 | + * Carbon::now()->subHours(2)->isCurrentUnit('hour'); // false |
|
661 | + * ``` |
|
662 | + * |
|
663 | + * @param string $unit The unit to test. |
|
664 | + * |
|
665 | + * @throws BadMethodCallException |
|
666 | + * |
|
667 | + * @return bool |
|
668 | + */ |
|
669 | + public function isCurrentUnit($unit) |
|
670 | + { |
|
671 | + return $this->{'isSame'.ucfirst($unit)}(); |
|
672 | + } |
|
673 | + |
|
674 | + /** |
|
675 | + * Checks if the passed in date is in the same quarter as the instance quarter (and year if needed). |
|
676 | + * |
|
677 | + * @example |
|
678 | + * ``` |
|
679 | + * Carbon::parse('2019-01-12')->isSameQuarter(Carbon::parse('2019-03-01')); // true |
|
680 | + * Carbon::parse('2019-01-12')->isSameQuarter(Carbon::parse('2019-04-01')); // false |
|
681 | + * Carbon::parse('2019-01-12')->isSameQuarter(Carbon::parse('2018-03-01')); // false |
|
682 | + * Carbon::parse('2019-01-12')->isSameQuarter(Carbon::parse('2018-03-01'), false); // true |
|
683 | + * ``` |
|
684 | + * |
|
685 | + * @param \Carbon\Carbon|\DateTimeInterface|string|null $date The instance to compare with or null to use current day. |
|
686 | + * @param bool $ofSameYear Check if it is the same month in the same year. |
|
687 | + * |
|
688 | + * @return bool |
|
689 | + */ |
|
690 | + public function isSameQuarter($date = null, $ofSameYear = true) |
|
691 | + { |
|
692 | + $date = $this->resolveCarbon($date); |
|
693 | + |
|
694 | + return $this->quarter === $date->quarter && (!$ofSameYear || $this->isSameYear($date)); |
|
695 | + } |
|
696 | + |
|
697 | + /** |
|
698 | + * Checks if the passed in date is in the same month as the instance´s month. |
|
699 | + * |
|
700 | + * @example |
|
701 | + * ``` |
|
702 | + * Carbon::parse('2019-01-12')->isSameMonth(Carbon::parse('2019-01-01')); // true |
|
703 | + * Carbon::parse('2019-01-12')->isSameMonth(Carbon::parse('2019-02-01')); // false |
|
704 | + * Carbon::parse('2019-01-12')->isSameMonth(Carbon::parse('2018-01-01')); // false |
|
705 | + * Carbon::parse('2019-01-12')->isSameMonth(Carbon::parse('2018-01-01'), false); // true |
|
706 | + * ``` |
|
707 | + * |
|
708 | + * @param \Carbon\Carbon|\DateTimeInterface|null $date The instance to compare with or null to use the current date. |
|
709 | + * @param bool $ofSameYear Check if it is the same month in the same year. |
|
710 | + * |
|
711 | + * @return bool |
|
712 | + */ |
|
713 | + public function isSameMonth($date = null, $ofSameYear = true) |
|
714 | + { |
|
715 | + return $this->isSameAs($ofSameYear ? 'Y-m' : 'm', $date); |
|
716 | + } |
|
717 | + |
|
718 | + /** |
|
719 | + * Checks if this day is a specific day of the week. |
|
720 | + * |
|
721 | + * @example |
|
722 | + * ``` |
|
723 | + * Carbon::parse('2019-07-17')->isDayOfWeek(Carbon::WEDNESDAY); // true |
|
724 | + * Carbon::parse('2019-07-17')->isDayOfWeek(Carbon::FRIDAY); // false |
|
725 | + * Carbon::parse('2019-07-17')->isDayOfWeek('Wednesday'); // true |
|
726 | + * Carbon::parse('2019-07-17')->isDayOfWeek('Friday'); // false |
|
727 | + * ``` |
|
728 | + * |
|
729 | + * @param int $dayOfWeek |
|
730 | + * |
|
731 | + * @return bool |
|
732 | + */ |
|
733 | + public function isDayOfWeek($dayOfWeek) |
|
734 | + { |
|
735 | + if (\is_string($dayOfWeek) && \defined($constant = static::class.'::'.strtoupper($dayOfWeek))) { |
|
736 | + $dayOfWeek = \constant($constant); |
|
737 | + } |
|
738 | + |
|
739 | + return $this->dayOfWeek === $dayOfWeek; |
|
740 | + } |
|
741 | + |
|
742 | + /** |
|
743 | + * Check if its the birthday. Compares the date/month values of the two dates. |
|
744 | + * |
|
745 | + * @example |
|
746 | + * ``` |
|
747 | + * Carbon::now()->subYears(5)->isBirthday(); // true |
|
748 | + * Carbon::now()->subYears(5)->subDay()->isBirthday(); // false |
|
749 | + * Carbon::parse('2019-06-05')->isBirthday(Carbon::parse('2001-06-05')); // true |
|
750 | + * Carbon::parse('2019-06-05')->isBirthday(Carbon::parse('2001-06-06')); // false |
|
751 | + * ``` |
|
752 | + * |
|
753 | + * @param \Carbon\Carbon|\DateTimeInterface|null $date The instance to compare with or null to use current day. |
|
754 | + * |
|
755 | + * @return bool |
|
756 | + */ |
|
757 | + public function isBirthday($date = null) |
|
758 | + { |
|
759 | + return $this->isSameAs('md', $date); |
|
760 | + } |
|
761 | + |
|
762 | + /** |
|
763 | + * Check if today is the last day of the Month |
|
764 | + * |
|
765 | + * @example |
|
766 | + * ``` |
|
767 | + * Carbon::parse('2019-02-28')->isLastOfMonth(); // true |
|
768 | + * Carbon::parse('2019-03-28')->isLastOfMonth(); // false |
|
769 | + * Carbon::parse('2019-03-30')->isLastOfMonth(); // false |
|
770 | + * Carbon::parse('2019-03-31')->isLastOfMonth(); // true |
|
771 | + * Carbon::parse('2019-04-30')->isLastOfMonth(); // true |
|
772 | + * ``` |
|
773 | + * |
|
774 | + * @return bool |
|
775 | + */ |
|
776 | + public function isLastOfMonth() |
|
777 | + { |
|
778 | + return $this->day === $this->daysInMonth; |
|
779 | + } |
|
780 | + |
|
781 | + /** |
|
782 | + * Check if the instance is start of day / midnight. |
|
783 | + * |
|
784 | + * @example |
|
785 | + * ``` |
|
786 | + * Carbon::parse('2019-02-28 00:00:00')->isStartOfDay(); // true |
|
787 | + * Carbon::parse('2019-02-28 00:00:00.999999')->isStartOfDay(); // true |
|
788 | + * Carbon::parse('2019-02-28 00:00:01')->isStartOfDay(); // false |
|
789 | + * Carbon::parse('2019-02-28 00:00:00.000000')->isStartOfDay(true); // true |
|
790 | + * Carbon::parse('2019-02-28 00:00:00.000012')->isStartOfDay(true); // false |
|
791 | + * ``` |
|
792 | + * |
|
793 | + * @param bool $checkMicroseconds check time at microseconds precision |
|
794 | + * |
|
795 | + * @return bool |
|
796 | + */ |
|
797 | + public function isStartOfDay($checkMicroseconds = false) |
|
798 | + { |
|
799 | + /* @var CarbonInterface $this */ |
|
800 | + return $checkMicroseconds |
|
801 | + ? $this->rawFormat('H:i:s.u') === '00:00:00.000000' |
|
802 | + : $this->rawFormat('H:i:s') === '00:00:00'; |
|
803 | + } |
|
804 | + |
|
805 | + /** |
|
806 | + * Check if the instance is end of day. |
|
807 | + * |
|
808 | + * @example |
|
809 | + * ``` |
|
810 | + * Carbon::parse('2019-02-28 23:59:59.999999')->isEndOfDay(); // true |
|
811 | + * Carbon::parse('2019-02-28 23:59:59.123456')->isEndOfDay(); // true |
|
812 | + * Carbon::parse('2019-02-28 23:59:59')->isEndOfDay(); // true |
|
813 | + * Carbon::parse('2019-02-28 23:59:58.999999')->isEndOfDay(); // false |
|
814 | + * Carbon::parse('2019-02-28 23:59:59.999999')->isEndOfDay(true); // true |
|
815 | + * Carbon::parse('2019-02-28 23:59:59.123456')->isEndOfDay(true); // false |
|
816 | + * Carbon::parse('2019-02-28 23:59:59')->isEndOfDay(true); // false |
|
817 | + * ``` |
|
818 | + * |
|
819 | + * @param bool $checkMicroseconds check time at microseconds precision |
|
820 | + * |
|
821 | + * @return bool |
|
822 | + */ |
|
823 | + public function isEndOfDay($checkMicroseconds = false) |
|
824 | + { |
|
825 | + /* @var CarbonInterface $this */ |
|
826 | + return $checkMicroseconds |
|
827 | + ? $this->rawFormat('H:i:s.u') === '23:59:59.999999' |
|
828 | + : $this->rawFormat('H:i:s') === '23:59:59'; |
|
829 | + } |
|
830 | + |
|
831 | + /** |
|
832 | + * Check if the instance is start of day / midnight. |
|
833 | + * |
|
834 | + * @example |
|
835 | + * ``` |
|
836 | + * Carbon::parse('2019-02-28 00:00:00')->isMidnight(); // true |
|
837 | + * Carbon::parse('2019-02-28 00:00:00.999999')->isMidnight(); // true |
|
838 | + * Carbon::parse('2019-02-28 00:00:01')->isMidnight(); // false |
|
839 | + * ``` |
|
840 | + * |
|
841 | + * @return bool |
|
842 | + */ |
|
843 | + public function isMidnight() |
|
844 | + { |
|
845 | + return $this->isStartOfDay(); |
|
846 | + } |
|
847 | + |
|
848 | + /** |
|
849 | + * Check if the instance is midday. |
|
850 | + * |
|
851 | + * @example |
|
852 | + * ``` |
|
853 | + * Carbon::parse('2019-02-28 11:59:59.999999')->isMidday(); // false |
|
854 | + * Carbon::parse('2019-02-28 12:00:00')->isMidday(); // true |
|
855 | + * Carbon::parse('2019-02-28 12:00:00.999999')->isMidday(); // true |
|
856 | + * Carbon::parse('2019-02-28 12:00:01')->isMidday(); // false |
|
857 | + * ``` |
|
858 | + * |
|
859 | + * @return bool |
|
860 | + */ |
|
861 | + public function isMidday() |
|
862 | + { |
|
863 | + /* @var CarbonInterface $this */ |
|
864 | + return $this->rawFormat('G:i:s') === static::$midDayAt.':00:00'; |
|
865 | + } |
|
866 | + |
|
867 | + /** |
|
868 | + * Checks if the (date)time string is in a given format. |
|
869 | + * |
|
870 | + * @example |
|
871 | + * ``` |
|
872 | + * Carbon::hasFormat('11:12:45', 'h:i:s'); // true |
|
873 | + * Carbon::hasFormat('13:12:45', 'h:i:s'); // false |
|
874 | + * ``` |
|
875 | + * |
|
876 | + * @param string $date |
|
877 | + * @param string $format |
|
878 | + * |
|
879 | + * @return bool |
|
880 | + */ |
|
881 | + public static function hasFormat($date, $format) |
|
882 | + { |
|
883 | + // createFromFormat() is known to handle edge cases silently. |
|
884 | + // E.g. "1975-5-1" (Y-n-j) will still be parsed correctly when "Y-m-d" is supplied as the format. |
|
885 | + // To ensure we're really testing against our desired format, perform an additional regex validation. |
|
886 | + |
|
887 | + return self::matchFormatPattern((string) $date, preg_quote((string) $format, '/'), static::$regexFormats); |
|
888 | + } |
|
889 | + |
|
890 | + /** |
|
891 | + * Checks if the (date)time string is in a given format. |
|
892 | + * |
|
893 | + * @example |
|
894 | + * ``` |
|
895 | + * Carbon::hasFormatWithModifiers('31/08/2015', 'd#m#Y'); // true |
|
896 | + * Carbon::hasFormatWithModifiers('31/08/2015', 'm#d#Y'); // false |
|
897 | + * ``` |
|
898 | + * |
|
899 | + * @param string $date |
|
900 | + * @param string $format |
|
901 | + * |
|
902 | + * @return bool |
|
903 | + */ |
|
904 | + public static function hasFormatWithModifiers($date, $format): bool |
|
905 | + { |
|
906 | + return self::matchFormatPattern((string) $date, (string) $format, array_merge(static::$regexFormats, static::$regexFormatModifiers)); |
|
907 | + } |
|
908 | + |
|
909 | + /** |
|
910 | + * Checks if the (date)time string is in a given format and valid to create a |
|
911 | + * new instance. |
|
912 | + * |
|
913 | + * @example |
|
914 | + * ``` |
|
915 | + * Carbon::canBeCreatedFromFormat('11:12:45', 'h:i:s'); // true |
|
916 | + * Carbon::canBeCreatedFromFormat('13:12:45', 'h:i:s'); // false |
|
917 | + * ``` |
|
918 | + * |
|
919 | + * @param string $date |
|
920 | + * @param string $format |
|
921 | + * |
|
922 | + * @return bool |
|
923 | + */ |
|
924 | + public static function canBeCreatedFromFormat($date, $format) |
|
925 | + { |
|
926 | + try { |
|
927 | + // Try to create a DateTime object. Throws an InvalidArgumentException if the provided time string |
|
928 | + // doesn't match the format in any way. |
|
929 | + if (!static::rawCreateFromFormat($format, $date)) { |
|
930 | + return false; |
|
931 | + } |
|
932 | + } catch (InvalidArgumentException $e) { |
|
933 | + return false; |
|
934 | + } |
|
935 | + |
|
936 | + return static::hasFormatWithModifiers($date, $format); |
|
937 | + } |
|
938 | + |
|
939 | + /** |
|
940 | + * Returns true if the current date matches the given string. |
|
941 | + * |
|
942 | + * @example |
|
943 | + * ``` |
|
944 | + * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('2019')); // true |
|
945 | + * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('2018')); // false |
|
946 | + * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('2019-06')); // true |
|
947 | + * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('06-02')); // true |
|
948 | + * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('2019-06-02')); // true |
|
949 | + * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('Sunday')); // true |
|
950 | + * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('June')); // true |
|
951 | + * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('12:23')); // true |
|
952 | + * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('12:23:45')); // true |
|
953 | + * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('12:23:00')); // false |
|
954 | + * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('12h')); // true |
|
955 | + * var_dump(Carbon::parse('2019-06-02 15:23:45')->is('3pm')); // true |
|
956 | + * var_dump(Carbon::parse('2019-06-02 15:23:45')->is('3am')); // false |
|
957 | + * ``` |
|
958 | + * |
|
959 | + * @param string $tester day name, month name, hour, date, etc. as string |
|
960 | + * |
|
961 | + * @return bool |
|
962 | + */ |
|
963 | + public function is(string $tester) |
|
964 | + { |
|
965 | + $tester = trim($tester); |
|
966 | + |
|
967 | + if (preg_match('/^\d+$/', $tester)) { |
|
968 | + return $this->year === (int) $tester; |
|
969 | + } |
|
970 | + |
|
971 | + if (preg_match('/^\d{3,}-\d{1,2}$/', $tester)) { |
|
972 | + return $this->isSameMonth(static::parse($tester)); |
|
973 | + } |
|
974 | + |
|
975 | + if (preg_match('/^\d{1,2}-\d{1,2}$/', $tester)) { |
|
976 | + return $this->isSameDay(static::parse($this->year.'-'.$tester)); |
|
977 | + } |
|
978 | + |
|
979 | + $modifier = preg_replace('/(\d)h$/i', '$1:00', $tester); |
|
980 | + |
|
981 | + /* @var CarbonInterface $max */ |
|
982 | + $median = static::parse('5555-06-15 12:30:30.555555')->modify($modifier); |
|
983 | + $current = $this->avoidMutation(); |
|
984 | + /* @var CarbonInterface $other */ |
|
985 | + $other = $this->avoidMutation()->modify($modifier); |
|
986 | + |
|
987 | + if ($current->eq($other)) { |
|
988 | + return true; |
|
989 | + } |
|
990 | + |
|
991 | + if (preg_match('/\d:\d{1,2}:\d{1,2}$/', $tester)) { |
|
992 | + return $current->startOfSecond()->eq($other); |
|
993 | + } |
|
994 | + |
|
995 | + if (preg_match('/\d:\d{1,2}$/', $tester)) { |
|
996 | + return $current->startOfMinute()->eq($other); |
|
997 | + } |
|
998 | + |
|
999 | + if (preg_match('/\d(h|am|pm)$/', $tester)) { |
|
1000 | + return $current->startOfHour()->eq($other); |
|
1001 | + } |
|
1002 | + |
|
1003 | + if (preg_match( |
|
1004 | + '/^(january|february|march|april|may|june|july|august|september|october|november|december)\s+\d+$/i', |
|
1005 | + $tester |
|
1006 | + )) { |
|
1007 | + return $current->startOfMonth()->eq($other->startOfMonth()); |
|
1008 | + } |
|
1009 | + |
|
1010 | + $units = [ |
|
1011 | + 'month' => [1, 'year'], |
|
1012 | + 'day' => [1, 'month'], |
|
1013 | + 'hour' => [0, 'day'], |
|
1014 | + 'minute' => [0, 'hour'], |
|
1015 | + 'second' => [0, 'minute'], |
|
1016 | + 'microsecond' => [0, 'second'], |
|
1017 | + ]; |
|
1018 | + |
|
1019 | + foreach ($units as $unit => [$minimum, $startUnit]) { |
|
1020 | + if ($minimum === $median->$unit) { |
|
1021 | + $current = $current->startOf($startUnit); |
|
1022 | + |
|
1023 | + break; |
|
1024 | + } |
|
1025 | + } |
|
1026 | + |
|
1027 | + return $current->eq($other); |
|
1028 | + } |
|
1029 | + |
|
1030 | + /** |
|
1031 | + * Checks if the (date)time string is in a given format with |
|
1032 | + * given list of pattern replacements. |
|
1033 | + * |
|
1034 | + * @example |
|
1035 | + * ``` |
|
1036 | + * Carbon::hasFormat('11:12:45', 'h:i:s'); // true |
|
1037 | + * Carbon::hasFormat('13:12:45', 'h:i:s'); // false |
|
1038 | + * ``` |
|
1039 | + * |
|
1040 | + * @param string $date |
|
1041 | + * @param string $format |
|
1042 | + * @param array $replacements |
|
1043 | + * |
|
1044 | + * @return bool |
|
1045 | + */ |
|
1046 | + private static function matchFormatPattern(string $date, string $format, array $replacements): bool |
|
1047 | + { |
|
1048 | + // Preg quote, but remove escaped backslashes since we'll deal with escaped characters in the format string. |
|
1049 | + $regex = str_replace('\\\\', '\\', $format); |
|
1050 | + // Replace not-escaped letters |
|
1051 | + $regex = preg_replace_callback( |
|
1052 | + '/(?<!\\\\)((?:\\\\{2})*)(['.implode('', array_keys($replacements)).'])/', |
|
1053 | + function ($match) use ($replacements) { |
|
1054 | + return $match[1].strtr($match[2], $replacements); |
|
1055 | + }, |
|
1056 | + $regex |
|
1057 | + ); |
|
1058 | + // Replace escaped letters by the letter itself |
|
1059 | + $regex = preg_replace('/(?<!\\\\)((?:\\\\{2})*)\\\\(\w)/', '$1$2', $regex); |
|
1060 | + // Escape not escaped slashes |
|
1061 | + $regex = preg_replace('#(?<!\\\\)((?:\\\\{2})*)/#', '$1\\/', $regex); |
|
1062 | + |
|
1063 | + return (bool) @preg_match('/^'.$regex.'$/', $date); |
|
1064 | + } |
|
1065 | + |
|
1066 | + /** |
|
1067 | + * Returns true if the date was created using CarbonImmutable::startOfTime() |
|
1068 | + * |
|
1069 | + * @return bool |
|
1070 | + */ |
|
1071 | + public function isStartOfTime(): bool |
|
1072 | + { |
|
1073 | + return $this->startOfTime ?? false; |
|
1074 | + } |
|
1075 | + |
|
1076 | + /** |
|
1077 | + * Returns true if the date was created using CarbonImmutable::endOfTime() |
|
1078 | + * |
|
1079 | + * @return bool |
|
1080 | + */ |
|
1081 | + public function isEndOfTime(): bool |
|
1082 | + { |
|
1083 | + return $this->endOfTime ?? false; |
|
1084 | + } |
|
1085 | + |
|
1086 | + private function discourageNull($value): void |
|
1087 | + { |
|
1088 | + if ($value === null) { |
|
1089 | + @trigger_error("Since 2.61.0, it's deprecated to compare a date to null, meaning of such comparison is ambiguous and will no longer be possible in 3.0.0, you should explicitly pass 'now' or make an other check to eliminate null values.", \E_USER_DEPRECATED); |
|
1090 | + } |
|
1091 | + } |
|
1092 | + |
|
1093 | + private function discourageBoolean($value): void |
|
1094 | + { |
|
1095 | + if (\is_bool($value)) { |
|
1096 | + @trigger_error("Since 2.61.0, it's deprecated to compare a date to true or false, meaning of such comparison is ambiguous and will no longer be possible in 3.0.0, you should explicitly pass 'now' or make an other check to eliminate boolean values.", \E_USER_DEPRECATED); |
|
1097 | + } |
|
1098 | + } |
|
1099 | 1099 | } |
@@ -1050,7 +1050,7 @@ |
||
1050 | 1050 | // Replace not-escaped letters |
1051 | 1051 | $regex = preg_replace_callback( |
1052 | 1052 | '/(?<!\\\\)((?:\\\\{2})*)(['.implode('', array_keys($replacements)).'])/', |
1053 | - function ($match) use ($replacements) { |
|
1053 | + function($match) use ($replacements) { |
|
1054 | 1054 | return $match[1].strtr($match[2], $replacements); |
1055 | 1055 | }, |
1056 | 1056 | $regex |
@@ -373,7 +373,7 @@ discard block |
||
373 | 373 | } |
374 | 374 | |
375 | 375 | $defaults = null; |
376 | - $getDefault = function ($unit) use ($tz, &$defaults) { |
|
376 | + $getDefault = function($unit) use ($tz, &$defaults) { |
|
377 | 377 | if ($defaults === null) { |
378 | 378 | $now = self::createNowInstance($tz); |
379 | 379 | |
@@ -721,7 +721,7 @@ discard block |
||
721 | 721 | */ |
722 | 722 | public static function createFromIsoFormat($format, $time, $tz = null, $locale = 'en', $translator = null) |
723 | 723 | { |
724 | - $format = preg_replace_callback('/(?<!\\\\)(\\\\{2})*(LTS|LT|[Ll]{1,4})/', function ($match) use ($locale, $translator) { |
|
724 | + $format = preg_replace_callback('/(?<!\\\\)(\\\\{2})*(LTS|LT|[Ll]{1,4})/', function($match) use ($locale, $translator) { |
|
725 | 725 | [$code] = $match; |
726 | 726 | |
727 | 727 | static $formats = null; |
@@ -741,14 +741,14 @@ discard block |
||
741 | 741 | |
742 | 742 | return $formats[$code] ?? preg_replace_callback( |
743 | 743 | '/MMMM|MM|DD|dddd/', |
744 | - function ($code) { |
|
744 | + function($code) { |
|
745 | 745 | return mb_substr($code[0], 1); |
746 | 746 | }, |
747 | 747 | $formats[strtoupper($code)] ?? '' |
748 | 748 | ); |
749 | 749 | }, $format); |
750 | 750 | |
751 | - $format = preg_replace_callback('/(?<!\\\\)(\\\\{2})*('.CarbonInterface::ISO_FORMAT_REGEXP.'|[A-Za-z])/', function ($match) { |
|
751 | + $format = preg_replace_callback('/(?<!\\\\)(\\\\{2})*('.CarbonInterface::ISO_FORMAT_REGEXP.'|[A-Za-z])/', function($match) { |
|
752 | 752 | [$code] = $match; |
753 | 753 | |
754 | 754 | static $replacements = null; |
@@ -839,7 +839,7 @@ |
||
839 | 839 | $format = $replacements[$code] ?? '?'; |
840 | 840 | |
841 | 841 | if ($format === '!') { |
842 | - throw new InvalidFormatException("Format $code not supported for creation."); |
|
842 | + throw new InvalidFormatException("format $code not supported for creation."); |
|
843 | 843 | } |
844 | 844 | |
845 | 845 | return $format; |
@@ -35,912 +35,912 @@ |
||
35 | 35 | */ |
36 | 36 | trait Creator |
37 | 37 | { |
38 | - use ObjectInitialisation; |
|
39 | - |
|
40 | - /** |
|
41 | - * The errors that can occur. |
|
42 | - * |
|
43 | - * @var array |
|
44 | - */ |
|
45 | - protected static $lastErrors; |
|
46 | - |
|
47 | - /** |
|
48 | - * Create a new Carbon instance. |
|
49 | - * |
|
50 | - * Please see the testing aids section (specifically static::setTestNow()) |
|
51 | - * for more on the possibility of this constructor returning a test instance. |
|
52 | - * |
|
53 | - * @param DateTimeInterface|string|null $time |
|
54 | - * @param DateTimeZone|string|null $tz |
|
55 | - * |
|
56 | - * @throws InvalidFormatException |
|
57 | - */ |
|
58 | - public function __construct($time = null, $tz = null) |
|
59 | - { |
|
60 | - if ($time instanceof DateTimeInterface) { |
|
61 | - $time = $this->constructTimezoneFromDateTime($time, $tz)->format('Y-m-d H:i:s.u'); |
|
62 | - } |
|
63 | - |
|
64 | - if (is_numeric($time) && (!\is_string($time) || !preg_match('/^\d{1,14}$/', $time))) { |
|
65 | - $time = static::createFromTimestampUTC($time)->format('Y-m-d\TH:i:s.uP'); |
|
66 | - } |
|
67 | - |
|
68 | - // If the class has a test now set and we are trying to create a now() |
|
69 | - // instance then override as required |
|
70 | - $isNow = empty($time) || $time === 'now'; |
|
71 | - |
|
72 | - if (method_exists(static::class, 'hasTestNow') && |
|
73 | - method_exists(static::class, 'getTestNow') && |
|
74 | - static::hasTestNow() && |
|
75 | - ($isNow || static::hasRelativeKeywords($time)) |
|
76 | - ) { |
|
77 | - static::mockConstructorParameters($time, $tz); |
|
78 | - } |
|
79 | - |
|
80 | - // Work-around for PHP bug https://bugs.php.net/bug.php?id=67127 |
|
81 | - if (!str_contains((string) .1, '.')) { |
|
82 | - $locale = setlocale(LC_NUMERIC, '0'); // @codeCoverageIgnore |
|
83 | - setlocale(LC_NUMERIC, 'C'); // @codeCoverageIgnore |
|
84 | - } |
|
85 | - |
|
86 | - try { |
|
87 | - parent::__construct($time ?: 'now', static::safeCreateDateTimeZone($tz) ?: null); |
|
88 | - } catch (Exception $exception) { |
|
89 | - throw new InvalidFormatException($exception->getMessage(), 0, $exception); |
|
90 | - } |
|
91 | - |
|
92 | - $this->constructedObjectId = spl_object_hash($this); |
|
93 | - |
|
94 | - if (isset($locale)) { |
|
95 | - setlocale(LC_NUMERIC, $locale); // @codeCoverageIgnore |
|
96 | - } |
|
97 | - |
|
98 | - // @CHANGE |
|
99 | - if (parent::getLastErrors()) { |
|
100 | - self::setLastErrors(parent::getLastErrors()); |
|
101 | - } |
|
102 | - } |
|
103 | - |
|
104 | - /** |
|
105 | - * Get timezone from a datetime instance. |
|
106 | - * |
|
107 | - * @param DateTimeInterface $date |
|
108 | - * @param DateTimeZone|string|null $tz |
|
109 | - * |
|
110 | - * @return DateTimeInterface |
|
111 | - */ |
|
112 | - private function constructTimezoneFromDateTime(DateTimeInterface $date, &$tz) |
|
113 | - { |
|
114 | - if ($tz !== null) { |
|
115 | - $safeTz = static::safeCreateDateTimeZone($tz); |
|
116 | - |
|
117 | - if ($safeTz) { |
|
118 | - return $date->setTimezone($safeTz); |
|
119 | - } |
|
120 | - |
|
121 | - return $date; |
|
122 | - } |
|
123 | - |
|
124 | - $tz = $date->getTimezone(); |
|
125 | - |
|
126 | - return $date; |
|
127 | - } |
|
128 | - |
|
129 | - /** |
|
130 | - * Update constructedObjectId on cloned. |
|
131 | - */ |
|
132 | - public function __clone() |
|
133 | - { |
|
134 | - $this->constructedObjectId = spl_object_hash($this); |
|
135 | - } |
|
136 | - |
|
137 | - /** |
|
138 | - * Create a Carbon instance from a DateTime one. |
|
139 | - * |
|
140 | - * @param DateTimeInterface $date |
|
141 | - * |
|
142 | - * @return static |
|
143 | - */ |
|
144 | - public static function instance($date) |
|
145 | - { |
|
146 | - if ($date instanceof static) { |
|
147 | - return clone $date; |
|
148 | - } |
|
149 | - |
|
150 | - static::expectDateTime($date); |
|
151 | - |
|
152 | - $instance = new static($date->format('Y-m-d H:i:s.u'), $date->getTimezone()); |
|
153 | - |
|
154 | - if ($date instanceof CarbonInterface) { |
|
155 | - $settings = $date->getSettings(); |
|
156 | - |
|
157 | - if (!$date->hasLocalTranslator()) { |
|
158 | - unset($settings['locale']); |
|
159 | - } |
|
160 | - |
|
161 | - $instance->settings($settings); |
|
162 | - } |
|
163 | - |
|
164 | - return $instance; |
|
165 | - } |
|
166 | - |
|
167 | - /** |
|
168 | - * Create a carbon instance from a string. |
|
169 | - * |
|
170 | - * This is an alias for the constructor that allows better fluent syntax |
|
171 | - * as it allows you to do Carbon::parse('Monday next week')->fn() rather |
|
172 | - * than (new Carbon('Monday next week'))->fn(). |
|
173 | - * |
|
174 | - * @param string|DateTimeInterface|null $time |
|
175 | - * @param DateTimeZone|string|null $tz |
|
176 | - * |
|
177 | - * @throws InvalidFormatException |
|
178 | - * |
|
179 | - * @return static |
|
180 | - */ |
|
181 | - public static function rawParse($time = null, $tz = null) |
|
182 | - { |
|
183 | - if ($time instanceof DateTimeInterface) { |
|
184 | - return static::instance($time); |
|
185 | - } |
|
186 | - |
|
187 | - try { |
|
188 | - return new static($time, $tz); |
|
189 | - } catch (Exception $exception) { |
|
190 | - $date = @static::now($tz)->change($time); |
|
191 | - |
|
192 | - if (!$date) { |
|
193 | - throw new InvalidFormatException("Could not parse '$time': ".$exception->getMessage(), 0, $exception); |
|
194 | - } |
|
195 | - |
|
196 | - return $date; |
|
197 | - } |
|
198 | - } |
|
199 | - |
|
200 | - /** |
|
201 | - * Create a carbon instance from a string. |
|
202 | - * |
|
203 | - * This is an alias for the constructor that allows better fluent syntax |
|
204 | - * as it allows you to do Carbon::parse('Monday next week')->fn() rather |
|
205 | - * than (new Carbon('Monday next week'))->fn(). |
|
206 | - * |
|
207 | - * @param string|DateTimeInterface|null $time |
|
208 | - * @param DateTimeZone|string|null $tz |
|
209 | - * |
|
210 | - * @throws InvalidFormatException |
|
211 | - * |
|
212 | - * @return static |
|
213 | - */ |
|
214 | - public static function parse($time = null, $tz = null) |
|
215 | - { |
|
216 | - $function = static::$parseFunction; |
|
217 | - |
|
218 | - if (!$function) { |
|
219 | - return static::rawParse($time, $tz); |
|
220 | - } |
|
221 | - |
|
222 | - if (\is_string($function) && method_exists(static::class, $function)) { |
|
223 | - $function = [static::class, $function]; |
|
224 | - } |
|
225 | - |
|
226 | - return $function(...\func_get_args()); |
|
227 | - } |
|
228 | - |
|
229 | - /** |
|
230 | - * Create a carbon instance from a localized string (in French, Japanese, Arabic, etc.). |
|
231 | - * |
|
232 | - * @param string $time date/time string in the given language (may also contain English). |
|
233 | - * @param string|null $locale if locale is null or not specified, current global locale will be |
|
234 | - * used instead. |
|
235 | - * @param DateTimeZone|string|null $tz optional timezone for the new instance. |
|
236 | - * |
|
237 | - * @throws InvalidFormatException |
|
238 | - * |
|
239 | - * @return static |
|
240 | - */ |
|
241 | - public static function parseFromLocale($time, $locale = null, $tz = null) |
|
242 | - { |
|
243 | - return static::rawParse(static::translateTimeString($time, $locale, 'en'), $tz); |
|
244 | - } |
|
245 | - |
|
246 | - /** |
|
247 | - * Get a Carbon instance for the current date and time. |
|
248 | - * |
|
249 | - * @param DateTimeZone|string|null $tz |
|
250 | - * |
|
251 | - * @return static |
|
252 | - */ |
|
253 | - public static function now($tz = null) |
|
254 | - { |
|
255 | - return new static(null, $tz); |
|
256 | - } |
|
257 | - |
|
258 | - /** |
|
259 | - * Create a Carbon instance for today. |
|
260 | - * |
|
261 | - * @param DateTimeZone|string|null $tz |
|
262 | - * |
|
263 | - * @return static |
|
264 | - */ |
|
265 | - public static function today($tz = null) |
|
266 | - { |
|
267 | - return static::rawParse('today', $tz); |
|
268 | - } |
|
269 | - |
|
270 | - /** |
|
271 | - * Create a Carbon instance for tomorrow. |
|
272 | - * |
|
273 | - * @param DateTimeZone|string|null $tz |
|
274 | - * |
|
275 | - * @return static |
|
276 | - */ |
|
277 | - public static function tomorrow($tz = null) |
|
278 | - { |
|
279 | - return static::rawParse('tomorrow', $tz); |
|
280 | - } |
|
281 | - |
|
282 | - /** |
|
283 | - * Create a Carbon instance for yesterday. |
|
284 | - * |
|
285 | - * @param DateTimeZone|string|null $tz |
|
286 | - * |
|
287 | - * @return static |
|
288 | - */ |
|
289 | - public static function yesterday($tz = null) |
|
290 | - { |
|
291 | - return static::rawParse('yesterday', $tz); |
|
292 | - } |
|
293 | - |
|
294 | - /** |
|
295 | - * Create a Carbon instance for the greatest supported date. |
|
296 | - * |
|
297 | - * @return static |
|
298 | - */ |
|
299 | - public static function maxValue() |
|
300 | - { |
|
301 | - if (self::$PHPIntSize === 4) { |
|
302 | - // 32 bit |
|
303 | - return static::createFromTimestamp(PHP_INT_MAX); // @codeCoverageIgnore |
|
304 | - } |
|
305 | - |
|
306 | - // 64 bit |
|
307 | - return static::create(9999, 12, 31, 23, 59, 59); |
|
308 | - } |
|
309 | - |
|
310 | - /** |
|
311 | - * Create a Carbon instance for the lowest supported date. |
|
312 | - * |
|
313 | - * @return static |
|
314 | - */ |
|
315 | - public static function minValue() |
|
316 | - { |
|
317 | - if (self::$PHPIntSize === 4) { |
|
318 | - // 32 bit |
|
319 | - return static::createFromTimestamp(~PHP_INT_MAX); // @codeCoverageIgnore |
|
320 | - } |
|
321 | - |
|
322 | - // 64 bit |
|
323 | - return static::create(1, 1, 1, 0, 0, 0); |
|
324 | - } |
|
325 | - |
|
326 | - private static function assertBetween($unit, $value, $min, $max) |
|
327 | - { |
|
328 | - if (static::isStrictModeEnabled() && ($value < $min || $value > $max)) { |
|
329 | - throw new OutOfRangeException($unit, $min, $max, $value); |
|
330 | - } |
|
331 | - } |
|
332 | - |
|
333 | - private static function createNowInstance($tz) |
|
334 | - { |
|
335 | - if (!static::hasTestNow()) { |
|
336 | - return static::now($tz); |
|
337 | - } |
|
338 | - |
|
339 | - $now = static::getTestNow(); |
|
340 | - |
|
341 | - if ($now instanceof Closure) { |
|
342 | - return $now(static::now($tz)); |
|
343 | - } |
|
344 | - |
|
345 | - return $now->avoidMutation()->tz($tz); |
|
346 | - } |
|
347 | - |
|
348 | - /** |
|
349 | - * Create a new Carbon instance from a specific date and time. |
|
350 | - * |
|
351 | - * If any of $year, $month or $day are set to null their now() values will |
|
352 | - * be used. |
|
353 | - * |
|
354 | - * If $hour is null it will be set to its now() value and the default |
|
355 | - * values for $minute and $second will be their now() values. |
|
356 | - * |
|
357 | - * If $hour is not null then the default values for $minute and $second |
|
358 | - * will be 0. |
|
359 | - * |
|
360 | - * @param int|null $year |
|
361 | - * @param int|null $month |
|
362 | - * @param int|null $day |
|
363 | - * @param int|null $hour |
|
364 | - * @param int|null $minute |
|
365 | - * @param int|null $second |
|
366 | - * @param DateTimeZone|string|null $tz |
|
367 | - * |
|
368 | - * @throws InvalidFormatException |
|
369 | - * |
|
370 | - * @return static|false |
|
371 | - */ |
|
372 | - public static function create($year = 0, $month = 1, $day = 1, $hour = 0, $minute = 0, $second = 0, $tz = null) |
|
373 | - { |
|
374 | - if ((\is_string($year) && !is_numeric($year)) || $year instanceof DateTimeInterface) { |
|
375 | - return static::parse($year, $tz ?: (\is_string($month) || $month instanceof DateTimeZone ? $month : null)); |
|
376 | - } |
|
377 | - |
|
378 | - $defaults = null; |
|
379 | - $getDefault = function ($unit) use ($tz, &$defaults) { |
|
380 | - if ($defaults === null) { |
|
381 | - $now = self::createNowInstance($tz); |
|
382 | - |
|
383 | - $defaults = array_combine([ |
|
384 | - 'year', |
|
385 | - 'month', |
|
386 | - 'day', |
|
387 | - 'hour', |
|
388 | - 'minute', |
|
389 | - 'second', |
|
390 | - ], explode('-', $now->rawFormat('Y-n-j-G-i-s.u'))); |
|
391 | - } |
|
392 | - |
|
393 | - return $defaults[$unit]; |
|
394 | - }; |
|
395 | - |
|
396 | - $year = $year ?? $getDefault('year'); |
|
397 | - $month = $month ?? $getDefault('month'); |
|
398 | - $day = $day ?? $getDefault('day'); |
|
399 | - $hour = $hour ?? $getDefault('hour'); |
|
400 | - $minute = $minute ?? $getDefault('minute'); |
|
401 | - $second = (float) ($second ?? $getDefault('second')); |
|
402 | - |
|
403 | - self::assertBetween('month', $month, 0, 99); |
|
404 | - self::assertBetween('day', $day, 0, 99); |
|
405 | - self::assertBetween('hour', $hour, 0, 99); |
|
406 | - self::assertBetween('minute', $minute, 0, 99); |
|
407 | - self::assertBetween('second', $second, 0, 99); |
|
408 | - |
|
409 | - $fixYear = null; |
|
410 | - |
|
411 | - if ($year < 0) { |
|
412 | - $fixYear = $year; |
|
413 | - $year = 0; |
|
414 | - } elseif ($year > 9999) { |
|
415 | - $fixYear = $year - 9999; |
|
416 | - $year = 9999; |
|
417 | - } |
|
418 | - |
|
419 | - $second = ($second < 10 ? '0' : '').number_format($second, 6); |
|
420 | - $instance = static::rawCreateFromFormat('!Y-n-j G:i:s.u', sprintf('%s-%s-%s %s:%02s:%02s', $year, $month, $day, $hour, $minute, $second), $tz); |
|
421 | - |
|
422 | - if ($fixYear !== null) { |
|
423 | - $instance = $instance->addYears($fixYear); |
|
424 | - } |
|
425 | - |
|
426 | - return $instance; |
|
427 | - } |
|
428 | - |
|
429 | - /** |
|
430 | - * Create a new safe Carbon instance from a specific date and time. |
|
431 | - * |
|
432 | - * If any of $year, $month or $day are set to null their now() values will |
|
433 | - * be used. |
|
434 | - * |
|
435 | - * If $hour is null it will be set to its now() value and the default |
|
436 | - * values for $minute and $second will be their now() values. |
|
437 | - * |
|
438 | - * If $hour is not null then the default values for $minute and $second |
|
439 | - * will be 0. |
|
440 | - * |
|
441 | - * If one of the set values is not valid, an InvalidDateException |
|
442 | - * will be thrown. |
|
443 | - * |
|
444 | - * @param int|null $year |
|
445 | - * @param int|null $month |
|
446 | - * @param int|null $day |
|
447 | - * @param int|null $hour |
|
448 | - * @param int|null $minute |
|
449 | - * @param int|null $second |
|
450 | - * @param DateTimeZone|string|null $tz |
|
451 | - * |
|
452 | - * @throws InvalidDateException |
|
453 | - * |
|
454 | - * @return static|false |
|
455 | - */ |
|
456 | - public static function createSafe($year = null, $month = null, $day = null, $hour = null, $minute = null, $second = null, $tz = null) |
|
457 | - { |
|
458 | - $fields = static::getRangesByUnit(); |
|
459 | - |
|
460 | - foreach ($fields as $field => $range) { |
|
461 | - if ($$field !== null && (!\is_int($$field) || $$field < $range[0] || $$field > $range[1])) { |
|
462 | - if (static::isStrictModeEnabled()) { |
|
463 | - throw new InvalidDateException($field, $$field); |
|
464 | - } |
|
465 | - |
|
466 | - return false; |
|
467 | - } |
|
468 | - } |
|
469 | - |
|
470 | - $instance = static::create($year, $month, $day, $hour, $minute, $second, $tz); |
|
471 | - |
|
472 | - foreach (array_reverse($fields) as $field => $range) { |
|
473 | - if ($$field !== null && (!\is_int($$field) || $$field !== $instance->$field)) { |
|
474 | - if (static::isStrictModeEnabled()) { |
|
475 | - throw new InvalidDateException($field, $$field); |
|
476 | - } |
|
477 | - |
|
478 | - return false; |
|
479 | - } |
|
480 | - } |
|
481 | - |
|
482 | - return $instance; |
|
483 | - } |
|
484 | - |
|
485 | - /** |
|
486 | - * Create a new Carbon instance from a specific date and time using strict validation. |
|
487 | - * |
|
488 | - * @see create() |
|
489 | - * |
|
490 | - * @param int|null $year |
|
491 | - * @param int|null $month |
|
492 | - * @param int|null $day |
|
493 | - * @param int|null $hour |
|
494 | - * @param int|null $minute |
|
495 | - * @param int|null $second |
|
496 | - * @param DateTimeZone|string|null $tz |
|
497 | - * |
|
498 | - * @throws InvalidFormatException |
|
499 | - * |
|
500 | - * @return static |
|
501 | - */ |
|
502 | - public static function createStrict(?int $year = 0, ?int $month = 1, ?int $day = 1, ?int $hour = 0, ?int $minute = 0, ?int $second = 0, $tz = null): self |
|
503 | - { |
|
504 | - $initialStrictMode = static::isStrictModeEnabled(); |
|
505 | - static::useStrictMode(true); |
|
506 | - |
|
507 | - try { |
|
508 | - $date = static::create($year, $month, $day, $hour, $minute, $second, $tz); |
|
509 | - } finally { |
|
510 | - static::useStrictMode($initialStrictMode); |
|
511 | - } |
|
512 | - |
|
513 | - return $date; |
|
514 | - } |
|
515 | - |
|
516 | - /** |
|
517 | - * Create a Carbon instance from just a date. The time portion is set to now. |
|
518 | - * |
|
519 | - * @param int|null $year |
|
520 | - * @param int|null $month |
|
521 | - * @param int|null $day |
|
522 | - * @param DateTimeZone|string|null $tz |
|
523 | - * |
|
524 | - * @throws InvalidFormatException |
|
525 | - * |
|
526 | - * @return static |
|
527 | - */ |
|
528 | - public static function createFromDate($year = null, $month = null, $day = null, $tz = null) |
|
529 | - { |
|
530 | - return static::create($year, $month, $day, null, null, null, $tz); |
|
531 | - } |
|
532 | - |
|
533 | - /** |
|
534 | - * Create a Carbon instance from just a date. The time portion is set to midnight. |
|
535 | - * |
|
536 | - * @param int|null $year |
|
537 | - * @param int|null $month |
|
538 | - * @param int|null $day |
|
539 | - * @param DateTimeZone|string|null $tz |
|
540 | - * |
|
541 | - * @throws InvalidFormatException |
|
542 | - * |
|
543 | - * @return static |
|
544 | - */ |
|
545 | - public static function createMidnightDate($year = null, $month = null, $day = null, $tz = null) |
|
546 | - { |
|
547 | - return static::create($year, $month, $day, 0, 0, 0, $tz); |
|
548 | - } |
|
549 | - |
|
550 | - /** |
|
551 | - * Create a Carbon instance from just a time. The date portion is set to today. |
|
552 | - * |
|
553 | - * @param int|null $hour |
|
554 | - * @param int|null $minute |
|
555 | - * @param int|null $second |
|
556 | - * @param DateTimeZone|string|null $tz |
|
557 | - * |
|
558 | - * @throws InvalidFormatException |
|
559 | - * |
|
560 | - * @return static |
|
561 | - */ |
|
562 | - public static function createFromTime($hour = 0, $minute = 0, $second = 0, $tz = null) |
|
563 | - { |
|
564 | - return static::create(null, null, null, $hour, $minute, $second, $tz); |
|
565 | - } |
|
566 | - |
|
567 | - /** |
|
568 | - * Create a Carbon instance from a time string. The date portion is set to today. |
|
569 | - * |
|
570 | - * @param string $time |
|
571 | - * @param DateTimeZone|string|null $tz |
|
572 | - * |
|
573 | - * @throws InvalidFormatException |
|
574 | - * |
|
575 | - * @return static |
|
576 | - */ |
|
577 | - public static function createFromTimeString($time, $tz = null) |
|
578 | - { |
|
579 | - return static::today($tz)->setTimeFromTimeString($time); |
|
580 | - } |
|
581 | - |
|
582 | - /** |
|
583 | - * @param string $format Datetime format |
|
584 | - * @param string $time |
|
585 | - * @param DateTimeZone|string|false|null $originalTz |
|
586 | - * |
|
587 | - * @return DateTimeInterface|false |
|
588 | - */ |
|
589 | - private static function createFromFormatAndTimezone($format, $time, $originalTz) |
|
590 | - { |
|
591 | - // Work-around for https://bugs.php.net/bug.php?id=75577 |
|
592 | - // @codeCoverageIgnoreStart |
|
593 | - if (version_compare(PHP_VERSION, '7.3.0-dev', '<')) { |
|
594 | - $format = str_replace('.v', '.u', $format); |
|
595 | - } |
|
596 | - // @codeCoverageIgnoreEnd |
|
597 | - |
|
598 | - if ($originalTz === null) { |
|
599 | - return parent::createFromFormat($format, (string) $time); |
|
600 | - } |
|
601 | - |
|
602 | - $tz = \is_int($originalTz) |
|
603 | - ? @timezone_name_from_abbr('', (int) ($originalTz * static::MINUTES_PER_HOUR * static::SECONDS_PER_MINUTE), 1) |
|
604 | - : $originalTz; |
|
605 | - |
|
606 | - $tz = static::safeCreateDateTimeZone($tz, $originalTz); |
|
607 | - |
|
608 | - if ($tz === false) { |
|
609 | - return false; |
|
610 | - } |
|
611 | - |
|
612 | - return parent::createFromFormat($format, (string) $time, $tz); |
|
613 | - } |
|
614 | - |
|
615 | - /** |
|
616 | - * Create a Carbon instance from a specific format. |
|
617 | - * |
|
618 | - * @param string $format Datetime format |
|
619 | - * @param string $time |
|
620 | - * @param DateTimeZone|string|false|null $tz |
|
621 | - * |
|
622 | - * @throws InvalidFormatException |
|
623 | - * |
|
624 | - * @return static|false |
|
625 | - */ |
|
626 | - public static function rawCreateFromFormat($format, $time, $tz = null) |
|
627 | - { |
|
628 | - // Work-around for https://bugs.php.net/bug.php?id=80141 |
|
629 | - $format = preg_replace('/(?<!\\\\)((?:\\\\{2})*)c/', '$1Y-m-d\TH:i:sP', $format); |
|
630 | - |
|
631 | - if (preg_match('/(?<!\\\\)(?:\\\\{2})*(a|A)/', $format, $aMatches, PREG_OFFSET_CAPTURE) && |
|
632 | - preg_match('/(?<!\\\\)(?:\\\\{2})*(h|g|H|G)/', $format, $hMatches, PREG_OFFSET_CAPTURE) && |
|
633 | - $aMatches[1][1] < $hMatches[1][1] && |
|
634 | - preg_match('/(am|pm|AM|PM)/', $time) |
|
635 | - ) { |
|
636 | - $format = preg_replace('/^(.*)(?<!\\\\)((?:\\\\{2})*)(a|A)(.*)$/U', '$1$2$4 $3', $format); |
|
637 | - $time = preg_replace('/^(.*)(am|pm|AM|PM)(.*)$/U', '$1$3 $2', $time); |
|
638 | - } |
|
639 | - |
|
640 | - // First attempt to create an instance, so that error messages are based on the unmodified format. |
|
641 | - $date = self::createFromFormatAndTimezone($format, $time, $tz); |
|
642 | - $lastErrors = parent::getLastErrors(); |
|
643 | - /** @var \Carbon\CarbonImmutable|\Carbon\Carbon|null $mock */ |
|
644 | - $mock = static::getMockedTestNow($tz); |
|
645 | - |
|
646 | - if ($mock && $date instanceof DateTimeInterface) { |
|
647 | - // Set timezone from mock if custom timezone was neither given directly nor as a part of format. |
|
648 | - // First let's skip the part that will be ignored by the parser. |
|
649 | - $nonEscaped = '(?<!\\\\)(\\\\{2})*'; |
|
650 | - |
|
651 | - $nonIgnored = preg_replace("/^.*{$nonEscaped}!/s", '', $format); |
|
652 | - |
|
653 | - if ($tz === null && !preg_match("/{$nonEscaped}[eOPT]/", $nonIgnored)) { |
|
654 | - $tz = clone $mock->getTimezone(); |
|
655 | - } |
|
656 | - |
|
657 | - // Set microseconds to zero to match behavior of DateTime::createFromFormat() |
|
658 | - // See https://bugs.php.net/bug.php?id=74332 |
|
659 | - $mock = $mock->copy()->microsecond(0); |
|
660 | - |
|
661 | - // Prepend mock datetime only if the format does not contain non escaped unix epoch reset flag. |
|
662 | - if (!preg_match("/{$nonEscaped}[!|]/", $format)) { |
|
663 | - $format = static::MOCK_DATETIME_FORMAT.' '.$format; |
|
664 | - $time = ($mock instanceof self ? $mock->rawFormat(static::MOCK_DATETIME_FORMAT) : $mock->format(static::MOCK_DATETIME_FORMAT)).' '.$time; |
|
665 | - } |
|
666 | - |
|
667 | - // Regenerate date from the modified format to base result on the mocked instance instead of now. |
|
668 | - $date = self::createFromFormatAndTimezone($format, $time, $tz); |
|
669 | - } |
|
670 | - |
|
671 | - if ($date instanceof DateTimeInterface) { |
|
672 | - $instance = static::instance($date); |
|
673 | - $instance::setLastErrors($lastErrors); |
|
674 | - |
|
675 | - return $instance; |
|
676 | - } |
|
677 | - |
|
678 | - if (static::isStrictModeEnabled()) { |
|
679 | - throw new InvalidFormatException(implode(PHP_EOL, $lastErrors['errors'])); |
|
680 | - } |
|
681 | - |
|
682 | - return false; |
|
683 | - } |
|
684 | - |
|
685 | - /** |
|
686 | - * Create a Carbon instance from a specific format. |
|
687 | - * |
|
688 | - * @param string $format Datetime format |
|
689 | - * @param string $time |
|
690 | - * @param DateTimeZone|string|false|null $tz |
|
691 | - * |
|
692 | - * @throws InvalidFormatException |
|
693 | - * |
|
694 | - * @return static|false |
|
695 | - */ |
|
696 | - #[ReturnTypeWillChange] |
|
697 | - public static function createFromFormat($format, $time, $tz = null) |
|
698 | - { |
|
699 | - $function = static::$createFromFormatFunction; |
|
700 | - |
|
701 | - if (!$function) { |
|
702 | - return static::rawCreateFromFormat($format, $time, $tz); |
|
703 | - } |
|
704 | - |
|
705 | - if (\is_string($function) && method_exists(static::class, $function)) { |
|
706 | - $function = [static::class, $function]; |
|
707 | - } |
|
708 | - |
|
709 | - return $function(...\func_get_args()); |
|
710 | - } |
|
711 | - |
|
712 | - /** |
|
713 | - * Create a Carbon instance from a specific ISO format (same replacements as ->isoFormat()). |
|
714 | - * |
|
715 | - * @param string $format Datetime format |
|
716 | - * @param string $time |
|
717 | - * @param DateTimeZone|string|false|null $tz optional timezone |
|
718 | - * @param string|null $locale locale to be used for LTS, LT, LL, LLL, etc. macro-formats (en by fault, unneeded if no such macro-format in use) |
|
719 | - * @param \Symfony\Component\Translation\TranslatorInterface $translator optional custom translator to use for macro-formats |
|
720 | - * |
|
721 | - * @throws InvalidFormatException |
|
722 | - * |
|
723 | - * @return static|false |
|
724 | - */ |
|
725 | - public static function createFromIsoFormat($format, $time, $tz = null, $locale = 'en', $translator = null) |
|
726 | - { |
|
727 | - $format = preg_replace_callback('/(?<!\\\\)(\\\\{2})*(LTS|LT|[Ll]{1,4})/', function ($match) use ($locale, $translator) { |
|
728 | - [$code] = $match; |
|
729 | - |
|
730 | - static $formats = null; |
|
731 | - |
|
732 | - if ($formats === null) { |
|
733 | - $translator = $translator ?: Translator::get($locale); |
|
734 | - |
|
735 | - $formats = [ |
|
736 | - 'LT' => static::getTranslationMessageWith($translator, 'formats.LT', $locale, 'h:mm A'), |
|
737 | - 'LTS' => static::getTranslationMessageWith($translator, 'formats.LTS', $locale, 'h:mm:ss A'), |
|
738 | - 'L' => static::getTranslationMessageWith($translator, 'formats.L', $locale, 'MM/DD/YYYY'), |
|
739 | - 'LL' => static::getTranslationMessageWith($translator, 'formats.LL', $locale, 'MMMM D, YYYY'), |
|
740 | - 'LLL' => static::getTranslationMessageWith($translator, 'formats.LLL', $locale, 'MMMM D, YYYY h:mm A'), |
|
741 | - 'LLLL' => static::getTranslationMessageWith($translator, 'formats.LLLL', $locale, 'dddd, MMMM D, YYYY h:mm A'), |
|
742 | - ]; |
|
743 | - } |
|
744 | - |
|
745 | - return $formats[$code] ?? preg_replace_callback( |
|
746 | - '/MMMM|MM|DD|dddd/', |
|
747 | - function ($code) { |
|
748 | - return mb_substr($code[0], 1); |
|
749 | - }, |
|
750 | - $formats[strtoupper($code)] ?? '' |
|
751 | - ); |
|
752 | - }, $format); |
|
753 | - |
|
754 | - $format = preg_replace_callback('/(?<!\\\\)(\\\\{2})*('.CarbonInterface::ISO_FORMAT_REGEXP.'|[A-Za-z])/', function ($match) { |
|
755 | - [$code] = $match; |
|
756 | - |
|
757 | - static $replacements = null; |
|
758 | - |
|
759 | - if ($replacements === null) { |
|
760 | - $replacements = [ |
|
761 | - 'OD' => 'd', |
|
762 | - 'OM' => 'M', |
|
763 | - 'OY' => 'Y', |
|
764 | - 'OH' => 'G', |
|
765 | - 'Oh' => 'g', |
|
766 | - 'Om' => 'i', |
|
767 | - 'Os' => 's', |
|
768 | - 'D' => 'd', |
|
769 | - 'DD' => 'd', |
|
770 | - 'Do' => 'd', |
|
771 | - 'd' => '!', |
|
772 | - 'dd' => '!', |
|
773 | - 'ddd' => 'D', |
|
774 | - 'dddd' => 'D', |
|
775 | - 'DDD' => 'z', |
|
776 | - 'DDDD' => 'z', |
|
777 | - 'DDDo' => 'z', |
|
778 | - 'e' => '!', |
|
779 | - 'E' => '!', |
|
780 | - 'H' => 'G', |
|
781 | - 'HH' => 'H', |
|
782 | - 'h' => 'g', |
|
783 | - 'hh' => 'h', |
|
784 | - 'k' => 'G', |
|
785 | - 'kk' => 'G', |
|
786 | - 'hmm' => 'gi', |
|
787 | - 'hmmss' => 'gis', |
|
788 | - 'Hmm' => 'Gi', |
|
789 | - 'Hmmss' => 'Gis', |
|
790 | - 'm' => 'i', |
|
791 | - 'mm' => 'i', |
|
792 | - 'a' => 'a', |
|
793 | - 'A' => 'a', |
|
794 | - 's' => 's', |
|
795 | - 'ss' => 's', |
|
796 | - 'S' => '*', |
|
797 | - 'SS' => '*', |
|
798 | - 'SSS' => '*', |
|
799 | - 'SSSS' => '*', |
|
800 | - 'SSSSS' => '*', |
|
801 | - 'SSSSSS' => 'u', |
|
802 | - 'SSSSSSS' => 'u*', |
|
803 | - 'SSSSSSSS' => 'u*', |
|
804 | - 'SSSSSSSSS' => 'u*', |
|
805 | - 'M' => 'm', |
|
806 | - 'MM' => 'm', |
|
807 | - 'MMM' => 'M', |
|
808 | - 'MMMM' => 'M', |
|
809 | - 'Mo' => 'm', |
|
810 | - 'Q' => '!', |
|
811 | - 'Qo' => '!', |
|
812 | - 'G' => '!', |
|
813 | - 'GG' => '!', |
|
814 | - 'GGG' => '!', |
|
815 | - 'GGGG' => '!', |
|
816 | - 'GGGGG' => '!', |
|
817 | - 'g' => '!', |
|
818 | - 'gg' => '!', |
|
819 | - 'ggg' => '!', |
|
820 | - 'gggg' => '!', |
|
821 | - 'ggggg' => '!', |
|
822 | - 'W' => '!', |
|
823 | - 'WW' => '!', |
|
824 | - 'Wo' => '!', |
|
825 | - 'w' => '!', |
|
826 | - 'ww' => '!', |
|
827 | - 'wo' => '!', |
|
828 | - 'x' => 'U???', |
|
829 | - 'X' => 'U', |
|
830 | - 'Y' => 'Y', |
|
831 | - 'YY' => 'y', |
|
832 | - 'YYYY' => 'Y', |
|
833 | - 'YYYYY' => 'Y', |
|
834 | - 'YYYYYY' => 'Y', |
|
835 | - 'z' => 'e', |
|
836 | - 'zz' => 'e', |
|
837 | - 'Z' => 'e', |
|
838 | - 'ZZ' => 'e', |
|
839 | - ]; |
|
840 | - } |
|
841 | - |
|
842 | - $format = $replacements[$code] ?? '?'; |
|
843 | - |
|
844 | - if ($format === '!') { |
|
845 | - throw new InvalidFormatException("Format $code not supported for creation."); |
|
846 | - } |
|
847 | - |
|
848 | - return $format; |
|
849 | - }, $format); |
|
850 | - |
|
851 | - return static::rawCreateFromFormat($format, $time, $tz); |
|
852 | - } |
|
853 | - |
|
854 | - /** |
|
855 | - * Create a Carbon instance from a specific format and a string in a given language. |
|
856 | - * |
|
857 | - * @param string $format Datetime format |
|
858 | - * @param string $locale |
|
859 | - * @param string $time |
|
860 | - * @param DateTimeZone|string|false|null $tz |
|
861 | - * |
|
862 | - * @throws InvalidFormatException |
|
863 | - * |
|
864 | - * @return static|false |
|
865 | - */ |
|
866 | - public static function createFromLocaleFormat($format, $locale, $time, $tz = null) |
|
867 | - { |
|
868 | - return static::rawCreateFromFormat($format, static::translateTimeString($time, $locale, 'en'), $tz); |
|
869 | - } |
|
870 | - |
|
871 | - /** |
|
872 | - * Create a Carbon instance from a specific ISO format and a string in a given language. |
|
873 | - * |
|
874 | - * @param string $format Datetime ISO format |
|
875 | - * @param string $locale |
|
876 | - * @param string $time |
|
877 | - * @param DateTimeZone|string|false|null $tz |
|
878 | - * |
|
879 | - * @throws InvalidFormatException |
|
880 | - * |
|
881 | - * @return static|false |
|
882 | - */ |
|
883 | - public static function createFromLocaleIsoFormat($format, $locale, $time, $tz = null) |
|
884 | - { |
|
885 | - $time = static::translateTimeString($time, $locale, 'en', CarbonInterface::TRANSLATE_MONTHS | CarbonInterface::TRANSLATE_DAYS | CarbonInterface::TRANSLATE_MERIDIEM); |
|
886 | - |
|
887 | - return static::createFromIsoFormat($format, $time, $tz, $locale); |
|
888 | - } |
|
889 | - |
|
890 | - /** |
|
891 | - * Make a Carbon instance from given variable if possible. |
|
892 | - * |
|
893 | - * Always return a new instance. Parse only strings and only these likely to be dates (skip intervals |
|
894 | - * and recurrences). Throw an exception for invalid format, but otherwise return null. |
|
895 | - * |
|
896 | - * @param mixed $var |
|
897 | - * |
|
898 | - * @throws InvalidFormatException |
|
899 | - * |
|
900 | - * @return static|null |
|
901 | - */ |
|
902 | - public static function make($var) |
|
903 | - { |
|
904 | - if ($var instanceof DateTimeInterface) { |
|
905 | - return static::instance($var); |
|
906 | - } |
|
907 | - |
|
908 | - $date = null; |
|
909 | - |
|
910 | - if (\is_string($var)) { |
|
911 | - $var = trim($var); |
|
912 | - |
|
913 | - if (!preg_match('/^P[\dT]/', $var) && |
|
914 | - !preg_match('/^R\d/', $var) && |
|
915 | - preg_match('/[a-z\d]/i', $var) |
|
916 | - ) { |
|
917 | - $date = static::parse($var); |
|
918 | - } |
|
919 | - } |
|
920 | - |
|
921 | - return $date; |
|
922 | - } |
|
923 | - |
|
924 | - /** |
|
925 | - * Set last errors. |
|
926 | - * |
|
927 | - * @param array $lastErrors |
|
928 | - * |
|
929 | - * @return void |
|
930 | - */ |
|
931 | - private static function setLastErrors(array $lastErrors) |
|
932 | - { |
|
933 | - static::$lastErrors = $lastErrors; |
|
934 | - } |
|
935 | - |
|
936 | - /** |
|
937 | - * {@inheritdoc} |
|
938 | - * |
|
939 | - * @return array |
|
940 | - */ |
|
941 | - #[ReturnTypeWillChange] |
|
942 | - public static function getLastErrors() |
|
943 | - { |
|
944 | - return static::$lastErrors; |
|
945 | - } |
|
38 | + use ObjectInitialisation; |
|
39 | + |
|
40 | + /** |
|
41 | + * The errors that can occur. |
|
42 | + * |
|
43 | + * @var array |
|
44 | + */ |
|
45 | + protected static $lastErrors; |
|
46 | + |
|
47 | + /** |
|
48 | + * Create a new Carbon instance. |
|
49 | + * |
|
50 | + * Please see the testing aids section (specifically static::setTestNow()) |
|
51 | + * for more on the possibility of this constructor returning a test instance. |
|
52 | + * |
|
53 | + * @param DateTimeInterface|string|null $time |
|
54 | + * @param DateTimeZone|string|null $tz |
|
55 | + * |
|
56 | + * @throws InvalidFormatException |
|
57 | + */ |
|
58 | + public function __construct($time = null, $tz = null) |
|
59 | + { |
|
60 | + if ($time instanceof DateTimeInterface) { |
|
61 | + $time = $this->constructTimezoneFromDateTime($time, $tz)->format('Y-m-d H:i:s.u'); |
|
62 | + } |
|
63 | + |
|
64 | + if (is_numeric($time) && (!\is_string($time) || !preg_match('/^\d{1,14}$/', $time))) { |
|
65 | + $time = static::createFromTimestampUTC($time)->format('Y-m-d\TH:i:s.uP'); |
|
66 | + } |
|
67 | + |
|
68 | + // If the class has a test now set and we are trying to create a now() |
|
69 | + // instance then override as required |
|
70 | + $isNow = empty($time) || $time === 'now'; |
|
71 | + |
|
72 | + if (method_exists(static::class, 'hasTestNow') && |
|
73 | + method_exists(static::class, 'getTestNow') && |
|
74 | + static::hasTestNow() && |
|
75 | + ($isNow || static::hasRelativeKeywords($time)) |
|
76 | + ) { |
|
77 | + static::mockConstructorParameters($time, $tz); |
|
78 | + } |
|
79 | + |
|
80 | + // Work-around for PHP bug https://bugs.php.net/bug.php?id=67127 |
|
81 | + if (!str_contains((string) .1, '.')) { |
|
82 | + $locale = setlocale(LC_NUMERIC, '0'); // @codeCoverageIgnore |
|
83 | + setlocale(LC_NUMERIC, 'C'); // @codeCoverageIgnore |
|
84 | + } |
|
85 | + |
|
86 | + try { |
|
87 | + parent::__construct($time ?: 'now', static::safeCreateDateTimeZone($tz) ?: null); |
|
88 | + } catch (Exception $exception) { |
|
89 | + throw new InvalidFormatException($exception->getMessage(), 0, $exception); |
|
90 | + } |
|
91 | + |
|
92 | + $this->constructedObjectId = spl_object_hash($this); |
|
93 | + |
|
94 | + if (isset($locale)) { |
|
95 | + setlocale(LC_NUMERIC, $locale); // @codeCoverageIgnore |
|
96 | + } |
|
97 | + |
|
98 | + // @CHANGE |
|
99 | + if (parent::getLastErrors()) { |
|
100 | + self::setLastErrors(parent::getLastErrors()); |
|
101 | + } |
|
102 | + } |
|
103 | + |
|
104 | + /** |
|
105 | + * Get timezone from a datetime instance. |
|
106 | + * |
|
107 | + * @param DateTimeInterface $date |
|
108 | + * @param DateTimeZone|string|null $tz |
|
109 | + * |
|
110 | + * @return DateTimeInterface |
|
111 | + */ |
|
112 | + private function constructTimezoneFromDateTime(DateTimeInterface $date, &$tz) |
|
113 | + { |
|
114 | + if ($tz !== null) { |
|
115 | + $safeTz = static::safeCreateDateTimeZone($tz); |
|
116 | + |
|
117 | + if ($safeTz) { |
|
118 | + return $date->setTimezone($safeTz); |
|
119 | + } |
|
120 | + |
|
121 | + return $date; |
|
122 | + } |
|
123 | + |
|
124 | + $tz = $date->getTimezone(); |
|
125 | + |
|
126 | + return $date; |
|
127 | + } |
|
128 | + |
|
129 | + /** |
|
130 | + * Update constructedObjectId on cloned. |
|
131 | + */ |
|
132 | + public function __clone() |
|
133 | + { |
|
134 | + $this->constructedObjectId = spl_object_hash($this); |
|
135 | + } |
|
136 | + |
|
137 | + /** |
|
138 | + * Create a Carbon instance from a DateTime one. |
|
139 | + * |
|
140 | + * @param DateTimeInterface $date |
|
141 | + * |
|
142 | + * @return static |
|
143 | + */ |
|
144 | + public static function instance($date) |
|
145 | + { |
|
146 | + if ($date instanceof static) { |
|
147 | + return clone $date; |
|
148 | + } |
|
149 | + |
|
150 | + static::expectDateTime($date); |
|
151 | + |
|
152 | + $instance = new static($date->format('Y-m-d H:i:s.u'), $date->getTimezone()); |
|
153 | + |
|
154 | + if ($date instanceof CarbonInterface) { |
|
155 | + $settings = $date->getSettings(); |
|
156 | + |
|
157 | + if (!$date->hasLocalTranslator()) { |
|
158 | + unset($settings['locale']); |
|
159 | + } |
|
160 | + |
|
161 | + $instance->settings($settings); |
|
162 | + } |
|
163 | + |
|
164 | + return $instance; |
|
165 | + } |
|
166 | + |
|
167 | + /** |
|
168 | + * Create a carbon instance from a string. |
|
169 | + * |
|
170 | + * This is an alias for the constructor that allows better fluent syntax |
|
171 | + * as it allows you to do Carbon::parse('Monday next week')->fn() rather |
|
172 | + * than (new Carbon('Monday next week'))->fn(). |
|
173 | + * |
|
174 | + * @param string|DateTimeInterface|null $time |
|
175 | + * @param DateTimeZone|string|null $tz |
|
176 | + * |
|
177 | + * @throws InvalidFormatException |
|
178 | + * |
|
179 | + * @return static |
|
180 | + */ |
|
181 | + public static function rawParse($time = null, $tz = null) |
|
182 | + { |
|
183 | + if ($time instanceof DateTimeInterface) { |
|
184 | + return static::instance($time); |
|
185 | + } |
|
186 | + |
|
187 | + try { |
|
188 | + return new static($time, $tz); |
|
189 | + } catch (Exception $exception) { |
|
190 | + $date = @static::now($tz)->change($time); |
|
191 | + |
|
192 | + if (!$date) { |
|
193 | + throw new InvalidFormatException("Could not parse '$time': ".$exception->getMessage(), 0, $exception); |
|
194 | + } |
|
195 | + |
|
196 | + return $date; |
|
197 | + } |
|
198 | + } |
|
199 | + |
|
200 | + /** |
|
201 | + * Create a carbon instance from a string. |
|
202 | + * |
|
203 | + * This is an alias for the constructor that allows better fluent syntax |
|
204 | + * as it allows you to do Carbon::parse('Monday next week')->fn() rather |
|
205 | + * than (new Carbon('Monday next week'))->fn(). |
|
206 | + * |
|
207 | + * @param string|DateTimeInterface|null $time |
|
208 | + * @param DateTimeZone|string|null $tz |
|
209 | + * |
|
210 | + * @throws InvalidFormatException |
|
211 | + * |
|
212 | + * @return static |
|
213 | + */ |
|
214 | + public static function parse($time = null, $tz = null) |
|
215 | + { |
|
216 | + $function = static::$parseFunction; |
|
217 | + |
|
218 | + if (!$function) { |
|
219 | + return static::rawParse($time, $tz); |
|
220 | + } |
|
221 | + |
|
222 | + if (\is_string($function) && method_exists(static::class, $function)) { |
|
223 | + $function = [static::class, $function]; |
|
224 | + } |
|
225 | + |
|
226 | + return $function(...\func_get_args()); |
|
227 | + } |
|
228 | + |
|
229 | + /** |
|
230 | + * Create a carbon instance from a localized string (in French, Japanese, Arabic, etc.). |
|
231 | + * |
|
232 | + * @param string $time date/time string in the given language (may also contain English). |
|
233 | + * @param string|null $locale if locale is null or not specified, current global locale will be |
|
234 | + * used instead. |
|
235 | + * @param DateTimeZone|string|null $tz optional timezone for the new instance. |
|
236 | + * |
|
237 | + * @throws InvalidFormatException |
|
238 | + * |
|
239 | + * @return static |
|
240 | + */ |
|
241 | + public static function parseFromLocale($time, $locale = null, $tz = null) |
|
242 | + { |
|
243 | + return static::rawParse(static::translateTimeString($time, $locale, 'en'), $tz); |
|
244 | + } |
|
245 | + |
|
246 | + /** |
|
247 | + * Get a Carbon instance for the current date and time. |
|
248 | + * |
|
249 | + * @param DateTimeZone|string|null $tz |
|
250 | + * |
|
251 | + * @return static |
|
252 | + */ |
|
253 | + public static function now($tz = null) |
|
254 | + { |
|
255 | + return new static(null, $tz); |
|
256 | + } |
|
257 | + |
|
258 | + /** |
|
259 | + * Create a Carbon instance for today. |
|
260 | + * |
|
261 | + * @param DateTimeZone|string|null $tz |
|
262 | + * |
|
263 | + * @return static |
|
264 | + */ |
|
265 | + public static function today($tz = null) |
|
266 | + { |
|
267 | + return static::rawParse('today', $tz); |
|
268 | + } |
|
269 | + |
|
270 | + /** |
|
271 | + * Create a Carbon instance for tomorrow. |
|
272 | + * |
|
273 | + * @param DateTimeZone|string|null $tz |
|
274 | + * |
|
275 | + * @return static |
|
276 | + */ |
|
277 | + public static function tomorrow($tz = null) |
|
278 | + { |
|
279 | + return static::rawParse('tomorrow', $tz); |
|
280 | + } |
|
281 | + |
|
282 | + /** |
|
283 | + * Create a Carbon instance for yesterday. |
|
284 | + * |
|
285 | + * @param DateTimeZone|string|null $tz |
|
286 | + * |
|
287 | + * @return static |
|
288 | + */ |
|
289 | + public static function yesterday($tz = null) |
|
290 | + { |
|
291 | + return static::rawParse('yesterday', $tz); |
|
292 | + } |
|
293 | + |
|
294 | + /** |
|
295 | + * Create a Carbon instance for the greatest supported date. |
|
296 | + * |
|
297 | + * @return static |
|
298 | + */ |
|
299 | + public static function maxValue() |
|
300 | + { |
|
301 | + if (self::$PHPIntSize === 4) { |
|
302 | + // 32 bit |
|
303 | + return static::createFromTimestamp(PHP_INT_MAX); // @codeCoverageIgnore |
|
304 | + } |
|
305 | + |
|
306 | + // 64 bit |
|
307 | + return static::create(9999, 12, 31, 23, 59, 59); |
|
308 | + } |
|
309 | + |
|
310 | + /** |
|
311 | + * Create a Carbon instance for the lowest supported date. |
|
312 | + * |
|
313 | + * @return static |
|
314 | + */ |
|
315 | + public static function minValue() |
|
316 | + { |
|
317 | + if (self::$PHPIntSize === 4) { |
|
318 | + // 32 bit |
|
319 | + return static::createFromTimestamp(~PHP_INT_MAX); // @codeCoverageIgnore |
|
320 | + } |
|
321 | + |
|
322 | + // 64 bit |
|
323 | + return static::create(1, 1, 1, 0, 0, 0); |
|
324 | + } |
|
325 | + |
|
326 | + private static function assertBetween($unit, $value, $min, $max) |
|
327 | + { |
|
328 | + if (static::isStrictModeEnabled() && ($value < $min || $value > $max)) { |
|
329 | + throw new OutOfRangeException($unit, $min, $max, $value); |
|
330 | + } |
|
331 | + } |
|
332 | + |
|
333 | + private static function createNowInstance($tz) |
|
334 | + { |
|
335 | + if (!static::hasTestNow()) { |
|
336 | + return static::now($tz); |
|
337 | + } |
|
338 | + |
|
339 | + $now = static::getTestNow(); |
|
340 | + |
|
341 | + if ($now instanceof Closure) { |
|
342 | + return $now(static::now($tz)); |
|
343 | + } |
|
344 | + |
|
345 | + return $now->avoidMutation()->tz($tz); |
|
346 | + } |
|
347 | + |
|
348 | + /** |
|
349 | + * Create a new Carbon instance from a specific date and time. |
|
350 | + * |
|
351 | + * If any of $year, $month or $day are set to null their now() values will |
|
352 | + * be used. |
|
353 | + * |
|
354 | + * If $hour is null it will be set to its now() value and the default |
|
355 | + * values for $minute and $second will be their now() values. |
|
356 | + * |
|
357 | + * If $hour is not null then the default values for $minute and $second |
|
358 | + * will be 0. |
|
359 | + * |
|
360 | + * @param int|null $year |
|
361 | + * @param int|null $month |
|
362 | + * @param int|null $day |
|
363 | + * @param int|null $hour |
|
364 | + * @param int|null $minute |
|
365 | + * @param int|null $second |
|
366 | + * @param DateTimeZone|string|null $tz |
|
367 | + * |
|
368 | + * @throws InvalidFormatException |
|
369 | + * |
|
370 | + * @return static|false |
|
371 | + */ |
|
372 | + public static function create($year = 0, $month = 1, $day = 1, $hour = 0, $minute = 0, $second = 0, $tz = null) |
|
373 | + { |
|
374 | + if ((\is_string($year) && !is_numeric($year)) || $year instanceof DateTimeInterface) { |
|
375 | + return static::parse($year, $tz ?: (\is_string($month) || $month instanceof DateTimeZone ? $month : null)); |
|
376 | + } |
|
377 | + |
|
378 | + $defaults = null; |
|
379 | + $getDefault = function ($unit) use ($tz, &$defaults) { |
|
380 | + if ($defaults === null) { |
|
381 | + $now = self::createNowInstance($tz); |
|
382 | + |
|
383 | + $defaults = array_combine([ |
|
384 | + 'year', |
|
385 | + 'month', |
|
386 | + 'day', |
|
387 | + 'hour', |
|
388 | + 'minute', |
|
389 | + 'second', |
|
390 | + ], explode('-', $now->rawFormat('Y-n-j-G-i-s.u'))); |
|
391 | + } |
|
392 | + |
|
393 | + return $defaults[$unit]; |
|
394 | + }; |
|
395 | + |
|
396 | + $year = $year ?? $getDefault('year'); |
|
397 | + $month = $month ?? $getDefault('month'); |
|
398 | + $day = $day ?? $getDefault('day'); |
|
399 | + $hour = $hour ?? $getDefault('hour'); |
|
400 | + $minute = $minute ?? $getDefault('minute'); |
|
401 | + $second = (float) ($second ?? $getDefault('second')); |
|
402 | + |
|
403 | + self::assertBetween('month', $month, 0, 99); |
|
404 | + self::assertBetween('day', $day, 0, 99); |
|
405 | + self::assertBetween('hour', $hour, 0, 99); |
|
406 | + self::assertBetween('minute', $minute, 0, 99); |
|
407 | + self::assertBetween('second', $second, 0, 99); |
|
408 | + |
|
409 | + $fixYear = null; |
|
410 | + |
|
411 | + if ($year < 0) { |
|
412 | + $fixYear = $year; |
|
413 | + $year = 0; |
|
414 | + } elseif ($year > 9999) { |
|
415 | + $fixYear = $year - 9999; |
|
416 | + $year = 9999; |
|
417 | + } |
|
418 | + |
|
419 | + $second = ($second < 10 ? '0' : '').number_format($second, 6); |
|
420 | + $instance = static::rawCreateFromFormat('!Y-n-j G:i:s.u', sprintf('%s-%s-%s %s:%02s:%02s', $year, $month, $day, $hour, $minute, $second), $tz); |
|
421 | + |
|
422 | + if ($fixYear !== null) { |
|
423 | + $instance = $instance->addYears($fixYear); |
|
424 | + } |
|
425 | + |
|
426 | + return $instance; |
|
427 | + } |
|
428 | + |
|
429 | + /** |
|
430 | + * Create a new safe Carbon instance from a specific date and time. |
|
431 | + * |
|
432 | + * If any of $year, $month or $day are set to null their now() values will |
|
433 | + * be used. |
|
434 | + * |
|
435 | + * If $hour is null it will be set to its now() value and the default |
|
436 | + * values for $minute and $second will be their now() values. |
|
437 | + * |
|
438 | + * If $hour is not null then the default values for $minute and $second |
|
439 | + * will be 0. |
|
440 | + * |
|
441 | + * If one of the set values is not valid, an InvalidDateException |
|
442 | + * will be thrown. |
|
443 | + * |
|
444 | + * @param int|null $year |
|
445 | + * @param int|null $month |
|
446 | + * @param int|null $day |
|
447 | + * @param int|null $hour |
|
448 | + * @param int|null $minute |
|
449 | + * @param int|null $second |
|
450 | + * @param DateTimeZone|string|null $tz |
|
451 | + * |
|
452 | + * @throws InvalidDateException |
|
453 | + * |
|
454 | + * @return static|false |
|
455 | + */ |
|
456 | + public static function createSafe($year = null, $month = null, $day = null, $hour = null, $minute = null, $second = null, $tz = null) |
|
457 | + { |
|
458 | + $fields = static::getRangesByUnit(); |
|
459 | + |
|
460 | + foreach ($fields as $field => $range) { |
|
461 | + if ($$field !== null && (!\is_int($$field) || $$field < $range[0] || $$field > $range[1])) { |
|
462 | + if (static::isStrictModeEnabled()) { |
|
463 | + throw new InvalidDateException($field, $$field); |
|
464 | + } |
|
465 | + |
|
466 | + return false; |
|
467 | + } |
|
468 | + } |
|
469 | + |
|
470 | + $instance = static::create($year, $month, $day, $hour, $minute, $second, $tz); |
|
471 | + |
|
472 | + foreach (array_reverse($fields) as $field => $range) { |
|
473 | + if ($$field !== null && (!\is_int($$field) || $$field !== $instance->$field)) { |
|
474 | + if (static::isStrictModeEnabled()) { |
|
475 | + throw new InvalidDateException($field, $$field); |
|
476 | + } |
|
477 | + |
|
478 | + return false; |
|
479 | + } |
|
480 | + } |
|
481 | + |
|
482 | + return $instance; |
|
483 | + } |
|
484 | + |
|
485 | + /** |
|
486 | + * Create a new Carbon instance from a specific date and time using strict validation. |
|
487 | + * |
|
488 | + * @see create() |
|
489 | + * |
|
490 | + * @param int|null $year |
|
491 | + * @param int|null $month |
|
492 | + * @param int|null $day |
|
493 | + * @param int|null $hour |
|
494 | + * @param int|null $minute |
|
495 | + * @param int|null $second |
|
496 | + * @param DateTimeZone|string|null $tz |
|
497 | + * |
|
498 | + * @throws InvalidFormatException |
|
499 | + * |
|
500 | + * @return static |
|
501 | + */ |
|
502 | + public static function createStrict(?int $year = 0, ?int $month = 1, ?int $day = 1, ?int $hour = 0, ?int $minute = 0, ?int $second = 0, $tz = null): self |
|
503 | + { |
|
504 | + $initialStrictMode = static::isStrictModeEnabled(); |
|
505 | + static::useStrictMode(true); |
|
506 | + |
|
507 | + try { |
|
508 | + $date = static::create($year, $month, $day, $hour, $minute, $second, $tz); |
|
509 | + } finally { |
|
510 | + static::useStrictMode($initialStrictMode); |
|
511 | + } |
|
512 | + |
|
513 | + return $date; |
|
514 | + } |
|
515 | + |
|
516 | + /** |
|
517 | + * Create a Carbon instance from just a date. The time portion is set to now. |
|
518 | + * |
|
519 | + * @param int|null $year |
|
520 | + * @param int|null $month |
|
521 | + * @param int|null $day |
|
522 | + * @param DateTimeZone|string|null $tz |
|
523 | + * |
|
524 | + * @throws InvalidFormatException |
|
525 | + * |
|
526 | + * @return static |
|
527 | + */ |
|
528 | + public static function createFromDate($year = null, $month = null, $day = null, $tz = null) |
|
529 | + { |
|
530 | + return static::create($year, $month, $day, null, null, null, $tz); |
|
531 | + } |
|
532 | + |
|
533 | + /** |
|
534 | + * Create a Carbon instance from just a date. The time portion is set to midnight. |
|
535 | + * |
|
536 | + * @param int|null $year |
|
537 | + * @param int|null $month |
|
538 | + * @param int|null $day |
|
539 | + * @param DateTimeZone|string|null $tz |
|
540 | + * |
|
541 | + * @throws InvalidFormatException |
|
542 | + * |
|
543 | + * @return static |
|
544 | + */ |
|
545 | + public static function createMidnightDate($year = null, $month = null, $day = null, $tz = null) |
|
546 | + { |
|
547 | + return static::create($year, $month, $day, 0, 0, 0, $tz); |
|
548 | + } |
|
549 | + |
|
550 | + /** |
|
551 | + * Create a Carbon instance from just a time. The date portion is set to today. |
|
552 | + * |
|
553 | + * @param int|null $hour |
|
554 | + * @param int|null $minute |
|
555 | + * @param int|null $second |
|
556 | + * @param DateTimeZone|string|null $tz |
|
557 | + * |
|
558 | + * @throws InvalidFormatException |
|
559 | + * |
|
560 | + * @return static |
|
561 | + */ |
|
562 | + public static function createFromTime($hour = 0, $minute = 0, $second = 0, $tz = null) |
|
563 | + { |
|
564 | + return static::create(null, null, null, $hour, $minute, $second, $tz); |
|
565 | + } |
|
566 | + |
|
567 | + /** |
|
568 | + * Create a Carbon instance from a time string. The date portion is set to today. |
|
569 | + * |
|
570 | + * @param string $time |
|
571 | + * @param DateTimeZone|string|null $tz |
|
572 | + * |
|
573 | + * @throws InvalidFormatException |
|
574 | + * |
|
575 | + * @return static |
|
576 | + */ |
|
577 | + public static function createFromTimeString($time, $tz = null) |
|
578 | + { |
|
579 | + return static::today($tz)->setTimeFromTimeString($time); |
|
580 | + } |
|
581 | + |
|
582 | + /** |
|
583 | + * @param string $format Datetime format |
|
584 | + * @param string $time |
|
585 | + * @param DateTimeZone|string|false|null $originalTz |
|
586 | + * |
|
587 | + * @return DateTimeInterface|false |
|
588 | + */ |
|
589 | + private static function createFromFormatAndTimezone($format, $time, $originalTz) |
|
590 | + { |
|
591 | + // Work-around for https://bugs.php.net/bug.php?id=75577 |
|
592 | + // @codeCoverageIgnoreStart |
|
593 | + if (version_compare(PHP_VERSION, '7.3.0-dev', '<')) { |
|
594 | + $format = str_replace('.v', '.u', $format); |
|
595 | + } |
|
596 | + // @codeCoverageIgnoreEnd |
|
597 | + |
|
598 | + if ($originalTz === null) { |
|
599 | + return parent::createFromFormat($format, (string) $time); |
|
600 | + } |
|
601 | + |
|
602 | + $tz = \is_int($originalTz) |
|
603 | + ? @timezone_name_from_abbr('', (int) ($originalTz * static::MINUTES_PER_HOUR * static::SECONDS_PER_MINUTE), 1) |
|
604 | + : $originalTz; |
|
605 | + |
|
606 | + $tz = static::safeCreateDateTimeZone($tz, $originalTz); |
|
607 | + |
|
608 | + if ($tz === false) { |
|
609 | + return false; |
|
610 | + } |
|
611 | + |
|
612 | + return parent::createFromFormat($format, (string) $time, $tz); |
|
613 | + } |
|
614 | + |
|
615 | + /** |
|
616 | + * Create a Carbon instance from a specific format. |
|
617 | + * |
|
618 | + * @param string $format Datetime format |
|
619 | + * @param string $time |
|
620 | + * @param DateTimeZone|string|false|null $tz |
|
621 | + * |
|
622 | + * @throws InvalidFormatException |
|
623 | + * |
|
624 | + * @return static|false |
|
625 | + */ |
|
626 | + public static function rawCreateFromFormat($format, $time, $tz = null) |
|
627 | + { |
|
628 | + // Work-around for https://bugs.php.net/bug.php?id=80141 |
|
629 | + $format = preg_replace('/(?<!\\\\)((?:\\\\{2})*)c/', '$1Y-m-d\TH:i:sP', $format); |
|
630 | + |
|
631 | + if (preg_match('/(?<!\\\\)(?:\\\\{2})*(a|A)/', $format, $aMatches, PREG_OFFSET_CAPTURE) && |
|
632 | + preg_match('/(?<!\\\\)(?:\\\\{2})*(h|g|H|G)/', $format, $hMatches, PREG_OFFSET_CAPTURE) && |
|
633 | + $aMatches[1][1] < $hMatches[1][1] && |
|
634 | + preg_match('/(am|pm|AM|PM)/', $time) |
|
635 | + ) { |
|
636 | + $format = preg_replace('/^(.*)(?<!\\\\)((?:\\\\{2})*)(a|A)(.*)$/U', '$1$2$4 $3', $format); |
|
637 | + $time = preg_replace('/^(.*)(am|pm|AM|PM)(.*)$/U', '$1$3 $2', $time); |
|
638 | + } |
|
639 | + |
|
640 | + // First attempt to create an instance, so that error messages are based on the unmodified format. |
|
641 | + $date = self::createFromFormatAndTimezone($format, $time, $tz); |
|
642 | + $lastErrors = parent::getLastErrors(); |
|
643 | + /** @var \Carbon\CarbonImmutable|\Carbon\Carbon|null $mock */ |
|
644 | + $mock = static::getMockedTestNow($tz); |
|
645 | + |
|
646 | + if ($mock && $date instanceof DateTimeInterface) { |
|
647 | + // Set timezone from mock if custom timezone was neither given directly nor as a part of format. |
|
648 | + // First let's skip the part that will be ignored by the parser. |
|
649 | + $nonEscaped = '(?<!\\\\)(\\\\{2})*'; |
|
650 | + |
|
651 | + $nonIgnored = preg_replace("/^.*{$nonEscaped}!/s", '', $format); |
|
652 | + |
|
653 | + if ($tz === null && !preg_match("/{$nonEscaped}[eOPT]/", $nonIgnored)) { |
|
654 | + $tz = clone $mock->getTimezone(); |
|
655 | + } |
|
656 | + |
|
657 | + // Set microseconds to zero to match behavior of DateTime::createFromFormat() |
|
658 | + // See https://bugs.php.net/bug.php?id=74332 |
|
659 | + $mock = $mock->copy()->microsecond(0); |
|
660 | + |
|
661 | + // Prepend mock datetime only if the format does not contain non escaped unix epoch reset flag. |
|
662 | + if (!preg_match("/{$nonEscaped}[!|]/", $format)) { |
|
663 | + $format = static::MOCK_DATETIME_FORMAT.' '.$format; |
|
664 | + $time = ($mock instanceof self ? $mock->rawFormat(static::MOCK_DATETIME_FORMAT) : $mock->format(static::MOCK_DATETIME_FORMAT)).' '.$time; |
|
665 | + } |
|
666 | + |
|
667 | + // Regenerate date from the modified format to base result on the mocked instance instead of now. |
|
668 | + $date = self::createFromFormatAndTimezone($format, $time, $tz); |
|
669 | + } |
|
670 | + |
|
671 | + if ($date instanceof DateTimeInterface) { |
|
672 | + $instance = static::instance($date); |
|
673 | + $instance::setLastErrors($lastErrors); |
|
674 | + |
|
675 | + return $instance; |
|
676 | + } |
|
677 | + |
|
678 | + if (static::isStrictModeEnabled()) { |
|
679 | + throw new InvalidFormatException(implode(PHP_EOL, $lastErrors['errors'])); |
|
680 | + } |
|
681 | + |
|
682 | + return false; |
|
683 | + } |
|
684 | + |
|
685 | + /** |
|
686 | + * Create a Carbon instance from a specific format. |
|
687 | + * |
|
688 | + * @param string $format Datetime format |
|
689 | + * @param string $time |
|
690 | + * @param DateTimeZone|string|false|null $tz |
|
691 | + * |
|
692 | + * @throws InvalidFormatException |
|
693 | + * |
|
694 | + * @return static|false |
|
695 | + */ |
|
696 | + #[ReturnTypeWillChange] |
|
697 | + public static function createFromFormat($format, $time, $tz = null) |
|
698 | + { |
|
699 | + $function = static::$createFromFormatFunction; |
|
700 | + |
|
701 | + if (!$function) { |
|
702 | + return static::rawCreateFromFormat($format, $time, $tz); |
|
703 | + } |
|
704 | + |
|
705 | + if (\is_string($function) && method_exists(static::class, $function)) { |
|
706 | + $function = [static::class, $function]; |
|
707 | + } |
|
708 | + |
|
709 | + return $function(...\func_get_args()); |
|
710 | + } |
|
711 | + |
|
712 | + /** |
|
713 | + * Create a Carbon instance from a specific ISO format (same replacements as ->isoFormat()). |
|
714 | + * |
|
715 | + * @param string $format Datetime format |
|
716 | + * @param string $time |
|
717 | + * @param DateTimeZone|string|false|null $tz optional timezone |
|
718 | + * @param string|null $locale locale to be used for LTS, LT, LL, LLL, etc. macro-formats (en by fault, unneeded if no such macro-format in use) |
|
719 | + * @param \Symfony\Component\Translation\TranslatorInterface $translator optional custom translator to use for macro-formats |
|
720 | + * |
|
721 | + * @throws InvalidFormatException |
|
722 | + * |
|
723 | + * @return static|false |
|
724 | + */ |
|
725 | + public static function createFromIsoFormat($format, $time, $tz = null, $locale = 'en', $translator = null) |
|
726 | + { |
|
727 | + $format = preg_replace_callback('/(?<!\\\\)(\\\\{2})*(LTS|LT|[Ll]{1,4})/', function ($match) use ($locale, $translator) { |
|
728 | + [$code] = $match; |
|
729 | + |
|
730 | + static $formats = null; |
|
731 | + |
|
732 | + if ($formats === null) { |
|
733 | + $translator = $translator ?: Translator::get($locale); |
|
734 | + |
|
735 | + $formats = [ |
|
736 | + 'LT' => static::getTranslationMessageWith($translator, 'formats.LT', $locale, 'h:mm A'), |
|
737 | + 'LTS' => static::getTranslationMessageWith($translator, 'formats.LTS', $locale, 'h:mm:ss A'), |
|
738 | + 'L' => static::getTranslationMessageWith($translator, 'formats.L', $locale, 'MM/DD/YYYY'), |
|
739 | + 'LL' => static::getTranslationMessageWith($translator, 'formats.LL', $locale, 'MMMM D, YYYY'), |
|
740 | + 'LLL' => static::getTranslationMessageWith($translator, 'formats.LLL', $locale, 'MMMM D, YYYY h:mm A'), |
|
741 | + 'LLLL' => static::getTranslationMessageWith($translator, 'formats.LLLL', $locale, 'dddd, MMMM D, YYYY h:mm A'), |
|
742 | + ]; |
|
743 | + } |
|
744 | + |
|
745 | + return $formats[$code] ?? preg_replace_callback( |
|
746 | + '/MMMM|MM|DD|dddd/', |
|
747 | + function ($code) { |
|
748 | + return mb_substr($code[0], 1); |
|
749 | + }, |
|
750 | + $formats[strtoupper($code)] ?? '' |
|
751 | + ); |
|
752 | + }, $format); |
|
753 | + |
|
754 | + $format = preg_replace_callback('/(?<!\\\\)(\\\\{2})*('.CarbonInterface::ISO_FORMAT_REGEXP.'|[A-Za-z])/', function ($match) { |
|
755 | + [$code] = $match; |
|
756 | + |
|
757 | + static $replacements = null; |
|
758 | + |
|
759 | + if ($replacements === null) { |
|
760 | + $replacements = [ |
|
761 | + 'OD' => 'd', |
|
762 | + 'OM' => 'M', |
|
763 | + 'OY' => 'Y', |
|
764 | + 'OH' => 'G', |
|
765 | + 'Oh' => 'g', |
|
766 | + 'Om' => 'i', |
|
767 | + 'Os' => 's', |
|
768 | + 'D' => 'd', |
|
769 | + 'DD' => 'd', |
|
770 | + 'Do' => 'd', |
|
771 | + 'd' => '!', |
|
772 | + 'dd' => '!', |
|
773 | + 'ddd' => 'D', |
|
774 | + 'dddd' => 'D', |
|
775 | + 'DDD' => 'z', |
|
776 | + 'DDDD' => 'z', |
|
777 | + 'DDDo' => 'z', |
|
778 | + 'e' => '!', |
|
779 | + 'E' => '!', |
|
780 | + 'H' => 'G', |
|
781 | + 'HH' => 'H', |
|
782 | + 'h' => 'g', |
|
783 | + 'hh' => 'h', |
|
784 | + 'k' => 'G', |
|
785 | + 'kk' => 'G', |
|
786 | + 'hmm' => 'gi', |
|
787 | + 'hmmss' => 'gis', |
|
788 | + 'Hmm' => 'Gi', |
|
789 | + 'Hmmss' => 'Gis', |
|
790 | + 'm' => 'i', |
|
791 | + 'mm' => 'i', |
|
792 | + 'a' => 'a', |
|
793 | + 'A' => 'a', |
|
794 | + 's' => 's', |
|
795 | + 'ss' => 's', |
|
796 | + 'S' => '*', |
|
797 | + 'SS' => '*', |
|
798 | + 'SSS' => '*', |
|
799 | + 'SSSS' => '*', |
|
800 | + 'SSSSS' => '*', |
|
801 | + 'SSSSSS' => 'u', |
|
802 | + 'SSSSSSS' => 'u*', |
|
803 | + 'SSSSSSSS' => 'u*', |
|
804 | + 'SSSSSSSSS' => 'u*', |
|
805 | + 'M' => 'm', |
|
806 | + 'MM' => 'm', |
|
807 | + 'MMM' => 'M', |
|
808 | + 'MMMM' => 'M', |
|
809 | + 'Mo' => 'm', |
|
810 | + 'Q' => '!', |
|
811 | + 'Qo' => '!', |
|
812 | + 'G' => '!', |
|
813 | + 'GG' => '!', |
|
814 | + 'GGG' => '!', |
|
815 | + 'GGGG' => '!', |
|
816 | + 'GGGGG' => '!', |
|
817 | + 'g' => '!', |
|
818 | + 'gg' => '!', |
|
819 | + 'ggg' => '!', |
|
820 | + 'gggg' => '!', |
|
821 | + 'ggggg' => '!', |
|
822 | + 'W' => '!', |
|
823 | + 'WW' => '!', |
|
824 | + 'Wo' => '!', |
|
825 | + 'w' => '!', |
|
826 | + 'ww' => '!', |
|
827 | + 'wo' => '!', |
|
828 | + 'x' => 'U???', |
|
829 | + 'X' => 'U', |
|
830 | + 'Y' => 'Y', |
|
831 | + 'YY' => 'y', |
|
832 | + 'YYYY' => 'Y', |
|
833 | + 'YYYYY' => 'Y', |
|
834 | + 'YYYYYY' => 'Y', |
|
835 | + 'z' => 'e', |
|
836 | + 'zz' => 'e', |
|
837 | + 'Z' => 'e', |
|
838 | + 'ZZ' => 'e', |
|
839 | + ]; |
|
840 | + } |
|
841 | + |
|
842 | + $format = $replacements[$code] ?? '?'; |
|
843 | + |
|
844 | + if ($format === '!') { |
|
845 | + throw new InvalidFormatException("Format $code not supported for creation."); |
|
846 | + } |
|
847 | + |
|
848 | + return $format; |
|
849 | + }, $format); |
|
850 | + |
|
851 | + return static::rawCreateFromFormat($format, $time, $tz); |
|
852 | + } |
|
853 | + |
|
854 | + /** |
|
855 | + * Create a Carbon instance from a specific format and a string in a given language. |
|
856 | + * |
|
857 | + * @param string $format Datetime format |
|
858 | + * @param string $locale |
|
859 | + * @param string $time |
|
860 | + * @param DateTimeZone|string|false|null $tz |
|
861 | + * |
|
862 | + * @throws InvalidFormatException |
|
863 | + * |
|
864 | + * @return static|false |
|
865 | + */ |
|
866 | + public static function createFromLocaleFormat($format, $locale, $time, $tz = null) |
|
867 | + { |
|
868 | + return static::rawCreateFromFormat($format, static::translateTimeString($time, $locale, 'en'), $tz); |
|
869 | + } |
|
870 | + |
|
871 | + /** |
|
872 | + * Create a Carbon instance from a specific ISO format and a string in a given language. |
|
873 | + * |
|
874 | + * @param string $format Datetime ISO format |
|
875 | + * @param string $locale |
|
876 | + * @param string $time |
|
877 | + * @param DateTimeZone|string|false|null $tz |
|
878 | + * |
|
879 | + * @throws InvalidFormatException |
|
880 | + * |
|
881 | + * @return static|false |
|
882 | + */ |
|
883 | + public static function createFromLocaleIsoFormat($format, $locale, $time, $tz = null) |
|
884 | + { |
|
885 | + $time = static::translateTimeString($time, $locale, 'en', CarbonInterface::TRANSLATE_MONTHS | CarbonInterface::TRANSLATE_DAYS | CarbonInterface::TRANSLATE_MERIDIEM); |
|
886 | + |
|
887 | + return static::createFromIsoFormat($format, $time, $tz, $locale); |
|
888 | + } |
|
889 | + |
|
890 | + /** |
|
891 | + * Make a Carbon instance from given variable if possible. |
|
892 | + * |
|
893 | + * Always return a new instance. Parse only strings and only these likely to be dates (skip intervals |
|
894 | + * and recurrences). Throw an exception for invalid format, but otherwise return null. |
|
895 | + * |
|
896 | + * @param mixed $var |
|
897 | + * |
|
898 | + * @throws InvalidFormatException |
|
899 | + * |
|
900 | + * @return static|null |
|
901 | + */ |
|
902 | + public static function make($var) |
|
903 | + { |
|
904 | + if ($var instanceof DateTimeInterface) { |
|
905 | + return static::instance($var); |
|
906 | + } |
|
907 | + |
|
908 | + $date = null; |
|
909 | + |
|
910 | + if (\is_string($var)) { |
|
911 | + $var = trim($var); |
|
912 | + |
|
913 | + if (!preg_match('/^P[\dT]/', $var) && |
|
914 | + !preg_match('/^R\d/', $var) && |
|
915 | + preg_match('/[a-z\d]/i', $var) |
|
916 | + ) { |
|
917 | + $date = static::parse($var); |
|
918 | + } |
|
919 | + } |
|
920 | + |
|
921 | + return $date; |
|
922 | + } |
|
923 | + |
|
924 | + /** |
|
925 | + * Set last errors. |
|
926 | + * |
|
927 | + * @param array $lastErrors |
|
928 | + * |
|
929 | + * @return void |
|
930 | + */ |
|
931 | + private static function setLastErrors(array $lastErrors) |
|
932 | + { |
|
933 | + static::$lastErrors = $lastErrors; |
|
934 | + } |
|
935 | + |
|
936 | + /** |
|
937 | + * {@inheritdoc} |
|
938 | + * |
|
939 | + * @return array |
|
940 | + */ |
|
941 | + #[ReturnTypeWillChange] |
|
942 | + public static function getLastErrors() |
|
943 | + { |
|
944 | + return static::$lastErrors; |
|
945 | + } |
|
946 | 946 | } |
@@ -26,327 +26,327 @@ |
||
26 | 26 | */ |
27 | 27 | class InstalledVersions |
28 | 28 | { |
29 | - /** |
|
30 | - * @var mixed[]|null |
|
31 | - * @psalm-var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}|array{}|null |
|
32 | - */ |
|
33 | - private static $installed; |
|
34 | - |
|
35 | - /** |
|
36 | - * @var bool|null |
|
37 | - */ |
|
38 | - private static $canGetVendors; |
|
39 | - |
|
40 | - /** |
|
41 | - * @var array[] |
|
42 | - * @psalm-var array<string, array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}> |
|
43 | - */ |
|
44 | - private static $installedByVendor = array(); |
|
45 | - |
|
46 | - /** |
|
47 | - * Returns a list of all package names which are present, either by being installed, replaced or provided |
|
48 | - * |
|
49 | - * @return string[] |
|
50 | - * @psalm-return list<string> |
|
51 | - */ |
|
52 | - public static function getInstalledPackages() |
|
53 | - { |
|
54 | - $packages = array(); |
|
55 | - foreach (self::getInstalled() as $installed) { |
|
56 | - $packages[] = array_keys($installed['versions']); |
|
57 | - } |
|
58 | - |
|
59 | - if (1 === \count($packages)) { |
|
60 | - return $packages[0]; |
|
61 | - } |
|
62 | - |
|
63 | - return array_keys(array_flip(\call_user_func_array('array_merge', $packages))); |
|
64 | - } |
|
65 | - |
|
66 | - /** |
|
67 | - * Returns a list of all package names with a specific type e.g. 'library' |
|
68 | - * |
|
69 | - * @param string $type |
|
70 | - * @return string[] |
|
71 | - * @psalm-return list<string> |
|
72 | - */ |
|
73 | - public static function getInstalledPackagesByType($type) |
|
74 | - { |
|
75 | - $packagesByType = array(); |
|
76 | - |
|
77 | - foreach (self::getInstalled() as $installed) { |
|
78 | - foreach ($installed['versions'] as $name => $package) { |
|
79 | - if (isset($package['type']) && $package['type'] === $type) { |
|
80 | - $packagesByType[] = $name; |
|
81 | - } |
|
82 | - } |
|
83 | - } |
|
84 | - |
|
85 | - return $packagesByType; |
|
86 | - } |
|
87 | - |
|
88 | - /** |
|
89 | - * Checks whether the given package is installed |
|
90 | - * |
|
91 | - * This also returns true if the package name is provided or replaced by another package |
|
92 | - * |
|
93 | - * @param string $packageName |
|
94 | - * @param bool $includeDevRequirements |
|
95 | - * @return bool |
|
96 | - */ |
|
97 | - public static function isInstalled($packageName, $includeDevRequirements = true) |
|
98 | - { |
|
99 | - foreach (self::getInstalled() as $installed) { |
|
100 | - if (isset($installed['versions'][$packageName])) { |
|
101 | - return $includeDevRequirements || empty($installed['versions'][$packageName]['dev_requirement']); |
|
102 | - } |
|
103 | - } |
|
104 | - |
|
105 | - return false; |
|
106 | - } |
|
107 | - |
|
108 | - /** |
|
109 | - * Checks whether the given package satisfies a version constraint |
|
110 | - * |
|
111 | - * e.g. If you want to know whether version 2.3+ of package foo/bar is installed, you would call: |
|
112 | - * |
|
113 | - * Composer\InstalledVersions::satisfies(new VersionParser, 'foo/bar', '^2.3') |
|
114 | - * |
|
115 | - * @param VersionParser $parser Install composer/semver to have access to this class and functionality |
|
116 | - * @param string $packageName |
|
117 | - * @param string|null $constraint A version constraint to check for, if you pass one you have to make sure composer/semver is required by your package |
|
118 | - * @return bool |
|
119 | - */ |
|
120 | - public static function satisfies(VersionParser $parser, $packageName, $constraint) |
|
121 | - { |
|
122 | - $constraint = $parser->parseConstraints($constraint); |
|
123 | - $provided = $parser->parseConstraints(self::getVersionRanges($packageName)); |
|
124 | - |
|
125 | - return $provided->matches($constraint); |
|
126 | - } |
|
127 | - |
|
128 | - /** |
|
129 | - * Returns a version constraint representing all the range(s) which are installed for a given package |
|
130 | - * |
|
131 | - * It is easier to use this via isInstalled() with the $constraint argument if you need to check |
|
132 | - * whether a given version of a package is installed, and not just whether it exists |
|
133 | - * |
|
134 | - * @param string $packageName |
|
135 | - * @return string Version constraint usable with composer/semver |
|
136 | - */ |
|
137 | - public static function getVersionRanges($packageName) |
|
138 | - { |
|
139 | - foreach (self::getInstalled() as $installed) { |
|
140 | - if (!isset($installed['versions'][$packageName])) { |
|
141 | - continue; |
|
142 | - } |
|
143 | - |
|
144 | - $ranges = array(); |
|
145 | - if (isset($installed['versions'][$packageName]['pretty_version'])) { |
|
146 | - $ranges[] = $installed['versions'][$packageName]['pretty_version']; |
|
147 | - } |
|
148 | - if (array_key_exists('aliases', $installed['versions'][$packageName])) { |
|
149 | - $ranges = array_merge($ranges, $installed['versions'][$packageName]['aliases']); |
|
150 | - } |
|
151 | - if (array_key_exists('replaced', $installed['versions'][$packageName])) { |
|
152 | - $ranges = array_merge($ranges, $installed['versions'][$packageName]['replaced']); |
|
153 | - } |
|
154 | - if (array_key_exists('provided', $installed['versions'][$packageName])) { |
|
155 | - $ranges = array_merge($ranges, $installed['versions'][$packageName]['provided']); |
|
156 | - } |
|
157 | - |
|
158 | - return implode(' || ', $ranges); |
|
159 | - } |
|
160 | - |
|
161 | - throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); |
|
162 | - } |
|
163 | - |
|
164 | - /** |
|
165 | - * @param string $packageName |
|
166 | - * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as version, use satisfies or getVersionRanges if you need to know if a given version is present |
|
167 | - */ |
|
168 | - public static function getVersion($packageName) |
|
169 | - { |
|
170 | - foreach (self::getInstalled() as $installed) { |
|
171 | - if (!isset($installed['versions'][$packageName])) { |
|
172 | - continue; |
|
173 | - } |
|
174 | - |
|
175 | - if (!isset($installed['versions'][$packageName]['version'])) { |
|
176 | - return null; |
|
177 | - } |
|
178 | - |
|
179 | - return $installed['versions'][$packageName]['version']; |
|
180 | - } |
|
181 | - |
|
182 | - throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); |
|
183 | - } |
|
184 | - |
|
185 | - /** |
|
186 | - * @param string $packageName |
|
187 | - * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as version, use satisfies or getVersionRanges if you need to know if a given version is present |
|
188 | - */ |
|
189 | - public static function getPrettyVersion($packageName) |
|
190 | - { |
|
191 | - foreach (self::getInstalled() as $installed) { |
|
192 | - if (!isset($installed['versions'][$packageName])) { |
|
193 | - continue; |
|
194 | - } |
|
195 | - |
|
196 | - if (!isset($installed['versions'][$packageName]['pretty_version'])) { |
|
197 | - return null; |
|
198 | - } |
|
199 | - |
|
200 | - return $installed['versions'][$packageName]['pretty_version']; |
|
201 | - } |
|
202 | - |
|
203 | - throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); |
|
204 | - } |
|
205 | - |
|
206 | - /** |
|
207 | - * @param string $packageName |
|
208 | - * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as reference |
|
209 | - */ |
|
210 | - public static function getReference($packageName) |
|
211 | - { |
|
212 | - foreach (self::getInstalled() as $installed) { |
|
213 | - if (!isset($installed['versions'][$packageName])) { |
|
214 | - continue; |
|
215 | - } |
|
216 | - |
|
217 | - if (!isset($installed['versions'][$packageName]['reference'])) { |
|
218 | - return null; |
|
219 | - } |
|
220 | - |
|
221 | - return $installed['versions'][$packageName]['reference']; |
|
222 | - } |
|
223 | - |
|
224 | - throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); |
|
225 | - } |
|
226 | - |
|
227 | - /** |
|
228 | - * @param string $packageName |
|
229 | - * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as install path. Packages of type metapackages also have a null install path. |
|
230 | - */ |
|
231 | - public static function getInstallPath($packageName) |
|
232 | - { |
|
233 | - foreach (self::getInstalled() as $installed) { |
|
234 | - if (!isset($installed['versions'][$packageName])) { |
|
235 | - continue; |
|
236 | - } |
|
237 | - |
|
238 | - return isset($installed['versions'][$packageName]['install_path']) ? $installed['versions'][$packageName]['install_path'] : null; |
|
239 | - } |
|
240 | - |
|
241 | - throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); |
|
242 | - } |
|
243 | - |
|
244 | - /** |
|
245 | - * @return array |
|
246 | - * @psalm-return array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool} |
|
247 | - */ |
|
248 | - public static function getRootPackage() |
|
249 | - { |
|
250 | - $installed = self::getInstalled(); |
|
251 | - |
|
252 | - return $installed[0]['root']; |
|
253 | - } |
|
254 | - |
|
255 | - /** |
|
256 | - * Returns the raw installed.php data for custom implementations |
|
257 | - * |
|
258 | - * @deprecated Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect. |
|
259 | - * @return array[] |
|
260 | - * @psalm-return array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} |
|
261 | - */ |
|
262 | - public static function getRawData() |
|
263 | - { |
|
264 | - @trigger_error('getRawData only returns the first dataset loaded, which may not be what you expect. Use getAllRawData() instead which returns all datasets for all autoloaders present in the process.', E_USER_DEPRECATED); |
|
265 | - |
|
266 | - if (null === self::$installed) { |
|
267 | - // only require the installed.php file if this file is loaded from its dumped location, |
|
268 | - // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937 |
|
269 | - if (substr(__DIR__, -8, 1) !== 'C') { |
|
270 | - self::$installed = include __DIR__ . '/installed.php'; |
|
271 | - } else { |
|
272 | - self::$installed = array(); |
|
273 | - } |
|
274 | - } |
|
275 | - |
|
276 | - return self::$installed; |
|
277 | - } |
|
278 | - |
|
279 | - /** |
|
280 | - * Returns the raw data of all installed.php which are currently loaded for custom implementations |
|
281 | - * |
|
282 | - * @return array[] |
|
283 | - * @psalm-return list<array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}> |
|
284 | - */ |
|
285 | - public static function getAllRawData() |
|
286 | - { |
|
287 | - return self::getInstalled(); |
|
288 | - } |
|
289 | - |
|
290 | - /** |
|
291 | - * Lets you reload the static array from another file |
|
292 | - * |
|
293 | - * This is only useful for complex integrations in which a project needs to use |
|
294 | - * this class but then also needs to execute another project's autoloader in process, |
|
295 | - * and wants to ensure both projects have access to their version of installed.php. |
|
296 | - * |
|
297 | - * A typical case would be PHPUnit, where it would need to make sure it reads all |
|
298 | - * the data it needs from this class, then call reload() with |
|
299 | - * `require $CWD/vendor/composer/installed.php` (or similar) as input to make sure |
|
300 | - * the project in which it runs can then also use this class safely, without |
|
301 | - * interference between PHPUnit's dependencies and the project's dependencies. |
|
302 | - * |
|
303 | - * @param array[] $data A vendor/composer/installed.php data set |
|
304 | - * @return void |
|
305 | - * |
|
306 | - * @psalm-param array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $data |
|
307 | - */ |
|
308 | - public static function reload($data) |
|
309 | - { |
|
310 | - self::$installed = $data; |
|
311 | - self::$installedByVendor = array(); |
|
312 | - } |
|
313 | - |
|
314 | - /** |
|
315 | - * @return array[] |
|
316 | - * @psalm-return list<array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}> |
|
317 | - */ |
|
318 | - private static function getInstalled() |
|
319 | - { |
|
320 | - if (null === self::$canGetVendors) { |
|
321 | - self::$canGetVendors = method_exists('Composer\Autoload\ClassLoader', 'getRegisteredLoaders'); |
|
322 | - } |
|
323 | - |
|
324 | - $installed = array(); |
|
325 | - |
|
326 | - if (self::$canGetVendors) { |
|
327 | - foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) { |
|
328 | - if (isset(self::$installedByVendor[$vendorDir])) { |
|
329 | - $installed[] = self::$installedByVendor[$vendorDir]; |
|
330 | - } elseif (is_file($vendorDir.'/composer/installed.php')) { |
|
331 | - $installed[] = self::$installedByVendor[$vendorDir] = require $vendorDir.'/composer/installed.php'; |
|
332 | - if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) { |
|
333 | - self::$installed = $installed[count($installed) - 1]; |
|
334 | - } |
|
335 | - } |
|
336 | - } |
|
337 | - } |
|
338 | - |
|
339 | - if (null === self::$installed) { |
|
340 | - // only require the installed.php file if this file is loaded from its dumped location, |
|
341 | - // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937 |
|
342 | - if (substr(__DIR__, -8, 1) !== 'C') { |
|
343 | - self::$installed = require __DIR__ . '/installed.php'; |
|
344 | - } else { |
|
345 | - self::$installed = array(); |
|
346 | - } |
|
347 | - } |
|
348 | - $installed[] = self::$installed; |
|
349 | - |
|
350 | - return $installed; |
|
351 | - } |
|
29 | + /** |
|
30 | + * @var mixed[]|null |
|
31 | + * @psalm-var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}|array{}|null |
|
32 | + */ |
|
33 | + private static $installed; |
|
34 | + |
|
35 | + /** |
|
36 | + * @var bool|null |
|
37 | + */ |
|
38 | + private static $canGetVendors; |
|
39 | + |
|
40 | + /** |
|
41 | + * @var array[] |
|
42 | + * @psalm-var array<string, array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}> |
|
43 | + */ |
|
44 | + private static $installedByVendor = array(); |
|
45 | + |
|
46 | + /** |
|
47 | + * Returns a list of all package names which are present, either by being installed, replaced or provided |
|
48 | + * |
|
49 | + * @return string[] |
|
50 | + * @psalm-return list<string> |
|
51 | + */ |
|
52 | + public static function getInstalledPackages() |
|
53 | + { |
|
54 | + $packages = array(); |
|
55 | + foreach (self::getInstalled() as $installed) { |
|
56 | + $packages[] = array_keys($installed['versions']); |
|
57 | + } |
|
58 | + |
|
59 | + if (1 === \count($packages)) { |
|
60 | + return $packages[0]; |
|
61 | + } |
|
62 | + |
|
63 | + return array_keys(array_flip(\call_user_func_array('array_merge', $packages))); |
|
64 | + } |
|
65 | + |
|
66 | + /** |
|
67 | + * Returns a list of all package names with a specific type e.g. 'library' |
|
68 | + * |
|
69 | + * @param string $type |
|
70 | + * @return string[] |
|
71 | + * @psalm-return list<string> |
|
72 | + */ |
|
73 | + public static function getInstalledPackagesByType($type) |
|
74 | + { |
|
75 | + $packagesByType = array(); |
|
76 | + |
|
77 | + foreach (self::getInstalled() as $installed) { |
|
78 | + foreach ($installed['versions'] as $name => $package) { |
|
79 | + if (isset($package['type']) && $package['type'] === $type) { |
|
80 | + $packagesByType[] = $name; |
|
81 | + } |
|
82 | + } |
|
83 | + } |
|
84 | + |
|
85 | + return $packagesByType; |
|
86 | + } |
|
87 | + |
|
88 | + /** |
|
89 | + * Checks whether the given package is installed |
|
90 | + * |
|
91 | + * This also returns true if the package name is provided or replaced by another package |
|
92 | + * |
|
93 | + * @param string $packageName |
|
94 | + * @param bool $includeDevRequirements |
|
95 | + * @return bool |
|
96 | + */ |
|
97 | + public static function isInstalled($packageName, $includeDevRequirements = true) |
|
98 | + { |
|
99 | + foreach (self::getInstalled() as $installed) { |
|
100 | + if (isset($installed['versions'][$packageName])) { |
|
101 | + return $includeDevRequirements || empty($installed['versions'][$packageName]['dev_requirement']); |
|
102 | + } |
|
103 | + } |
|
104 | + |
|
105 | + return false; |
|
106 | + } |
|
107 | + |
|
108 | + /** |
|
109 | + * Checks whether the given package satisfies a version constraint |
|
110 | + * |
|
111 | + * e.g. If you want to know whether version 2.3+ of package foo/bar is installed, you would call: |
|
112 | + * |
|
113 | + * Composer\InstalledVersions::satisfies(new VersionParser, 'foo/bar', '^2.3') |
|
114 | + * |
|
115 | + * @param VersionParser $parser Install composer/semver to have access to this class and functionality |
|
116 | + * @param string $packageName |
|
117 | + * @param string|null $constraint A version constraint to check for, if you pass one you have to make sure composer/semver is required by your package |
|
118 | + * @return bool |
|
119 | + */ |
|
120 | + public static function satisfies(VersionParser $parser, $packageName, $constraint) |
|
121 | + { |
|
122 | + $constraint = $parser->parseConstraints($constraint); |
|
123 | + $provided = $parser->parseConstraints(self::getVersionRanges($packageName)); |
|
124 | + |
|
125 | + return $provided->matches($constraint); |
|
126 | + } |
|
127 | + |
|
128 | + /** |
|
129 | + * Returns a version constraint representing all the range(s) which are installed for a given package |
|
130 | + * |
|
131 | + * It is easier to use this via isInstalled() with the $constraint argument if you need to check |
|
132 | + * whether a given version of a package is installed, and not just whether it exists |
|
133 | + * |
|
134 | + * @param string $packageName |
|
135 | + * @return string Version constraint usable with composer/semver |
|
136 | + */ |
|
137 | + public static function getVersionRanges($packageName) |
|
138 | + { |
|
139 | + foreach (self::getInstalled() as $installed) { |
|
140 | + if (!isset($installed['versions'][$packageName])) { |
|
141 | + continue; |
|
142 | + } |
|
143 | + |
|
144 | + $ranges = array(); |
|
145 | + if (isset($installed['versions'][$packageName]['pretty_version'])) { |
|
146 | + $ranges[] = $installed['versions'][$packageName]['pretty_version']; |
|
147 | + } |
|
148 | + if (array_key_exists('aliases', $installed['versions'][$packageName])) { |
|
149 | + $ranges = array_merge($ranges, $installed['versions'][$packageName]['aliases']); |
|
150 | + } |
|
151 | + if (array_key_exists('replaced', $installed['versions'][$packageName])) { |
|
152 | + $ranges = array_merge($ranges, $installed['versions'][$packageName]['replaced']); |
|
153 | + } |
|
154 | + if (array_key_exists('provided', $installed['versions'][$packageName])) { |
|
155 | + $ranges = array_merge($ranges, $installed['versions'][$packageName]['provided']); |
|
156 | + } |
|
157 | + |
|
158 | + return implode(' || ', $ranges); |
|
159 | + } |
|
160 | + |
|
161 | + throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); |
|
162 | + } |
|
163 | + |
|
164 | + /** |
|
165 | + * @param string $packageName |
|
166 | + * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as version, use satisfies or getVersionRanges if you need to know if a given version is present |
|
167 | + */ |
|
168 | + public static function getVersion($packageName) |
|
169 | + { |
|
170 | + foreach (self::getInstalled() as $installed) { |
|
171 | + if (!isset($installed['versions'][$packageName])) { |
|
172 | + continue; |
|
173 | + } |
|
174 | + |
|
175 | + if (!isset($installed['versions'][$packageName]['version'])) { |
|
176 | + return null; |
|
177 | + } |
|
178 | + |
|
179 | + return $installed['versions'][$packageName]['version']; |
|
180 | + } |
|
181 | + |
|
182 | + throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); |
|
183 | + } |
|
184 | + |
|
185 | + /** |
|
186 | + * @param string $packageName |
|
187 | + * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as version, use satisfies or getVersionRanges if you need to know if a given version is present |
|
188 | + */ |
|
189 | + public static function getPrettyVersion($packageName) |
|
190 | + { |
|
191 | + foreach (self::getInstalled() as $installed) { |
|
192 | + if (!isset($installed['versions'][$packageName])) { |
|
193 | + continue; |
|
194 | + } |
|
195 | + |
|
196 | + if (!isset($installed['versions'][$packageName]['pretty_version'])) { |
|
197 | + return null; |
|
198 | + } |
|
199 | + |
|
200 | + return $installed['versions'][$packageName]['pretty_version']; |
|
201 | + } |
|
202 | + |
|
203 | + throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); |
|
204 | + } |
|
205 | + |
|
206 | + /** |
|
207 | + * @param string $packageName |
|
208 | + * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as reference |
|
209 | + */ |
|
210 | + public static function getReference($packageName) |
|
211 | + { |
|
212 | + foreach (self::getInstalled() as $installed) { |
|
213 | + if (!isset($installed['versions'][$packageName])) { |
|
214 | + continue; |
|
215 | + } |
|
216 | + |
|
217 | + if (!isset($installed['versions'][$packageName]['reference'])) { |
|
218 | + return null; |
|
219 | + } |
|
220 | + |
|
221 | + return $installed['versions'][$packageName]['reference']; |
|
222 | + } |
|
223 | + |
|
224 | + throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); |
|
225 | + } |
|
226 | + |
|
227 | + /** |
|
228 | + * @param string $packageName |
|
229 | + * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as install path. Packages of type metapackages also have a null install path. |
|
230 | + */ |
|
231 | + public static function getInstallPath($packageName) |
|
232 | + { |
|
233 | + foreach (self::getInstalled() as $installed) { |
|
234 | + if (!isset($installed['versions'][$packageName])) { |
|
235 | + continue; |
|
236 | + } |
|
237 | + |
|
238 | + return isset($installed['versions'][$packageName]['install_path']) ? $installed['versions'][$packageName]['install_path'] : null; |
|
239 | + } |
|
240 | + |
|
241 | + throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); |
|
242 | + } |
|
243 | + |
|
244 | + /** |
|
245 | + * @return array |
|
246 | + * @psalm-return array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool} |
|
247 | + */ |
|
248 | + public static function getRootPackage() |
|
249 | + { |
|
250 | + $installed = self::getInstalled(); |
|
251 | + |
|
252 | + return $installed[0]['root']; |
|
253 | + } |
|
254 | + |
|
255 | + /** |
|
256 | + * Returns the raw installed.php data for custom implementations |
|
257 | + * |
|
258 | + * @deprecated Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect. |
|
259 | + * @return array[] |
|
260 | + * @psalm-return array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} |
|
261 | + */ |
|
262 | + public static function getRawData() |
|
263 | + { |
|
264 | + @trigger_error('getRawData only returns the first dataset loaded, which may not be what you expect. Use getAllRawData() instead which returns all datasets for all autoloaders present in the process.', E_USER_DEPRECATED); |
|
265 | + |
|
266 | + if (null === self::$installed) { |
|
267 | + // only require the installed.php file if this file is loaded from its dumped location, |
|
268 | + // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937 |
|
269 | + if (substr(__DIR__, -8, 1) !== 'C') { |
|
270 | + self::$installed = include __DIR__ . '/installed.php'; |
|
271 | + } else { |
|
272 | + self::$installed = array(); |
|
273 | + } |
|
274 | + } |
|
275 | + |
|
276 | + return self::$installed; |
|
277 | + } |
|
278 | + |
|
279 | + /** |
|
280 | + * Returns the raw data of all installed.php which are currently loaded for custom implementations |
|
281 | + * |
|
282 | + * @return array[] |
|
283 | + * @psalm-return list<array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}> |
|
284 | + */ |
|
285 | + public static function getAllRawData() |
|
286 | + { |
|
287 | + return self::getInstalled(); |
|
288 | + } |
|
289 | + |
|
290 | + /** |
|
291 | + * Lets you reload the static array from another file |
|
292 | + * |
|
293 | + * This is only useful for complex integrations in which a project needs to use |
|
294 | + * this class but then also needs to execute another project's autoloader in process, |
|
295 | + * and wants to ensure both projects have access to their version of installed.php. |
|
296 | + * |
|
297 | + * A typical case would be PHPUnit, where it would need to make sure it reads all |
|
298 | + * the data it needs from this class, then call reload() with |
|
299 | + * `require $CWD/vendor/composer/installed.php` (or similar) as input to make sure |
|
300 | + * the project in which it runs can then also use this class safely, without |
|
301 | + * interference between PHPUnit's dependencies and the project's dependencies. |
|
302 | + * |
|
303 | + * @param array[] $data A vendor/composer/installed.php data set |
|
304 | + * @return void |
|
305 | + * |
|
306 | + * @psalm-param array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $data |
|
307 | + */ |
|
308 | + public static function reload($data) |
|
309 | + { |
|
310 | + self::$installed = $data; |
|
311 | + self::$installedByVendor = array(); |
|
312 | + } |
|
313 | + |
|
314 | + /** |
|
315 | + * @return array[] |
|
316 | + * @psalm-return list<array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}> |
|
317 | + */ |
|
318 | + private static function getInstalled() |
|
319 | + { |
|
320 | + if (null === self::$canGetVendors) { |
|
321 | + self::$canGetVendors = method_exists('Composer\Autoload\ClassLoader', 'getRegisteredLoaders'); |
|
322 | + } |
|
323 | + |
|
324 | + $installed = array(); |
|
325 | + |
|
326 | + if (self::$canGetVendors) { |
|
327 | + foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) { |
|
328 | + if (isset(self::$installedByVendor[$vendorDir])) { |
|
329 | + $installed[] = self::$installedByVendor[$vendorDir]; |
|
330 | + } elseif (is_file($vendorDir.'/composer/installed.php')) { |
|
331 | + $installed[] = self::$installedByVendor[$vendorDir] = require $vendorDir.'/composer/installed.php'; |
|
332 | + if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) { |
|
333 | + self::$installed = $installed[count($installed) - 1]; |
|
334 | + } |
|
335 | + } |
|
336 | + } |
|
337 | + } |
|
338 | + |
|
339 | + if (null === self::$installed) { |
|
340 | + // only require the installed.php file if this file is loaded from its dumped location, |
|
341 | + // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937 |
|
342 | + if (substr(__DIR__, -8, 1) !== 'C') { |
|
343 | + self::$installed = require __DIR__ . '/installed.php'; |
|
344 | + } else { |
|
345 | + self::$installed = array(); |
|
346 | + } |
|
347 | + } |
|
348 | + $installed[] = self::$installed; |
|
349 | + |
|
350 | + return $installed; |
|
351 | + } |
|
352 | 352 | } |
@@ -158,7 +158,7 @@ discard block |
||
158 | 158 | return implode(' || ', $ranges); |
159 | 159 | } |
160 | 160 | |
161 | - throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); |
|
161 | + throw new \OutOfBoundsException('Package "'.$packageName.'" is not installed'); |
|
162 | 162 | } |
163 | 163 | |
164 | 164 | /** |
@@ -179,7 +179,7 @@ discard block |
||
179 | 179 | return $installed['versions'][$packageName]['version']; |
180 | 180 | } |
181 | 181 | |
182 | - throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); |
|
182 | + throw new \OutOfBoundsException('Package "'.$packageName.'" is not installed'); |
|
183 | 183 | } |
184 | 184 | |
185 | 185 | /** |
@@ -200,7 +200,7 @@ discard block |
||
200 | 200 | return $installed['versions'][$packageName]['pretty_version']; |
201 | 201 | } |
202 | 202 | |
203 | - throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); |
|
203 | + throw new \OutOfBoundsException('Package "'.$packageName.'" is not installed'); |
|
204 | 204 | } |
205 | 205 | |
206 | 206 | /** |
@@ -221,7 +221,7 @@ discard block |
||
221 | 221 | return $installed['versions'][$packageName]['reference']; |
222 | 222 | } |
223 | 223 | |
224 | - throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); |
|
224 | + throw new \OutOfBoundsException('Package "'.$packageName.'" is not installed'); |
|
225 | 225 | } |
226 | 226 | |
227 | 227 | /** |
@@ -238,7 +238,7 @@ discard block |
||
238 | 238 | return isset($installed['versions'][$packageName]['install_path']) ? $installed['versions'][$packageName]['install_path'] : null; |
239 | 239 | } |
240 | 240 | |
241 | - throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); |
|
241 | + throw new \OutOfBoundsException('Package "'.$packageName.'" is not installed'); |
|
242 | 242 | } |
243 | 243 | |
244 | 244 | /** |
@@ -267,7 +267,7 @@ discard block |
||
267 | 267 | // only require the installed.php file if this file is loaded from its dumped location, |
268 | 268 | // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937 |
269 | 269 | if (substr(__DIR__, -8, 1) !== 'C') { |
270 | - self::$installed = include __DIR__ . '/installed.php'; |
|
270 | + self::$installed = include __DIR__.'/installed.php'; |
|
271 | 271 | } else { |
272 | 272 | self::$installed = array(); |
273 | 273 | } |
@@ -340,7 +340,7 @@ discard block |
||
340 | 340 | // only require the installed.php file if this file is loaded from its dumped location, |
341 | 341 | // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937 |
342 | 342 | if (substr(__DIR__, -8, 1) !== 'C') { |
343 | - self::$installed = require __DIR__ . '/installed.php'; |
|
343 | + self::$installed = require __DIR__.'/installed.php'; |
|
344 | 344 | } else { |
345 | 345 | self::$installed = array(); |
346 | 346 | } |
@@ -6,618 +6,618 @@ |
||
6 | 6 | |
7 | 7 | class ComposerStaticInit4da13270269c89a28e472e1f7324e6d1 |
8 | 8 | { |
9 | - public static $files = array ( |
|
10 | - '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php', |
|
11 | - 'a4a119a56e50fbb293281d9a48007e0e' => __DIR__ . '/..' . '/symfony/polyfill-php80/bootstrap.php', |
|
12 | - '60799491728b879e74601d83e38b2cad' => __DIR__ . '/..' . '/illuminate/collections/helpers.php', |
|
13 | - '320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php', |
|
14 | - '72579e7bd17821bb1321b87411366eae' => __DIR__ . '/..' . '/illuminate/support/helpers.php', |
|
15 | - '6e3fae29631ef280660b3cdad06f25a8' => __DIR__ . '/..' . '/symfony/deprecation-contracts/function.php', |
|
16 | - ); |
|
9 | + public static $files = array ( |
|
10 | + '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php', |
|
11 | + 'a4a119a56e50fbb293281d9a48007e0e' => __DIR__ . '/..' . '/symfony/polyfill-php80/bootstrap.php', |
|
12 | + '60799491728b879e74601d83e38b2cad' => __DIR__ . '/..' . '/illuminate/collections/helpers.php', |
|
13 | + '320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php', |
|
14 | + '72579e7bd17821bb1321b87411366eae' => __DIR__ . '/..' . '/illuminate/support/helpers.php', |
|
15 | + '6e3fae29631ef280660b3cdad06f25a8' => __DIR__ . '/..' . '/symfony/deprecation-contracts/function.php', |
|
16 | + ); |
|
17 | 17 | |
18 | - public static $prefixLengthsPsr4 = array ( |
|
19 | - 'v' => |
|
20 | - array ( |
|
21 | - 'voku\\' => 5, |
|
22 | - ), |
|
23 | - 'p' => |
|
24 | - array ( |
|
25 | - 'phpDocumentor\\Reflection\\' => 25, |
|
26 | - ), |
|
27 | - 'W' => |
|
28 | - array ( |
|
29 | - 'Webmozart\\Assert\\' => 17, |
|
30 | - 'Webklex\\PHPIMAP\\' => 16, |
|
31 | - ), |
|
32 | - 'T' => |
|
33 | - array ( |
|
34 | - // 'Tests\\' => 6, |
|
35 | - ), |
|
36 | - 'S' => |
|
37 | - array ( |
|
38 | - 'Symfony\\Polyfill\\Php80\\' => 23, |
|
39 | - 'Symfony\\Polyfill\\Mbstring\\' => 26, |
|
40 | - 'Symfony\\Polyfill\\Ctype\\' => 23, |
|
41 | - 'Symfony\\Contracts\\Translation\\' => 30, |
|
42 | - 'Symfony\\Component\\Yaml\\' => 23, |
|
43 | - 'Symfony\\Component\\Translation\\' => 30, |
|
44 | - 'Symfony\\Component\\HttpFoundation\\' => 33, |
|
45 | - ), |
|
46 | - 'P' => |
|
47 | - array ( |
|
48 | - 'Psr\\SimpleCache\\' => 16, |
|
49 | - 'Psr\\Container\\' => 14, |
|
50 | - 'Prophecy\\' => 9, |
|
51 | - ), |
|
52 | - 'I' => |
|
53 | - array ( |
|
54 | - 'Illuminate\\Support\\' => 19, |
|
55 | - 'Illuminate\\Pagination\\' => 22, |
|
56 | - 'Illuminate\\Contracts\\' => 21, |
|
57 | - ), |
|
58 | - 'D' => |
|
59 | - array ( |
|
60 | - 'Doctrine\\Instantiator\\' => 22, |
|
61 | - 'Doctrine\\Inflector\\' => 19, |
|
62 | - ), |
|
63 | - 'C' => |
|
64 | - array ( |
|
65 | - 'Carbon\\' => 7, |
|
66 | - ), |
|
67 | - ); |
|
18 | + public static $prefixLengthsPsr4 = array ( |
|
19 | + 'v' => |
|
20 | + array ( |
|
21 | + 'voku\\' => 5, |
|
22 | + ), |
|
23 | + 'p' => |
|
24 | + array ( |
|
25 | + 'phpDocumentor\\Reflection\\' => 25, |
|
26 | + ), |
|
27 | + 'W' => |
|
28 | + array ( |
|
29 | + 'Webmozart\\Assert\\' => 17, |
|
30 | + 'Webklex\\PHPIMAP\\' => 16, |
|
31 | + ), |
|
32 | + 'T' => |
|
33 | + array ( |
|
34 | + // 'Tests\\' => 6, |
|
35 | + ), |
|
36 | + 'S' => |
|
37 | + array ( |
|
38 | + 'Symfony\\Polyfill\\Php80\\' => 23, |
|
39 | + 'Symfony\\Polyfill\\Mbstring\\' => 26, |
|
40 | + 'Symfony\\Polyfill\\Ctype\\' => 23, |
|
41 | + 'Symfony\\Contracts\\Translation\\' => 30, |
|
42 | + 'Symfony\\Component\\Yaml\\' => 23, |
|
43 | + 'Symfony\\Component\\Translation\\' => 30, |
|
44 | + 'Symfony\\Component\\HttpFoundation\\' => 33, |
|
45 | + ), |
|
46 | + 'P' => |
|
47 | + array ( |
|
48 | + 'Psr\\SimpleCache\\' => 16, |
|
49 | + 'Psr\\Container\\' => 14, |
|
50 | + 'Prophecy\\' => 9, |
|
51 | + ), |
|
52 | + 'I' => |
|
53 | + array ( |
|
54 | + 'Illuminate\\Support\\' => 19, |
|
55 | + 'Illuminate\\Pagination\\' => 22, |
|
56 | + 'Illuminate\\Contracts\\' => 21, |
|
57 | + ), |
|
58 | + 'D' => |
|
59 | + array ( |
|
60 | + 'Doctrine\\Instantiator\\' => 22, |
|
61 | + 'Doctrine\\Inflector\\' => 19, |
|
62 | + ), |
|
63 | + 'C' => |
|
64 | + array ( |
|
65 | + 'Carbon\\' => 7, |
|
66 | + ), |
|
67 | + ); |
|
68 | 68 | |
69 | - public static $prefixDirsPsr4 = array ( |
|
70 | - 'voku\\' => |
|
71 | - array ( |
|
72 | - 0 => __DIR__ . '/..' . '/voku/portable-ascii/src/voku', |
|
73 | - ), |
|
74 | - 'phpDocumentor\\Reflection\\' => |
|
75 | - array ( |
|
76 | - 0 => __DIR__ . '/..' . '/phpdocumentor/reflection-common/src', |
|
77 | - 1 => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src', |
|
78 | - 2 => __DIR__ . '/..' . '/phpdocumentor/reflection-docblock/src', |
|
79 | - ), |
|
80 | - 'Webmozart\\Assert\\' => |
|
81 | - array ( |
|
82 | - 0 => __DIR__ . '/..' . '/webmozart/assert/src', |
|
83 | - ), |
|
84 | - 'Webklex\\PHPIMAP\\' => |
|
85 | - array ( |
|
86 | - 0 => __DIR__ . '/../..' . '/src', |
|
87 | - ), |
|
88 | - 'Tests\\' => |
|
89 | - array ( |
|
90 | - 0 => __DIR__ . '/../..' . '/tests', |
|
91 | - ), |
|
92 | - 'Symfony\\Polyfill\\Php80\\' => |
|
93 | - array ( |
|
94 | - 0 => __DIR__ . '/..' . '/symfony/polyfill-php80', |
|
95 | - ), |
|
96 | - 'Symfony\\Polyfill\\Mbstring\\' => |
|
97 | - array ( |
|
98 | - 0 => __DIR__ . '/..' . '/symfony/polyfill-mbstring', |
|
99 | - ), |
|
100 | - 'Symfony\\Polyfill\\Ctype\\' => |
|
101 | - array ( |
|
102 | - 0 => __DIR__ . '/..' . '/symfony/polyfill-ctype', |
|
103 | - ), |
|
104 | - 'Symfony\\Contracts\\Translation\\' => |
|
105 | - array ( |
|
106 | - 0 => __DIR__ . '/..' . '/symfony/translation-contracts', |
|
107 | - ), |
|
108 | - 'Symfony\\Component\\Yaml\\' => |
|
109 | - array ( |
|
110 | - 0 => __DIR__ . '/..' . '/symfony/yaml', |
|
111 | - ), |
|
112 | - 'Symfony\\Component\\Translation\\' => |
|
113 | - array ( |
|
114 | - 0 => __DIR__ . '/..' . '/symfony/translation', |
|
115 | - ), |
|
116 | - 'Symfony\\Component\\HttpFoundation\\' => |
|
117 | - array ( |
|
118 | - 0 => __DIR__ . '/..' . '/symfony/http-foundation', |
|
119 | - ), |
|
120 | - 'Psr\\SimpleCache\\' => |
|
121 | - array ( |
|
122 | - 0 => __DIR__ . '/..' . '/psr/simple-cache/src', |
|
123 | - ), |
|
124 | - 'Psr\\Container\\' => |
|
125 | - array ( |
|
126 | - 0 => __DIR__ . '/..' . '/psr/container/src', |
|
127 | - ), |
|
128 | - 'Prophecy\\' => |
|
129 | - array ( |
|
130 | - 0 => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy', |
|
131 | - ), |
|
132 | - 'Illuminate\\Support\\' => |
|
133 | - array ( |
|
134 | - 0 => __DIR__ . '/..' . '/illuminate/macroable', |
|
135 | - 1 => __DIR__ . '/..' . '/illuminate/collections', |
|
136 | - 2 => __DIR__ . '/..' . '/illuminate/support', |
|
137 | - ), |
|
138 | - 'Illuminate\\Pagination\\' => |
|
139 | - array ( |
|
140 | - 0 => __DIR__ . '/..' . '/illuminate/pagination', |
|
141 | - ), |
|
142 | - 'Illuminate\\Contracts\\' => |
|
143 | - array ( |
|
144 | - 0 => __DIR__ . '/..' . '/illuminate/contracts', |
|
145 | - ), |
|
146 | - 'Doctrine\\Instantiator\\' => |
|
147 | - array ( |
|
148 | - 0 => __DIR__ . '/..' . '/doctrine/instantiator/src/Doctrine/Instantiator', |
|
149 | - ), |
|
150 | - 'Doctrine\\Inflector\\' => |
|
151 | - array ( |
|
152 | - 0 => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector', |
|
153 | - ), |
|
154 | - 'Carbon\\' => |
|
155 | - array ( |
|
156 | - 0 => __DIR__ . '/..' . '/nesbot/carbon/src/Carbon', |
|
157 | - ), |
|
158 | - ); |
|
69 | + public static $prefixDirsPsr4 = array ( |
|
70 | + 'voku\\' => |
|
71 | + array ( |
|
72 | + 0 => __DIR__ . '/..' . '/voku/portable-ascii/src/voku', |
|
73 | + ), |
|
74 | + 'phpDocumentor\\Reflection\\' => |
|
75 | + array ( |
|
76 | + 0 => __DIR__ . '/..' . '/phpdocumentor/reflection-common/src', |
|
77 | + 1 => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src', |
|
78 | + 2 => __DIR__ . '/..' . '/phpdocumentor/reflection-docblock/src', |
|
79 | + ), |
|
80 | + 'Webmozart\\Assert\\' => |
|
81 | + array ( |
|
82 | + 0 => __DIR__ . '/..' . '/webmozart/assert/src', |
|
83 | + ), |
|
84 | + 'Webklex\\PHPIMAP\\' => |
|
85 | + array ( |
|
86 | + 0 => __DIR__ . '/../..' . '/src', |
|
87 | + ), |
|
88 | + 'Tests\\' => |
|
89 | + array ( |
|
90 | + 0 => __DIR__ . '/../..' . '/tests', |
|
91 | + ), |
|
92 | + 'Symfony\\Polyfill\\Php80\\' => |
|
93 | + array ( |
|
94 | + 0 => __DIR__ . '/..' . '/symfony/polyfill-php80', |
|
95 | + ), |
|
96 | + 'Symfony\\Polyfill\\Mbstring\\' => |
|
97 | + array ( |
|
98 | + 0 => __DIR__ . '/..' . '/symfony/polyfill-mbstring', |
|
99 | + ), |
|
100 | + 'Symfony\\Polyfill\\Ctype\\' => |
|
101 | + array ( |
|
102 | + 0 => __DIR__ . '/..' . '/symfony/polyfill-ctype', |
|
103 | + ), |
|
104 | + 'Symfony\\Contracts\\Translation\\' => |
|
105 | + array ( |
|
106 | + 0 => __DIR__ . '/..' . '/symfony/translation-contracts', |
|
107 | + ), |
|
108 | + 'Symfony\\Component\\Yaml\\' => |
|
109 | + array ( |
|
110 | + 0 => __DIR__ . '/..' . '/symfony/yaml', |
|
111 | + ), |
|
112 | + 'Symfony\\Component\\Translation\\' => |
|
113 | + array ( |
|
114 | + 0 => __DIR__ . '/..' . '/symfony/translation', |
|
115 | + ), |
|
116 | + 'Symfony\\Component\\HttpFoundation\\' => |
|
117 | + array ( |
|
118 | + 0 => __DIR__ . '/..' . '/symfony/http-foundation', |
|
119 | + ), |
|
120 | + 'Psr\\SimpleCache\\' => |
|
121 | + array ( |
|
122 | + 0 => __DIR__ . '/..' . '/psr/simple-cache/src', |
|
123 | + ), |
|
124 | + 'Psr\\Container\\' => |
|
125 | + array ( |
|
126 | + 0 => __DIR__ . '/..' . '/psr/container/src', |
|
127 | + ), |
|
128 | + 'Prophecy\\' => |
|
129 | + array ( |
|
130 | + 0 => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy', |
|
131 | + ), |
|
132 | + 'Illuminate\\Support\\' => |
|
133 | + array ( |
|
134 | + 0 => __DIR__ . '/..' . '/illuminate/macroable', |
|
135 | + 1 => __DIR__ . '/..' . '/illuminate/collections', |
|
136 | + 2 => __DIR__ . '/..' . '/illuminate/support', |
|
137 | + ), |
|
138 | + 'Illuminate\\Pagination\\' => |
|
139 | + array ( |
|
140 | + 0 => __DIR__ . '/..' . '/illuminate/pagination', |
|
141 | + ), |
|
142 | + 'Illuminate\\Contracts\\' => |
|
143 | + array ( |
|
144 | + 0 => __DIR__ . '/..' . '/illuminate/contracts', |
|
145 | + ), |
|
146 | + 'Doctrine\\Instantiator\\' => |
|
147 | + array ( |
|
148 | + 0 => __DIR__ . '/..' . '/doctrine/instantiator/src/Doctrine/Instantiator', |
|
149 | + ), |
|
150 | + 'Doctrine\\Inflector\\' => |
|
151 | + array ( |
|
152 | + 0 => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector', |
|
153 | + ), |
|
154 | + 'Carbon\\' => |
|
155 | + array ( |
|
156 | + 0 => __DIR__ . '/..' . '/nesbot/carbon/src/Carbon', |
|
157 | + ), |
|
158 | + ); |
|
159 | 159 | |
160 | - public static $classMap = array ( |
|
161 | - 'Attribute' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/Attribute.php', |
|
162 | - 'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php', |
|
163 | - 'File_Iterator' => __DIR__ . '/..' . '/phpunit/php-file-iterator/src/Iterator.php', |
|
164 | - 'File_Iterator_Facade' => __DIR__ . '/..' . '/phpunit/php-file-iterator/src/Facade.php', |
|
165 | - 'File_Iterator_Factory' => __DIR__ . '/..' . '/phpunit/php-file-iterator/src/Factory.php', |
|
166 | - 'PHPUnit\\Framework\\Assert' => __DIR__ . '/..' . '/phpunit/phpunit/src/ForwardCompatibility/Assert.php', |
|
167 | - 'PHPUnit\\Framework\\AssertionFailedError' => __DIR__ . '/..' . '/phpunit/phpunit/src/ForwardCompatibility/AssertionFailedError.php', |
|
168 | - 'PHPUnit\\Framework\\BaseTestListener' => __DIR__ . '/..' . '/phpunit/phpunit/src/ForwardCompatibility/BaseTestListener.php', |
|
169 | - 'PHPUnit\\Framework\\Test' => __DIR__ . '/..' . '/phpunit/phpunit/src/ForwardCompatibility/Test.php', |
|
170 | - 'PHPUnit\\Framework\\TestCase' => __DIR__ . '/..' . '/phpunit/phpunit/src/ForwardCompatibility/TestCase.php', |
|
171 | - 'PHPUnit\\Framework\\TestListener' => __DIR__ . '/..' . '/phpunit/phpunit/src/ForwardCompatibility/TestListener.php', |
|
172 | - 'PHPUnit\\Framework\\TestSuite' => __DIR__ . '/..' . '/phpunit/phpunit/src/ForwardCompatibility/TestSuite.php', |
|
173 | - 'PHPUnit_Exception' => __DIR__ . '/..' . '/phpunit/phpunit/src/Exception.php', |
|
174 | - 'PHPUnit_Extensions_GroupTestSuite' => __DIR__ . '/..' . '/phpunit/phpunit/src/Extensions/GroupTestSuite.php', |
|
175 | - 'PHPUnit_Extensions_PhptTestCase' => __DIR__ . '/..' . '/phpunit/phpunit/src/Extensions/PhptTestCase.php', |
|
176 | - 'PHPUnit_Extensions_PhptTestSuite' => __DIR__ . '/..' . '/phpunit/phpunit/src/Extensions/PhptTestSuite.php', |
|
177 | - 'PHPUnit_Extensions_RepeatedTest' => __DIR__ . '/..' . '/phpunit/phpunit/src/Extensions/RepeatedTest.php', |
|
178 | - 'PHPUnit_Extensions_TestDecorator' => __DIR__ . '/..' . '/phpunit/phpunit/src/Extensions/TestDecorator.php', |
|
179 | - 'PHPUnit_Extensions_TicketListener' => __DIR__ . '/..' . '/phpunit/phpunit/src/Extensions/TicketListener.php', |
|
180 | - 'PHPUnit_Framework_Assert' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Assert.php', |
|
181 | - 'PHPUnit_Framework_AssertionFailedError' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/AssertionFailedError.php', |
|
182 | - 'PHPUnit_Framework_BaseTestListener' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/BaseTestListener.php', |
|
183 | - 'PHPUnit_Framework_CodeCoverageException' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/CodeCoverageException.php', |
|
184 | - 'PHPUnit_Framework_Constraint' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint.php', |
|
185 | - 'PHPUnit_Framework_Constraint_And' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/And.php', |
|
186 | - 'PHPUnit_Framework_Constraint_ArrayHasKey' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/ArrayHasKey.php', |
|
187 | - 'PHPUnit_Framework_Constraint_ArraySubset' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/ArraySubset.php', |
|
188 | - 'PHPUnit_Framework_Constraint_Attribute' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/Attribute.php', |
|
189 | - 'PHPUnit_Framework_Constraint_Callback' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/Callback.php', |
|
190 | - 'PHPUnit_Framework_Constraint_ClassHasAttribute' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/ClassHasAttribute.php', |
|
191 | - 'PHPUnit_Framework_Constraint_ClassHasStaticAttribute' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/ClassHasStaticAttribute.php', |
|
192 | - 'PHPUnit_Framework_Constraint_Composite' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/Composite.php', |
|
193 | - 'PHPUnit_Framework_Constraint_Count' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/Count.php', |
|
194 | - 'PHPUnit_Framework_Constraint_Exception' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/Exception.php', |
|
195 | - 'PHPUnit_Framework_Constraint_ExceptionCode' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/ExceptionCode.php', |
|
196 | - 'PHPUnit_Framework_Constraint_ExceptionMessage' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/ExceptionMessage.php', |
|
197 | - 'PHPUnit_Framework_Constraint_ExceptionMessageRegExp' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/ExceptionMessageRegExp.php', |
|
198 | - 'PHPUnit_Framework_Constraint_FileExists' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/FileExists.php', |
|
199 | - 'PHPUnit_Framework_Constraint_GreaterThan' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/GreaterThan.php', |
|
200 | - 'PHPUnit_Framework_Constraint_IsAnything' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/IsAnything.php', |
|
201 | - 'PHPUnit_Framework_Constraint_IsEmpty' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/IsEmpty.php', |
|
202 | - 'PHPUnit_Framework_Constraint_IsEqual' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/IsEqual.php', |
|
203 | - 'PHPUnit_Framework_Constraint_IsFalse' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/IsFalse.php', |
|
204 | - 'PHPUnit_Framework_Constraint_IsIdentical' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/IsIdentical.php', |
|
205 | - 'PHPUnit_Framework_Constraint_IsInstanceOf' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/IsInstanceOf.php', |
|
206 | - 'PHPUnit_Framework_Constraint_IsJson' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/IsJson.php', |
|
207 | - 'PHPUnit_Framework_Constraint_IsNull' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/IsNull.php', |
|
208 | - 'PHPUnit_Framework_Constraint_IsTrue' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/IsTrue.php', |
|
209 | - 'PHPUnit_Framework_Constraint_IsType' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/IsType.php', |
|
210 | - 'PHPUnit_Framework_Constraint_JsonMatches' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/JsonMatches.php', |
|
211 | - 'PHPUnit_Framework_Constraint_JsonMatches_ErrorMessageProvider' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/JsonMatches/ErrorMessageProvider.php', |
|
212 | - 'PHPUnit_Framework_Constraint_LessThan' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/LessThan.php', |
|
213 | - 'PHPUnit_Framework_Constraint_Not' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/Not.php', |
|
214 | - 'PHPUnit_Framework_Constraint_ObjectHasAttribute' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/ObjectHasAttribute.php', |
|
215 | - 'PHPUnit_Framework_Constraint_Or' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/Or.php', |
|
216 | - 'PHPUnit_Framework_Constraint_PCREMatch' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/PCREMatch.php', |
|
217 | - 'PHPUnit_Framework_Constraint_SameSize' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/SameSize.php', |
|
218 | - 'PHPUnit_Framework_Constraint_StringContains' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/StringContains.php', |
|
219 | - 'PHPUnit_Framework_Constraint_StringEndsWith' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/StringEndsWith.php', |
|
220 | - 'PHPUnit_Framework_Constraint_StringMatches' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/StringMatches.php', |
|
221 | - 'PHPUnit_Framework_Constraint_StringStartsWith' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/StringStartsWith.php', |
|
222 | - 'PHPUnit_Framework_Constraint_TraversableContains' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/TraversableContains.php', |
|
223 | - 'PHPUnit_Framework_Constraint_TraversableContainsOnly' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/TraversableContainsOnly.php', |
|
224 | - 'PHPUnit_Framework_Constraint_Xor' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/Xor.php', |
|
225 | - 'PHPUnit_Framework_Error' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Error.php', |
|
226 | - 'PHPUnit_Framework_Error_Deprecated' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Error/Deprecated.php', |
|
227 | - 'PHPUnit_Framework_Error_Notice' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Error/Notice.php', |
|
228 | - 'PHPUnit_Framework_Error_Warning' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Error/Warning.php', |
|
229 | - 'PHPUnit_Framework_Exception' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Exception.php', |
|
230 | - 'PHPUnit_Framework_ExceptionWrapper' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/ExceptionWrapper.php', |
|
231 | - 'PHPUnit_Framework_ExpectationFailedException' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/ExpectationFailedException.php', |
|
232 | - 'PHPUnit_Framework_IncompleteTest' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/IncompleteTest.php', |
|
233 | - 'PHPUnit_Framework_IncompleteTestCase' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/IncompleteTestCase.php', |
|
234 | - 'PHPUnit_Framework_IncompleteTestError' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/IncompleteTestError.php', |
|
235 | - 'PHPUnit_Framework_InvalidCoversTargetError' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/InvalidCoversTargetError.php', |
|
236 | - 'PHPUnit_Framework_InvalidCoversTargetException' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/InvalidCoversTargetException.php', |
|
237 | - 'PHPUnit_Framework_MockObject_BadMethodCallException' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Exception/BadMethodCallException.php', |
|
238 | - 'PHPUnit_Framework_MockObject_Builder_Identity' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Builder/Identity.php', |
|
239 | - 'PHPUnit_Framework_MockObject_Builder_InvocationMocker' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Builder/InvocationMocker.php', |
|
240 | - 'PHPUnit_Framework_MockObject_Builder_Match' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Builder/Match.php', |
|
241 | - 'PHPUnit_Framework_MockObject_Builder_MethodNameMatch' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Builder/MethodNameMatch.php', |
|
242 | - 'PHPUnit_Framework_MockObject_Builder_Namespace' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Builder/Namespace.php', |
|
243 | - 'PHPUnit_Framework_MockObject_Builder_ParametersMatch' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Builder/ParametersMatch.php', |
|
244 | - 'PHPUnit_Framework_MockObject_Builder_Stub' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Builder/Stub.php', |
|
245 | - 'PHPUnit_Framework_MockObject_Exception' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Exception/Exception.php', |
|
246 | - 'PHPUnit_Framework_MockObject_Generator' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Generator.php', |
|
247 | - 'PHPUnit_Framework_MockObject_Invocation' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Invocation.php', |
|
248 | - 'PHPUnit_Framework_MockObject_InvocationMocker' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/InvocationMocker.php', |
|
249 | - 'PHPUnit_Framework_MockObject_Invocation_Object' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Invocation/Object.php', |
|
250 | - 'PHPUnit_Framework_MockObject_Invocation_Static' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Invocation/Static.php', |
|
251 | - 'PHPUnit_Framework_MockObject_Invokable' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Invokable.php', |
|
252 | - 'PHPUnit_Framework_MockObject_Matcher' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher.php', |
|
253 | - 'PHPUnit_Framework_MockObject_Matcher_AnyInvokedCount' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/AnyInvokedCount.php', |
|
254 | - 'PHPUnit_Framework_MockObject_Matcher_AnyParameters' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/AnyParameters.php', |
|
255 | - 'PHPUnit_Framework_MockObject_Matcher_ConsecutiveParameters' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/ConsecutiveParameters.php', |
|
256 | - 'PHPUnit_Framework_MockObject_Matcher_Invocation' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/Invocation.php', |
|
257 | - 'PHPUnit_Framework_MockObject_Matcher_InvokedAtIndex' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/InvokedAtIndex.php', |
|
258 | - 'PHPUnit_Framework_MockObject_Matcher_InvokedAtLeastCount' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/InvokedAtLeastCount.php', |
|
259 | - 'PHPUnit_Framework_MockObject_Matcher_InvokedAtLeastOnce' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/InvokedAtLeastOnce.php', |
|
260 | - 'PHPUnit_Framework_MockObject_Matcher_InvokedAtMostCount' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/InvokedAtMostCount.php', |
|
261 | - 'PHPUnit_Framework_MockObject_Matcher_InvokedCount' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/InvokedCount.php', |
|
262 | - 'PHPUnit_Framework_MockObject_Matcher_InvokedRecorder' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/InvokedRecorder.php', |
|
263 | - 'PHPUnit_Framework_MockObject_Matcher_MethodName' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/MethodName.php', |
|
264 | - 'PHPUnit_Framework_MockObject_Matcher_Parameters' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/Parameters.php', |
|
265 | - 'PHPUnit_Framework_MockObject_Matcher_StatelessInvocation' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/StatelessInvocation.php', |
|
266 | - 'PHPUnit_Framework_MockObject_MockBuilder' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/MockBuilder.php', |
|
267 | - 'PHPUnit_Framework_MockObject_MockObject' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/MockObject.php', |
|
268 | - 'PHPUnit_Framework_MockObject_RuntimeException' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Exception/RuntimeException.php', |
|
269 | - 'PHPUnit_Framework_MockObject_Stub' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Stub.php', |
|
270 | - 'PHPUnit_Framework_MockObject_Stub_ConsecutiveCalls' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Stub/ConsecutiveCalls.php', |
|
271 | - 'PHPUnit_Framework_MockObject_Stub_Exception' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Stub/Exception.php', |
|
272 | - 'PHPUnit_Framework_MockObject_Stub_MatcherCollection' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Stub/MatcherCollection.php', |
|
273 | - 'PHPUnit_Framework_MockObject_Stub_Return' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Stub/Return.php', |
|
274 | - 'PHPUnit_Framework_MockObject_Stub_ReturnArgument' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Stub/ReturnArgument.php', |
|
275 | - 'PHPUnit_Framework_MockObject_Stub_ReturnCallback' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Stub/ReturnCallback.php', |
|
276 | - 'PHPUnit_Framework_MockObject_Stub_ReturnSelf' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Stub/ReturnSelf.php', |
|
277 | - 'PHPUnit_Framework_MockObject_Stub_ReturnValueMap' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Stub/ReturnValueMap.php', |
|
278 | - 'PHPUnit_Framework_MockObject_Verifiable' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Verifiable.php', |
|
279 | - 'PHPUnit_Framework_OutputError' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/OutputError.php', |
|
280 | - 'PHPUnit_Framework_RiskyTest' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/RiskyTest.php', |
|
281 | - 'PHPUnit_Framework_RiskyTestError' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/RiskyTestError.php', |
|
282 | - 'PHPUnit_Framework_SelfDescribing' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/SelfDescribing.php', |
|
283 | - 'PHPUnit_Framework_SkippedTest' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/SkippedTest.php', |
|
284 | - 'PHPUnit_Framework_SkippedTestCase' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/SkippedTestCase.php', |
|
285 | - 'PHPUnit_Framework_SkippedTestError' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/SkippedTestError.php', |
|
286 | - 'PHPUnit_Framework_SkippedTestSuiteError' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/SkippedTestSuiteError.php', |
|
287 | - 'PHPUnit_Framework_SyntheticError' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/SyntheticError.php', |
|
288 | - 'PHPUnit_Framework_Test' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Test.php', |
|
289 | - 'PHPUnit_Framework_TestCase' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/TestCase.php', |
|
290 | - 'PHPUnit_Framework_TestFailure' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/TestFailure.php', |
|
291 | - 'PHPUnit_Framework_TestListener' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/TestListener.php', |
|
292 | - 'PHPUnit_Framework_TestResult' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/TestResult.php', |
|
293 | - 'PHPUnit_Framework_TestSuite' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/TestSuite.php', |
|
294 | - 'PHPUnit_Framework_TestSuite_DataProvider' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/TestSuite/DataProvider.php', |
|
295 | - 'PHPUnit_Framework_UnintentionallyCoveredCodeError' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/UnintentionallyCoveredCodeError.php', |
|
296 | - 'PHPUnit_Framework_Warning' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Warning.php', |
|
297 | - 'PHPUnit_Runner_BaseTestRunner' => __DIR__ . '/..' . '/phpunit/phpunit/src/Runner/BaseTestRunner.php', |
|
298 | - 'PHPUnit_Runner_Exception' => __DIR__ . '/..' . '/phpunit/phpunit/src/Runner/Exception.php', |
|
299 | - 'PHPUnit_Runner_Filter_Factory' => __DIR__ . '/..' . '/phpunit/phpunit/src/Runner/Filter/Factory.php', |
|
300 | - 'PHPUnit_Runner_Filter_GroupFilterIterator' => __DIR__ . '/..' . '/phpunit/phpunit/src/Runner/Filter/Group.php', |
|
301 | - 'PHPUnit_Runner_Filter_Group_Exclude' => __DIR__ . '/..' . '/phpunit/phpunit/src/Runner/Filter/Group/Exclude.php', |
|
302 | - 'PHPUnit_Runner_Filter_Group_Include' => __DIR__ . '/..' . '/phpunit/phpunit/src/Runner/Filter/Group/Include.php', |
|
303 | - 'PHPUnit_Runner_Filter_Test' => __DIR__ . '/..' . '/phpunit/phpunit/src/Runner/Filter/Test.php', |
|
304 | - 'PHPUnit_Runner_StandardTestSuiteLoader' => __DIR__ . '/..' . '/phpunit/phpunit/src/Runner/StandardTestSuiteLoader.php', |
|
305 | - 'PHPUnit_Runner_TestSuiteLoader' => __DIR__ . '/..' . '/phpunit/phpunit/src/Runner/TestSuiteLoader.php', |
|
306 | - 'PHPUnit_Runner_Version' => __DIR__ . '/..' . '/phpunit/phpunit/src/Runner/Version.php', |
|
307 | - 'PHPUnit_TextUI_Command' => __DIR__ . '/..' . '/phpunit/phpunit/src/TextUI/Command.php', |
|
308 | - 'PHPUnit_TextUI_ResultPrinter' => __DIR__ . '/..' . '/phpunit/phpunit/src/TextUI/ResultPrinter.php', |
|
309 | - 'PHPUnit_TextUI_TestRunner' => __DIR__ . '/..' . '/phpunit/phpunit/src/TextUI/TestRunner.php', |
|
310 | - 'PHPUnit_Util_Blacklist' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Blacklist.php', |
|
311 | - 'PHPUnit_Util_Configuration' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Configuration.php', |
|
312 | - 'PHPUnit_Util_ErrorHandler' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/ErrorHandler.php', |
|
313 | - 'PHPUnit_Util_Fileloader' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Fileloader.php', |
|
314 | - 'PHPUnit_Util_Filesystem' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Filesystem.php', |
|
315 | - 'PHPUnit_Util_Filter' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Filter.php', |
|
316 | - 'PHPUnit_Util_Getopt' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Getopt.php', |
|
317 | - 'PHPUnit_Util_GlobalState' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/GlobalState.php', |
|
318 | - 'PHPUnit_Util_InvalidArgumentHelper' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/InvalidArgumentHelper.php', |
|
319 | - 'PHPUnit_Util_Log_JSON' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Log/JSON.php', |
|
320 | - 'PHPUnit_Util_Log_JUnit' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Log/JUnit.php', |
|
321 | - 'PHPUnit_Util_Log_TAP' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Log/TAP.php', |
|
322 | - 'PHPUnit_Util_PHP' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/PHP.php', |
|
323 | - 'PHPUnit_Util_PHP_Default' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/PHP/Default.php', |
|
324 | - 'PHPUnit_Util_PHP_Windows' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/PHP/Windows.php', |
|
325 | - 'PHPUnit_Util_Printer' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Printer.php', |
|
326 | - 'PHPUnit_Util_Regex' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Regex.php', |
|
327 | - 'PHPUnit_Util_String' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/String.php', |
|
328 | - 'PHPUnit_Util_Test' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Test.php', |
|
329 | - 'PHPUnit_Util_TestDox_NamePrettifier' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/TestDox/NamePrettifier.php', |
|
330 | - 'PHPUnit_Util_TestDox_ResultPrinter' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/TestDox/ResultPrinter.php', |
|
331 | - 'PHPUnit_Util_TestDox_ResultPrinter_HTML' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/TestDox/ResultPrinter/HTML.php', |
|
332 | - 'PHPUnit_Util_TestDox_ResultPrinter_Text' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/TestDox/ResultPrinter/Text.php', |
|
333 | - 'PHPUnit_Util_TestSuiteIterator' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/TestSuiteIterator.php', |
|
334 | - 'PHPUnit_Util_Type' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Type.php', |
|
335 | - 'PHPUnit_Util_XML' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/XML.php', |
|
336 | - 'PHP_CodeCoverage' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage.php', |
|
337 | - 'PHP_CodeCoverage_Driver' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Driver.php', |
|
338 | - 'PHP_CodeCoverage_Driver_HHVM' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Driver/HHVM.php', |
|
339 | - 'PHP_CodeCoverage_Driver_PHPDBG' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Driver/PHPDBG.php', |
|
340 | - 'PHP_CodeCoverage_Driver_Xdebug' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Driver/Xdebug.php', |
|
341 | - 'PHP_CodeCoverage_Exception' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Exception.php', |
|
342 | - 'PHP_CodeCoverage_Exception_UnintentionallyCoveredCode' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Exception/UnintentionallyCoveredCode.php', |
|
343 | - 'PHP_CodeCoverage_Filter' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Filter.php', |
|
344 | - 'PHP_CodeCoverage_Report_Clover' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/Clover.php', |
|
345 | - 'PHP_CodeCoverage_Report_Crap4j' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/Crap4j.php', |
|
346 | - 'PHP_CodeCoverage_Report_Factory' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/Factory.php', |
|
347 | - 'PHP_CodeCoverage_Report_HTML' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/HTML.php', |
|
348 | - 'PHP_CodeCoverage_Report_HTML_Renderer' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/HTML/Renderer.php', |
|
349 | - 'PHP_CodeCoverage_Report_HTML_Renderer_Dashboard' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/HTML/Renderer/Dashboard.php', |
|
350 | - 'PHP_CodeCoverage_Report_HTML_Renderer_Directory' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/HTML/Renderer/Directory.php', |
|
351 | - 'PHP_CodeCoverage_Report_HTML_Renderer_File' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/HTML/Renderer/File.php', |
|
352 | - 'PHP_CodeCoverage_Report_Node' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/Node.php', |
|
353 | - 'PHP_CodeCoverage_Report_Node_Directory' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/Node/Directory.php', |
|
354 | - 'PHP_CodeCoverage_Report_Node_File' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/Node/File.php', |
|
355 | - 'PHP_CodeCoverage_Report_Node_Iterator' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/Node/Iterator.php', |
|
356 | - 'PHP_CodeCoverage_Report_PHP' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/PHP.php', |
|
357 | - 'PHP_CodeCoverage_Report_Text' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/Text.php', |
|
358 | - 'PHP_CodeCoverage_Report_XML' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/XML.php', |
|
359 | - 'PHP_CodeCoverage_Report_XML_Directory' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/XML/Directory.php', |
|
360 | - 'PHP_CodeCoverage_Report_XML_File' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/XML/File.php', |
|
361 | - 'PHP_CodeCoverage_Report_XML_File_Coverage' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/XML/File/Coverage.php', |
|
362 | - 'PHP_CodeCoverage_Report_XML_File_Method' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/XML/File/Method.php', |
|
363 | - 'PHP_CodeCoverage_Report_XML_File_Report' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/XML/File/Report.php', |
|
364 | - 'PHP_CodeCoverage_Report_XML_File_Unit' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/XML/File/Unit.php', |
|
365 | - 'PHP_CodeCoverage_Report_XML_Node' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/XML/Node.php', |
|
366 | - 'PHP_CodeCoverage_Report_XML_Project' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/XML/Project.php', |
|
367 | - 'PHP_CodeCoverage_Report_XML_Tests' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/XML/Tests.php', |
|
368 | - 'PHP_CodeCoverage_Report_XML_Totals' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/XML/Totals.php', |
|
369 | - 'PHP_CodeCoverage_Util' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Util.php', |
|
370 | - 'PHP_CodeCoverage_Util_InvalidArgumentHelper' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Util/InvalidArgumentHelper.php', |
|
371 | - 'PHP_Timer' => __DIR__ . '/..' . '/phpunit/php-timer/src/Timer.php', |
|
372 | - 'PHP_Token' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
373 | - 'PHP_TokenWithScope' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
374 | - 'PHP_TokenWithScopeAndVisibility' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
375 | - 'PHP_Token_ABSTRACT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
376 | - 'PHP_Token_AMPERSAND' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
377 | - 'PHP_Token_AND_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
378 | - 'PHP_Token_ARRAY' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
379 | - 'PHP_Token_ARRAY_CAST' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
380 | - 'PHP_Token_AS' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
381 | - 'PHP_Token_ASYNC' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
382 | - 'PHP_Token_AT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
383 | - 'PHP_Token_AWAIT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
384 | - 'PHP_Token_BACKTICK' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
385 | - 'PHP_Token_BAD_CHARACTER' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
386 | - 'PHP_Token_BOOLEAN_AND' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
387 | - 'PHP_Token_BOOLEAN_OR' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
388 | - 'PHP_Token_BOOL_CAST' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
389 | - 'PHP_Token_BREAK' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
390 | - 'PHP_Token_CALLABLE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
391 | - 'PHP_Token_CARET' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
392 | - 'PHP_Token_CASE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
393 | - 'PHP_Token_CATCH' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
394 | - 'PHP_Token_CHARACTER' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
395 | - 'PHP_Token_CLASS' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
396 | - 'PHP_Token_CLASS_C' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
397 | - 'PHP_Token_CLASS_NAME_CONSTANT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
398 | - 'PHP_Token_CLONE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
399 | - 'PHP_Token_CLOSE_BRACKET' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
400 | - 'PHP_Token_CLOSE_CURLY' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
401 | - 'PHP_Token_CLOSE_SQUARE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
402 | - 'PHP_Token_CLOSE_TAG' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
403 | - 'PHP_Token_COALESCE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
404 | - 'PHP_Token_COLON' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
405 | - 'PHP_Token_COMMA' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
406 | - 'PHP_Token_COMMENT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
407 | - 'PHP_Token_COMPILER_HALT_OFFSET' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
408 | - 'PHP_Token_CONCAT_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
409 | - 'PHP_Token_CONST' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
410 | - 'PHP_Token_CONSTANT_ENCAPSED_STRING' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
411 | - 'PHP_Token_CONTINUE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
412 | - 'PHP_Token_CURLY_OPEN' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
413 | - 'PHP_Token_DEC' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
414 | - 'PHP_Token_DECLARE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
415 | - 'PHP_Token_DEFAULT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
416 | - 'PHP_Token_DIR' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
417 | - 'PHP_Token_DIV' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
418 | - 'PHP_Token_DIV_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
419 | - 'PHP_Token_DNUMBER' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
420 | - 'PHP_Token_DO' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
421 | - 'PHP_Token_DOC_COMMENT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
422 | - 'PHP_Token_DOLLAR' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
423 | - 'PHP_Token_DOLLAR_OPEN_CURLY_BRACES' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
424 | - 'PHP_Token_DOT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
425 | - 'PHP_Token_DOUBLE_ARROW' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
426 | - 'PHP_Token_DOUBLE_CAST' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
427 | - 'PHP_Token_DOUBLE_COLON' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
428 | - 'PHP_Token_DOUBLE_QUOTES' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
429 | - 'PHP_Token_ECHO' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
430 | - 'PHP_Token_ELLIPSIS' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
431 | - 'PHP_Token_ELSE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
432 | - 'PHP_Token_ELSEIF' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
433 | - 'PHP_Token_EMPTY' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
434 | - 'PHP_Token_ENCAPSED_AND_WHITESPACE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
435 | - 'PHP_Token_ENDDECLARE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
436 | - 'PHP_Token_ENDFOR' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
437 | - 'PHP_Token_ENDFOREACH' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
438 | - 'PHP_Token_ENDIF' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
439 | - 'PHP_Token_ENDSWITCH' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
440 | - 'PHP_Token_ENDWHILE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
441 | - 'PHP_Token_END_HEREDOC' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
442 | - 'PHP_Token_ENUM' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
443 | - 'PHP_Token_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
444 | - 'PHP_Token_EQUALS' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
445 | - 'PHP_Token_EVAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
446 | - 'PHP_Token_EXCLAMATION_MARK' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
447 | - 'PHP_Token_EXIT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
448 | - 'PHP_Token_EXTENDS' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
449 | - 'PHP_Token_FILE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
450 | - 'PHP_Token_FINAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
451 | - 'PHP_Token_FINALLY' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
452 | - 'PHP_Token_FOR' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
453 | - 'PHP_Token_FOREACH' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
454 | - 'PHP_Token_FUNCTION' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
455 | - 'PHP_Token_FUNC_C' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
456 | - 'PHP_Token_GLOBAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
457 | - 'PHP_Token_GOTO' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
458 | - 'PHP_Token_GT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
459 | - 'PHP_Token_HALT_COMPILER' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
460 | - 'PHP_Token_IF' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
461 | - 'PHP_Token_IMPLEMENTS' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
462 | - 'PHP_Token_IN' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
463 | - 'PHP_Token_INC' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
464 | - 'PHP_Token_INCLUDE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
465 | - 'PHP_Token_INCLUDE_ONCE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
466 | - 'PHP_Token_INLINE_HTML' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
467 | - 'PHP_Token_INSTANCEOF' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
468 | - 'PHP_Token_INSTEADOF' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
469 | - 'PHP_Token_INTERFACE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
470 | - 'PHP_Token_INT_CAST' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
471 | - 'PHP_Token_ISSET' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
472 | - 'PHP_Token_IS_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
473 | - 'PHP_Token_IS_GREATER_OR_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
474 | - 'PHP_Token_IS_IDENTICAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
475 | - 'PHP_Token_IS_NOT_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
476 | - 'PHP_Token_IS_NOT_IDENTICAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
477 | - 'PHP_Token_IS_SMALLER_OR_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
478 | - 'PHP_Token_Includes' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
479 | - 'PHP_Token_JOIN' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
480 | - 'PHP_Token_LAMBDA_ARROW' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
481 | - 'PHP_Token_LAMBDA_CP' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
482 | - 'PHP_Token_LAMBDA_OP' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
483 | - 'PHP_Token_LINE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
484 | - 'PHP_Token_LIST' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
485 | - 'PHP_Token_LNUMBER' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
486 | - 'PHP_Token_LOGICAL_AND' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
487 | - 'PHP_Token_LOGICAL_OR' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
488 | - 'PHP_Token_LOGICAL_XOR' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
489 | - 'PHP_Token_LT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
490 | - 'PHP_Token_METHOD_C' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
491 | - 'PHP_Token_MINUS' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
492 | - 'PHP_Token_MINUS_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
493 | - 'PHP_Token_MOD_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
494 | - 'PHP_Token_MULT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
495 | - 'PHP_Token_MUL_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
496 | - 'PHP_Token_NAMESPACE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
497 | - 'PHP_Token_NEW' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
498 | - 'PHP_Token_NS_C' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
499 | - 'PHP_Token_NS_SEPARATOR' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
500 | - 'PHP_Token_NULLSAFE_OBJECT_OPERATOR' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
501 | - 'PHP_Token_NUM_STRING' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
502 | - 'PHP_Token_OBJECT_CAST' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
503 | - 'PHP_Token_OBJECT_OPERATOR' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
504 | - 'PHP_Token_ONUMBER' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
505 | - 'PHP_Token_OPEN_BRACKET' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
506 | - 'PHP_Token_OPEN_CURLY' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
507 | - 'PHP_Token_OPEN_SQUARE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
508 | - 'PHP_Token_OPEN_TAG' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
509 | - 'PHP_Token_OPEN_TAG_WITH_ECHO' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
510 | - 'PHP_Token_OR_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
511 | - 'PHP_Token_PAAMAYIM_NEKUDOTAYIM' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
512 | - 'PHP_Token_PERCENT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
513 | - 'PHP_Token_PIPE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
514 | - 'PHP_Token_PLUS' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
515 | - 'PHP_Token_PLUS_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
516 | - 'PHP_Token_POW' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
517 | - 'PHP_Token_POW_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
518 | - 'PHP_Token_PRINT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
519 | - 'PHP_Token_PRIVATE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
520 | - 'PHP_Token_PROTECTED' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
521 | - 'PHP_Token_PUBLIC' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
522 | - 'PHP_Token_QUESTION_MARK' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
523 | - 'PHP_Token_REQUIRE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
524 | - 'PHP_Token_REQUIRE_ONCE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
525 | - 'PHP_Token_RETURN' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
526 | - 'PHP_Token_SEMICOLON' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
527 | - 'PHP_Token_SHAPE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
528 | - 'PHP_Token_SL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
529 | - 'PHP_Token_SL_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
530 | - 'PHP_Token_SPACESHIP' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
531 | - 'PHP_Token_SR' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
532 | - 'PHP_Token_SR_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
533 | - 'PHP_Token_START_HEREDOC' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
534 | - 'PHP_Token_STATIC' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
535 | - 'PHP_Token_STRING' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
536 | - 'PHP_Token_STRING_CAST' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
537 | - 'PHP_Token_STRING_VARNAME' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
538 | - 'PHP_Token_SUPER' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
539 | - 'PHP_Token_SWITCH' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
540 | - 'PHP_Token_Stream' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token/Stream.php', |
|
541 | - 'PHP_Token_Stream_CachingFactory' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token/Stream/CachingFactory.php', |
|
542 | - 'PHP_Token_THROW' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
543 | - 'PHP_Token_TILDE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
544 | - 'PHP_Token_TRAIT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
545 | - 'PHP_Token_TRAIT_C' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
546 | - 'PHP_Token_TRY' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
547 | - 'PHP_Token_TYPE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
548 | - 'PHP_Token_TYPELIST_GT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
549 | - 'PHP_Token_TYPELIST_LT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
550 | - 'PHP_Token_UNSET' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
551 | - 'PHP_Token_UNSET_CAST' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
552 | - 'PHP_Token_USE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
553 | - 'PHP_Token_USE_FUNCTION' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
554 | - 'PHP_Token_VAR' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
555 | - 'PHP_Token_VARIABLE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
556 | - 'PHP_Token_WHERE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
557 | - 'PHP_Token_WHILE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
558 | - 'PHP_Token_WHITESPACE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
559 | - 'PHP_Token_XHP_ATTRIBUTE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
560 | - 'PHP_Token_XHP_CATEGORY' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
561 | - 'PHP_Token_XHP_CATEGORY_LABEL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
562 | - 'PHP_Token_XHP_CHILDREN' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
563 | - 'PHP_Token_XHP_LABEL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
564 | - 'PHP_Token_XHP_REQUIRED' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
565 | - 'PHP_Token_XHP_TAG_GT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
566 | - 'PHP_Token_XHP_TAG_LT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
567 | - 'PHP_Token_XHP_TEXT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
568 | - 'PHP_Token_XOR_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
569 | - 'PHP_Token_YIELD' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
570 | - 'PHP_Token_YIELD_FROM' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
571 | - 'PhpToken' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/PhpToken.php', |
|
572 | - 'SebastianBergmann\\Comparator\\ArrayComparator' => __DIR__ . '/..' . '/sebastian/comparator/src/ArrayComparator.php', |
|
573 | - 'SebastianBergmann\\Comparator\\Comparator' => __DIR__ . '/..' . '/sebastian/comparator/src/Comparator.php', |
|
574 | - 'SebastianBergmann\\Comparator\\ComparisonFailure' => __DIR__ . '/..' . '/sebastian/comparator/src/ComparisonFailure.php', |
|
575 | - 'SebastianBergmann\\Comparator\\DOMNodeComparator' => __DIR__ . '/..' . '/sebastian/comparator/src/DOMNodeComparator.php', |
|
576 | - 'SebastianBergmann\\Comparator\\DateTimeComparator' => __DIR__ . '/..' . '/sebastian/comparator/src/DateTimeComparator.php', |
|
577 | - 'SebastianBergmann\\Comparator\\DoubleComparator' => __DIR__ . '/..' . '/sebastian/comparator/src/DoubleComparator.php', |
|
578 | - 'SebastianBergmann\\Comparator\\ExceptionComparator' => __DIR__ . '/..' . '/sebastian/comparator/src/ExceptionComparator.php', |
|
579 | - 'SebastianBergmann\\Comparator\\Factory' => __DIR__ . '/..' . '/sebastian/comparator/src/Factory.php', |
|
580 | - 'SebastianBergmann\\Comparator\\MockObjectComparator' => __DIR__ . '/..' . '/sebastian/comparator/src/MockObjectComparator.php', |
|
581 | - 'SebastianBergmann\\Comparator\\NumericComparator' => __DIR__ . '/..' . '/sebastian/comparator/src/NumericComparator.php', |
|
582 | - 'SebastianBergmann\\Comparator\\ObjectComparator' => __DIR__ . '/..' . '/sebastian/comparator/src/ObjectComparator.php', |
|
583 | - 'SebastianBergmann\\Comparator\\ResourceComparator' => __DIR__ . '/..' . '/sebastian/comparator/src/ResourceComparator.php', |
|
584 | - 'SebastianBergmann\\Comparator\\ScalarComparator' => __DIR__ . '/..' . '/sebastian/comparator/src/ScalarComparator.php', |
|
585 | - 'SebastianBergmann\\Comparator\\SplObjectStorageComparator' => __DIR__ . '/..' . '/sebastian/comparator/src/SplObjectStorageComparator.php', |
|
586 | - 'SebastianBergmann\\Comparator\\TypeComparator' => __DIR__ . '/..' . '/sebastian/comparator/src/TypeComparator.php', |
|
587 | - 'SebastianBergmann\\Diff\\Chunk' => __DIR__ . '/..' . '/sebastian/diff/src/Chunk.php', |
|
588 | - 'SebastianBergmann\\Diff\\Diff' => __DIR__ . '/..' . '/sebastian/diff/src/Diff.php', |
|
589 | - 'SebastianBergmann\\Diff\\Differ' => __DIR__ . '/..' . '/sebastian/diff/src/Differ.php', |
|
590 | - 'SebastianBergmann\\Diff\\LCS\\LongestCommonSubsequence' => __DIR__ . '/..' . '/sebastian/diff/src/LCS/LongestCommonSubsequence.php', |
|
591 | - 'SebastianBergmann\\Diff\\LCS\\MemoryEfficientImplementation' => __DIR__ . '/..' . '/sebastian/diff/src/LCS/MemoryEfficientLongestCommonSubsequenceImplementation.php', |
|
592 | - 'SebastianBergmann\\Diff\\LCS\\TimeEfficientImplementation' => __DIR__ . '/..' . '/sebastian/diff/src/LCS/TimeEfficientLongestCommonSubsequenceImplementation.php', |
|
593 | - 'SebastianBergmann\\Diff\\Line' => __DIR__ . '/..' . '/sebastian/diff/src/Line.php', |
|
594 | - 'SebastianBergmann\\Diff\\Parser' => __DIR__ . '/..' . '/sebastian/diff/src/Parser.php', |
|
595 | - 'SebastianBergmann\\Environment\\Console' => __DIR__ . '/..' . '/sebastian/environment/src/Console.php', |
|
596 | - 'SebastianBergmann\\Environment\\Runtime' => __DIR__ . '/..' . '/sebastian/environment/src/Runtime.php', |
|
597 | - 'SebastianBergmann\\Exporter\\Exporter' => __DIR__ . '/..' . '/sebastian/exporter/src/Exporter.php', |
|
598 | - 'SebastianBergmann\\GlobalState\\Blacklist' => __DIR__ . '/..' . '/sebastian/global-state/src/Blacklist.php', |
|
599 | - 'SebastianBergmann\\GlobalState\\CodeExporter' => __DIR__ . '/..' . '/sebastian/global-state/src/CodeExporter.php', |
|
600 | - 'SebastianBergmann\\GlobalState\\Exception' => __DIR__ . '/..' . '/sebastian/global-state/src/Exception.php', |
|
601 | - 'SebastianBergmann\\GlobalState\\Restorer' => __DIR__ . '/..' . '/sebastian/global-state/src/Restorer.php', |
|
602 | - 'SebastianBergmann\\GlobalState\\RuntimeException' => __DIR__ . '/..' . '/sebastian/global-state/src/RuntimeException.php', |
|
603 | - 'SebastianBergmann\\GlobalState\\Snapshot' => __DIR__ . '/..' . '/sebastian/global-state/src/Snapshot.php', |
|
604 | - 'SebastianBergmann\\RecursionContext\\Context' => __DIR__ . '/..' . '/sebastian/recursion-context/src/Context.php', |
|
605 | - 'SebastianBergmann\\RecursionContext\\Exception' => __DIR__ . '/..' . '/sebastian/recursion-context/src/Exception.php', |
|
606 | - 'SebastianBergmann\\RecursionContext\\InvalidArgumentException' => __DIR__ . '/..' . '/sebastian/recursion-context/src/InvalidArgumentException.php', |
|
607 | - 'SebastianBergmann\\Version' => __DIR__ . '/..' . '/sebastian/version/src/Version.php', |
|
608 | - 'Stringable' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/Stringable.php', |
|
609 | - 'Text_Template' => __DIR__ . '/..' . '/phpunit/php-text-template/src/Template.php', |
|
610 | - 'UnhandledMatchError' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php', |
|
611 | - 'ValueError' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/ValueError.php', |
|
612 | - ); |
|
160 | + public static $classMap = array ( |
|
161 | + 'Attribute' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/Attribute.php', |
|
162 | + 'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php', |
|
163 | + 'File_Iterator' => __DIR__ . '/..' . '/phpunit/php-file-iterator/src/Iterator.php', |
|
164 | + 'File_Iterator_Facade' => __DIR__ . '/..' . '/phpunit/php-file-iterator/src/Facade.php', |
|
165 | + 'File_Iterator_Factory' => __DIR__ . '/..' . '/phpunit/php-file-iterator/src/Factory.php', |
|
166 | + 'PHPUnit\\Framework\\Assert' => __DIR__ . '/..' . '/phpunit/phpunit/src/ForwardCompatibility/Assert.php', |
|
167 | + 'PHPUnit\\Framework\\AssertionFailedError' => __DIR__ . '/..' . '/phpunit/phpunit/src/ForwardCompatibility/AssertionFailedError.php', |
|
168 | + 'PHPUnit\\Framework\\BaseTestListener' => __DIR__ . '/..' . '/phpunit/phpunit/src/ForwardCompatibility/BaseTestListener.php', |
|
169 | + 'PHPUnit\\Framework\\Test' => __DIR__ . '/..' . '/phpunit/phpunit/src/ForwardCompatibility/Test.php', |
|
170 | + 'PHPUnit\\Framework\\TestCase' => __DIR__ . '/..' . '/phpunit/phpunit/src/ForwardCompatibility/TestCase.php', |
|
171 | + 'PHPUnit\\Framework\\TestListener' => __DIR__ . '/..' . '/phpunit/phpunit/src/ForwardCompatibility/TestListener.php', |
|
172 | + 'PHPUnit\\Framework\\TestSuite' => __DIR__ . '/..' . '/phpunit/phpunit/src/ForwardCompatibility/TestSuite.php', |
|
173 | + 'PHPUnit_Exception' => __DIR__ . '/..' . '/phpunit/phpunit/src/Exception.php', |
|
174 | + 'PHPUnit_Extensions_GroupTestSuite' => __DIR__ . '/..' . '/phpunit/phpunit/src/Extensions/GroupTestSuite.php', |
|
175 | + 'PHPUnit_Extensions_PhptTestCase' => __DIR__ . '/..' . '/phpunit/phpunit/src/Extensions/PhptTestCase.php', |
|
176 | + 'PHPUnit_Extensions_PhptTestSuite' => __DIR__ . '/..' . '/phpunit/phpunit/src/Extensions/PhptTestSuite.php', |
|
177 | + 'PHPUnit_Extensions_RepeatedTest' => __DIR__ . '/..' . '/phpunit/phpunit/src/Extensions/RepeatedTest.php', |
|
178 | + 'PHPUnit_Extensions_TestDecorator' => __DIR__ . '/..' . '/phpunit/phpunit/src/Extensions/TestDecorator.php', |
|
179 | + 'PHPUnit_Extensions_TicketListener' => __DIR__ . '/..' . '/phpunit/phpunit/src/Extensions/TicketListener.php', |
|
180 | + 'PHPUnit_Framework_Assert' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Assert.php', |
|
181 | + 'PHPUnit_Framework_AssertionFailedError' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/AssertionFailedError.php', |
|
182 | + 'PHPUnit_Framework_BaseTestListener' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/BaseTestListener.php', |
|
183 | + 'PHPUnit_Framework_CodeCoverageException' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/CodeCoverageException.php', |
|
184 | + 'PHPUnit_Framework_Constraint' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint.php', |
|
185 | + 'PHPUnit_Framework_Constraint_And' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/And.php', |
|
186 | + 'PHPUnit_Framework_Constraint_ArrayHasKey' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/ArrayHasKey.php', |
|
187 | + 'PHPUnit_Framework_Constraint_ArraySubset' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/ArraySubset.php', |
|
188 | + 'PHPUnit_Framework_Constraint_Attribute' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/Attribute.php', |
|
189 | + 'PHPUnit_Framework_Constraint_Callback' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/Callback.php', |
|
190 | + 'PHPUnit_Framework_Constraint_ClassHasAttribute' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/ClassHasAttribute.php', |
|
191 | + 'PHPUnit_Framework_Constraint_ClassHasStaticAttribute' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/ClassHasStaticAttribute.php', |
|
192 | + 'PHPUnit_Framework_Constraint_Composite' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/Composite.php', |
|
193 | + 'PHPUnit_Framework_Constraint_Count' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/Count.php', |
|
194 | + 'PHPUnit_Framework_Constraint_Exception' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/Exception.php', |
|
195 | + 'PHPUnit_Framework_Constraint_ExceptionCode' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/ExceptionCode.php', |
|
196 | + 'PHPUnit_Framework_Constraint_ExceptionMessage' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/ExceptionMessage.php', |
|
197 | + 'PHPUnit_Framework_Constraint_ExceptionMessageRegExp' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/ExceptionMessageRegExp.php', |
|
198 | + 'PHPUnit_Framework_Constraint_FileExists' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/FileExists.php', |
|
199 | + 'PHPUnit_Framework_Constraint_GreaterThan' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/GreaterThan.php', |
|
200 | + 'PHPUnit_Framework_Constraint_IsAnything' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/IsAnything.php', |
|
201 | + 'PHPUnit_Framework_Constraint_IsEmpty' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/IsEmpty.php', |
|
202 | + 'PHPUnit_Framework_Constraint_IsEqual' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/IsEqual.php', |
|
203 | + 'PHPUnit_Framework_Constraint_IsFalse' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/IsFalse.php', |
|
204 | + 'PHPUnit_Framework_Constraint_IsIdentical' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/IsIdentical.php', |
|
205 | + 'PHPUnit_Framework_Constraint_IsInstanceOf' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/IsInstanceOf.php', |
|
206 | + 'PHPUnit_Framework_Constraint_IsJson' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/IsJson.php', |
|
207 | + 'PHPUnit_Framework_Constraint_IsNull' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/IsNull.php', |
|
208 | + 'PHPUnit_Framework_Constraint_IsTrue' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/IsTrue.php', |
|
209 | + 'PHPUnit_Framework_Constraint_IsType' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/IsType.php', |
|
210 | + 'PHPUnit_Framework_Constraint_JsonMatches' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/JsonMatches.php', |
|
211 | + 'PHPUnit_Framework_Constraint_JsonMatches_ErrorMessageProvider' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/JsonMatches/ErrorMessageProvider.php', |
|
212 | + 'PHPUnit_Framework_Constraint_LessThan' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/LessThan.php', |
|
213 | + 'PHPUnit_Framework_Constraint_Not' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/Not.php', |
|
214 | + 'PHPUnit_Framework_Constraint_ObjectHasAttribute' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/ObjectHasAttribute.php', |
|
215 | + 'PHPUnit_Framework_Constraint_Or' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/Or.php', |
|
216 | + 'PHPUnit_Framework_Constraint_PCREMatch' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/PCREMatch.php', |
|
217 | + 'PHPUnit_Framework_Constraint_SameSize' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/SameSize.php', |
|
218 | + 'PHPUnit_Framework_Constraint_StringContains' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/StringContains.php', |
|
219 | + 'PHPUnit_Framework_Constraint_StringEndsWith' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/StringEndsWith.php', |
|
220 | + 'PHPUnit_Framework_Constraint_StringMatches' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/StringMatches.php', |
|
221 | + 'PHPUnit_Framework_Constraint_StringStartsWith' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/StringStartsWith.php', |
|
222 | + 'PHPUnit_Framework_Constraint_TraversableContains' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/TraversableContains.php', |
|
223 | + 'PHPUnit_Framework_Constraint_TraversableContainsOnly' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/TraversableContainsOnly.php', |
|
224 | + 'PHPUnit_Framework_Constraint_Xor' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/Xor.php', |
|
225 | + 'PHPUnit_Framework_Error' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Error.php', |
|
226 | + 'PHPUnit_Framework_Error_Deprecated' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Error/Deprecated.php', |
|
227 | + 'PHPUnit_Framework_Error_Notice' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Error/Notice.php', |
|
228 | + 'PHPUnit_Framework_Error_Warning' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Error/Warning.php', |
|
229 | + 'PHPUnit_Framework_Exception' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Exception.php', |
|
230 | + 'PHPUnit_Framework_ExceptionWrapper' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/ExceptionWrapper.php', |
|
231 | + 'PHPUnit_Framework_ExpectationFailedException' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/ExpectationFailedException.php', |
|
232 | + 'PHPUnit_Framework_IncompleteTest' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/IncompleteTest.php', |
|
233 | + 'PHPUnit_Framework_IncompleteTestCase' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/IncompleteTestCase.php', |
|
234 | + 'PHPUnit_Framework_IncompleteTestError' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/IncompleteTestError.php', |
|
235 | + 'PHPUnit_Framework_InvalidCoversTargetError' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/InvalidCoversTargetError.php', |
|
236 | + 'PHPUnit_Framework_InvalidCoversTargetException' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/InvalidCoversTargetException.php', |
|
237 | + 'PHPUnit_Framework_MockObject_BadMethodCallException' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Exception/BadMethodCallException.php', |
|
238 | + 'PHPUnit_Framework_MockObject_Builder_Identity' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Builder/Identity.php', |
|
239 | + 'PHPUnit_Framework_MockObject_Builder_InvocationMocker' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Builder/InvocationMocker.php', |
|
240 | + 'PHPUnit_Framework_MockObject_Builder_Match' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Builder/Match.php', |
|
241 | + 'PHPUnit_Framework_MockObject_Builder_MethodNameMatch' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Builder/MethodNameMatch.php', |
|
242 | + 'PHPUnit_Framework_MockObject_Builder_Namespace' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Builder/Namespace.php', |
|
243 | + 'PHPUnit_Framework_MockObject_Builder_ParametersMatch' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Builder/ParametersMatch.php', |
|
244 | + 'PHPUnit_Framework_MockObject_Builder_Stub' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Builder/Stub.php', |
|
245 | + 'PHPUnit_Framework_MockObject_Exception' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Exception/Exception.php', |
|
246 | + 'PHPUnit_Framework_MockObject_Generator' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Generator.php', |
|
247 | + 'PHPUnit_Framework_MockObject_Invocation' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Invocation.php', |
|
248 | + 'PHPUnit_Framework_MockObject_InvocationMocker' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/InvocationMocker.php', |
|
249 | + 'PHPUnit_Framework_MockObject_Invocation_Object' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Invocation/Object.php', |
|
250 | + 'PHPUnit_Framework_MockObject_Invocation_Static' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Invocation/Static.php', |
|
251 | + 'PHPUnit_Framework_MockObject_Invokable' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Invokable.php', |
|
252 | + 'PHPUnit_Framework_MockObject_Matcher' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher.php', |
|
253 | + 'PHPUnit_Framework_MockObject_Matcher_AnyInvokedCount' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/AnyInvokedCount.php', |
|
254 | + 'PHPUnit_Framework_MockObject_Matcher_AnyParameters' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/AnyParameters.php', |
|
255 | + 'PHPUnit_Framework_MockObject_Matcher_ConsecutiveParameters' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/ConsecutiveParameters.php', |
|
256 | + 'PHPUnit_Framework_MockObject_Matcher_Invocation' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/Invocation.php', |
|
257 | + 'PHPUnit_Framework_MockObject_Matcher_InvokedAtIndex' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/InvokedAtIndex.php', |
|
258 | + 'PHPUnit_Framework_MockObject_Matcher_InvokedAtLeastCount' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/InvokedAtLeastCount.php', |
|
259 | + 'PHPUnit_Framework_MockObject_Matcher_InvokedAtLeastOnce' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/InvokedAtLeastOnce.php', |
|
260 | + 'PHPUnit_Framework_MockObject_Matcher_InvokedAtMostCount' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/InvokedAtMostCount.php', |
|
261 | + 'PHPUnit_Framework_MockObject_Matcher_InvokedCount' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/InvokedCount.php', |
|
262 | + 'PHPUnit_Framework_MockObject_Matcher_InvokedRecorder' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/InvokedRecorder.php', |
|
263 | + 'PHPUnit_Framework_MockObject_Matcher_MethodName' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/MethodName.php', |
|
264 | + 'PHPUnit_Framework_MockObject_Matcher_Parameters' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/Parameters.php', |
|
265 | + 'PHPUnit_Framework_MockObject_Matcher_StatelessInvocation' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/StatelessInvocation.php', |
|
266 | + 'PHPUnit_Framework_MockObject_MockBuilder' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/MockBuilder.php', |
|
267 | + 'PHPUnit_Framework_MockObject_MockObject' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/MockObject.php', |
|
268 | + 'PHPUnit_Framework_MockObject_RuntimeException' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Exception/RuntimeException.php', |
|
269 | + 'PHPUnit_Framework_MockObject_Stub' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Stub.php', |
|
270 | + 'PHPUnit_Framework_MockObject_Stub_ConsecutiveCalls' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Stub/ConsecutiveCalls.php', |
|
271 | + 'PHPUnit_Framework_MockObject_Stub_Exception' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Stub/Exception.php', |
|
272 | + 'PHPUnit_Framework_MockObject_Stub_MatcherCollection' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Stub/MatcherCollection.php', |
|
273 | + 'PHPUnit_Framework_MockObject_Stub_Return' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Stub/Return.php', |
|
274 | + 'PHPUnit_Framework_MockObject_Stub_ReturnArgument' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Stub/ReturnArgument.php', |
|
275 | + 'PHPUnit_Framework_MockObject_Stub_ReturnCallback' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Stub/ReturnCallback.php', |
|
276 | + 'PHPUnit_Framework_MockObject_Stub_ReturnSelf' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Stub/ReturnSelf.php', |
|
277 | + 'PHPUnit_Framework_MockObject_Stub_ReturnValueMap' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Stub/ReturnValueMap.php', |
|
278 | + 'PHPUnit_Framework_MockObject_Verifiable' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Verifiable.php', |
|
279 | + 'PHPUnit_Framework_OutputError' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/OutputError.php', |
|
280 | + 'PHPUnit_Framework_RiskyTest' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/RiskyTest.php', |
|
281 | + 'PHPUnit_Framework_RiskyTestError' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/RiskyTestError.php', |
|
282 | + 'PHPUnit_Framework_SelfDescribing' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/SelfDescribing.php', |
|
283 | + 'PHPUnit_Framework_SkippedTest' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/SkippedTest.php', |
|
284 | + 'PHPUnit_Framework_SkippedTestCase' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/SkippedTestCase.php', |
|
285 | + 'PHPUnit_Framework_SkippedTestError' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/SkippedTestError.php', |
|
286 | + 'PHPUnit_Framework_SkippedTestSuiteError' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/SkippedTestSuiteError.php', |
|
287 | + 'PHPUnit_Framework_SyntheticError' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/SyntheticError.php', |
|
288 | + 'PHPUnit_Framework_Test' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Test.php', |
|
289 | + 'PHPUnit_Framework_TestCase' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/TestCase.php', |
|
290 | + 'PHPUnit_Framework_TestFailure' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/TestFailure.php', |
|
291 | + 'PHPUnit_Framework_TestListener' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/TestListener.php', |
|
292 | + 'PHPUnit_Framework_TestResult' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/TestResult.php', |
|
293 | + 'PHPUnit_Framework_TestSuite' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/TestSuite.php', |
|
294 | + 'PHPUnit_Framework_TestSuite_DataProvider' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/TestSuite/DataProvider.php', |
|
295 | + 'PHPUnit_Framework_UnintentionallyCoveredCodeError' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/UnintentionallyCoveredCodeError.php', |
|
296 | + 'PHPUnit_Framework_Warning' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Warning.php', |
|
297 | + 'PHPUnit_Runner_BaseTestRunner' => __DIR__ . '/..' . '/phpunit/phpunit/src/Runner/BaseTestRunner.php', |
|
298 | + 'PHPUnit_Runner_Exception' => __DIR__ . '/..' . '/phpunit/phpunit/src/Runner/Exception.php', |
|
299 | + 'PHPUnit_Runner_Filter_Factory' => __DIR__ . '/..' . '/phpunit/phpunit/src/Runner/Filter/Factory.php', |
|
300 | + 'PHPUnit_Runner_Filter_GroupFilterIterator' => __DIR__ . '/..' . '/phpunit/phpunit/src/Runner/Filter/Group.php', |
|
301 | + 'PHPUnit_Runner_Filter_Group_Exclude' => __DIR__ . '/..' . '/phpunit/phpunit/src/Runner/Filter/Group/Exclude.php', |
|
302 | + 'PHPUnit_Runner_Filter_Group_Include' => __DIR__ . '/..' . '/phpunit/phpunit/src/Runner/Filter/Group/Include.php', |
|
303 | + 'PHPUnit_Runner_Filter_Test' => __DIR__ . '/..' . '/phpunit/phpunit/src/Runner/Filter/Test.php', |
|
304 | + 'PHPUnit_Runner_StandardTestSuiteLoader' => __DIR__ . '/..' . '/phpunit/phpunit/src/Runner/StandardTestSuiteLoader.php', |
|
305 | + 'PHPUnit_Runner_TestSuiteLoader' => __DIR__ . '/..' . '/phpunit/phpunit/src/Runner/TestSuiteLoader.php', |
|
306 | + 'PHPUnit_Runner_Version' => __DIR__ . '/..' . '/phpunit/phpunit/src/Runner/Version.php', |
|
307 | + 'PHPUnit_TextUI_Command' => __DIR__ . '/..' . '/phpunit/phpunit/src/TextUI/Command.php', |
|
308 | + 'PHPUnit_TextUI_ResultPrinter' => __DIR__ . '/..' . '/phpunit/phpunit/src/TextUI/ResultPrinter.php', |
|
309 | + 'PHPUnit_TextUI_TestRunner' => __DIR__ . '/..' . '/phpunit/phpunit/src/TextUI/TestRunner.php', |
|
310 | + 'PHPUnit_Util_Blacklist' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Blacklist.php', |
|
311 | + 'PHPUnit_Util_Configuration' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Configuration.php', |
|
312 | + 'PHPUnit_Util_ErrorHandler' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/ErrorHandler.php', |
|
313 | + 'PHPUnit_Util_Fileloader' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Fileloader.php', |
|
314 | + 'PHPUnit_Util_Filesystem' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Filesystem.php', |
|
315 | + 'PHPUnit_Util_Filter' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Filter.php', |
|
316 | + 'PHPUnit_Util_Getopt' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Getopt.php', |
|
317 | + 'PHPUnit_Util_GlobalState' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/GlobalState.php', |
|
318 | + 'PHPUnit_Util_InvalidArgumentHelper' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/InvalidArgumentHelper.php', |
|
319 | + 'PHPUnit_Util_Log_JSON' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Log/JSON.php', |
|
320 | + 'PHPUnit_Util_Log_JUnit' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Log/JUnit.php', |
|
321 | + 'PHPUnit_Util_Log_TAP' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Log/TAP.php', |
|
322 | + 'PHPUnit_Util_PHP' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/PHP.php', |
|
323 | + 'PHPUnit_Util_PHP_Default' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/PHP/Default.php', |
|
324 | + 'PHPUnit_Util_PHP_Windows' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/PHP/Windows.php', |
|
325 | + 'PHPUnit_Util_Printer' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Printer.php', |
|
326 | + 'PHPUnit_Util_Regex' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Regex.php', |
|
327 | + 'PHPUnit_Util_String' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/String.php', |
|
328 | + 'PHPUnit_Util_Test' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Test.php', |
|
329 | + 'PHPUnit_Util_TestDox_NamePrettifier' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/TestDox/NamePrettifier.php', |
|
330 | + 'PHPUnit_Util_TestDox_ResultPrinter' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/TestDox/ResultPrinter.php', |
|
331 | + 'PHPUnit_Util_TestDox_ResultPrinter_HTML' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/TestDox/ResultPrinter/HTML.php', |
|
332 | + 'PHPUnit_Util_TestDox_ResultPrinter_Text' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/TestDox/ResultPrinter/Text.php', |
|
333 | + 'PHPUnit_Util_TestSuiteIterator' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/TestSuiteIterator.php', |
|
334 | + 'PHPUnit_Util_Type' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Type.php', |
|
335 | + 'PHPUnit_Util_XML' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/XML.php', |
|
336 | + 'PHP_CodeCoverage' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage.php', |
|
337 | + 'PHP_CodeCoverage_Driver' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Driver.php', |
|
338 | + 'PHP_CodeCoverage_Driver_HHVM' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Driver/HHVM.php', |
|
339 | + 'PHP_CodeCoverage_Driver_PHPDBG' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Driver/PHPDBG.php', |
|
340 | + 'PHP_CodeCoverage_Driver_Xdebug' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Driver/Xdebug.php', |
|
341 | + 'PHP_CodeCoverage_Exception' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Exception.php', |
|
342 | + 'PHP_CodeCoverage_Exception_UnintentionallyCoveredCode' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Exception/UnintentionallyCoveredCode.php', |
|
343 | + 'PHP_CodeCoverage_Filter' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Filter.php', |
|
344 | + 'PHP_CodeCoverage_Report_Clover' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/Clover.php', |
|
345 | + 'PHP_CodeCoverage_Report_Crap4j' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/Crap4j.php', |
|
346 | + 'PHP_CodeCoverage_Report_Factory' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/Factory.php', |
|
347 | + 'PHP_CodeCoverage_Report_HTML' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/HTML.php', |
|
348 | + 'PHP_CodeCoverage_Report_HTML_Renderer' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/HTML/Renderer.php', |
|
349 | + 'PHP_CodeCoverage_Report_HTML_Renderer_Dashboard' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/HTML/Renderer/Dashboard.php', |
|
350 | + 'PHP_CodeCoverage_Report_HTML_Renderer_Directory' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/HTML/Renderer/Directory.php', |
|
351 | + 'PHP_CodeCoverage_Report_HTML_Renderer_File' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/HTML/Renderer/File.php', |
|
352 | + 'PHP_CodeCoverage_Report_Node' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/Node.php', |
|
353 | + 'PHP_CodeCoverage_Report_Node_Directory' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/Node/Directory.php', |
|
354 | + 'PHP_CodeCoverage_Report_Node_File' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/Node/File.php', |
|
355 | + 'PHP_CodeCoverage_Report_Node_Iterator' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/Node/Iterator.php', |
|
356 | + 'PHP_CodeCoverage_Report_PHP' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/PHP.php', |
|
357 | + 'PHP_CodeCoverage_Report_Text' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/Text.php', |
|
358 | + 'PHP_CodeCoverage_Report_XML' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/XML.php', |
|
359 | + 'PHP_CodeCoverage_Report_XML_Directory' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/XML/Directory.php', |
|
360 | + 'PHP_CodeCoverage_Report_XML_File' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/XML/File.php', |
|
361 | + 'PHP_CodeCoverage_Report_XML_File_Coverage' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/XML/File/Coverage.php', |
|
362 | + 'PHP_CodeCoverage_Report_XML_File_Method' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/XML/File/Method.php', |
|
363 | + 'PHP_CodeCoverage_Report_XML_File_Report' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/XML/File/Report.php', |
|
364 | + 'PHP_CodeCoverage_Report_XML_File_Unit' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/XML/File/Unit.php', |
|
365 | + 'PHP_CodeCoverage_Report_XML_Node' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/XML/Node.php', |
|
366 | + 'PHP_CodeCoverage_Report_XML_Project' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/XML/Project.php', |
|
367 | + 'PHP_CodeCoverage_Report_XML_Tests' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/XML/Tests.php', |
|
368 | + 'PHP_CodeCoverage_Report_XML_Totals' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/XML/Totals.php', |
|
369 | + 'PHP_CodeCoverage_Util' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Util.php', |
|
370 | + 'PHP_CodeCoverage_Util_InvalidArgumentHelper' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Util/InvalidArgumentHelper.php', |
|
371 | + 'PHP_Timer' => __DIR__ . '/..' . '/phpunit/php-timer/src/Timer.php', |
|
372 | + 'PHP_Token' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
373 | + 'PHP_TokenWithScope' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
374 | + 'PHP_TokenWithScopeAndVisibility' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
375 | + 'PHP_Token_ABSTRACT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
376 | + 'PHP_Token_AMPERSAND' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
377 | + 'PHP_Token_AND_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
378 | + 'PHP_Token_ARRAY' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
379 | + 'PHP_Token_ARRAY_CAST' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
380 | + 'PHP_Token_AS' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
381 | + 'PHP_Token_ASYNC' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
382 | + 'PHP_Token_AT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
383 | + 'PHP_Token_AWAIT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
384 | + 'PHP_Token_BACKTICK' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
385 | + 'PHP_Token_BAD_CHARACTER' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
386 | + 'PHP_Token_BOOLEAN_AND' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
387 | + 'PHP_Token_BOOLEAN_OR' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
388 | + 'PHP_Token_BOOL_CAST' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
389 | + 'PHP_Token_BREAK' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
390 | + 'PHP_Token_CALLABLE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
391 | + 'PHP_Token_CARET' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
392 | + 'PHP_Token_CASE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
393 | + 'PHP_Token_CATCH' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
394 | + 'PHP_Token_CHARACTER' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
395 | + 'PHP_Token_CLASS' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
396 | + 'PHP_Token_CLASS_C' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
397 | + 'PHP_Token_CLASS_NAME_CONSTANT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
398 | + 'PHP_Token_CLONE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
399 | + 'PHP_Token_CLOSE_BRACKET' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
400 | + 'PHP_Token_CLOSE_CURLY' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
401 | + 'PHP_Token_CLOSE_SQUARE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
402 | + 'PHP_Token_CLOSE_TAG' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
403 | + 'PHP_Token_COALESCE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
404 | + 'PHP_Token_COLON' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
405 | + 'PHP_Token_COMMA' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
406 | + 'PHP_Token_COMMENT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
407 | + 'PHP_Token_COMPILER_HALT_OFFSET' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
408 | + 'PHP_Token_CONCAT_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
409 | + 'PHP_Token_CONST' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
410 | + 'PHP_Token_CONSTANT_ENCAPSED_STRING' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
411 | + 'PHP_Token_CONTINUE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
412 | + 'PHP_Token_CURLY_OPEN' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
413 | + 'PHP_Token_DEC' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
414 | + 'PHP_Token_DECLARE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
415 | + 'PHP_Token_DEFAULT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
416 | + 'PHP_Token_DIR' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
417 | + 'PHP_Token_DIV' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
418 | + 'PHP_Token_DIV_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
419 | + 'PHP_Token_DNUMBER' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
420 | + 'PHP_Token_DO' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
421 | + 'PHP_Token_DOC_COMMENT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
422 | + 'PHP_Token_DOLLAR' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
423 | + 'PHP_Token_DOLLAR_OPEN_CURLY_BRACES' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
424 | + 'PHP_Token_DOT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
425 | + 'PHP_Token_DOUBLE_ARROW' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
426 | + 'PHP_Token_DOUBLE_CAST' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
427 | + 'PHP_Token_DOUBLE_COLON' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
428 | + 'PHP_Token_DOUBLE_QUOTES' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
429 | + 'PHP_Token_ECHO' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
430 | + 'PHP_Token_ELLIPSIS' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
431 | + 'PHP_Token_ELSE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
432 | + 'PHP_Token_ELSEIF' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
433 | + 'PHP_Token_EMPTY' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
434 | + 'PHP_Token_ENCAPSED_AND_WHITESPACE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
435 | + 'PHP_Token_ENDDECLARE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
436 | + 'PHP_Token_ENDFOR' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
437 | + 'PHP_Token_ENDFOREACH' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
438 | + 'PHP_Token_ENDIF' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
439 | + 'PHP_Token_ENDSWITCH' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
440 | + 'PHP_Token_ENDWHILE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
441 | + 'PHP_Token_END_HEREDOC' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
442 | + 'PHP_Token_ENUM' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
443 | + 'PHP_Token_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
444 | + 'PHP_Token_EQUALS' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
445 | + 'PHP_Token_EVAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
446 | + 'PHP_Token_EXCLAMATION_MARK' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
447 | + 'PHP_Token_EXIT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
448 | + 'PHP_Token_EXTENDS' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
449 | + 'PHP_Token_FILE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
450 | + 'PHP_Token_FINAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
451 | + 'PHP_Token_FINALLY' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
452 | + 'PHP_Token_FOR' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
453 | + 'PHP_Token_FOREACH' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
454 | + 'PHP_Token_FUNCTION' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
455 | + 'PHP_Token_FUNC_C' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
456 | + 'PHP_Token_GLOBAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
457 | + 'PHP_Token_GOTO' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
458 | + 'PHP_Token_GT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
459 | + 'PHP_Token_HALT_COMPILER' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
460 | + 'PHP_Token_IF' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
461 | + 'PHP_Token_IMPLEMENTS' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
462 | + 'PHP_Token_IN' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
463 | + 'PHP_Token_INC' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
464 | + 'PHP_Token_INCLUDE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
465 | + 'PHP_Token_INCLUDE_ONCE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
466 | + 'PHP_Token_INLINE_HTML' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
467 | + 'PHP_Token_INSTANCEOF' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
468 | + 'PHP_Token_INSTEADOF' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
469 | + 'PHP_Token_INTERFACE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
470 | + 'PHP_Token_INT_CAST' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
471 | + 'PHP_Token_ISSET' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
472 | + 'PHP_Token_IS_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
473 | + 'PHP_Token_IS_GREATER_OR_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
474 | + 'PHP_Token_IS_IDENTICAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
475 | + 'PHP_Token_IS_NOT_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
476 | + 'PHP_Token_IS_NOT_IDENTICAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
477 | + 'PHP_Token_IS_SMALLER_OR_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
478 | + 'PHP_Token_Includes' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
479 | + 'PHP_Token_JOIN' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
480 | + 'PHP_Token_LAMBDA_ARROW' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
481 | + 'PHP_Token_LAMBDA_CP' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
482 | + 'PHP_Token_LAMBDA_OP' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
483 | + 'PHP_Token_LINE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
484 | + 'PHP_Token_LIST' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
485 | + 'PHP_Token_LNUMBER' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
486 | + 'PHP_Token_LOGICAL_AND' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
487 | + 'PHP_Token_LOGICAL_OR' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
488 | + 'PHP_Token_LOGICAL_XOR' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
489 | + 'PHP_Token_LT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
490 | + 'PHP_Token_METHOD_C' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
491 | + 'PHP_Token_MINUS' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
492 | + 'PHP_Token_MINUS_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
493 | + 'PHP_Token_MOD_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
494 | + 'PHP_Token_MULT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
495 | + 'PHP_Token_MUL_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
496 | + 'PHP_Token_NAMESPACE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
497 | + 'PHP_Token_NEW' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
498 | + 'PHP_Token_NS_C' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
499 | + 'PHP_Token_NS_SEPARATOR' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
500 | + 'PHP_Token_NULLSAFE_OBJECT_OPERATOR' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
501 | + 'PHP_Token_NUM_STRING' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
502 | + 'PHP_Token_OBJECT_CAST' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
503 | + 'PHP_Token_OBJECT_OPERATOR' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
504 | + 'PHP_Token_ONUMBER' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
505 | + 'PHP_Token_OPEN_BRACKET' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
506 | + 'PHP_Token_OPEN_CURLY' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
507 | + 'PHP_Token_OPEN_SQUARE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
508 | + 'PHP_Token_OPEN_TAG' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
509 | + 'PHP_Token_OPEN_TAG_WITH_ECHO' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
510 | + 'PHP_Token_OR_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
511 | + 'PHP_Token_PAAMAYIM_NEKUDOTAYIM' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
512 | + 'PHP_Token_PERCENT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
513 | + 'PHP_Token_PIPE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
514 | + 'PHP_Token_PLUS' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
515 | + 'PHP_Token_PLUS_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
516 | + 'PHP_Token_POW' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
517 | + 'PHP_Token_POW_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
518 | + 'PHP_Token_PRINT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
519 | + 'PHP_Token_PRIVATE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
520 | + 'PHP_Token_PROTECTED' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
521 | + 'PHP_Token_PUBLIC' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
522 | + 'PHP_Token_QUESTION_MARK' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
523 | + 'PHP_Token_REQUIRE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
524 | + 'PHP_Token_REQUIRE_ONCE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
525 | + 'PHP_Token_RETURN' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
526 | + 'PHP_Token_SEMICOLON' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
527 | + 'PHP_Token_SHAPE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
528 | + 'PHP_Token_SL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
529 | + 'PHP_Token_SL_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
530 | + 'PHP_Token_SPACESHIP' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
531 | + 'PHP_Token_SR' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
532 | + 'PHP_Token_SR_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
533 | + 'PHP_Token_START_HEREDOC' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
534 | + 'PHP_Token_STATIC' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
535 | + 'PHP_Token_STRING' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
536 | + 'PHP_Token_STRING_CAST' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
537 | + 'PHP_Token_STRING_VARNAME' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
538 | + 'PHP_Token_SUPER' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
539 | + 'PHP_Token_SWITCH' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
540 | + 'PHP_Token_Stream' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token/Stream.php', |
|
541 | + 'PHP_Token_Stream_CachingFactory' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token/Stream/CachingFactory.php', |
|
542 | + 'PHP_Token_THROW' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
543 | + 'PHP_Token_TILDE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
544 | + 'PHP_Token_TRAIT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
545 | + 'PHP_Token_TRAIT_C' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
546 | + 'PHP_Token_TRY' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
547 | + 'PHP_Token_TYPE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
548 | + 'PHP_Token_TYPELIST_GT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
549 | + 'PHP_Token_TYPELIST_LT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
550 | + 'PHP_Token_UNSET' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
551 | + 'PHP_Token_UNSET_CAST' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
552 | + 'PHP_Token_USE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
553 | + 'PHP_Token_USE_FUNCTION' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
554 | + 'PHP_Token_VAR' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
555 | + 'PHP_Token_VARIABLE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
556 | + 'PHP_Token_WHERE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
557 | + 'PHP_Token_WHILE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
558 | + 'PHP_Token_WHITESPACE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
559 | + 'PHP_Token_XHP_ATTRIBUTE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
560 | + 'PHP_Token_XHP_CATEGORY' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
561 | + 'PHP_Token_XHP_CATEGORY_LABEL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
562 | + 'PHP_Token_XHP_CHILDREN' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
563 | + 'PHP_Token_XHP_LABEL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
564 | + 'PHP_Token_XHP_REQUIRED' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
565 | + 'PHP_Token_XHP_TAG_GT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
566 | + 'PHP_Token_XHP_TAG_LT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
567 | + 'PHP_Token_XHP_TEXT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
568 | + 'PHP_Token_XOR_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
569 | + 'PHP_Token_YIELD' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
570 | + 'PHP_Token_YIELD_FROM' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
571 | + 'PhpToken' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/PhpToken.php', |
|
572 | + 'SebastianBergmann\\Comparator\\ArrayComparator' => __DIR__ . '/..' . '/sebastian/comparator/src/ArrayComparator.php', |
|
573 | + 'SebastianBergmann\\Comparator\\Comparator' => __DIR__ . '/..' . '/sebastian/comparator/src/Comparator.php', |
|
574 | + 'SebastianBergmann\\Comparator\\ComparisonFailure' => __DIR__ . '/..' . '/sebastian/comparator/src/ComparisonFailure.php', |
|
575 | + 'SebastianBergmann\\Comparator\\DOMNodeComparator' => __DIR__ . '/..' . '/sebastian/comparator/src/DOMNodeComparator.php', |
|
576 | + 'SebastianBergmann\\Comparator\\DateTimeComparator' => __DIR__ . '/..' . '/sebastian/comparator/src/DateTimeComparator.php', |
|
577 | + 'SebastianBergmann\\Comparator\\DoubleComparator' => __DIR__ . '/..' . '/sebastian/comparator/src/DoubleComparator.php', |
|
578 | + 'SebastianBergmann\\Comparator\\ExceptionComparator' => __DIR__ . '/..' . '/sebastian/comparator/src/ExceptionComparator.php', |
|
579 | + 'SebastianBergmann\\Comparator\\Factory' => __DIR__ . '/..' . '/sebastian/comparator/src/Factory.php', |
|
580 | + 'SebastianBergmann\\Comparator\\MockObjectComparator' => __DIR__ . '/..' . '/sebastian/comparator/src/MockObjectComparator.php', |
|
581 | + 'SebastianBergmann\\Comparator\\NumericComparator' => __DIR__ . '/..' . '/sebastian/comparator/src/NumericComparator.php', |
|
582 | + 'SebastianBergmann\\Comparator\\ObjectComparator' => __DIR__ . '/..' . '/sebastian/comparator/src/ObjectComparator.php', |
|
583 | + 'SebastianBergmann\\Comparator\\ResourceComparator' => __DIR__ . '/..' . '/sebastian/comparator/src/ResourceComparator.php', |
|
584 | + 'SebastianBergmann\\Comparator\\ScalarComparator' => __DIR__ . '/..' . '/sebastian/comparator/src/ScalarComparator.php', |
|
585 | + 'SebastianBergmann\\Comparator\\SplObjectStorageComparator' => __DIR__ . '/..' . '/sebastian/comparator/src/SplObjectStorageComparator.php', |
|
586 | + 'SebastianBergmann\\Comparator\\TypeComparator' => __DIR__ . '/..' . '/sebastian/comparator/src/TypeComparator.php', |
|
587 | + 'SebastianBergmann\\Diff\\Chunk' => __DIR__ . '/..' . '/sebastian/diff/src/Chunk.php', |
|
588 | + 'SebastianBergmann\\Diff\\Diff' => __DIR__ . '/..' . '/sebastian/diff/src/Diff.php', |
|
589 | + 'SebastianBergmann\\Diff\\Differ' => __DIR__ . '/..' . '/sebastian/diff/src/Differ.php', |
|
590 | + 'SebastianBergmann\\Diff\\LCS\\LongestCommonSubsequence' => __DIR__ . '/..' . '/sebastian/diff/src/LCS/LongestCommonSubsequence.php', |
|
591 | + 'SebastianBergmann\\Diff\\LCS\\MemoryEfficientImplementation' => __DIR__ . '/..' . '/sebastian/diff/src/LCS/MemoryEfficientLongestCommonSubsequenceImplementation.php', |
|
592 | + 'SebastianBergmann\\Diff\\LCS\\TimeEfficientImplementation' => __DIR__ . '/..' . '/sebastian/diff/src/LCS/TimeEfficientLongestCommonSubsequenceImplementation.php', |
|
593 | + 'SebastianBergmann\\Diff\\Line' => __DIR__ . '/..' . '/sebastian/diff/src/Line.php', |
|
594 | + 'SebastianBergmann\\Diff\\Parser' => __DIR__ . '/..' . '/sebastian/diff/src/Parser.php', |
|
595 | + 'SebastianBergmann\\Environment\\Console' => __DIR__ . '/..' . '/sebastian/environment/src/Console.php', |
|
596 | + 'SebastianBergmann\\Environment\\Runtime' => __DIR__ . '/..' . '/sebastian/environment/src/Runtime.php', |
|
597 | + 'SebastianBergmann\\Exporter\\Exporter' => __DIR__ . '/..' . '/sebastian/exporter/src/Exporter.php', |
|
598 | + 'SebastianBergmann\\GlobalState\\Blacklist' => __DIR__ . '/..' . '/sebastian/global-state/src/Blacklist.php', |
|
599 | + 'SebastianBergmann\\GlobalState\\CodeExporter' => __DIR__ . '/..' . '/sebastian/global-state/src/CodeExporter.php', |
|
600 | + 'SebastianBergmann\\GlobalState\\Exception' => __DIR__ . '/..' . '/sebastian/global-state/src/Exception.php', |
|
601 | + 'SebastianBergmann\\GlobalState\\Restorer' => __DIR__ . '/..' . '/sebastian/global-state/src/Restorer.php', |
|
602 | + 'SebastianBergmann\\GlobalState\\RuntimeException' => __DIR__ . '/..' . '/sebastian/global-state/src/RuntimeException.php', |
|
603 | + 'SebastianBergmann\\GlobalState\\Snapshot' => __DIR__ . '/..' . '/sebastian/global-state/src/Snapshot.php', |
|
604 | + 'SebastianBergmann\\RecursionContext\\Context' => __DIR__ . '/..' . '/sebastian/recursion-context/src/Context.php', |
|
605 | + 'SebastianBergmann\\RecursionContext\\Exception' => __DIR__ . '/..' . '/sebastian/recursion-context/src/Exception.php', |
|
606 | + 'SebastianBergmann\\RecursionContext\\InvalidArgumentException' => __DIR__ . '/..' . '/sebastian/recursion-context/src/InvalidArgumentException.php', |
|
607 | + 'SebastianBergmann\\Version' => __DIR__ . '/..' . '/sebastian/version/src/Version.php', |
|
608 | + 'Stringable' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/Stringable.php', |
|
609 | + 'Text_Template' => __DIR__ . '/..' . '/phpunit/php-text-template/src/Template.php', |
|
610 | + 'UnhandledMatchError' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php', |
|
611 | + 'ValueError' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/ValueError.php', |
|
612 | + ); |
|
613 | 613 | |
614 | - public static function getInitializer(ClassLoader $loader) |
|
615 | - { |
|
616 | - return \Closure::bind(function () use ($loader) { |
|
617 | - $loader->prefixLengthsPsr4 = ComposerStaticInit4da13270269c89a28e472e1f7324e6d1::$prefixLengthsPsr4; |
|
618 | - $loader->prefixDirsPsr4 = ComposerStaticInit4da13270269c89a28e472e1f7324e6d1::$prefixDirsPsr4; |
|
619 | - $loader->classMap = ComposerStaticInit4da13270269c89a28e472e1f7324e6d1::$classMap; |
|
614 | + public static function getInitializer(ClassLoader $loader) |
|
615 | + { |
|
616 | + return \Closure::bind(function () use ($loader) { |
|
617 | + $loader->prefixLengthsPsr4 = ComposerStaticInit4da13270269c89a28e472e1f7324e6d1::$prefixLengthsPsr4; |
|
618 | + $loader->prefixDirsPsr4 = ComposerStaticInit4da13270269c89a28e472e1f7324e6d1::$prefixDirsPsr4; |
|
619 | + $loader->classMap = ComposerStaticInit4da13270269c89a28e472e1f7324e6d1::$classMap; |
|
620 | 620 | |
621 | - }, null, ClassLoader::class); |
|
622 | - } |
|
621 | + }, null, ClassLoader::class); |
|
622 | + } |
|
623 | 623 | } |
@@ -6,35 +6,35 @@ discard block |
||
6 | 6 | |
7 | 7 | class ComposerStaticInit4da13270269c89a28e472e1f7324e6d1 |
8 | 8 | { |
9 | - public static $files = array ( |
|
10 | - '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php', |
|
11 | - 'a4a119a56e50fbb293281d9a48007e0e' => __DIR__ . '/..' . '/symfony/polyfill-php80/bootstrap.php', |
|
12 | - '60799491728b879e74601d83e38b2cad' => __DIR__ . '/..' . '/illuminate/collections/helpers.php', |
|
13 | - '320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php', |
|
14 | - '72579e7bd17821bb1321b87411366eae' => __DIR__ . '/..' . '/illuminate/support/helpers.php', |
|
15 | - '6e3fae29631ef280660b3cdad06f25a8' => __DIR__ . '/..' . '/symfony/deprecation-contracts/function.php', |
|
9 | + public static $files = array( |
|
10 | + '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__.'/..'.'/symfony/polyfill-mbstring/bootstrap.php', |
|
11 | + 'a4a119a56e50fbb293281d9a48007e0e' => __DIR__.'/..'.'/symfony/polyfill-php80/bootstrap.php', |
|
12 | + '60799491728b879e74601d83e38b2cad' => __DIR__.'/..'.'/illuminate/collections/helpers.php', |
|
13 | + '320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__.'/..'.'/symfony/polyfill-ctype/bootstrap.php', |
|
14 | + '72579e7bd17821bb1321b87411366eae' => __DIR__.'/..'.'/illuminate/support/helpers.php', |
|
15 | + '6e3fae29631ef280660b3cdad06f25a8' => __DIR__.'/..'.'/symfony/deprecation-contracts/function.php', |
|
16 | 16 | ); |
17 | 17 | |
18 | - public static $prefixLengthsPsr4 = array ( |
|
18 | + public static $prefixLengthsPsr4 = array( |
|
19 | 19 | 'v' => |
20 | - array ( |
|
20 | + array( |
|
21 | 21 | 'voku\\' => 5, |
22 | 22 | ), |
23 | 23 | 'p' => |
24 | - array ( |
|
24 | + array( |
|
25 | 25 | 'phpDocumentor\\Reflection\\' => 25, |
26 | 26 | ), |
27 | 27 | 'W' => |
28 | - array ( |
|
28 | + array( |
|
29 | 29 | 'Webmozart\\Assert\\' => 17, |
30 | 30 | 'Webklex\\PHPIMAP\\' => 16, |
31 | 31 | ), |
32 | 32 | 'T' => |
33 | - array ( |
|
33 | + array( |
|
34 | 34 | // 'Tests\\' => 6, |
35 | 35 | ), |
36 | 36 | 'S' => |
37 | - array ( |
|
37 | + array( |
|
38 | 38 | 'Symfony\\Polyfill\\Php80\\' => 23, |
39 | 39 | 'Symfony\\Polyfill\\Mbstring\\' => 26, |
40 | 40 | 'Symfony\\Polyfill\\Ctype\\' => 23, |
@@ -44,576 +44,576 @@ discard block |
||
44 | 44 | 'Symfony\\Component\\HttpFoundation\\' => 33, |
45 | 45 | ), |
46 | 46 | 'P' => |
47 | - array ( |
|
47 | + array( |
|
48 | 48 | 'Psr\\SimpleCache\\' => 16, |
49 | 49 | 'Psr\\Container\\' => 14, |
50 | 50 | 'Prophecy\\' => 9, |
51 | 51 | ), |
52 | 52 | 'I' => |
53 | - array ( |
|
53 | + array( |
|
54 | 54 | 'Illuminate\\Support\\' => 19, |
55 | 55 | 'Illuminate\\Pagination\\' => 22, |
56 | 56 | 'Illuminate\\Contracts\\' => 21, |
57 | 57 | ), |
58 | 58 | 'D' => |
59 | - array ( |
|
59 | + array( |
|
60 | 60 | 'Doctrine\\Instantiator\\' => 22, |
61 | 61 | 'Doctrine\\Inflector\\' => 19, |
62 | 62 | ), |
63 | 63 | 'C' => |
64 | - array ( |
|
64 | + array( |
|
65 | 65 | 'Carbon\\' => 7, |
66 | 66 | ), |
67 | 67 | ); |
68 | 68 | |
69 | - public static $prefixDirsPsr4 = array ( |
|
69 | + public static $prefixDirsPsr4 = array( |
|
70 | 70 | 'voku\\' => |
71 | - array ( |
|
72 | - 0 => __DIR__ . '/..' . '/voku/portable-ascii/src/voku', |
|
71 | + array( |
|
72 | + 0 => __DIR__.'/..'.'/voku/portable-ascii/src/voku', |
|
73 | 73 | ), |
74 | 74 | 'phpDocumentor\\Reflection\\' => |
75 | - array ( |
|
76 | - 0 => __DIR__ . '/..' . '/phpdocumentor/reflection-common/src', |
|
77 | - 1 => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src', |
|
78 | - 2 => __DIR__ . '/..' . '/phpdocumentor/reflection-docblock/src', |
|
75 | + array( |
|
76 | + 0 => __DIR__.'/..'.'/phpdocumentor/reflection-common/src', |
|
77 | + 1 => __DIR__.'/..'.'/phpdocumentor/type-resolver/src', |
|
78 | + 2 => __DIR__.'/..'.'/phpdocumentor/reflection-docblock/src', |
|
79 | 79 | ), |
80 | 80 | 'Webmozart\\Assert\\' => |
81 | - array ( |
|
82 | - 0 => __DIR__ . '/..' . '/webmozart/assert/src', |
|
81 | + array( |
|
82 | + 0 => __DIR__.'/..'.'/webmozart/assert/src', |
|
83 | 83 | ), |
84 | 84 | 'Webklex\\PHPIMAP\\' => |
85 | - array ( |
|
86 | - 0 => __DIR__ . '/../..' . '/src', |
|
85 | + array( |
|
86 | + 0 => __DIR__.'/../..'.'/src', |
|
87 | 87 | ), |
88 | 88 | 'Tests\\' => |
89 | - array ( |
|
90 | - 0 => __DIR__ . '/../..' . '/tests', |
|
89 | + array( |
|
90 | + 0 => __DIR__.'/../..'.'/tests', |
|
91 | 91 | ), |
92 | 92 | 'Symfony\\Polyfill\\Php80\\' => |
93 | - array ( |
|
94 | - 0 => __DIR__ . '/..' . '/symfony/polyfill-php80', |
|
93 | + array( |
|
94 | + 0 => __DIR__.'/..'.'/symfony/polyfill-php80', |
|
95 | 95 | ), |
96 | 96 | 'Symfony\\Polyfill\\Mbstring\\' => |
97 | - array ( |
|
98 | - 0 => __DIR__ . '/..' . '/symfony/polyfill-mbstring', |
|
97 | + array( |
|
98 | + 0 => __DIR__.'/..'.'/symfony/polyfill-mbstring', |
|
99 | 99 | ), |
100 | 100 | 'Symfony\\Polyfill\\Ctype\\' => |
101 | - array ( |
|
102 | - 0 => __DIR__ . '/..' . '/symfony/polyfill-ctype', |
|
101 | + array( |
|
102 | + 0 => __DIR__.'/..'.'/symfony/polyfill-ctype', |
|
103 | 103 | ), |
104 | 104 | 'Symfony\\Contracts\\Translation\\' => |
105 | - array ( |
|
106 | - 0 => __DIR__ . '/..' . '/symfony/translation-contracts', |
|
105 | + array( |
|
106 | + 0 => __DIR__.'/..'.'/symfony/translation-contracts', |
|
107 | 107 | ), |
108 | 108 | 'Symfony\\Component\\Yaml\\' => |
109 | - array ( |
|
110 | - 0 => __DIR__ . '/..' . '/symfony/yaml', |
|
109 | + array( |
|
110 | + 0 => __DIR__.'/..'.'/symfony/yaml', |
|
111 | 111 | ), |
112 | 112 | 'Symfony\\Component\\Translation\\' => |
113 | - array ( |
|
114 | - 0 => __DIR__ . '/..' . '/symfony/translation', |
|
113 | + array( |
|
114 | + 0 => __DIR__.'/..'.'/symfony/translation', |
|
115 | 115 | ), |
116 | 116 | 'Symfony\\Component\\HttpFoundation\\' => |
117 | - array ( |
|
118 | - 0 => __DIR__ . '/..' . '/symfony/http-foundation', |
|
117 | + array( |
|
118 | + 0 => __DIR__.'/..'.'/symfony/http-foundation', |
|
119 | 119 | ), |
120 | 120 | 'Psr\\SimpleCache\\' => |
121 | - array ( |
|
122 | - 0 => __DIR__ . '/..' . '/psr/simple-cache/src', |
|
121 | + array( |
|
122 | + 0 => __DIR__.'/..'.'/psr/simple-cache/src', |
|
123 | 123 | ), |
124 | 124 | 'Psr\\Container\\' => |
125 | - array ( |
|
126 | - 0 => __DIR__ . '/..' . '/psr/container/src', |
|
125 | + array( |
|
126 | + 0 => __DIR__.'/..'.'/psr/container/src', |
|
127 | 127 | ), |
128 | 128 | 'Prophecy\\' => |
129 | - array ( |
|
130 | - 0 => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy', |
|
129 | + array( |
|
130 | + 0 => __DIR__.'/..'.'/phpspec/prophecy/src/Prophecy', |
|
131 | 131 | ), |
132 | 132 | 'Illuminate\\Support\\' => |
133 | - array ( |
|
134 | - 0 => __DIR__ . '/..' . '/illuminate/macroable', |
|
135 | - 1 => __DIR__ . '/..' . '/illuminate/collections', |
|
136 | - 2 => __DIR__ . '/..' . '/illuminate/support', |
|
133 | + array( |
|
134 | + 0 => __DIR__.'/..'.'/illuminate/macroable', |
|
135 | + 1 => __DIR__.'/..'.'/illuminate/collections', |
|
136 | + 2 => __DIR__.'/..'.'/illuminate/support', |
|
137 | 137 | ), |
138 | 138 | 'Illuminate\\Pagination\\' => |
139 | - array ( |
|
140 | - 0 => __DIR__ . '/..' . '/illuminate/pagination', |
|
139 | + array( |
|
140 | + 0 => __DIR__.'/..'.'/illuminate/pagination', |
|
141 | 141 | ), |
142 | 142 | 'Illuminate\\Contracts\\' => |
143 | - array ( |
|
144 | - 0 => __DIR__ . '/..' . '/illuminate/contracts', |
|
143 | + array( |
|
144 | + 0 => __DIR__.'/..'.'/illuminate/contracts', |
|
145 | 145 | ), |
146 | 146 | 'Doctrine\\Instantiator\\' => |
147 | - array ( |
|
148 | - 0 => __DIR__ . '/..' . '/doctrine/instantiator/src/Doctrine/Instantiator', |
|
147 | + array( |
|
148 | + 0 => __DIR__.'/..'.'/doctrine/instantiator/src/Doctrine/Instantiator', |
|
149 | 149 | ), |
150 | 150 | 'Doctrine\\Inflector\\' => |
151 | - array ( |
|
152 | - 0 => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector', |
|
151 | + array( |
|
152 | + 0 => __DIR__.'/..'.'/doctrine/inflector/lib/Doctrine/Inflector', |
|
153 | 153 | ), |
154 | 154 | 'Carbon\\' => |
155 | - array ( |
|
156 | - 0 => __DIR__ . '/..' . '/nesbot/carbon/src/Carbon', |
|
155 | + array( |
|
156 | + 0 => __DIR__.'/..'.'/nesbot/carbon/src/Carbon', |
|
157 | 157 | ), |
158 | 158 | ); |
159 | 159 | |
160 | - public static $classMap = array ( |
|
161 | - 'Attribute' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/Attribute.php', |
|
162 | - 'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php', |
|
163 | - 'File_Iterator' => __DIR__ . '/..' . '/phpunit/php-file-iterator/src/Iterator.php', |
|
164 | - 'File_Iterator_Facade' => __DIR__ . '/..' . '/phpunit/php-file-iterator/src/Facade.php', |
|
165 | - 'File_Iterator_Factory' => __DIR__ . '/..' . '/phpunit/php-file-iterator/src/Factory.php', |
|
166 | - 'PHPUnit\\Framework\\Assert' => __DIR__ . '/..' . '/phpunit/phpunit/src/ForwardCompatibility/Assert.php', |
|
167 | - 'PHPUnit\\Framework\\AssertionFailedError' => __DIR__ . '/..' . '/phpunit/phpunit/src/ForwardCompatibility/AssertionFailedError.php', |
|
168 | - 'PHPUnit\\Framework\\BaseTestListener' => __DIR__ . '/..' . '/phpunit/phpunit/src/ForwardCompatibility/BaseTestListener.php', |
|
169 | - 'PHPUnit\\Framework\\Test' => __DIR__ . '/..' . '/phpunit/phpunit/src/ForwardCompatibility/Test.php', |
|
170 | - 'PHPUnit\\Framework\\TestCase' => __DIR__ . '/..' . '/phpunit/phpunit/src/ForwardCompatibility/TestCase.php', |
|
171 | - 'PHPUnit\\Framework\\TestListener' => __DIR__ . '/..' . '/phpunit/phpunit/src/ForwardCompatibility/TestListener.php', |
|
172 | - 'PHPUnit\\Framework\\TestSuite' => __DIR__ . '/..' . '/phpunit/phpunit/src/ForwardCompatibility/TestSuite.php', |
|
173 | - 'PHPUnit_Exception' => __DIR__ . '/..' . '/phpunit/phpunit/src/Exception.php', |
|
174 | - 'PHPUnit_Extensions_GroupTestSuite' => __DIR__ . '/..' . '/phpunit/phpunit/src/Extensions/GroupTestSuite.php', |
|
175 | - 'PHPUnit_Extensions_PhptTestCase' => __DIR__ . '/..' . '/phpunit/phpunit/src/Extensions/PhptTestCase.php', |
|
176 | - 'PHPUnit_Extensions_PhptTestSuite' => __DIR__ . '/..' . '/phpunit/phpunit/src/Extensions/PhptTestSuite.php', |
|
177 | - 'PHPUnit_Extensions_RepeatedTest' => __DIR__ . '/..' . '/phpunit/phpunit/src/Extensions/RepeatedTest.php', |
|
178 | - 'PHPUnit_Extensions_TestDecorator' => __DIR__ . '/..' . '/phpunit/phpunit/src/Extensions/TestDecorator.php', |
|
179 | - 'PHPUnit_Extensions_TicketListener' => __DIR__ . '/..' . '/phpunit/phpunit/src/Extensions/TicketListener.php', |
|
180 | - 'PHPUnit_Framework_Assert' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Assert.php', |
|
181 | - 'PHPUnit_Framework_AssertionFailedError' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/AssertionFailedError.php', |
|
182 | - 'PHPUnit_Framework_BaseTestListener' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/BaseTestListener.php', |
|
183 | - 'PHPUnit_Framework_CodeCoverageException' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/CodeCoverageException.php', |
|
184 | - 'PHPUnit_Framework_Constraint' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint.php', |
|
185 | - 'PHPUnit_Framework_Constraint_And' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/And.php', |
|
186 | - 'PHPUnit_Framework_Constraint_ArrayHasKey' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/ArrayHasKey.php', |
|
187 | - 'PHPUnit_Framework_Constraint_ArraySubset' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/ArraySubset.php', |
|
188 | - 'PHPUnit_Framework_Constraint_Attribute' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/Attribute.php', |
|
189 | - 'PHPUnit_Framework_Constraint_Callback' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/Callback.php', |
|
190 | - 'PHPUnit_Framework_Constraint_ClassHasAttribute' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/ClassHasAttribute.php', |
|
191 | - 'PHPUnit_Framework_Constraint_ClassHasStaticAttribute' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/ClassHasStaticAttribute.php', |
|
192 | - 'PHPUnit_Framework_Constraint_Composite' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/Composite.php', |
|
193 | - 'PHPUnit_Framework_Constraint_Count' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/Count.php', |
|
194 | - 'PHPUnit_Framework_Constraint_Exception' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/Exception.php', |
|
195 | - 'PHPUnit_Framework_Constraint_ExceptionCode' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/ExceptionCode.php', |
|
196 | - 'PHPUnit_Framework_Constraint_ExceptionMessage' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/ExceptionMessage.php', |
|
197 | - 'PHPUnit_Framework_Constraint_ExceptionMessageRegExp' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/ExceptionMessageRegExp.php', |
|
198 | - 'PHPUnit_Framework_Constraint_FileExists' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/FileExists.php', |
|
199 | - 'PHPUnit_Framework_Constraint_GreaterThan' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/GreaterThan.php', |
|
200 | - 'PHPUnit_Framework_Constraint_IsAnything' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/IsAnything.php', |
|
201 | - 'PHPUnit_Framework_Constraint_IsEmpty' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/IsEmpty.php', |
|
202 | - 'PHPUnit_Framework_Constraint_IsEqual' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/IsEqual.php', |
|
203 | - 'PHPUnit_Framework_Constraint_IsFalse' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/IsFalse.php', |
|
204 | - 'PHPUnit_Framework_Constraint_IsIdentical' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/IsIdentical.php', |
|
205 | - 'PHPUnit_Framework_Constraint_IsInstanceOf' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/IsInstanceOf.php', |
|
206 | - 'PHPUnit_Framework_Constraint_IsJson' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/IsJson.php', |
|
207 | - 'PHPUnit_Framework_Constraint_IsNull' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/IsNull.php', |
|
208 | - 'PHPUnit_Framework_Constraint_IsTrue' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/IsTrue.php', |
|
209 | - 'PHPUnit_Framework_Constraint_IsType' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/IsType.php', |
|
210 | - 'PHPUnit_Framework_Constraint_JsonMatches' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/JsonMatches.php', |
|
211 | - 'PHPUnit_Framework_Constraint_JsonMatches_ErrorMessageProvider' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/JsonMatches/ErrorMessageProvider.php', |
|
212 | - 'PHPUnit_Framework_Constraint_LessThan' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/LessThan.php', |
|
213 | - 'PHPUnit_Framework_Constraint_Not' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/Not.php', |
|
214 | - 'PHPUnit_Framework_Constraint_ObjectHasAttribute' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/ObjectHasAttribute.php', |
|
215 | - 'PHPUnit_Framework_Constraint_Or' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/Or.php', |
|
216 | - 'PHPUnit_Framework_Constraint_PCREMatch' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/PCREMatch.php', |
|
217 | - 'PHPUnit_Framework_Constraint_SameSize' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/SameSize.php', |
|
218 | - 'PHPUnit_Framework_Constraint_StringContains' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/StringContains.php', |
|
219 | - 'PHPUnit_Framework_Constraint_StringEndsWith' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/StringEndsWith.php', |
|
220 | - 'PHPUnit_Framework_Constraint_StringMatches' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/StringMatches.php', |
|
221 | - 'PHPUnit_Framework_Constraint_StringStartsWith' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/StringStartsWith.php', |
|
222 | - 'PHPUnit_Framework_Constraint_TraversableContains' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/TraversableContains.php', |
|
223 | - 'PHPUnit_Framework_Constraint_TraversableContainsOnly' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/TraversableContainsOnly.php', |
|
224 | - 'PHPUnit_Framework_Constraint_Xor' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/Xor.php', |
|
225 | - 'PHPUnit_Framework_Error' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Error.php', |
|
226 | - 'PHPUnit_Framework_Error_Deprecated' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Error/Deprecated.php', |
|
227 | - 'PHPUnit_Framework_Error_Notice' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Error/Notice.php', |
|
228 | - 'PHPUnit_Framework_Error_Warning' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Error/Warning.php', |
|
229 | - 'PHPUnit_Framework_Exception' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Exception.php', |
|
230 | - 'PHPUnit_Framework_ExceptionWrapper' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/ExceptionWrapper.php', |
|
231 | - 'PHPUnit_Framework_ExpectationFailedException' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/ExpectationFailedException.php', |
|
232 | - 'PHPUnit_Framework_IncompleteTest' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/IncompleteTest.php', |
|
233 | - 'PHPUnit_Framework_IncompleteTestCase' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/IncompleteTestCase.php', |
|
234 | - 'PHPUnit_Framework_IncompleteTestError' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/IncompleteTestError.php', |
|
235 | - 'PHPUnit_Framework_InvalidCoversTargetError' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/InvalidCoversTargetError.php', |
|
236 | - 'PHPUnit_Framework_InvalidCoversTargetException' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/InvalidCoversTargetException.php', |
|
237 | - 'PHPUnit_Framework_MockObject_BadMethodCallException' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Exception/BadMethodCallException.php', |
|
238 | - 'PHPUnit_Framework_MockObject_Builder_Identity' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Builder/Identity.php', |
|
239 | - 'PHPUnit_Framework_MockObject_Builder_InvocationMocker' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Builder/InvocationMocker.php', |
|
240 | - 'PHPUnit_Framework_MockObject_Builder_Match' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Builder/Match.php', |
|
241 | - 'PHPUnit_Framework_MockObject_Builder_MethodNameMatch' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Builder/MethodNameMatch.php', |
|
242 | - 'PHPUnit_Framework_MockObject_Builder_Namespace' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Builder/Namespace.php', |
|
243 | - 'PHPUnit_Framework_MockObject_Builder_ParametersMatch' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Builder/ParametersMatch.php', |
|
244 | - 'PHPUnit_Framework_MockObject_Builder_Stub' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Builder/Stub.php', |
|
245 | - 'PHPUnit_Framework_MockObject_Exception' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Exception/Exception.php', |
|
246 | - 'PHPUnit_Framework_MockObject_Generator' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Generator.php', |
|
247 | - 'PHPUnit_Framework_MockObject_Invocation' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Invocation.php', |
|
248 | - 'PHPUnit_Framework_MockObject_InvocationMocker' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/InvocationMocker.php', |
|
249 | - 'PHPUnit_Framework_MockObject_Invocation_Object' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Invocation/Object.php', |
|
250 | - 'PHPUnit_Framework_MockObject_Invocation_Static' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Invocation/Static.php', |
|
251 | - 'PHPUnit_Framework_MockObject_Invokable' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Invokable.php', |
|
252 | - 'PHPUnit_Framework_MockObject_Matcher' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher.php', |
|
253 | - 'PHPUnit_Framework_MockObject_Matcher_AnyInvokedCount' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/AnyInvokedCount.php', |
|
254 | - 'PHPUnit_Framework_MockObject_Matcher_AnyParameters' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/AnyParameters.php', |
|
255 | - 'PHPUnit_Framework_MockObject_Matcher_ConsecutiveParameters' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/ConsecutiveParameters.php', |
|
256 | - 'PHPUnit_Framework_MockObject_Matcher_Invocation' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/Invocation.php', |
|
257 | - 'PHPUnit_Framework_MockObject_Matcher_InvokedAtIndex' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/InvokedAtIndex.php', |
|
258 | - 'PHPUnit_Framework_MockObject_Matcher_InvokedAtLeastCount' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/InvokedAtLeastCount.php', |
|
259 | - 'PHPUnit_Framework_MockObject_Matcher_InvokedAtLeastOnce' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/InvokedAtLeastOnce.php', |
|
260 | - 'PHPUnit_Framework_MockObject_Matcher_InvokedAtMostCount' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/InvokedAtMostCount.php', |
|
261 | - 'PHPUnit_Framework_MockObject_Matcher_InvokedCount' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/InvokedCount.php', |
|
262 | - 'PHPUnit_Framework_MockObject_Matcher_InvokedRecorder' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/InvokedRecorder.php', |
|
263 | - 'PHPUnit_Framework_MockObject_Matcher_MethodName' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/MethodName.php', |
|
264 | - 'PHPUnit_Framework_MockObject_Matcher_Parameters' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/Parameters.php', |
|
265 | - 'PHPUnit_Framework_MockObject_Matcher_StatelessInvocation' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/StatelessInvocation.php', |
|
266 | - 'PHPUnit_Framework_MockObject_MockBuilder' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/MockBuilder.php', |
|
267 | - 'PHPUnit_Framework_MockObject_MockObject' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/MockObject.php', |
|
268 | - 'PHPUnit_Framework_MockObject_RuntimeException' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Exception/RuntimeException.php', |
|
269 | - 'PHPUnit_Framework_MockObject_Stub' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Stub.php', |
|
270 | - 'PHPUnit_Framework_MockObject_Stub_ConsecutiveCalls' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Stub/ConsecutiveCalls.php', |
|
271 | - 'PHPUnit_Framework_MockObject_Stub_Exception' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Stub/Exception.php', |
|
272 | - 'PHPUnit_Framework_MockObject_Stub_MatcherCollection' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Stub/MatcherCollection.php', |
|
273 | - 'PHPUnit_Framework_MockObject_Stub_Return' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Stub/Return.php', |
|
274 | - 'PHPUnit_Framework_MockObject_Stub_ReturnArgument' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Stub/ReturnArgument.php', |
|
275 | - 'PHPUnit_Framework_MockObject_Stub_ReturnCallback' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Stub/ReturnCallback.php', |
|
276 | - 'PHPUnit_Framework_MockObject_Stub_ReturnSelf' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Stub/ReturnSelf.php', |
|
277 | - 'PHPUnit_Framework_MockObject_Stub_ReturnValueMap' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Stub/ReturnValueMap.php', |
|
278 | - 'PHPUnit_Framework_MockObject_Verifiable' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Framework/MockObject/Verifiable.php', |
|
279 | - 'PHPUnit_Framework_OutputError' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/OutputError.php', |
|
280 | - 'PHPUnit_Framework_RiskyTest' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/RiskyTest.php', |
|
281 | - 'PHPUnit_Framework_RiskyTestError' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/RiskyTestError.php', |
|
282 | - 'PHPUnit_Framework_SelfDescribing' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/SelfDescribing.php', |
|
283 | - 'PHPUnit_Framework_SkippedTest' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/SkippedTest.php', |
|
284 | - 'PHPUnit_Framework_SkippedTestCase' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/SkippedTestCase.php', |
|
285 | - 'PHPUnit_Framework_SkippedTestError' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/SkippedTestError.php', |
|
286 | - 'PHPUnit_Framework_SkippedTestSuiteError' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/SkippedTestSuiteError.php', |
|
287 | - 'PHPUnit_Framework_SyntheticError' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/SyntheticError.php', |
|
288 | - 'PHPUnit_Framework_Test' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Test.php', |
|
289 | - 'PHPUnit_Framework_TestCase' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/TestCase.php', |
|
290 | - 'PHPUnit_Framework_TestFailure' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/TestFailure.php', |
|
291 | - 'PHPUnit_Framework_TestListener' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/TestListener.php', |
|
292 | - 'PHPUnit_Framework_TestResult' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/TestResult.php', |
|
293 | - 'PHPUnit_Framework_TestSuite' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/TestSuite.php', |
|
294 | - 'PHPUnit_Framework_TestSuite_DataProvider' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/TestSuite/DataProvider.php', |
|
295 | - 'PHPUnit_Framework_UnintentionallyCoveredCodeError' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/UnintentionallyCoveredCodeError.php', |
|
296 | - 'PHPUnit_Framework_Warning' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Warning.php', |
|
297 | - 'PHPUnit_Runner_BaseTestRunner' => __DIR__ . '/..' . '/phpunit/phpunit/src/Runner/BaseTestRunner.php', |
|
298 | - 'PHPUnit_Runner_Exception' => __DIR__ . '/..' . '/phpunit/phpunit/src/Runner/Exception.php', |
|
299 | - 'PHPUnit_Runner_Filter_Factory' => __DIR__ . '/..' . '/phpunit/phpunit/src/Runner/Filter/Factory.php', |
|
300 | - 'PHPUnit_Runner_Filter_GroupFilterIterator' => __DIR__ . '/..' . '/phpunit/phpunit/src/Runner/Filter/Group.php', |
|
301 | - 'PHPUnit_Runner_Filter_Group_Exclude' => __DIR__ . '/..' . '/phpunit/phpunit/src/Runner/Filter/Group/Exclude.php', |
|
302 | - 'PHPUnit_Runner_Filter_Group_Include' => __DIR__ . '/..' . '/phpunit/phpunit/src/Runner/Filter/Group/Include.php', |
|
303 | - 'PHPUnit_Runner_Filter_Test' => __DIR__ . '/..' . '/phpunit/phpunit/src/Runner/Filter/Test.php', |
|
304 | - 'PHPUnit_Runner_StandardTestSuiteLoader' => __DIR__ . '/..' . '/phpunit/phpunit/src/Runner/StandardTestSuiteLoader.php', |
|
305 | - 'PHPUnit_Runner_TestSuiteLoader' => __DIR__ . '/..' . '/phpunit/phpunit/src/Runner/TestSuiteLoader.php', |
|
306 | - 'PHPUnit_Runner_Version' => __DIR__ . '/..' . '/phpunit/phpunit/src/Runner/Version.php', |
|
307 | - 'PHPUnit_TextUI_Command' => __DIR__ . '/..' . '/phpunit/phpunit/src/TextUI/Command.php', |
|
308 | - 'PHPUnit_TextUI_ResultPrinter' => __DIR__ . '/..' . '/phpunit/phpunit/src/TextUI/ResultPrinter.php', |
|
309 | - 'PHPUnit_TextUI_TestRunner' => __DIR__ . '/..' . '/phpunit/phpunit/src/TextUI/TestRunner.php', |
|
310 | - 'PHPUnit_Util_Blacklist' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Blacklist.php', |
|
311 | - 'PHPUnit_Util_Configuration' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Configuration.php', |
|
312 | - 'PHPUnit_Util_ErrorHandler' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/ErrorHandler.php', |
|
313 | - 'PHPUnit_Util_Fileloader' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Fileloader.php', |
|
314 | - 'PHPUnit_Util_Filesystem' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Filesystem.php', |
|
315 | - 'PHPUnit_Util_Filter' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Filter.php', |
|
316 | - 'PHPUnit_Util_Getopt' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Getopt.php', |
|
317 | - 'PHPUnit_Util_GlobalState' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/GlobalState.php', |
|
318 | - 'PHPUnit_Util_InvalidArgumentHelper' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/InvalidArgumentHelper.php', |
|
319 | - 'PHPUnit_Util_Log_JSON' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Log/JSON.php', |
|
320 | - 'PHPUnit_Util_Log_JUnit' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Log/JUnit.php', |
|
321 | - 'PHPUnit_Util_Log_TAP' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Log/TAP.php', |
|
322 | - 'PHPUnit_Util_PHP' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/PHP.php', |
|
323 | - 'PHPUnit_Util_PHP_Default' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/PHP/Default.php', |
|
324 | - 'PHPUnit_Util_PHP_Windows' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/PHP/Windows.php', |
|
325 | - 'PHPUnit_Util_Printer' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Printer.php', |
|
326 | - 'PHPUnit_Util_Regex' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Regex.php', |
|
327 | - 'PHPUnit_Util_String' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/String.php', |
|
328 | - 'PHPUnit_Util_Test' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Test.php', |
|
329 | - 'PHPUnit_Util_TestDox_NamePrettifier' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/TestDox/NamePrettifier.php', |
|
330 | - 'PHPUnit_Util_TestDox_ResultPrinter' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/TestDox/ResultPrinter.php', |
|
331 | - 'PHPUnit_Util_TestDox_ResultPrinter_HTML' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/TestDox/ResultPrinter/HTML.php', |
|
332 | - 'PHPUnit_Util_TestDox_ResultPrinter_Text' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/TestDox/ResultPrinter/Text.php', |
|
333 | - 'PHPUnit_Util_TestSuiteIterator' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/TestSuiteIterator.php', |
|
334 | - 'PHPUnit_Util_Type' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Type.php', |
|
335 | - 'PHPUnit_Util_XML' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/XML.php', |
|
336 | - 'PHP_CodeCoverage' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage.php', |
|
337 | - 'PHP_CodeCoverage_Driver' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Driver.php', |
|
338 | - 'PHP_CodeCoverage_Driver_HHVM' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Driver/HHVM.php', |
|
339 | - 'PHP_CodeCoverage_Driver_PHPDBG' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Driver/PHPDBG.php', |
|
340 | - 'PHP_CodeCoverage_Driver_Xdebug' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Driver/Xdebug.php', |
|
341 | - 'PHP_CodeCoverage_Exception' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Exception.php', |
|
342 | - 'PHP_CodeCoverage_Exception_UnintentionallyCoveredCode' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Exception/UnintentionallyCoveredCode.php', |
|
343 | - 'PHP_CodeCoverage_Filter' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Filter.php', |
|
344 | - 'PHP_CodeCoverage_Report_Clover' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/Clover.php', |
|
345 | - 'PHP_CodeCoverage_Report_Crap4j' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/Crap4j.php', |
|
346 | - 'PHP_CodeCoverage_Report_Factory' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/Factory.php', |
|
347 | - 'PHP_CodeCoverage_Report_HTML' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/HTML.php', |
|
348 | - 'PHP_CodeCoverage_Report_HTML_Renderer' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/HTML/Renderer.php', |
|
349 | - 'PHP_CodeCoverage_Report_HTML_Renderer_Dashboard' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/HTML/Renderer/Dashboard.php', |
|
350 | - 'PHP_CodeCoverage_Report_HTML_Renderer_Directory' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/HTML/Renderer/Directory.php', |
|
351 | - 'PHP_CodeCoverage_Report_HTML_Renderer_File' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/HTML/Renderer/File.php', |
|
352 | - 'PHP_CodeCoverage_Report_Node' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/Node.php', |
|
353 | - 'PHP_CodeCoverage_Report_Node_Directory' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/Node/Directory.php', |
|
354 | - 'PHP_CodeCoverage_Report_Node_File' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/Node/File.php', |
|
355 | - 'PHP_CodeCoverage_Report_Node_Iterator' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/Node/Iterator.php', |
|
356 | - 'PHP_CodeCoverage_Report_PHP' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/PHP.php', |
|
357 | - 'PHP_CodeCoverage_Report_Text' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/Text.php', |
|
358 | - 'PHP_CodeCoverage_Report_XML' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/XML.php', |
|
359 | - 'PHP_CodeCoverage_Report_XML_Directory' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/XML/Directory.php', |
|
360 | - 'PHP_CodeCoverage_Report_XML_File' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/XML/File.php', |
|
361 | - 'PHP_CodeCoverage_Report_XML_File_Coverage' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/XML/File/Coverage.php', |
|
362 | - 'PHP_CodeCoverage_Report_XML_File_Method' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/XML/File/Method.php', |
|
363 | - 'PHP_CodeCoverage_Report_XML_File_Report' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/XML/File/Report.php', |
|
364 | - 'PHP_CodeCoverage_Report_XML_File_Unit' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/XML/File/Unit.php', |
|
365 | - 'PHP_CodeCoverage_Report_XML_Node' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/XML/Node.php', |
|
366 | - 'PHP_CodeCoverage_Report_XML_Project' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/XML/Project.php', |
|
367 | - 'PHP_CodeCoverage_Report_XML_Tests' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/XML/Tests.php', |
|
368 | - 'PHP_CodeCoverage_Report_XML_Totals' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Report/XML/Totals.php', |
|
369 | - 'PHP_CodeCoverage_Util' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Util.php', |
|
370 | - 'PHP_CodeCoverage_Util_InvalidArgumentHelper' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage/Util/InvalidArgumentHelper.php', |
|
371 | - 'PHP_Timer' => __DIR__ . '/..' . '/phpunit/php-timer/src/Timer.php', |
|
372 | - 'PHP_Token' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
373 | - 'PHP_TokenWithScope' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
374 | - 'PHP_TokenWithScopeAndVisibility' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
375 | - 'PHP_Token_ABSTRACT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
376 | - 'PHP_Token_AMPERSAND' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
377 | - 'PHP_Token_AND_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
378 | - 'PHP_Token_ARRAY' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
379 | - 'PHP_Token_ARRAY_CAST' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
380 | - 'PHP_Token_AS' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
381 | - 'PHP_Token_ASYNC' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
382 | - 'PHP_Token_AT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
383 | - 'PHP_Token_AWAIT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
384 | - 'PHP_Token_BACKTICK' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
385 | - 'PHP_Token_BAD_CHARACTER' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
386 | - 'PHP_Token_BOOLEAN_AND' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
387 | - 'PHP_Token_BOOLEAN_OR' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
388 | - 'PHP_Token_BOOL_CAST' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
389 | - 'PHP_Token_BREAK' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
390 | - 'PHP_Token_CALLABLE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
391 | - 'PHP_Token_CARET' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
392 | - 'PHP_Token_CASE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
393 | - 'PHP_Token_CATCH' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
394 | - 'PHP_Token_CHARACTER' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
395 | - 'PHP_Token_CLASS' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
396 | - 'PHP_Token_CLASS_C' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
397 | - 'PHP_Token_CLASS_NAME_CONSTANT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
398 | - 'PHP_Token_CLONE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
399 | - 'PHP_Token_CLOSE_BRACKET' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
400 | - 'PHP_Token_CLOSE_CURLY' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
401 | - 'PHP_Token_CLOSE_SQUARE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
402 | - 'PHP_Token_CLOSE_TAG' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
403 | - 'PHP_Token_COALESCE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
404 | - 'PHP_Token_COLON' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
405 | - 'PHP_Token_COMMA' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
406 | - 'PHP_Token_COMMENT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
407 | - 'PHP_Token_COMPILER_HALT_OFFSET' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
408 | - 'PHP_Token_CONCAT_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
409 | - 'PHP_Token_CONST' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
410 | - 'PHP_Token_CONSTANT_ENCAPSED_STRING' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
411 | - 'PHP_Token_CONTINUE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
412 | - 'PHP_Token_CURLY_OPEN' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
413 | - 'PHP_Token_DEC' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
414 | - 'PHP_Token_DECLARE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
415 | - 'PHP_Token_DEFAULT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
416 | - 'PHP_Token_DIR' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
417 | - 'PHP_Token_DIV' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
418 | - 'PHP_Token_DIV_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
419 | - 'PHP_Token_DNUMBER' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
420 | - 'PHP_Token_DO' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
421 | - 'PHP_Token_DOC_COMMENT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
422 | - 'PHP_Token_DOLLAR' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
423 | - 'PHP_Token_DOLLAR_OPEN_CURLY_BRACES' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
424 | - 'PHP_Token_DOT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
425 | - 'PHP_Token_DOUBLE_ARROW' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
426 | - 'PHP_Token_DOUBLE_CAST' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
427 | - 'PHP_Token_DOUBLE_COLON' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
428 | - 'PHP_Token_DOUBLE_QUOTES' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
429 | - 'PHP_Token_ECHO' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
430 | - 'PHP_Token_ELLIPSIS' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
431 | - 'PHP_Token_ELSE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
432 | - 'PHP_Token_ELSEIF' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
433 | - 'PHP_Token_EMPTY' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
434 | - 'PHP_Token_ENCAPSED_AND_WHITESPACE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
435 | - 'PHP_Token_ENDDECLARE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
436 | - 'PHP_Token_ENDFOR' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
437 | - 'PHP_Token_ENDFOREACH' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
438 | - 'PHP_Token_ENDIF' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
439 | - 'PHP_Token_ENDSWITCH' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
440 | - 'PHP_Token_ENDWHILE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
441 | - 'PHP_Token_END_HEREDOC' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
442 | - 'PHP_Token_ENUM' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
443 | - 'PHP_Token_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
444 | - 'PHP_Token_EQUALS' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
445 | - 'PHP_Token_EVAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
446 | - 'PHP_Token_EXCLAMATION_MARK' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
447 | - 'PHP_Token_EXIT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
448 | - 'PHP_Token_EXTENDS' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
449 | - 'PHP_Token_FILE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
450 | - 'PHP_Token_FINAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
451 | - 'PHP_Token_FINALLY' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
452 | - 'PHP_Token_FOR' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
453 | - 'PHP_Token_FOREACH' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
454 | - 'PHP_Token_FUNCTION' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
455 | - 'PHP_Token_FUNC_C' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
456 | - 'PHP_Token_GLOBAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
457 | - 'PHP_Token_GOTO' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
458 | - 'PHP_Token_GT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
459 | - 'PHP_Token_HALT_COMPILER' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
460 | - 'PHP_Token_IF' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
461 | - 'PHP_Token_IMPLEMENTS' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
462 | - 'PHP_Token_IN' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
463 | - 'PHP_Token_INC' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
464 | - 'PHP_Token_INCLUDE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
465 | - 'PHP_Token_INCLUDE_ONCE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
466 | - 'PHP_Token_INLINE_HTML' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
467 | - 'PHP_Token_INSTANCEOF' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
468 | - 'PHP_Token_INSTEADOF' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
469 | - 'PHP_Token_INTERFACE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
470 | - 'PHP_Token_INT_CAST' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
471 | - 'PHP_Token_ISSET' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
472 | - 'PHP_Token_IS_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
473 | - 'PHP_Token_IS_GREATER_OR_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
474 | - 'PHP_Token_IS_IDENTICAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
475 | - 'PHP_Token_IS_NOT_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
476 | - 'PHP_Token_IS_NOT_IDENTICAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
477 | - 'PHP_Token_IS_SMALLER_OR_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
478 | - 'PHP_Token_Includes' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
479 | - 'PHP_Token_JOIN' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
480 | - 'PHP_Token_LAMBDA_ARROW' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
481 | - 'PHP_Token_LAMBDA_CP' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
482 | - 'PHP_Token_LAMBDA_OP' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
483 | - 'PHP_Token_LINE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
484 | - 'PHP_Token_LIST' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
485 | - 'PHP_Token_LNUMBER' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
486 | - 'PHP_Token_LOGICAL_AND' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
487 | - 'PHP_Token_LOGICAL_OR' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
488 | - 'PHP_Token_LOGICAL_XOR' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
489 | - 'PHP_Token_LT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
490 | - 'PHP_Token_METHOD_C' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
491 | - 'PHP_Token_MINUS' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
492 | - 'PHP_Token_MINUS_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
493 | - 'PHP_Token_MOD_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
494 | - 'PHP_Token_MULT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
495 | - 'PHP_Token_MUL_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
496 | - 'PHP_Token_NAMESPACE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
497 | - 'PHP_Token_NEW' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
498 | - 'PHP_Token_NS_C' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
499 | - 'PHP_Token_NS_SEPARATOR' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
500 | - 'PHP_Token_NULLSAFE_OBJECT_OPERATOR' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
501 | - 'PHP_Token_NUM_STRING' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
502 | - 'PHP_Token_OBJECT_CAST' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
503 | - 'PHP_Token_OBJECT_OPERATOR' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
504 | - 'PHP_Token_ONUMBER' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
505 | - 'PHP_Token_OPEN_BRACKET' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
506 | - 'PHP_Token_OPEN_CURLY' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
507 | - 'PHP_Token_OPEN_SQUARE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
508 | - 'PHP_Token_OPEN_TAG' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
509 | - 'PHP_Token_OPEN_TAG_WITH_ECHO' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
510 | - 'PHP_Token_OR_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
511 | - 'PHP_Token_PAAMAYIM_NEKUDOTAYIM' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
512 | - 'PHP_Token_PERCENT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
513 | - 'PHP_Token_PIPE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
514 | - 'PHP_Token_PLUS' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
515 | - 'PHP_Token_PLUS_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
516 | - 'PHP_Token_POW' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
517 | - 'PHP_Token_POW_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
518 | - 'PHP_Token_PRINT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
519 | - 'PHP_Token_PRIVATE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
520 | - 'PHP_Token_PROTECTED' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
521 | - 'PHP_Token_PUBLIC' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
522 | - 'PHP_Token_QUESTION_MARK' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
523 | - 'PHP_Token_REQUIRE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
524 | - 'PHP_Token_REQUIRE_ONCE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
525 | - 'PHP_Token_RETURN' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
526 | - 'PHP_Token_SEMICOLON' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
527 | - 'PHP_Token_SHAPE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
528 | - 'PHP_Token_SL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
529 | - 'PHP_Token_SL_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
530 | - 'PHP_Token_SPACESHIP' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
531 | - 'PHP_Token_SR' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
532 | - 'PHP_Token_SR_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
533 | - 'PHP_Token_START_HEREDOC' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
534 | - 'PHP_Token_STATIC' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
535 | - 'PHP_Token_STRING' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
536 | - 'PHP_Token_STRING_CAST' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
537 | - 'PHP_Token_STRING_VARNAME' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
538 | - 'PHP_Token_SUPER' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
539 | - 'PHP_Token_SWITCH' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
540 | - 'PHP_Token_Stream' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token/Stream.php', |
|
541 | - 'PHP_Token_Stream_CachingFactory' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token/Stream/CachingFactory.php', |
|
542 | - 'PHP_Token_THROW' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
543 | - 'PHP_Token_TILDE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
544 | - 'PHP_Token_TRAIT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
545 | - 'PHP_Token_TRAIT_C' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
546 | - 'PHP_Token_TRY' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
547 | - 'PHP_Token_TYPE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
548 | - 'PHP_Token_TYPELIST_GT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
549 | - 'PHP_Token_TYPELIST_LT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
550 | - 'PHP_Token_UNSET' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
551 | - 'PHP_Token_UNSET_CAST' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
552 | - 'PHP_Token_USE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
553 | - 'PHP_Token_USE_FUNCTION' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
554 | - 'PHP_Token_VAR' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
555 | - 'PHP_Token_VARIABLE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
556 | - 'PHP_Token_WHERE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
557 | - 'PHP_Token_WHILE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
558 | - 'PHP_Token_WHITESPACE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
559 | - 'PHP_Token_XHP_ATTRIBUTE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
560 | - 'PHP_Token_XHP_CATEGORY' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
561 | - 'PHP_Token_XHP_CATEGORY_LABEL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
562 | - 'PHP_Token_XHP_CHILDREN' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
563 | - 'PHP_Token_XHP_LABEL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
564 | - 'PHP_Token_XHP_REQUIRED' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
565 | - 'PHP_Token_XHP_TAG_GT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
566 | - 'PHP_Token_XHP_TAG_LT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
567 | - 'PHP_Token_XHP_TEXT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
568 | - 'PHP_Token_XOR_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
569 | - 'PHP_Token_YIELD' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
570 | - 'PHP_Token_YIELD_FROM' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', |
|
571 | - 'PhpToken' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/PhpToken.php', |
|
572 | - 'SebastianBergmann\\Comparator\\ArrayComparator' => __DIR__ . '/..' . '/sebastian/comparator/src/ArrayComparator.php', |
|
573 | - 'SebastianBergmann\\Comparator\\Comparator' => __DIR__ . '/..' . '/sebastian/comparator/src/Comparator.php', |
|
574 | - 'SebastianBergmann\\Comparator\\ComparisonFailure' => __DIR__ . '/..' . '/sebastian/comparator/src/ComparisonFailure.php', |
|
575 | - 'SebastianBergmann\\Comparator\\DOMNodeComparator' => __DIR__ . '/..' . '/sebastian/comparator/src/DOMNodeComparator.php', |
|
576 | - 'SebastianBergmann\\Comparator\\DateTimeComparator' => __DIR__ . '/..' . '/sebastian/comparator/src/DateTimeComparator.php', |
|
577 | - 'SebastianBergmann\\Comparator\\DoubleComparator' => __DIR__ . '/..' . '/sebastian/comparator/src/DoubleComparator.php', |
|
578 | - 'SebastianBergmann\\Comparator\\ExceptionComparator' => __DIR__ . '/..' . '/sebastian/comparator/src/ExceptionComparator.php', |
|
579 | - 'SebastianBergmann\\Comparator\\Factory' => __DIR__ . '/..' . '/sebastian/comparator/src/Factory.php', |
|
580 | - 'SebastianBergmann\\Comparator\\MockObjectComparator' => __DIR__ . '/..' . '/sebastian/comparator/src/MockObjectComparator.php', |
|
581 | - 'SebastianBergmann\\Comparator\\NumericComparator' => __DIR__ . '/..' . '/sebastian/comparator/src/NumericComparator.php', |
|
582 | - 'SebastianBergmann\\Comparator\\ObjectComparator' => __DIR__ . '/..' . '/sebastian/comparator/src/ObjectComparator.php', |
|
583 | - 'SebastianBergmann\\Comparator\\ResourceComparator' => __DIR__ . '/..' . '/sebastian/comparator/src/ResourceComparator.php', |
|
584 | - 'SebastianBergmann\\Comparator\\ScalarComparator' => __DIR__ . '/..' . '/sebastian/comparator/src/ScalarComparator.php', |
|
585 | - 'SebastianBergmann\\Comparator\\SplObjectStorageComparator' => __DIR__ . '/..' . '/sebastian/comparator/src/SplObjectStorageComparator.php', |
|
586 | - 'SebastianBergmann\\Comparator\\TypeComparator' => __DIR__ . '/..' . '/sebastian/comparator/src/TypeComparator.php', |
|
587 | - 'SebastianBergmann\\Diff\\Chunk' => __DIR__ . '/..' . '/sebastian/diff/src/Chunk.php', |
|
588 | - 'SebastianBergmann\\Diff\\Diff' => __DIR__ . '/..' . '/sebastian/diff/src/Diff.php', |
|
589 | - 'SebastianBergmann\\Diff\\Differ' => __DIR__ . '/..' . '/sebastian/diff/src/Differ.php', |
|
590 | - 'SebastianBergmann\\Diff\\LCS\\LongestCommonSubsequence' => __DIR__ . '/..' . '/sebastian/diff/src/LCS/LongestCommonSubsequence.php', |
|
591 | - 'SebastianBergmann\\Diff\\LCS\\MemoryEfficientImplementation' => __DIR__ . '/..' . '/sebastian/diff/src/LCS/MemoryEfficientLongestCommonSubsequenceImplementation.php', |
|
592 | - 'SebastianBergmann\\Diff\\LCS\\TimeEfficientImplementation' => __DIR__ . '/..' . '/sebastian/diff/src/LCS/TimeEfficientLongestCommonSubsequenceImplementation.php', |
|
593 | - 'SebastianBergmann\\Diff\\Line' => __DIR__ . '/..' . '/sebastian/diff/src/Line.php', |
|
594 | - 'SebastianBergmann\\Diff\\Parser' => __DIR__ . '/..' . '/sebastian/diff/src/Parser.php', |
|
595 | - 'SebastianBergmann\\Environment\\Console' => __DIR__ . '/..' . '/sebastian/environment/src/Console.php', |
|
596 | - 'SebastianBergmann\\Environment\\Runtime' => __DIR__ . '/..' . '/sebastian/environment/src/Runtime.php', |
|
597 | - 'SebastianBergmann\\Exporter\\Exporter' => __DIR__ . '/..' . '/sebastian/exporter/src/Exporter.php', |
|
598 | - 'SebastianBergmann\\GlobalState\\Blacklist' => __DIR__ . '/..' . '/sebastian/global-state/src/Blacklist.php', |
|
599 | - 'SebastianBergmann\\GlobalState\\CodeExporter' => __DIR__ . '/..' . '/sebastian/global-state/src/CodeExporter.php', |
|
600 | - 'SebastianBergmann\\GlobalState\\Exception' => __DIR__ . '/..' . '/sebastian/global-state/src/Exception.php', |
|
601 | - 'SebastianBergmann\\GlobalState\\Restorer' => __DIR__ . '/..' . '/sebastian/global-state/src/Restorer.php', |
|
602 | - 'SebastianBergmann\\GlobalState\\RuntimeException' => __DIR__ . '/..' . '/sebastian/global-state/src/RuntimeException.php', |
|
603 | - 'SebastianBergmann\\GlobalState\\Snapshot' => __DIR__ . '/..' . '/sebastian/global-state/src/Snapshot.php', |
|
604 | - 'SebastianBergmann\\RecursionContext\\Context' => __DIR__ . '/..' . '/sebastian/recursion-context/src/Context.php', |
|
605 | - 'SebastianBergmann\\RecursionContext\\Exception' => __DIR__ . '/..' . '/sebastian/recursion-context/src/Exception.php', |
|
606 | - 'SebastianBergmann\\RecursionContext\\InvalidArgumentException' => __DIR__ . '/..' . '/sebastian/recursion-context/src/InvalidArgumentException.php', |
|
607 | - 'SebastianBergmann\\Version' => __DIR__ . '/..' . '/sebastian/version/src/Version.php', |
|
608 | - 'Stringable' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/Stringable.php', |
|
609 | - 'Text_Template' => __DIR__ . '/..' . '/phpunit/php-text-template/src/Template.php', |
|
610 | - 'UnhandledMatchError' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php', |
|
611 | - 'ValueError' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/ValueError.php', |
|
160 | + public static $classMap = array( |
|
161 | + 'Attribute' => __DIR__.'/..'.'/symfony/polyfill-php80/Resources/stubs/Attribute.php', |
|
162 | + 'Composer\\InstalledVersions' => __DIR__.'/..'.'/composer/InstalledVersions.php', |
|
163 | + 'File_Iterator' => __DIR__.'/..'.'/phpunit/php-file-iterator/src/Iterator.php', |
|
164 | + 'File_Iterator_Facade' => __DIR__.'/..'.'/phpunit/php-file-iterator/src/Facade.php', |
|
165 | + 'File_Iterator_Factory' => __DIR__.'/..'.'/phpunit/php-file-iterator/src/Factory.php', |
|
166 | + 'PHPUnit\\Framework\\Assert' => __DIR__.'/..'.'/phpunit/phpunit/src/ForwardCompatibility/Assert.php', |
|
167 | + 'PHPUnit\\Framework\\AssertionFailedError' => __DIR__.'/..'.'/phpunit/phpunit/src/ForwardCompatibility/AssertionFailedError.php', |
|
168 | + 'PHPUnit\\Framework\\BaseTestListener' => __DIR__.'/..'.'/phpunit/phpunit/src/ForwardCompatibility/BaseTestListener.php', |
|
169 | + 'PHPUnit\\Framework\\Test' => __DIR__.'/..'.'/phpunit/phpunit/src/ForwardCompatibility/Test.php', |
|
170 | + 'PHPUnit\\Framework\\TestCase' => __DIR__.'/..'.'/phpunit/phpunit/src/ForwardCompatibility/TestCase.php', |
|
171 | + 'PHPUnit\\Framework\\TestListener' => __DIR__.'/..'.'/phpunit/phpunit/src/ForwardCompatibility/TestListener.php', |
|
172 | + 'PHPUnit\\Framework\\TestSuite' => __DIR__.'/..'.'/phpunit/phpunit/src/ForwardCompatibility/TestSuite.php', |
|
173 | + 'PHPUnit_Exception' => __DIR__.'/..'.'/phpunit/phpunit/src/Exception.php', |
|
174 | + 'PHPUnit_Extensions_GroupTestSuite' => __DIR__.'/..'.'/phpunit/phpunit/src/Extensions/GroupTestSuite.php', |
|
175 | + 'PHPUnit_Extensions_PhptTestCase' => __DIR__.'/..'.'/phpunit/phpunit/src/Extensions/PhptTestCase.php', |
|
176 | + 'PHPUnit_Extensions_PhptTestSuite' => __DIR__.'/..'.'/phpunit/phpunit/src/Extensions/PhptTestSuite.php', |
|
177 | + 'PHPUnit_Extensions_RepeatedTest' => __DIR__.'/..'.'/phpunit/phpunit/src/Extensions/RepeatedTest.php', |
|
178 | + 'PHPUnit_Extensions_TestDecorator' => __DIR__.'/..'.'/phpunit/phpunit/src/Extensions/TestDecorator.php', |
|
179 | + 'PHPUnit_Extensions_TicketListener' => __DIR__.'/..'.'/phpunit/phpunit/src/Extensions/TicketListener.php', |
|
180 | + 'PHPUnit_Framework_Assert' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/Assert.php', |
|
181 | + 'PHPUnit_Framework_AssertionFailedError' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/AssertionFailedError.php', |
|
182 | + 'PHPUnit_Framework_BaseTestListener' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/BaseTestListener.php', |
|
183 | + 'PHPUnit_Framework_CodeCoverageException' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/CodeCoverageException.php', |
|
184 | + 'PHPUnit_Framework_Constraint' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/Constraint.php', |
|
185 | + 'PHPUnit_Framework_Constraint_And' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/Constraint/And.php', |
|
186 | + 'PHPUnit_Framework_Constraint_ArrayHasKey' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/Constraint/ArrayHasKey.php', |
|
187 | + 'PHPUnit_Framework_Constraint_ArraySubset' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/Constraint/ArraySubset.php', |
|
188 | + 'PHPUnit_Framework_Constraint_Attribute' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/Constraint/Attribute.php', |
|
189 | + 'PHPUnit_Framework_Constraint_Callback' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/Constraint/Callback.php', |
|
190 | + 'PHPUnit_Framework_Constraint_ClassHasAttribute' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/Constraint/ClassHasAttribute.php', |
|
191 | + 'PHPUnit_Framework_Constraint_ClassHasStaticAttribute' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/Constraint/ClassHasStaticAttribute.php', |
|
192 | + 'PHPUnit_Framework_Constraint_Composite' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/Constraint/Composite.php', |
|
193 | + 'PHPUnit_Framework_Constraint_Count' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/Constraint/Count.php', |
|
194 | + 'PHPUnit_Framework_Constraint_Exception' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/Constraint/Exception.php', |
|
195 | + 'PHPUnit_Framework_Constraint_ExceptionCode' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/Constraint/ExceptionCode.php', |
|
196 | + 'PHPUnit_Framework_Constraint_ExceptionMessage' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/Constraint/ExceptionMessage.php', |
|
197 | + 'PHPUnit_Framework_Constraint_ExceptionMessageRegExp' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/Constraint/ExceptionMessageRegExp.php', |
|
198 | + 'PHPUnit_Framework_Constraint_FileExists' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/Constraint/FileExists.php', |
|
199 | + 'PHPUnit_Framework_Constraint_GreaterThan' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/Constraint/GreaterThan.php', |
|
200 | + 'PHPUnit_Framework_Constraint_IsAnything' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/Constraint/IsAnything.php', |
|
201 | + 'PHPUnit_Framework_Constraint_IsEmpty' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/Constraint/IsEmpty.php', |
|
202 | + 'PHPUnit_Framework_Constraint_IsEqual' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/Constraint/IsEqual.php', |
|
203 | + 'PHPUnit_Framework_Constraint_IsFalse' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/Constraint/IsFalse.php', |
|
204 | + 'PHPUnit_Framework_Constraint_IsIdentical' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/Constraint/IsIdentical.php', |
|
205 | + 'PHPUnit_Framework_Constraint_IsInstanceOf' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/Constraint/IsInstanceOf.php', |
|
206 | + 'PHPUnit_Framework_Constraint_IsJson' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/Constraint/IsJson.php', |
|
207 | + 'PHPUnit_Framework_Constraint_IsNull' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/Constraint/IsNull.php', |
|
208 | + 'PHPUnit_Framework_Constraint_IsTrue' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/Constraint/IsTrue.php', |
|
209 | + 'PHPUnit_Framework_Constraint_IsType' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/Constraint/IsType.php', |
|
210 | + 'PHPUnit_Framework_Constraint_JsonMatches' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/Constraint/JsonMatches.php', |
|
211 | + 'PHPUnit_Framework_Constraint_JsonMatches_ErrorMessageProvider' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/Constraint/JsonMatches/ErrorMessageProvider.php', |
|
212 | + 'PHPUnit_Framework_Constraint_LessThan' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/Constraint/LessThan.php', |
|
213 | + 'PHPUnit_Framework_Constraint_Not' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/Constraint/Not.php', |
|
214 | + 'PHPUnit_Framework_Constraint_ObjectHasAttribute' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/Constraint/ObjectHasAttribute.php', |
|
215 | + 'PHPUnit_Framework_Constraint_Or' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/Constraint/Or.php', |
|
216 | + 'PHPUnit_Framework_Constraint_PCREMatch' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/Constraint/PCREMatch.php', |
|
217 | + 'PHPUnit_Framework_Constraint_SameSize' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/Constraint/SameSize.php', |
|
218 | + 'PHPUnit_Framework_Constraint_StringContains' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/Constraint/StringContains.php', |
|
219 | + 'PHPUnit_Framework_Constraint_StringEndsWith' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/Constraint/StringEndsWith.php', |
|
220 | + 'PHPUnit_Framework_Constraint_StringMatches' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/Constraint/StringMatches.php', |
|
221 | + 'PHPUnit_Framework_Constraint_StringStartsWith' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/Constraint/StringStartsWith.php', |
|
222 | + 'PHPUnit_Framework_Constraint_TraversableContains' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/Constraint/TraversableContains.php', |
|
223 | + 'PHPUnit_Framework_Constraint_TraversableContainsOnly' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/Constraint/TraversableContainsOnly.php', |
|
224 | + 'PHPUnit_Framework_Constraint_Xor' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/Constraint/Xor.php', |
|
225 | + 'PHPUnit_Framework_Error' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/Error.php', |
|
226 | + 'PHPUnit_Framework_Error_Deprecated' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/Error/Deprecated.php', |
|
227 | + 'PHPUnit_Framework_Error_Notice' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/Error/Notice.php', |
|
228 | + 'PHPUnit_Framework_Error_Warning' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/Error/Warning.php', |
|
229 | + 'PHPUnit_Framework_Exception' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/Exception.php', |
|
230 | + 'PHPUnit_Framework_ExceptionWrapper' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/ExceptionWrapper.php', |
|
231 | + 'PHPUnit_Framework_ExpectationFailedException' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/ExpectationFailedException.php', |
|
232 | + 'PHPUnit_Framework_IncompleteTest' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/IncompleteTest.php', |
|
233 | + 'PHPUnit_Framework_IncompleteTestCase' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/IncompleteTestCase.php', |
|
234 | + 'PHPUnit_Framework_IncompleteTestError' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/IncompleteTestError.php', |
|
235 | + 'PHPUnit_Framework_InvalidCoversTargetError' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/InvalidCoversTargetError.php', |
|
236 | + 'PHPUnit_Framework_InvalidCoversTargetException' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/InvalidCoversTargetException.php', |
|
237 | + 'PHPUnit_Framework_MockObject_BadMethodCallException' => __DIR__.'/..'.'/phpunit/phpunit-mock-objects/src/Framework/MockObject/Exception/BadMethodCallException.php', |
|
238 | + 'PHPUnit_Framework_MockObject_Builder_Identity' => __DIR__.'/..'.'/phpunit/phpunit-mock-objects/src/Framework/MockObject/Builder/Identity.php', |
|
239 | + 'PHPUnit_Framework_MockObject_Builder_InvocationMocker' => __DIR__.'/..'.'/phpunit/phpunit-mock-objects/src/Framework/MockObject/Builder/InvocationMocker.php', |
|
240 | + 'PHPUnit_Framework_MockObject_Builder_Match' => __DIR__.'/..'.'/phpunit/phpunit-mock-objects/src/Framework/MockObject/Builder/Match.php', |
|
241 | + 'PHPUnit_Framework_MockObject_Builder_MethodNameMatch' => __DIR__.'/..'.'/phpunit/phpunit-mock-objects/src/Framework/MockObject/Builder/MethodNameMatch.php', |
|
242 | + 'PHPUnit_Framework_MockObject_Builder_Namespace' => __DIR__.'/..'.'/phpunit/phpunit-mock-objects/src/Framework/MockObject/Builder/Namespace.php', |
|
243 | + 'PHPUnit_Framework_MockObject_Builder_ParametersMatch' => __DIR__.'/..'.'/phpunit/phpunit-mock-objects/src/Framework/MockObject/Builder/ParametersMatch.php', |
|
244 | + 'PHPUnit_Framework_MockObject_Builder_Stub' => __DIR__.'/..'.'/phpunit/phpunit-mock-objects/src/Framework/MockObject/Builder/Stub.php', |
|
245 | + 'PHPUnit_Framework_MockObject_Exception' => __DIR__.'/..'.'/phpunit/phpunit-mock-objects/src/Framework/MockObject/Exception/Exception.php', |
|
246 | + 'PHPUnit_Framework_MockObject_Generator' => __DIR__.'/..'.'/phpunit/phpunit-mock-objects/src/Framework/MockObject/Generator.php', |
|
247 | + 'PHPUnit_Framework_MockObject_Invocation' => __DIR__.'/..'.'/phpunit/phpunit-mock-objects/src/Framework/MockObject/Invocation.php', |
|
248 | + 'PHPUnit_Framework_MockObject_InvocationMocker' => __DIR__.'/..'.'/phpunit/phpunit-mock-objects/src/Framework/MockObject/InvocationMocker.php', |
|
249 | + 'PHPUnit_Framework_MockObject_Invocation_Object' => __DIR__.'/..'.'/phpunit/phpunit-mock-objects/src/Framework/MockObject/Invocation/Object.php', |
|
250 | + 'PHPUnit_Framework_MockObject_Invocation_Static' => __DIR__.'/..'.'/phpunit/phpunit-mock-objects/src/Framework/MockObject/Invocation/Static.php', |
|
251 | + 'PHPUnit_Framework_MockObject_Invokable' => __DIR__.'/..'.'/phpunit/phpunit-mock-objects/src/Framework/MockObject/Invokable.php', |
|
252 | + 'PHPUnit_Framework_MockObject_Matcher' => __DIR__.'/..'.'/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher.php', |
|
253 | + 'PHPUnit_Framework_MockObject_Matcher_AnyInvokedCount' => __DIR__.'/..'.'/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/AnyInvokedCount.php', |
|
254 | + 'PHPUnit_Framework_MockObject_Matcher_AnyParameters' => __DIR__.'/..'.'/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/AnyParameters.php', |
|
255 | + 'PHPUnit_Framework_MockObject_Matcher_ConsecutiveParameters' => __DIR__.'/..'.'/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/ConsecutiveParameters.php', |
|
256 | + 'PHPUnit_Framework_MockObject_Matcher_Invocation' => __DIR__.'/..'.'/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/Invocation.php', |
|
257 | + 'PHPUnit_Framework_MockObject_Matcher_InvokedAtIndex' => __DIR__.'/..'.'/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/InvokedAtIndex.php', |
|
258 | + 'PHPUnit_Framework_MockObject_Matcher_InvokedAtLeastCount' => __DIR__.'/..'.'/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/InvokedAtLeastCount.php', |
|
259 | + 'PHPUnit_Framework_MockObject_Matcher_InvokedAtLeastOnce' => __DIR__.'/..'.'/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/InvokedAtLeastOnce.php', |
|
260 | + 'PHPUnit_Framework_MockObject_Matcher_InvokedAtMostCount' => __DIR__.'/..'.'/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/InvokedAtMostCount.php', |
|
261 | + 'PHPUnit_Framework_MockObject_Matcher_InvokedCount' => __DIR__.'/..'.'/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/InvokedCount.php', |
|
262 | + 'PHPUnit_Framework_MockObject_Matcher_InvokedRecorder' => __DIR__.'/..'.'/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/InvokedRecorder.php', |
|
263 | + 'PHPUnit_Framework_MockObject_Matcher_MethodName' => __DIR__.'/..'.'/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/MethodName.php', |
|
264 | + 'PHPUnit_Framework_MockObject_Matcher_Parameters' => __DIR__.'/..'.'/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/Parameters.php', |
|
265 | + 'PHPUnit_Framework_MockObject_Matcher_StatelessInvocation' => __DIR__.'/..'.'/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/StatelessInvocation.php', |
|
266 | + 'PHPUnit_Framework_MockObject_MockBuilder' => __DIR__.'/..'.'/phpunit/phpunit-mock-objects/src/Framework/MockObject/MockBuilder.php', |
|
267 | + 'PHPUnit_Framework_MockObject_MockObject' => __DIR__.'/..'.'/phpunit/phpunit-mock-objects/src/Framework/MockObject/MockObject.php', |
|
268 | + 'PHPUnit_Framework_MockObject_RuntimeException' => __DIR__.'/..'.'/phpunit/phpunit-mock-objects/src/Framework/MockObject/Exception/RuntimeException.php', |
|
269 | + 'PHPUnit_Framework_MockObject_Stub' => __DIR__.'/..'.'/phpunit/phpunit-mock-objects/src/Framework/MockObject/Stub.php', |
|
270 | + 'PHPUnit_Framework_MockObject_Stub_ConsecutiveCalls' => __DIR__.'/..'.'/phpunit/phpunit-mock-objects/src/Framework/MockObject/Stub/ConsecutiveCalls.php', |
|
271 | + 'PHPUnit_Framework_MockObject_Stub_Exception' => __DIR__.'/..'.'/phpunit/phpunit-mock-objects/src/Framework/MockObject/Stub/Exception.php', |
|
272 | + 'PHPUnit_Framework_MockObject_Stub_MatcherCollection' => __DIR__.'/..'.'/phpunit/phpunit-mock-objects/src/Framework/MockObject/Stub/MatcherCollection.php', |
|
273 | + 'PHPUnit_Framework_MockObject_Stub_Return' => __DIR__.'/..'.'/phpunit/phpunit-mock-objects/src/Framework/MockObject/Stub/Return.php', |
|
274 | + 'PHPUnit_Framework_MockObject_Stub_ReturnArgument' => __DIR__.'/..'.'/phpunit/phpunit-mock-objects/src/Framework/MockObject/Stub/ReturnArgument.php', |
|
275 | + 'PHPUnit_Framework_MockObject_Stub_ReturnCallback' => __DIR__.'/..'.'/phpunit/phpunit-mock-objects/src/Framework/MockObject/Stub/ReturnCallback.php', |
|
276 | + 'PHPUnit_Framework_MockObject_Stub_ReturnSelf' => __DIR__.'/..'.'/phpunit/phpunit-mock-objects/src/Framework/MockObject/Stub/ReturnSelf.php', |
|
277 | + 'PHPUnit_Framework_MockObject_Stub_ReturnValueMap' => __DIR__.'/..'.'/phpunit/phpunit-mock-objects/src/Framework/MockObject/Stub/ReturnValueMap.php', |
|
278 | + 'PHPUnit_Framework_MockObject_Verifiable' => __DIR__.'/..'.'/phpunit/phpunit-mock-objects/src/Framework/MockObject/Verifiable.php', |
|
279 | + 'PHPUnit_Framework_OutputError' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/OutputError.php', |
|
280 | + 'PHPUnit_Framework_RiskyTest' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/RiskyTest.php', |
|
281 | + 'PHPUnit_Framework_RiskyTestError' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/RiskyTestError.php', |
|
282 | + 'PHPUnit_Framework_SelfDescribing' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/SelfDescribing.php', |
|
283 | + 'PHPUnit_Framework_SkippedTest' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/SkippedTest.php', |
|
284 | + 'PHPUnit_Framework_SkippedTestCase' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/SkippedTestCase.php', |
|
285 | + 'PHPUnit_Framework_SkippedTestError' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/SkippedTestError.php', |
|
286 | + 'PHPUnit_Framework_SkippedTestSuiteError' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/SkippedTestSuiteError.php', |
|
287 | + 'PHPUnit_Framework_SyntheticError' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/SyntheticError.php', |
|
288 | + 'PHPUnit_Framework_Test' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/Test.php', |
|
289 | + 'PHPUnit_Framework_TestCase' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/TestCase.php', |
|
290 | + 'PHPUnit_Framework_TestFailure' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/TestFailure.php', |
|
291 | + 'PHPUnit_Framework_TestListener' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/TestListener.php', |
|
292 | + 'PHPUnit_Framework_TestResult' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/TestResult.php', |
|
293 | + 'PHPUnit_Framework_TestSuite' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/TestSuite.php', |
|
294 | + 'PHPUnit_Framework_TestSuite_DataProvider' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/TestSuite/DataProvider.php', |
|
295 | + 'PHPUnit_Framework_UnintentionallyCoveredCodeError' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/UnintentionallyCoveredCodeError.php', |
|
296 | + 'PHPUnit_Framework_Warning' => __DIR__.'/..'.'/phpunit/phpunit/src/Framework/Warning.php', |
|
297 | + 'PHPUnit_Runner_BaseTestRunner' => __DIR__.'/..'.'/phpunit/phpunit/src/Runner/BaseTestRunner.php', |
|
298 | + 'PHPUnit_Runner_Exception' => __DIR__.'/..'.'/phpunit/phpunit/src/Runner/Exception.php', |
|
299 | + 'PHPUnit_Runner_Filter_Factory' => __DIR__.'/..'.'/phpunit/phpunit/src/Runner/Filter/Factory.php', |
|
300 | + 'PHPUnit_Runner_Filter_GroupFilterIterator' => __DIR__.'/..'.'/phpunit/phpunit/src/Runner/Filter/Group.php', |
|
301 | + 'PHPUnit_Runner_Filter_Group_Exclude' => __DIR__.'/..'.'/phpunit/phpunit/src/Runner/Filter/Group/Exclude.php', |
|
302 | + 'PHPUnit_Runner_Filter_Group_Include' => __DIR__.'/..'.'/phpunit/phpunit/src/Runner/Filter/Group/Include.php', |
|
303 | + 'PHPUnit_Runner_Filter_Test' => __DIR__.'/..'.'/phpunit/phpunit/src/Runner/Filter/Test.php', |
|
304 | + 'PHPUnit_Runner_StandardTestSuiteLoader' => __DIR__.'/..'.'/phpunit/phpunit/src/Runner/StandardTestSuiteLoader.php', |
|
305 | + 'PHPUnit_Runner_TestSuiteLoader' => __DIR__.'/..'.'/phpunit/phpunit/src/Runner/TestSuiteLoader.php', |
|
306 | + 'PHPUnit_Runner_Version' => __DIR__.'/..'.'/phpunit/phpunit/src/Runner/Version.php', |
|
307 | + 'PHPUnit_TextUI_Command' => __DIR__.'/..'.'/phpunit/phpunit/src/TextUI/Command.php', |
|
308 | + 'PHPUnit_TextUI_ResultPrinter' => __DIR__.'/..'.'/phpunit/phpunit/src/TextUI/ResultPrinter.php', |
|
309 | + 'PHPUnit_TextUI_TestRunner' => __DIR__.'/..'.'/phpunit/phpunit/src/TextUI/TestRunner.php', |
|
310 | + 'PHPUnit_Util_Blacklist' => __DIR__.'/..'.'/phpunit/phpunit/src/Util/Blacklist.php', |
|
311 | + 'PHPUnit_Util_Configuration' => __DIR__.'/..'.'/phpunit/phpunit/src/Util/Configuration.php', |
|
312 | + 'PHPUnit_Util_ErrorHandler' => __DIR__.'/..'.'/phpunit/phpunit/src/Util/ErrorHandler.php', |
|
313 | + 'PHPUnit_Util_Fileloader' => __DIR__.'/..'.'/phpunit/phpunit/src/Util/Fileloader.php', |
|
314 | + 'PHPUnit_Util_Filesystem' => __DIR__.'/..'.'/phpunit/phpunit/src/Util/Filesystem.php', |
|
315 | + 'PHPUnit_Util_Filter' => __DIR__.'/..'.'/phpunit/phpunit/src/Util/Filter.php', |
|
316 | + 'PHPUnit_Util_Getopt' => __DIR__.'/..'.'/phpunit/phpunit/src/Util/Getopt.php', |
|
317 | + 'PHPUnit_Util_GlobalState' => __DIR__.'/..'.'/phpunit/phpunit/src/Util/GlobalState.php', |
|
318 | + 'PHPUnit_Util_InvalidArgumentHelper' => __DIR__.'/..'.'/phpunit/phpunit/src/Util/InvalidArgumentHelper.php', |
|
319 | + 'PHPUnit_Util_Log_JSON' => __DIR__.'/..'.'/phpunit/phpunit/src/Util/Log/JSON.php', |
|
320 | + 'PHPUnit_Util_Log_JUnit' => __DIR__.'/..'.'/phpunit/phpunit/src/Util/Log/JUnit.php', |
|
321 | + 'PHPUnit_Util_Log_TAP' => __DIR__.'/..'.'/phpunit/phpunit/src/Util/Log/TAP.php', |
|
322 | + 'PHPUnit_Util_PHP' => __DIR__.'/..'.'/phpunit/phpunit/src/Util/PHP.php', |
|
323 | + 'PHPUnit_Util_PHP_Default' => __DIR__.'/..'.'/phpunit/phpunit/src/Util/PHP/Default.php', |
|
324 | + 'PHPUnit_Util_PHP_Windows' => __DIR__.'/..'.'/phpunit/phpunit/src/Util/PHP/Windows.php', |
|
325 | + 'PHPUnit_Util_Printer' => __DIR__.'/..'.'/phpunit/phpunit/src/Util/Printer.php', |
|
326 | + 'PHPUnit_Util_Regex' => __DIR__.'/..'.'/phpunit/phpunit/src/Util/Regex.php', |
|
327 | + 'PHPUnit_Util_String' => __DIR__.'/..'.'/phpunit/phpunit/src/Util/String.php', |
|
328 | + 'PHPUnit_Util_Test' => __DIR__.'/..'.'/phpunit/phpunit/src/Util/Test.php', |
|
329 | + 'PHPUnit_Util_TestDox_NamePrettifier' => __DIR__.'/..'.'/phpunit/phpunit/src/Util/TestDox/NamePrettifier.php', |
|
330 | + 'PHPUnit_Util_TestDox_ResultPrinter' => __DIR__.'/..'.'/phpunit/phpunit/src/Util/TestDox/ResultPrinter.php', |
|
331 | + 'PHPUnit_Util_TestDox_ResultPrinter_HTML' => __DIR__.'/..'.'/phpunit/phpunit/src/Util/TestDox/ResultPrinter/HTML.php', |
|
332 | + 'PHPUnit_Util_TestDox_ResultPrinter_Text' => __DIR__.'/..'.'/phpunit/phpunit/src/Util/TestDox/ResultPrinter/Text.php', |
|
333 | + 'PHPUnit_Util_TestSuiteIterator' => __DIR__.'/..'.'/phpunit/phpunit/src/Util/TestSuiteIterator.php', |
|
334 | + 'PHPUnit_Util_Type' => __DIR__.'/..'.'/phpunit/phpunit/src/Util/Type.php', |
|
335 | + 'PHPUnit_Util_XML' => __DIR__.'/..'.'/phpunit/phpunit/src/Util/XML.php', |
|
336 | + 'PHP_CodeCoverage' => __DIR__.'/..'.'/phpunit/php-code-coverage/src/CodeCoverage.php', |
|
337 | + 'PHP_CodeCoverage_Driver' => __DIR__.'/..'.'/phpunit/php-code-coverage/src/CodeCoverage/Driver.php', |
|
338 | + 'PHP_CodeCoverage_Driver_HHVM' => __DIR__.'/..'.'/phpunit/php-code-coverage/src/CodeCoverage/Driver/HHVM.php', |
|
339 | + 'PHP_CodeCoverage_Driver_PHPDBG' => __DIR__.'/..'.'/phpunit/php-code-coverage/src/CodeCoverage/Driver/PHPDBG.php', |
|
340 | + 'PHP_CodeCoverage_Driver_Xdebug' => __DIR__.'/..'.'/phpunit/php-code-coverage/src/CodeCoverage/Driver/Xdebug.php', |
|
341 | + 'PHP_CodeCoverage_Exception' => __DIR__.'/..'.'/phpunit/php-code-coverage/src/CodeCoverage/Exception.php', |
|
342 | + 'PHP_CodeCoverage_Exception_UnintentionallyCoveredCode' => __DIR__.'/..'.'/phpunit/php-code-coverage/src/CodeCoverage/Exception/UnintentionallyCoveredCode.php', |
|
343 | + 'PHP_CodeCoverage_Filter' => __DIR__.'/..'.'/phpunit/php-code-coverage/src/CodeCoverage/Filter.php', |
|
344 | + 'PHP_CodeCoverage_Report_Clover' => __DIR__.'/..'.'/phpunit/php-code-coverage/src/CodeCoverage/Report/Clover.php', |
|
345 | + 'PHP_CodeCoverage_Report_Crap4j' => __DIR__.'/..'.'/phpunit/php-code-coverage/src/CodeCoverage/Report/Crap4j.php', |
|
346 | + 'PHP_CodeCoverage_Report_Factory' => __DIR__.'/..'.'/phpunit/php-code-coverage/src/CodeCoverage/Report/Factory.php', |
|
347 | + 'PHP_CodeCoverage_Report_HTML' => __DIR__.'/..'.'/phpunit/php-code-coverage/src/CodeCoverage/Report/HTML.php', |
|
348 | + 'PHP_CodeCoverage_Report_HTML_Renderer' => __DIR__.'/..'.'/phpunit/php-code-coverage/src/CodeCoverage/Report/HTML/Renderer.php', |
|
349 | + 'PHP_CodeCoverage_Report_HTML_Renderer_Dashboard' => __DIR__.'/..'.'/phpunit/php-code-coverage/src/CodeCoverage/Report/HTML/Renderer/Dashboard.php', |
|
350 | + 'PHP_CodeCoverage_Report_HTML_Renderer_Directory' => __DIR__.'/..'.'/phpunit/php-code-coverage/src/CodeCoverage/Report/HTML/Renderer/Directory.php', |
|
351 | + 'PHP_CodeCoverage_Report_HTML_Renderer_File' => __DIR__.'/..'.'/phpunit/php-code-coverage/src/CodeCoverage/Report/HTML/Renderer/File.php', |
|
352 | + 'PHP_CodeCoverage_Report_Node' => __DIR__.'/..'.'/phpunit/php-code-coverage/src/CodeCoverage/Report/Node.php', |
|
353 | + 'PHP_CodeCoverage_Report_Node_Directory' => __DIR__.'/..'.'/phpunit/php-code-coverage/src/CodeCoverage/Report/Node/Directory.php', |
|
354 | + 'PHP_CodeCoverage_Report_Node_File' => __DIR__.'/..'.'/phpunit/php-code-coverage/src/CodeCoverage/Report/Node/File.php', |
|
355 | + 'PHP_CodeCoverage_Report_Node_Iterator' => __DIR__.'/..'.'/phpunit/php-code-coverage/src/CodeCoverage/Report/Node/Iterator.php', |
|
356 | + 'PHP_CodeCoverage_Report_PHP' => __DIR__.'/..'.'/phpunit/php-code-coverage/src/CodeCoverage/Report/PHP.php', |
|
357 | + 'PHP_CodeCoverage_Report_Text' => __DIR__.'/..'.'/phpunit/php-code-coverage/src/CodeCoverage/Report/Text.php', |
|
358 | + 'PHP_CodeCoverage_Report_XML' => __DIR__.'/..'.'/phpunit/php-code-coverage/src/CodeCoverage/Report/XML.php', |
|
359 | + 'PHP_CodeCoverage_Report_XML_Directory' => __DIR__.'/..'.'/phpunit/php-code-coverage/src/CodeCoverage/Report/XML/Directory.php', |
|
360 | + 'PHP_CodeCoverage_Report_XML_File' => __DIR__.'/..'.'/phpunit/php-code-coverage/src/CodeCoverage/Report/XML/File.php', |
|
361 | + 'PHP_CodeCoverage_Report_XML_File_Coverage' => __DIR__.'/..'.'/phpunit/php-code-coverage/src/CodeCoverage/Report/XML/File/Coverage.php', |
|
362 | + 'PHP_CodeCoverage_Report_XML_File_Method' => __DIR__.'/..'.'/phpunit/php-code-coverage/src/CodeCoverage/Report/XML/File/Method.php', |
|
363 | + 'PHP_CodeCoverage_Report_XML_File_Report' => __DIR__.'/..'.'/phpunit/php-code-coverage/src/CodeCoverage/Report/XML/File/Report.php', |
|
364 | + 'PHP_CodeCoverage_Report_XML_File_Unit' => __DIR__.'/..'.'/phpunit/php-code-coverage/src/CodeCoverage/Report/XML/File/Unit.php', |
|
365 | + 'PHP_CodeCoverage_Report_XML_Node' => __DIR__.'/..'.'/phpunit/php-code-coverage/src/CodeCoverage/Report/XML/Node.php', |
|
366 | + 'PHP_CodeCoverage_Report_XML_Project' => __DIR__.'/..'.'/phpunit/php-code-coverage/src/CodeCoverage/Report/XML/Project.php', |
|
367 | + 'PHP_CodeCoverage_Report_XML_Tests' => __DIR__.'/..'.'/phpunit/php-code-coverage/src/CodeCoverage/Report/XML/Tests.php', |
|
368 | + 'PHP_CodeCoverage_Report_XML_Totals' => __DIR__.'/..'.'/phpunit/php-code-coverage/src/CodeCoverage/Report/XML/Totals.php', |
|
369 | + 'PHP_CodeCoverage_Util' => __DIR__.'/..'.'/phpunit/php-code-coverage/src/CodeCoverage/Util.php', |
|
370 | + 'PHP_CodeCoverage_Util_InvalidArgumentHelper' => __DIR__.'/..'.'/phpunit/php-code-coverage/src/CodeCoverage/Util/InvalidArgumentHelper.php', |
|
371 | + 'PHP_Timer' => __DIR__.'/..'.'/phpunit/php-timer/src/Timer.php', |
|
372 | + 'PHP_Token' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
373 | + 'PHP_TokenWithScope' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
374 | + 'PHP_TokenWithScopeAndVisibility' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
375 | + 'PHP_Token_ABSTRACT' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
376 | + 'PHP_Token_AMPERSAND' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
377 | + 'PHP_Token_AND_EQUAL' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
378 | + 'PHP_Token_ARRAY' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
379 | + 'PHP_Token_ARRAY_CAST' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
380 | + 'PHP_Token_AS' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
381 | + 'PHP_Token_ASYNC' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
382 | + 'PHP_Token_AT' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
383 | + 'PHP_Token_AWAIT' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
384 | + 'PHP_Token_BACKTICK' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
385 | + 'PHP_Token_BAD_CHARACTER' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
386 | + 'PHP_Token_BOOLEAN_AND' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
387 | + 'PHP_Token_BOOLEAN_OR' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
388 | + 'PHP_Token_BOOL_CAST' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
389 | + 'PHP_Token_BREAK' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
390 | + 'PHP_Token_CALLABLE' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
391 | + 'PHP_Token_CARET' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
392 | + 'PHP_Token_CASE' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
393 | + 'PHP_Token_CATCH' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
394 | + 'PHP_Token_CHARACTER' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
395 | + 'PHP_Token_CLASS' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
396 | + 'PHP_Token_CLASS_C' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
397 | + 'PHP_Token_CLASS_NAME_CONSTANT' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
398 | + 'PHP_Token_CLONE' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
399 | + 'PHP_Token_CLOSE_BRACKET' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
400 | + 'PHP_Token_CLOSE_CURLY' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
401 | + 'PHP_Token_CLOSE_SQUARE' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
402 | + 'PHP_Token_CLOSE_TAG' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
403 | + 'PHP_Token_COALESCE' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
404 | + 'PHP_Token_COLON' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
405 | + 'PHP_Token_COMMA' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
406 | + 'PHP_Token_COMMENT' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
407 | + 'PHP_Token_COMPILER_HALT_OFFSET' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
408 | + 'PHP_Token_CONCAT_EQUAL' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
409 | + 'PHP_Token_CONST' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
410 | + 'PHP_Token_CONSTANT_ENCAPSED_STRING' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
411 | + 'PHP_Token_CONTINUE' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
412 | + 'PHP_Token_CURLY_OPEN' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
413 | + 'PHP_Token_DEC' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
414 | + 'PHP_Token_DECLARE' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
415 | + 'PHP_Token_DEFAULT' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
416 | + 'PHP_Token_DIR' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
417 | + 'PHP_Token_DIV' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
418 | + 'PHP_Token_DIV_EQUAL' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
419 | + 'PHP_Token_DNUMBER' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
420 | + 'PHP_Token_DO' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
421 | + 'PHP_Token_DOC_COMMENT' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
422 | + 'PHP_Token_DOLLAR' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
423 | + 'PHP_Token_DOLLAR_OPEN_CURLY_BRACES' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
424 | + 'PHP_Token_DOT' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
425 | + 'PHP_Token_DOUBLE_ARROW' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
426 | + 'PHP_Token_DOUBLE_CAST' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
427 | + 'PHP_Token_DOUBLE_COLON' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
428 | + 'PHP_Token_DOUBLE_QUOTES' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
429 | + 'PHP_Token_ECHO' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
430 | + 'PHP_Token_ELLIPSIS' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
431 | + 'PHP_Token_ELSE' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
432 | + 'PHP_Token_ELSEIF' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
433 | + 'PHP_Token_EMPTY' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
434 | + 'PHP_Token_ENCAPSED_AND_WHITESPACE' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
435 | + 'PHP_Token_ENDDECLARE' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
436 | + 'PHP_Token_ENDFOR' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
437 | + 'PHP_Token_ENDFOREACH' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
438 | + 'PHP_Token_ENDIF' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
439 | + 'PHP_Token_ENDSWITCH' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
440 | + 'PHP_Token_ENDWHILE' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
441 | + 'PHP_Token_END_HEREDOC' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
442 | + 'PHP_Token_ENUM' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
443 | + 'PHP_Token_EQUAL' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
444 | + 'PHP_Token_EQUALS' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
445 | + 'PHP_Token_EVAL' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
446 | + 'PHP_Token_EXCLAMATION_MARK' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
447 | + 'PHP_Token_EXIT' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
448 | + 'PHP_Token_EXTENDS' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
449 | + 'PHP_Token_FILE' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
450 | + 'PHP_Token_FINAL' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
451 | + 'PHP_Token_FINALLY' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
452 | + 'PHP_Token_FOR' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
453 | + 'PHP_Token_FOREACH' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
454 | + 'PHP_Token_FUNCTION' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
455 | + 'PHP_Token_FUNC_C' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
456 | + 'PHP_Token_GLOBAL' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
457 | + 'PHP_Token_GOTO' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
458 | + 'PHP_Token_GT' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
459 | + 'PHP_Token_HALT_COMPILER' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
460 | + 'PHP_Token_IF' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
461 | + 'PHP_Token_IMPLEMENTS' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
462 | + 'PHP_Token_IN' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
463 | + 'PHP_Token_INC' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
464 | + 'PHP_Token_INCLUDE' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
465 | + 'PHP_Token_INCLUDE_ONCE' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
466 | + 'PHP_Token_INLINE_HTML' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
467 | + 'PHP_Token_INSTANCEOF' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
468 | + 'PHP_Token_INSTEADOF' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
469 | + 'PHP_Token_INTERFACE' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
470 | + 'PHP_Token_INT_CAST' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
471 | + 'PHP_Token_ISSET' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
472 | + 'PHP_Token_IS_EQUAL' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
473 | + 'PHP_Token_IS_GREATER_OR_EQUAL' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
474 | + 'PHP_Token_IS_IDENTICAL' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
475 | + 'PHP_Token_IS_NOT_EQUAL' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
476 | + 'PHP_Token_IS_NOT_IDENTICAL' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
477 | + 'PHP_Token_IS_SMALLER_OR_EQUAL' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
478 | + 'PHP_Token_Includes' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
479 | + 'PHP_Token_JOIN' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
480 | + 'PHP_Token_LAMBDA_ARROW' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
481 | + 'PHP_Token_LAMBDA_CP' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
482 | + 'PHP_Token_LAMBDA_OP' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
483 | + 'PHP_Token_LINE' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
484 | + 'PHP_Token_LIST' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
485 | + 'PHP_Token_LNUMBER' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
486 | + 'PHP_Token_LOGICAL_AND' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
487 | + 'PHP_Token_LOGICAL_OR' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
488 | + 'PHP_Token_LOGICAL_XOR' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
489 | + 'PHP_Token_LT' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
490 | + 'PHP_Token_METHOD_C' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
491 | + 'PHP_Token_MINUS' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
492 | + 'PHP_Token_MINUS_EQUAL' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
493 | + 'PHP_Token_MOD_EQUAL' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
494 | + 'PHP_Token_MULT' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
495 | + 'PHP_Token_MUL_EQUAL' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
496 | + 'PHP_Token_NAMESPACE' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
497 | + 'PHP_Token_NEW' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
498 | + 'PHP_Token_NS_C' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
499 | + 'PHP_Token_NS_SEPARATOR' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
500 | + 'PHP_Token_NULLSAFE_OBJECT_OPERATOR' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
501 | + 'PHP_Token_NUM_STRING' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
502 | + 'PHP_Token_OBJECT_CAST' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
503 | + 'PHP_Token_OBJECT_OPERATOR' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
504 | + 'PHP_Token_ONUMBER' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
505 | + 'PHP_Token_OPEN_BRACKET' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
506 | + 'PHP_Token_OPEN_CURLY' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
507 | + 'PHP_Token_OPEN_SQUARE' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
508 | + 'PHP_Token_OPEN_TAG' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
509 | + 'PHP_Token_OPEN_TAG_WITH_ECHO' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
510 | + 'PHP_Token_OR_EQUAL' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
511 | + 'PHP_Token_PAAMAYIM_NEKUDOTAYIM' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
512 | + 'PHP_Token_PERCENT' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
513 | + 'PHP_Token_PIPE' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
514 | + 'PHP_Token_PLUS' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
515 | + 'PHP_Token_PLUS_EQUAL' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
516 | + 'PHP_Token_POW' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
517 | + 'PHP_Token_POW_EQUAL' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
518 | + 'PHP_Token_PRINT' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
519 | + 'PHP_Token_PRIVATE' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
520 | + 'PHP_Token_PROTECTED' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
521 | + 'PHP_Token_PUBLIC' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
522 | + 'PHP_Token_QUESTION_MARK' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
523 | + 'PHP_Token_REQUIRE' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
524 | + 'PHP_Token_REQUIRE_ONCE' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
525 | + 'PHP_Token_RETURN' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
526 | + 'PHP_Token_SEMICOLON' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
527 | + 'PHP_Token_SHAPE' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
528 | + 'PHP_Token_SL' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
529 | + 'PHP_Token_SL_EQUAL' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
530 | + 'PHP_Token_SPACESHIP' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
531 | + 'PHP_Token_SR' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
532 | + 'PHP_Token_SR_EQUAL' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
533 | + 'PHP_Token_START_HEREDOC' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
534 | + 'PHP_Token_STATIC' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
535 | + 'PHP_Token_STRING' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
536 | + 'PHP_Token_STRING_CAST' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
537 | + 'PHP_Token_STRING_VARNAME' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
538 | + 'PHP_Token_SUPER' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
539 | + 'PHP_Token_SWITCH' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
540 | + 'PHP_Token_Stream' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token/Stream.php', |
|
541 | + 'PHP_Token_Stream_CachingFactory' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token/Stream/CachingFactory.php', |
|
542 | + 'PHP_Token_THROW' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
543 | + 'PHP_Token_TILDE' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
544 | + 'PHP_Token_TRAIT' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
545 | + 'PHP_Token_TRAIT_C' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
546 | + 'PHP_Token_TRY' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
547 | + 'PHP_Token_TYPE' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
548 | + 'PHP_Token_TYPELIST_GT' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
549 | + 'PHP_Token_TYPELIST_LT' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
550 | + 'PHP_Token_UNSET' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
551 | + 'PHP_Token_UNSET_CAST' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
552 | + 'PHP_Token_USE' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
553 | + 'PHP_Token_USE_FUNCTION' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
554 | + 'PHP_Token_VAR' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
555 | + 'PHP_Token_VARIABLE' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
556 | + 'PHP_Token_WHERE' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
557 | + 'PHP_Token_WHILE' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
558 | + 'PHP_Token_WHITESPACE' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
559 | + 'PHP_Token_XHP_ATTRIBUTE' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
560 | + 'PHP_Token_XHP_CATEGORY' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
561 | + 'PHP_Token_XHP_CATEGORY_LABEL' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
562 | + 'PHP_Token_XHP_CHILDREN' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
563 | + 'PHP_Token_XHP_LABEL' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
564 | + 'PHP_Token_XHP_REQUIRED' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
565 | + 'PHP_Token_XHP_TAG_GT' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
566 | + 'PHP_Token_XHP_TAG_LT' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
567 | + 'PHP_Token_XHP_TEXT' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
568 | + 'PHP_Token_XOR_EQUAL' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
569 | + 'PHP_Token_YIELD' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
570 | + 'PHP_Token_YIELD_FROM' => __DIR__.'/..'.'/phpunit/php-token-stream/src/Token.php', |
|
571 | + 'PhpToken' => __DIR__.'/..'.'/symfony/polyfill-php80/Resources/stubs/PhpToken.php', |
|
572 | + 'SebastianBergmann\\Comparator\\ArrayComparator' => __DIR__.'/..'.'/sebastian/comparator/src/ArrayComparator.php', |
|
573 | + 'SebastianBergmann\\Comparator\\Comparator' => __DIR__.'/..'.'/sebastian/comparator/src/Comparator.php', |
|
574 | + 'SebastianBergmann\\Comparator\\ComparisonFailure' => __DIR__.'/..'.'/sebastian/comparator/src/ComparisonFailure.php', |
|
575 | + 'SebastianBergmann\\Comparator\\DOMNodeComparator' => __DIR__.'/..'.'/sebastian/comparator/src/DOMNodeComparator.php', |
|
576 | + 'SebastianBergmann\\Comparator\\DateTimeComparator' => __DIR__.'/..'.'/sebastian/comparator/src/DateTimeComparator.php', |
|
577 | + 'SebastianBergmann\\Comparator\\DoubleComparator' => __DIR__.'/..'.'/sebastian/comparator/src/DoubleComparator.php', |
|
578 | + 'SebastianBergmann\\Comparator\\ExceptionComparator' => __DIR__.'/..'.'/sebastian/comparator/src/ExceptionComparator.php', |
|
579 | + 'SebastianBergmann\\Comparator\\Factory' => __DIR__.'/..'.'/sebastian/comparator/src/Factory.php', |
|
580 | + 'SebastianBergmann\\Comparator\\MockObjectComparator' => __DIR__.'/..'.'/sebastian/comparator/src/MockObjectComparator.php', |
|
581 | + 'SebastianBergmann\\Comparator\\NumericComparator' => __DIR__.'/..'.'/sebastian/comparator/src/NumericComparator.php', |
|
582 | + 'SebastianBergmann\\Comparator\\ObjectComparator' => __DIR__.'/..'.'/sebastian/comparator/src/ObjectComparator.php', |
|
583 | + 'SebastianBergmann\\Comparator\\ResourceComparator' => __DIR__.'/..'.'/sebastian/comparator/src/ResourceComparator.php', |
|
584 | + 'SebastianBergmann\\Comparator\\ScalarComparator' => __DIR__.'/..'.'/sebastian/comparator/src/ScalarComparator.php', |
|
585 | + 'SebastianBergmann\\Comparator\\SplObjectStorageComparator' => __DIR__.'/..'.'/sebastian/comparator/src/SplObjectStorageComparator.php', |
|
586 | + 'SebastianBergmann\\Comparator\\TypeComparator' => __DIR__.'/..'.'/sebastian/comparator/src/TypeComparator.php', |
|
587 | + 'SebastianBergmann\\Diff\\Chunk' => __DIR__.'/..'.'/sebastian/diff/src/Chunk.php', |
|
588 | + 'SebastianBergmann\\Diff\\Diff' => __DIR__.'/..'.'/sebastian/diff/src/Diff.php', |
|
589 | + 'SebastianBergmann\\Diff\\Differ' => __DIR__.'/..'.'/sebastian/diff/src/Differ.php', |
|
590 | + 'SebastianBergmann\\Diff\\LCS\\LongestCommonSubsequence' => __DIR__.'/..'.'/sebastian/diff/src/LCS/LongestCommonSubsequence.php', |
|
591 | + 'SebastianBergmann\\Diff\\LCS\\MemoryEfficientImplementation' => __DIR__.'/..'.'/sebastian/diff/src/LCS/MemoryEfficientLongestCommonSubsequenceImplementation.php', |
|
592 | + 'SebastianBergmann\\Diff\\LCS\\TimeEfficientImplementation' => __DIR__.'/..'.'/sebastian/diff/src/LCS/TimeEfficientLongestCommonSubsequenceImplementation.php', |
|
593 | + 'SebastianBergmann\\Diff\\Line' => __DIR__.'/..'.'/sebastian/diff/src/Line.php', |
|
594 | + 'SebastianBergmann\\Diff\\Parser' => __DIR__.'/..'.'/sebastian/diff/src/Parser.php', |
|
595 | + 'SebastianBergmann\\Environment\\Console' => __DIR__.'/..'.'/sebastian/environment/src/Console.php', |
|
596 | + 'SebastianBergmann\\Environment\\Runtime' => __DIR__.'/..'.'/sebastian/environment/src/Runtime.php', |
|
597 | + 'SebastianBergmann\\Exporter\\Exporter' => __DIR__.'/..'.'/sebastian/exporter/src/Exporter.php', |
|
598 | + 'SebastianBergmann\\GlobalState\\Blacklist' => __DIR__.'/..'.'/sebastian/global-state/src/Blacklist.php', |
|
599 | + 'SebastianBergmann\\GlobalState\\CodeExporter' => __DIR__.'/..'.'/sebastian/global-state/src/CodeExporter.php', |
|
600 | + 'SebastianBergmann\\GlobalState\\Exception' => __DIR__.'/..'.'/sebastian/global-state/src/Exception.php', |
|
601 | + 'SebastianBergmann\\GlobalState\\Restorer' => __DIR__.'/..'.'/sebastian/global-state/src/Restorer.php', |
|
602 | + 'SebastianBergmann\\GlobalState\\RuntimeException' => __DIR__.'/..'.'/sebastian/global-state/src/RuntimeException.php', |
|
603 | + 'SebastianBergmann\\GlobalState\\Snapshot' => __DIR__.'/..'.'/sebastian/global-state/src/Snapshot.php', |
|
604 | + 'SebastianBergmann\\RecursionContext\\Context' => __DIR__.'/..'.'/sebastian/recursion-context/src/Context.php', |
|
605 | + 'SebastianBergmann\\RecursionContext\\Exception' => __DIR__.'/..'.'/sebastian/recursion-context/src/Exception.php', |
|
606 | + 'SebastianBergmann\\RecursionContext\\InvalidArgumentException' => __DIR__.'/..'.'/sebastian/recursion-context/src/InvalidArgumentException.php', |
|
607 | + 'SebastianBergmann\\Version' => __DIR__.'/..'.'/sebastian/version/src/Version.php', |
|
608 | + 'Stringable' => __DIR__.'/..'.'/symfony/polyfill-php80/Resources/stubs/Stringable.php', |
|
609 | + 'Text_Template' => __DIR__.'/..'.'/phpunit/php-text-template/src/Template.php', |
|
610 | + 'UnhandledMatchError' => __DIR__.'/..'.'/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php', |
|
611 | + 'ValueError' => __DIR__.'/..'.'/symfony/polyfill-php80/Resources/stubs/ValueError.php', |
|
612 | 612 | ); |
613 | 613 | |
614 | 614 | public static function getInitializer(ClassLoader $loader) |
615 | 615 | { |
616 | - return \Closure::bind(function () use ($loader) { |
|
616 | + return \Closure::bind(function() use ($loader) { |
|
617 | 617 | $loader->prefixLengthsPsr4 = ComposerStaticInit4da13270269c89a28e472e1f7324e6d1::$prefixLengthsPsr4; |
618 | 618 | $loader->prefixDirsPsr4 = ComposerStaticInit4da13270269c89a28e472e1f7324e6d1::$prefixDirsPsr4; |
619 | 619 | $loader->classMap = ComposerStaticInit4da13270269c89a28e472e1f7324e6d1::$classMap; |
@@ -6,10 +6,10 @@ |
||
6 | 6 | $baseDir = dirname($vendorDir); |
7 | 7 | |
8 | 8 | return array( |
9 | - '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => $vendorDir . '/symfony/polyfill-mbstring/bootstrap.php', |
|
10 | - 'a4a119a56e50fbb293281d9a48007e0e' => $vendorDir . '/symfony/polyfill-php80/bootstrap.php', |
|
11 | - '60799491728b879e74601d83e38b2cad' => $vendorDir . '/illuminate/collections/helpers.php', |
|
12 | - '320cde22f66dd4f5d3fd621d3e88b98f' => $vendorDir . '/symfony/polyfill-ctype/bootstrap.php', |
|
13 | - '72579e7bd17821bb1321b87411366eae' => $vendorDir . '/illuminate/support/helpers.php', |
|
14 | - '6e3fae29631ef280660b3cdad06f25a8' => $vendorDir . '/symfony/deprecation-contracts/function.php', |
|
9 | + '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => $vendorDir . '/symfony/polyfill-mbstring/bootstrap.php', |
|
10 | + 'a4a119a56e50fbb293281d9a48007e0e' => $vendorDir . '/symfony/polyfill-php80/bootstrap.php', |
|
11 | + '60799491728b879e74601d83e38b2cad' => $vendorDir . '/illuminate/collections/helpers.php', |
|
12 | + '320cde22f66dd4f5d3fd621d3e88b98f' => $vendorDir . '/symfony/polyfill-ctype/bootstrap.php', |
|
13 | + '72579e7bd17821bb1321b87411366eae' => $vendorDir . '/illuminate/support/helpers.php', |
|
14 | + '6e3fae29631ef280660b3cdad06f25a8' => $vendorDir . '/symfony/deprecation-contracts/function.php', |
|
15 | 15 | ); |
@@ -6,10 +6,10 @@ |
||
6 | 6 | $baseDir = dirname($vendorDir); |
7 | 7 | |
8 | 8 | return array( |
9 | - '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => $vendorDir . '/symfony/polyfill-mbstring/bootstrap.php', |
|
10 | - 'a4a119a56e50fbb293281d9a48007e0e' => $vendorDir . '/symfony/polyfill-php80/bootstrap.php', |
|
11 | - '60799491728b879e74601d83e38b2cad' => $vendorDir . '/illuminate/collections/helpers.php', |
|
12 | - '320cde22f66dd4f5d3fd621d3e88b98f' => $vendorDir . '/symfony/polyfill-ctype/bootstrap.php', |
|
13 | - '72579e7bd17821bb1321b87411366eae' => $vendorDir . '/illuminate/support/helpers.php', |
|
14 | - '6e3fae29631ef280660b3cdad06f25a8' => $vendorDir . '/symfony/deprecation-contracts/function.php', |
|
9 | + '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => $vendorDir.'/symfony/polyfill-mbstring/bootstrap.php', |
|
10 | + 'a4a119a56e50fbb293281d9a48007e0e' => $vendorDir.'/symfony/polyfill-php80/bootstrap.php', |
|
11 | + '60799491728b879e74601d83e38b2cad' => $vendorDir.'/illuminate/collections/helpers.php', |
|
12 | + '320cde22f66dd4f5d3fd621d3e88b98f' => $vendorDir.'/symfony/polyfill-ctype/bootstrap.php', |
|
13 | + '72579e7bd17821bb1321b87411366eae' => $vendorDir.'/illuminate/support/helpers.php', |
|
14 | + '6e3fae29631ef280660b3cdad06f25a8' => $vendorDir.'/symfony/deprecation-contracts/function.php', |
|
15 | 15 | ); |
@@ -1,371 +1,371 @@ |
||
1 | 1 | <?php return array( |
2 | - 'root' => array( |
|
3 | - 'name' => 'webklex/php-imap', |
|
4 | - 'pretty_version' => 'dev-develop', |
|
5 | - 'version' => 'dev-develop', |
|
6 | - 'reference' => '0f467d1c4283cc035ef474db3c733653feeb570f', |
|
7 | - 'type' => 'library', |
|
8 | - 'install_path' => __DIR__ . '/../../', |
|
9 | - 'aliases' => array(), |
|
10 | - 'dev' => true, |
|
11 | - ), |
|
12 | - 'versions' => array( |
|
13 | - 'doctrine/inflector' => array( |
|
14 | - 'pretty_version' => '2.0.4', |
|
15 | - 'version' => '2.0.4.0', |
|
16 | - 'reference' => '8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89', |
|
17 | - 'type' => 'library', |
|
18 | - 'install_path' => __DIR__ . '/../doctrine/inflector', |
|
19 | - 'aliases' => array(), |
|
20 | - 'dev_requirement' => false, |
|
21 | - ), |
|
22 | - 'doctrine/instantiator' => array( |
|
23 | - 'pretty_version' => '1.4.1', |
|
24 | - 'version' => '1.4.1.0', |
|
25 | - 'reference' => '10dcfce151b967d20fde1b34ae6640712c3891bc', |
|
26 | - 'type' => 'library', |
|
27 | - 'install_path' => __DIR__ . '/../doctrine/instantiator', |
|
28 | - 'aliases' => array(), |
|
29 | - 'dev_requirement' => true, |
|
30 | - ), |
|
31 | - 'illuminate/collections' => array( |
|
32 | - 'pretty_version' => 'v8.83.23', |
|
33 | - 'version' => '8.83.23.0', |
|
34 | - 'reference' => '705a4e1ef93cd492c45b9b3e7911cccc990a07f4', |
|
35 | - 'type' => 'library', |
|
36 | - 'install_path' => __DIR__ . '/../illuminate/collections', |
|
37 | - 'aliases' => array(), |
|
38 | - 'dev_requirement' => false, |
|
39 | - ), |
|
40 | - 'illuminate/contracts' => array( |
|
41 | - 'pretty_version' => 'v8.83.23', |
|
42 | - 'version' => '8.83.23.0', |
|
43 | - 'reference' => '5e0fd287a1b22a6b346a9f7cd484d8cf0234585d', |
|
44 | - 'type' => 'library', |
|
45 | - 'install_path' => __DIR__ . '/../illuminate/contracts', |
|
46 | - 'aliases' => array(), |
|
47 | - 'dev_requirement' => false, |
|
48 | - ), |
|
49 | - 'illuminate/macroable' => array( |
|
50 | - 'pretty_version' => 'v8.83.23', |
|
51 | - 'version' => '8.83.23.0', |
|
52 | - 'reference' => 'aed81891a6e046fdee72edd497f822190f61c162', |
|
53 | - 'type' => 'library', |
|
54 | - 'install_path' => __DIR__ . '/../illuminate/macroable', |
|
55 | - 'aliases' => array(), |
|
56 | - 'dev_requirement' => false, |
|
57 | - ), |
|
58 | - 'illuminate/pagination' => array( |
|
59 | - 'pretty_version' => 'v8.83.23', |
|
60 | - 'version' => '8.83.23.0', |
|
61 | - 'reference' => '16fe8dc35f9d18c58a3471469af656a02e9ab692', |
|
62 | - 'type' => 'library', |
|
63 | - 'install_path' => __DIR__ . '/../illuminate/pagination', |
|
64 | - 'aliases' => array(), |
|
65 | - 'dev_requirement' => false, |
|
66 | - ), |
|
67 | - 'illuminate/support' => array( |
|
68 | - 'pretty_version' => 'v8.83.23', |
|
69 | - 'version' => '8.83.23.0', |
|
70 | - 'reference' => 'c3d643e77082786ae8a51502c757e9b1a3ee254e', |
|
71 | - 'type' => 'library', |
|
72 | - 'install_path' => __DIR__ . '/../illuminate/support', |
|
73 | - 'aliases' => array(), |
|
74 | - 'dev_requirement' => false, |
|
75 | - ), |
|
76 | - 'nesbot/carbon' => array( |
|
77 | - 'pretty_version' => '2.61.0', |
|
78 | - 'version' => '2.61.0.0', |
|
79 | - 'reference' => 'bdf4f4fe3a3eac4de84dbec0738082a862c68ba6', |
|
80 | - 'type' => 'library', |
|
81 | - 'install_path' => __DIR__ . '/../nesbot/carbon', |
|
82 | - 'aliases' => array(), |
|
83 | - 'dev_requirement' => false, |
|
84 | - ), |
|
85 | - 'phpdocumentor/reflection-common' => array( |
|
86 | - 'pretty_version' => '2.2.0', |
|
87 | - 'version' => '2.2.0.0', |
|
88 | - 'reference' => '1d01c49d4ed62f25aa84a747ad35d5a16924662b', |
|
89 | - 'type' => 'library', |
|
90 | - 'install_path' => __DIR__ . '/../phpdocumentor/reflection-common', |
|
91 | - 'aliases' => array(), |
|
92 | - 'dev_requirement' => true, |
|
93 | - ), |
|
94 | - 'phpdocumentor/reflection-docblock' => array( |
|
95 | - 'pretty_version' => '5.3.0', |
|
96 | - 'version' => '5.3.0.0', |
|
97 | - 'reference' => '622548b623e81ca6d78b721c5e029f4ce664f170', |
|
98 | - 'type' => 'library', |
|
99 | - 'install_path' => __DIR__ . '/../phpdocumentor/reflection-docblock', |
|
100 | - 'aliases' => array(), |
|
101 | - 'dev_requirement' => true, |
|
102 | - ), |
|
103 | - 'phpdocumentor/type-resolver' => array( |
|
104 | - 'pretty_version' => '1.6.1', |
|
105 | - 'version' => '1.6.1.0', |
|
106 | - 'reference' => '77a32518733312af16a44300404e945338981de3', |
|
107 | - 'type' => 'library', |
|
108 | - 'install_path' => __DIR__ . '/../phpdocumentor/type-resolver', |
|
109 | - 'aliases' => array(), |
|
110 | - 'dev_requirement' => true, |
|
111 | - ), |
|
112 | - 'phpspec/prophecy' => array( |
|
113 | - 'pretty_version' => 'v1.10.3', |
|
114 | - 'version' => '1.10.3.0', |
|
115 | - 'reference' => '451c3cd1418cf640de218914901e51b064abb093', |
|
116 | - 'type' => 'library', |
|
117 | - 'install_path' => __DIR__ . '/../phpspec/prophecy', |
|
118 | - 'aliases' => array(), |
|
119 | - 'dev_requirement' => true, |
|
120 | - ), |
|
121 | - 'phpunit/php-code-coverage' => array( |
|
122 | - 'pretty_version' => '2.2.4', |
|
123 | - 'version' => '2.2.4.0', |
|
124 | - 'reference' => 'eabf68b476ac7d0f73793aada060f1c1a9bf8979', |
|
125 | - 'type' => 'library', |
|
126 | - 'install_path' => __DIR__ . '/../phpunit/php-code-coverage', |
|
127 | - 'aliases' => array(), |
|
128 | - 'dev_requirement' => true, |
|
129 | - ), |
|
130 | - 'phpunit/php-file-iterator' => array( |
|
131 | - 'pretty_version' => '1.4.5', |
|
132 | - 'version' => '1.4.5.0', |
|
133 | - 'reference' => '730b01bc3e867237eaac355e06a36b85dd93a8b4', |
|
134 | - 'type' => 'library', |
|
135 | - 'install_path' => __DIR__ . '/../phpunit/php-file-iterator', |
|
136 | - 'aliases' => array(), |
|
137 | - 'dev_requirement' => true, |
|
138 | - ), |
|
139 | - 'phpunit/php-text-template' => array( |
|
140 | - 'pretty_version' => '1.2.1', |
|
141 | - 'version' => '1.2.1.0', |
|
142 | - 'reference' => '31f8b717e51d9a2afca6c9f046f5d69fc27c8686', |
|
143 | - 'type' => 'library', |
|
144 | - 'install_path' => __DIR__ . '/../phpunit/php-text-template', |
|
145 | - 'aliases' => array(), |
|
146 | - 'dev_requirement' => true, |
|
147 | - ), |
|
148 | - 'phpunit/php-timer' => array( |
|
149 | - 'pretty_version' => '1.0.9', |
|
150 | - 'version' => '1.0.9.0', |
|
151 | - 'reference' => '3dcf38ca72b158baf0bc245e9184d3fdffa9c46f', |
|
152 | - 'type' => 'library', |
|
153 | - 'install_path' => __DIR__ . '/../phpunit/php-timer', |
|
154 | - 'aliases' => array(), |
|
155 | - 'dev_requirement' => true, |
|
156 | - ), |
|
157 | - 'phpunit/php-token-stream' => array( |
|
158 | - 'pretty_version' => '1.4.12', |
|
159 | - 'version' => '1.4.12.0', |
|
160 | - 'reference' => '1ce90ba27c42e4e44e6d8458241466380b51fa16', |
|
161 | - 'type' => 'library', |
|
162 | - 'install_path' => __DIR__ . '/../phpunit/php-token-stream', |
|
163 | - 'aliases' => array(), |
|
164 | - 'dev_requirement' => true, |
|
165 | - ), |
|
166 | - 'phpunit/phpunit' => array( |
|
167 | - 'pretty_version' => '4.8.36', |
|
168 | - 'version' => '4.8.36.0', |
|
169 | - 'reference' => '46023de9a91eec7dfb06cc56cb4e260017298517', |
|
170 | - 'type' => 'library', |
|
171 | - 'install_path' => __DIR__ . '/../phpunit/phpunit', |
|
172 | - 'aliases' => array(), |
|
173 | - 'dev_requirement' => true, |
|
174 | - ), |
|
175 | - 'phpunit/phpunit-mock-objects' => array( |
|
176 | - 'pretty_version' => '2.3.8', |
|
177 | - 'version' => '2.3.8.0', |
|
178 | - 'reference' => 'ac8e7a3db35738d56ee9a76e78a4e03d97628983', |
|
179 | - 'type' => 'library', |
|
180 | - 'install_path' => __DIR__ . '/../phpunit/phpunit-mock-objects', |
|
181 | - 'aliases' => array(), |
|
182 | - 'dev_requirement' => true, |
|
183 | - ), |
|
184 | - 'psr/container' => array( |
|
185 | - 'pretty_version' => '1.1.2', |
|
186 | - 'version' => '1.1.2.0', |
|
187 | - 'reference' => '513e0666f7216c7459170d56df27dfcefe1689ea', |
|
188 | - 'type' => 'library', |
|
189 | - 'install_path' => __DIR__ . '/../psr/container', |
|
190 | - 'aliases' => array(), |
|
191 | - 'dev_requirement' => false, |
|
192 | - ), |
|
193 | - 'psr/simple-cache' => array( |
|
194 | - 'pretty_version' => '1.0.1', |
|
195 | - 'version' => '1.0.1.0', |
|
196 | - 'reference' => '408d5eafb83c57f6365a3ca330ff23aa4a5fa39b', |
|
197 | - 'type' => 'library', |
|
198 | - 'install_path' => __DIR__ . '/../psr/simple-cache', |
|
199 | - 'aliases' => array(), |
|
200 | - 'dev_requirement' => false, |
|
201 | - ), |
|
202 | - 'sebastian/comparator' => array( |
|
203 | - 'pretty_version' => '1.2.4', |
|
204 | - 'version' => '1.2.4.0', |
|
205 | - 'reference' => '2b7424b55f5047b47ac6e5ccb20b2aea4011d9be', |
|
206 | - 'type' => 'library', |
|
207 | - 'install_path' => __DIR__ . '/../sebastian/comparator', |
|
208 | - 'aliases' => array(), |
|
209 | - 'dev_requirement' => true, |
|
210 | - ), |
|
211 | - 'sebastian/diff' => array( |
|
212 | - 'pretty_version' => '1.4.3', |
|
213 | - 'version' => '1.4.3.0', |
|
214 | - 'reference' => '7f066a26a962dbe58ddea9f72a4e82874a3975a4', |
|
215 | - 'type' => 'library', |
|
216 | - 'install_path' => __DIR__ . '/../sebastian/diff', |
|
217 | - 'aliases' => array(), |
|
218 | - 'dev_requirement' => true, |
|
219 | - ), |
|
220 | - 'sebastian/environment' => array( |
|
221 | - 'pretty_version' => '1.3.8', |
|
222 | - 'version' => '1.3.8.0', |
|
223 | - 'reference' => 'be2c607e43ce4c89ecd60e75c6a85c126e754aea', |
|
224 | - 'type' => 'library', |
|
225 | - 'install_path' => __DIR__ . '/../sebastian/environment', |
|
226 | - 'aliases' => array(), |
|
227 | - 'dev_requirement' => true, |
|
228 | - ), |
|
229 | - 'sebastian/exporter' => array( |
|
230 | - 'pretty_version' => '1.2.2', |
|
231 | - 'version' => '1.2.2.0', |
|
232 | - 'reference' => '42c4c2eec485ee3e159ec9884f95b431287edde4', |
|
233 | - 'type' => 'library', |
|
234 | - 'install_path' => __DIR__ . '/../sebastian/exporter', |
|
235 | - 'aliases' => array(), |
|
236 | - 'dev_requirement' => true, |
|
237 | - ), |
|
238 | - 'sebastian/global-state' => array( |
|
239 | - 'pretty_version' => '1.1.1', |
|
240 | - 'version' => '1.1.1.0', |
|
241 | - 'reference' => 'bc37d50fea7d017d3d340f230811c9f1d7280af4', |
|
242 | - 'type' => 'library', |
|
243 | - 'install_path' => __DIR__ . '/../sebastian/global-state', |
|
244 | - 'aliases' => array(), |
|
245 | - 'dev_requirement' => true, |
|
246 | - ), |
|
247 | - 'sebastian/recursion-context' => array( |
|
248 | - 'pretty_version' => '1.0.5', |
|
249 | - 'version' => '1.0.5.0', |
|
250 | - 'reference' => 'b19cc3298482a335a95f3016d2f8a6950f0fbcd7', |
|
251 | - 'type' => 'library', |
|
252 | - 'install_path' => __DIR__ . '/../sebastian/recursion-context', |
|
253 | - 'aliases' => array(), |
|
254 | - 'dev_requirement' => true, |
|
255 | - ), |
|
256 | - 'sebastian/version' => array( |
|
257 | - 'pretty_version' => '1.0.6', |
|
258 | - 'version' => '1.0.6.0', |
|
259 | - 'reference' => '58b3a85e7999757d6ad81c787a1fbf5ff6c628c6', |
|
260 | - 'type' => 'library', |
|
261 | - 'install_path' => __DIR__ . '/../sebastian/version', |
|
262 | - 'aliases' => array(), |
|
263 | - 'dev_requirement' => true, |
|
264 | - ), |
|
265 | - 'symfony/deprecation-contracts' => array( |
|
266 | - 'pretty_version' => 'v2.5.2', |
|
267 | - 'version' => '2.5.2.0', |
|
268 | - 'reference' => 'e8b495ea28c1d97b5e0c121748d6f9b53d075c66', |
|
269 | - 'type' => 'library', |
|
270 | - 'install_path' => __DIR__ . '/../symfony/deprecation-contracts', |
|
271 | - 'aliases' => array(), |
|
272 | - 'dev_requirement' => false, |
|
273 | - ), |
|
274 | - 'symfony/http-foundation' => array( |
|
275 | - 'pretty_version' => 'v5.4.11', |
|
276 | - 'version' => '5.4.11.0', |
|
277 | - 'reference' => '0a5868e0999e9d47859ba3d918548ff6943e6389', |
|
278 | - 'type' => 'library', |
|
279 | - 'install_path' => __DIR__ . '/../symfony/http-foundation', |
|
280 | - 'aliases' => array(), |
|
281 | - 'dev_requirement' => false, |
|
282 | - ), |
|
283 | - 'symfony/polyfill-ctype' => array( |
|
284 | - 'pretty_version' => 'v1.26.0', |
|
285 | - 'version' => '1.26.0.0', |
|
286 | - 'reference' => '6fd1b9a79f6e3cf65f9e679b23af304cd9e010d4', |
|
287 | - 'type' => 'library', |
|
288 | - 'install_path' => __DIR__ . '/../symfony/polyfill-ctype', |
|
289 | - 'aliases' => array(), |
|
290 | - 'dev_requirement' => true, |
|
291 | - ), |
|
292 | - 'symfony/polyfill-mbstring' => array( |
|
293 | - 'pretty_version' => 'v1.26.0', |
|
294 | - 'version' => '1.26.0.0', |
|
295 | - 'reference' => '9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e', |
|
296 | - 'type' => 'library', |
|
297 | - 'install_path' => __DIR__ . '/../symfony/polyfill-mbstring', |
|
298 | - 'aliases' => array(), |
|
299 | - 'dev_requirement' => false, |
|
300 | - ), |
|
301 | - 'symfony/polyfill-php80' => array( |
|
302 | - 'pretty_version' => 'v1.26.0', |
|
303 | - 'version' => '1.26.0.0', |
|
304 | - 'reference' => 'cfa0ae98841b9e461207c13ab093d76b0fa7bace', |
|
305 | - 'type' => 'library', |
|
306 | - 'install_path' => __DIR__ . '/../symfony/polyfill-php80', |
|
307 | - 'aliases' => array(), |
|
308 | - 'dev_requirement' => false, |
|
309 | - ), |
|
310 | - 'symfony/translation' => array( |
|
311 | - 'pretty_version' => 'v4.4.44', |
|
312 | - 'version' => '4.4.44.0', |
|
313 | - 'reference' => 'af947fefc306cec6ea5a1f6160c7e305a71f2493', |
|
314 | - 'type' => 'library', |
|
315 | - 'install_path' => __DIR__ . '/../symfony/translation', |
|
316 | - 'aliases' => array(), |
|
317 | - 'dev_requirement' => false, |
|
318 | - ), |
|
319 | - 'symfony/translation-contracts' => array( |
|
320 | - 'pretty_version' => 'v2.5.2', |
|
321 | - 'version' => '2.5.2.0', |
|
322 | - 'reference' => '136b19dd05cdf0709db6537d058bcab6dd6e2dbe', |
|
323 | - 'type' => 'library', |
|
324 | - 'install_path' => __DIR__ . '/../symfony/translation-contracts', |
|
325 | - 'aliases' => array(), |
|
326 | - 'dev_requirement' => false, |
|
327 | - ), |
|
328 | - 'symfony/translation-implementation' => array( |
|
329 | - 'dev_requirement' => false, |
|
330 | - 'provided' => array( |
|
331 | - 0 => '1.0|2.0', |
|
332 | - ), |
|
333 | - ), |
|
334 | - 'symfony/yaml' => array( |
|
335 | - 'pretty_version' => 'v3.4.47', |
|
336 | - 'version' => '3.4.47.0', |
|
337 | - 'reference' => '88289caa3c166321883f67fe5130188ebbb47094', |
|
338 | - 'type' => 'library', |
|
339 | - 'install_path' => __DIR__ . '/../symfony/yaml', |
|
340 | - 'aliases' => array(), |
|
341 | - 'dev_requirement' => true, |
|
342 | - ), |
|
343 | - 'voku/portable-ascii' => array( |
|
344 | - 'pretty_version' => '1.6.1', |
|
345 | - 'version' => '1.6.1.0', |
|
346 | - 'reference' => '87337c91b9dfacee02452244ee14ab3c43bc485a', |
|
347 | - 'type' => 'library', |
|
348 | - 'install_path' => __DIR__ . '/../voku/portable-ascii', |
|
349 | - 'aliases' => array(), |
|
350 | - 'dev_requirement' => false, |
|
351 | - ), |
|
352 | - 'webklex/php-imap' => array( |
|
353 | - 'pretty_version' => 'dev-develop', |
|
354 | - 'version' => 'dev-develop', |
|
355 | - 'reference' => '0f467d1c4283cc035ef474db3c733653feeb570f', |
|
356 | - 'type' => 'library', |
|
357 | - 'install_path' => __DIR__ . '/../../', |
|
358 | - 'aliases' => array(), |
|
359 | - 'dev_requirement' => false, |
|
360 | - ), |
|
361 | - 'webmozart/assert' => array( |
|
362 | - 'pretty_version' => '1.11.0', |
|
363 | - 'version' => '1.11.0.0', |
|
364 | - 'reference' => '11cb2199493b2f8a3b53e7f19068fc6aac760991', |
|
365 | - 'type' => 'library', |
|
366 | - 'install_path' => __DIR__ . '/../webmozart/assert', |
|
367 | - 'aliases' => array(), |
|
368 | - 'dev_requirement' => true, |
|
369 | - ), |
|
370 | - ), |
|
2 | + 'root' => array( |
|
3 | + 'name' => 'webklex/php-imap', |
|
4 | + 'pretty_version' => 'dev-develop', |
|
5 | + 'version' => 'dev-develop', |
|
6 | + 'reference' => '0f467d1c4283cc035ef474db3c733653feeb570f', |
|
7 | + 'type' => 'library', |
|
8 | + 'install_path' => __DIR__ . '/../../', |
|
9 | + 'aliases' => array(), |
|
10 | + 'dev' => true, |
|
11 | + ), |
|
12 | + 'versions' => array( |
|
13 | + 'doctrine/inflector' => array( |
|
14 | + 'pretty_version' => '2.0.4', |
|
15 | + 'version' => '2.0.4.0', |
|
16 | + 'reference' => '8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89', |
|
17 | + 'type' => 'library', |
|
18 | + 'install_path' => __DIR__ . '/../doctrine/inflector', |
|
19 | + 'aliases' => array(), |
|
20 | + 'dev_requirement' => false, |
|
21 | + ), |
|
22 | + 'doctrine/instantiator' => array( |
|
23 | + 'pretty_version' => '1.4.1', |
|
24 | + 'version' => '1.4.1.0', |
|
25 | + 'reference' => '10dcfce151b967d20fde1b34ae6640712c3891bc', |
|
26 | + 'type' => 'library', |
|
27 | + 'install_path' => __DIR__ . '/../doctrine/instantiator', |
|
28 | + 'aliases' => array(), |
|
29 | + 'dev_requirement' => true, |
|
30 | + ), |
|
31 | + 'illuminate/collections' => array( |
|
32 | + 'pretty_version' => 'v8.83.23', |
|
33 | + 'version' => '8.83.23.0', |
|
34 | + 'reference' => '705a4e1ef93cd492c45b9b3e7911cccc990a07f4', |
|
35 | + 'type' => 'library', |
|
36 | + 'install_path' => __DIR__ . '/../illuminate/collections', |
|
37 | + 'aliases' => array(), |
|
38 | + 'dev_requirement' => false, |
|
39 | + ), |
|
40 | + 'illuminate/contracts' => array( |
|
41 | + 'pretty_version' => 'v8.83.23', |
|
42 | + 'version' => '8.83.23.0', |
|
43 | + 'reference' => '5e0fd287a1b22a6b346a9f7cd484d8cf0234585d', |
|
44 | + 'type' => 'library', |
|
45 | + 'install_path' => __DIR__ . '/../illuminate/contracts', |
|
46 | + 'aliases' => array(), |
|
47 | + 'dev_requirement' => false, |
|
48 | + ), |
|
49 | + 'illuminate/macroable' => array( |
|
50 | + 'pretty_version' => 'v8.83.23', |
|
51 | + 'version' => '8.83.23.0', |
|
52 | + 'reference' => 'aed81891a6e046fdee72edd497f822190f61c162', |
|
53 | + 'type' => 'library', |
|
54 | + 'install_path' => __DIR__ . '/../illuminate/macroable', |
|
55 | + 'aliases' => array(), |
|
56 | + 'dev_requirement' => false, |
|
57 | + ), |
|
58 | + 'illuminate/pagination' => array( |
|
59 | + 'pretty_version' => 'v8.83.23', |
|
60 | + 'version' => '8.83.23.0', |
|
61 | + 'reference' => '16fe8dc35f9d18c58a3471469af656a02e9ab692', |
|
62 | + 'type' => 'library', |
|
63 | + 'install_path' => __DIR__ . '/../illuminate/pagination', |
|
64 | + 'aliases' => array(), |
|
65 | + 'dev_requirement' => false, |
|
66 | + ), |
|
67 | + 'illuminate/support' => array( |
|
68 | + 'pretty_version' => 'v8.83.23', |
|
69 | + 'version' => '8.83.23.0', |
|
70 | + 'reference' => 'c3d643e77082786ae8a51502c757e9b1a3ee254e', |
|
71 | + 'type' => 'library', |
|
72 | + 'install_path' => __DIR__ . '/../illuminate/support', |
|
73 | + 'aliases' => array(), |
|
74 | + 'dev_requirement' => false, |
|
75 | + ), |
|
76 | + 'nesbot/carbon' => array( |
|
77 | + 'pretty_version' => '2.61.0', |
|
78 | + 'version' => '2.61.0.0', |
|
79 | + 'reference' => 'bdf4f4fe3a3eac4de84dbec0738082a862c68ba6', |
|
80 | + 'type' => 'library', |
|
81 | + 'install_path' => __DIR__ . '/../nesbot/carbon', |
|
82 | + 'aliases' => array(), |
|
83 | + 'dev_requirement' => false, |
|
84 | + ), |
|
85 | + 'phpdocumentor/reflection-common' => array( |
|
86 | + 'pretty_version' => '2.2.0', |
|
87 | + 'version' => '2.2.0.0', |
|
88 | + 'reference' => '1d01c49d4ed62f25aa84a747ad35d5a16924662b', |
|
89 | + 'type' => 'library', |
|
90 | + 'install_path' => __DIR__ . '/../phpdocumentor/reflection-common', |
|
91 | + 'aliases' => array(), |
|
92 | + 'dev_requirement' => true, |
|
93 | + ), |
|
94 | + 'phpdocumentor/reflection-docblock' => array( |
|
95 | + 'pretty_version' => '5.3.0', |
|
96 | + 'version' => '5.3.0.0', |
|
97 | + 'reference' => '622548b623e81ca6d78b721c5e029f4ce664f170', |
|
98 | + 'type' => 'library', |
|
99 | + 'install_path' => __DIR__ . '/../phpdocumentor/reflection-docblock', |
|
100 | + 'aliases' => array(), |
|
101 | + 'dev_requirement' => true, |
|
102 | + ), |
|
103 | + 'phpdocumentor/type-resolver' => array( |
|
104 | + 'pretty_version' => '1.6.1', |
|
105 | + 'version' => '1.6.1.0', |
|
106 | + 'reference' => '77a32518733312af16a44300404e945338981de3', |
|
107 | + 'type' => 'library', |
|
108 | + 'install_path' => __DIR__ . '/../phpdocumentor/type-resolver', |
|
109 | + 'aliases' => array(), |
|
110 | + 'dev_requirement' => true, |
|
111 | + ), |
|
112 | + 'phpspec/prophecy' => array( |
|
113 | + 'pretty_version' => 'v1.10.3', |
|
114 | + 'version' => '1.10.3.0', |
|
115 | + 'reference' => '451c3cd1418cf640de218914901e51b064abb093', |
|
116 | + 'type' => 'library', |
|
117 | + 'install_path' => __DIR__ . '/../phpspec/prophecy', |
|
118 | + 'aliases' => array(), |
|
119 | + 'dev_requirement' => true, |
|
120 | + ), |
|
121 | + 'phpunit/php-code-coverage' => array( |
|
122 | + 'pretty_version' => '2.2.4', |
|
123 | + 'version' => '2.2.4.0', |
|
124 | + 'reference' => 'eabf68b476ac7d0f73793aada060f1c1a9bf8979', |
|
125 | + 'type' => 'library', |
|
126 | + 'install_path' => __DIR__ . '/../phpunit/php-code-coverage', |
|
127 | + 'aliases' => array(), |
|
128 | + 'dev_requirement' => true, |
|
129 | + ), |
|
130 | + 'phpunit/php-file-iterator' => array( |
|
131 | + 'pretty_version' => '1.4.5', |
|
132 | + 'version' => '1.4.5.0', |
|
133 | + 'reference' => '730b01bc3e867237eaac355e06a36b85dd93a8b4', |
|
134 | + 'type' => 'library', |
|
135 | + 'install_path' => __DIR__ . '/../phpunit/php-file-iterator', |
|
136 | + 'aliases' => array(), |
|
137 | + 'dev_requirement' => true, |
|
138 | + ), |
|
139 | + 'phpunit/php-text-template' => array( |
|
140 | + 'pretty_version' => '1.2.1', |
|
141 | + 'version' => '1.2.1.0', |
|
142 | + 'reference' => '31f8b717e51d9a2afca6c9f046f5d69fc27c8686', |
|
143 | + 'type' => 'library', |
|
144 | + 'install_path' => __DIR__ . '/../phpunit/php-text-template', |
|
145 | + 'aliases' => array(), |
|
146 | + 'dev_requirement' => true, |
|
147 | + ), |
|
148 | + 'phpunit/php-timer' => array( |
|
149 | + 'pretty_version' => '1.0.9', |
|
150 | + 'version' => '1.0.9.0', |
|
151 | + 'reference' => '3dcf38ca72b158baf0bc245e9184d3fdffa9c46f', |
|
152 | + 'type' => 'library', |
|
153 | + 'install_path' => __DIR__ . '/../phpunit/php-timer', |
|
154 | + 'aliases' => array(), |
|
155 | + 'dev_requirement' => true, |
|
156 | + ), |
|
157 | + 'phpunit/php-token-stream' => array( |
|
158 | + 'pretty_version' => '1.4.12', |
|
159 | + 'version' => '1.4.12.0', |
|
160 | + 'reference' => '1ce90ba27c42e4e44e6d8458241466380b51fa16', |
|
161 | + 'type' => 'library', |
|
162 | + 'install_path' => __DIR__ . '/../phpunit/php-token-stream', |
|
163 | + 'aliases' => array(), |
|
164 | + 'dev_requirement' => true, |
|
165 | + ), |
|
166 | + 'phpunit/phpunit' => array( |
|
167 | + 'pretty_version' => '4.8.36', |
|
168 | + 'version' => '4.8.36.0', |
|
169 | + 'reference' => '46023de9a91eec7dfb06cc56cb4e260017298517', |
|
170 | + 'type' => 'library', |
|
171 | + 'install_path' => __DIR__ . '/../phpunit/phpunit', |
|
172 | + 'aliases' => array(), |
|
173 | + 'dev_requirement' => true, |
|
174 | + ), |
|
175 | + 'phpunit/phpunit-mock-objects' => array( |
|
176 | + 'pretty_version' => '2.3.8', |
|
177 | + 'version' => '2.3.8.0', |
|
178 | + 'reference' => 'ac8e7a3db35738d56ee9a76e78a4e03d97628983', |
|
179 | + 'type' => 'library', |
|
180 | + 'install_path' => __DIR__ . '/../phpunit/phpunit-mock-objects', |
|
181 | + 'aliases' => array(), |
|
182 | + 'dev_requirement' => true, |
|
183 | + ), |
|
184 | + 'psr/container' => array( |
|
185 | + 'pretty_version' => '1.1.2', |
|
186 | + 'version' => '1.1.2.0', |
|
187 | + 'reference' => '513e0666f7216c7459170d56df27dfcefe1689ea', |
|
188 | + 'type' => 'library', |
|
189 | + 'install_path' => __DIR__ . '/../psr/container', |
|
190 | + 'aliases' => array(), |
|
191 | + 'dev_requirement' => false, |
|
192 | + ), |
|
193 | + 'psr/simple-cache' => array( |
|
194 | + 'pretty_version' => '1.0.1', |
|
195 | + 'version' => '1.0.1.0', |
|
196 | + 'reference' => '408d5eafb83c57f6365a3ca330ff23aa4a5fa39b', |
|
197 | + 'type' => 'library', |
|
198 | + 'install_path' => __DIR__ . '/../psr/simple-cache', |
|
199 | + 'aliases' => array(), |
|
200 | + 'dev_requirement' => false, |
|
201 | + ), |
|
202 | + 'sebastian/comparator' => array( |
|
203 | + 'pretty_version' => '1.2.4', |
|
204 | + 'version' => '1.2.4.0', |
|
205 | + 'reference' => '2b7424b55f5047b47ac6e5ccb20b2aea4011d9be', |
|
206 | + 'type' => 'library', |
|
207 | + 'install_path' => __DIR__ . '/../sebastian/comparator', |
|
208 | + 'aliases' => array(), |
|
209 | + 'dev_requirement' => true, |
|
210 | + ), |
|
211 | + 'sebastian/diff' => array( |
|
212 | + 'pretty_version' => '1.4.3', |
|
213 | + 'version' => '1.4.3.0', |
|
214 | + 'reference' => '7f066a26a962dbe58ddea9f72a4e82874a3975a4', |
|
215 | + 'type' => 'library', |
|
216 | + 'install_path' => __DIR__ . '/../sebastian/diff', |
|
217 | + 'aliases' => array(), |
|
218 | + 'dev_requirement' => true, |
|
219 | + ), |
|
220 | + 'sebastian/environment' => array( |
|
221 | + 'pretty_version' => '1.3.8', |
|
222 | + 'version' => '1.3.8.0', |
|
223 | + 'reference' => 'be2c607e43ce4c89ecd60e75c6a85c126e754aea', |
|
224 | + 'type' => 'library', |
|
225 | + 'install_path' => __DIR__ . '/../sebastian/environment', |
|
226 | + 'aliases' => array(), |
|
227 | + 'dev_requirement' => true, |
|
228 | + ), |
|
229 | + 'sebastian/exporter' => array( |
|
230 | + 'pretty_version' => '1.2.2', |
|
231 | + 'version' => '1.2.2.0', |
|
232 | + 'reference' => '42c4c2eec485ee3e159ec9884f95b431287edde4', |
|
233 | + 'type' => 'library', |
|
234 | + 'install_path' => __DIR__ . '/../sebastian/exporter', |
|
235 | + 'aliases' => array(), |
|
236 | + 'dev_requirement' => true, |
|
237 | + ), |
|
238 | + 'sebastian/global-state' => array( |
|
239 | + 'pretty_version' => '1.1.1', |
|
240 | + 'version' => '1.1.1.0', |
|
241 | + 'reference' => 'bc37d50fea7d017d3d340f230811c9f1d7280af4', |
|
242 | + 'type' => 'library', |
|
243 | + 'install_path' => __DIR__ . '/../sebastian/global-state', |
|
244 | + 'aliases' => array(), |
|
245 | + 'dev_requirement' => true, |
|
246 | + ), |
|
247 | + 'sebastian/recursion-context' => array( |
|
248 | + 'pretty_version' => '1.0.5', |
|
249 | + 'version' => '1.0.5.0', |
|
250 | + 'reference' => 'b19cc3298482a335a95f3016d2f8a6950f0fbcd7', |
|
251 | + 'type' => 'library', |
|
252 | + 'install_path' => __DIR__ . '/../sebastian/recursion-context', |
|
253 | + 'aliases' => array(), |
|
254 | + 'dev_requirement' => true, |
|
255 | + ), |
|
256 | + 'sebastian/version' => array( |
|
257 | + 'pretty_version' => '1.0.6', |
|
258 | + 'version' => '1.0.6.0', |
|
259 | + 'reference' => '58b3a85e7999757d6ad81c787a1fbf5ff6c628c6', |
|
260 | + 'type' => 'library', |
|
261 | + 'install_path' => __DIR__ . '/../sebastian/version', |
|
262 | + 'aliases' => array(), |
|
263 | + 'dev_requirement' => true, |
|
264 | + ), |
|
265 | + 'symfony/deprecation-contracts' => array( |
|
266 | + 'pretty_version' => 'v2.5.2', |
|
267 | + 'version' => '2.5.2.0', |
|
268 | + 'reference' => 'e8b495ea28c1d97b5e0c121748d6f9b53d075c66', |
|
269 | + 'type' => 'library', |
|
270 | + 'install_path' => __DIR__ . '/../symfony/deprecation-contracts', |
|
271 | + 'aliases' => array(), |
|
272 | + 'dev_requirement' => false, |
|
273 | + ), |
|
274 | + 'symfony/http-foundation' => array( |
|
275 | + 'pretty_version' => 'v5.4.11', |
|
276 | + 'version' => '5.4.11.0', |
|
277 | + 'reference' => '0a5868e0999e9d47859ba3d918548ff6943e6389', |
|
278 | + 'type' => 'library', |
|
279 | + 'install_path' => __DIR__ . '/../symfony/http-foundation', |
|
280 | + 'aliases' => array(), |
|
281 | + 'dev_requirement' => false, |
|
282 | + ), |
|
283 | + 'symfony/polyfill-ctype' => array( |
|
284 | + 'pretty_version' => 'v1.26.0', |
|
285 | + 'version' => '1.26.0.0', |
|
286 | + 'reference' => '6fd1b9a79f6e3cf65f9e679b23af304cd9e010d4', |
|
287 | + 'type' => 'library', |
|
288 | + 'install_path' => __DIR__ . '/../symfony/polyfill-ctype', |
|
289 | + 'aliases' => array(), |
|
290 | + 'dev_requirement' => true, |
|
291 | + ), |
|
292 | + 'symfony/polyfill-mbstring' => array( |
|
293 | + 'pretty_version' => 'v1.26.0', |
|
294 | + 'version' => '1.26.0.0', |
|
295 | + 'reference' => '9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e', |
|
296 | + 'type' => 'library', |
|
297 | + 'install_path' => __DIR__ . '/../symfony/polyfill-mbstring', |
|
298 | + 'aliases' => array(), |
|
299 | + 'dev_requirement' => false, |
|
300 | + ), |
|
301 | + 'symfony/polyfill-php80' => array( |
|
302 | + 'pretty_version' => 'v1.26.0', |
|
303 | + 'version' => '1.26.0.0', |
|
304 | + 'reference' => 'cfa0ae98841b9e461207c13ab093d76b0fa7bace', |
|
305 | + 'type' => 'library', |
|
306 | + 'install_path' => __DIR__ . '/../symfony/polyfill-php80', |
|
307 | + 'aliases' => array(), |
|
308 | + 'dev_requirement' => false, |
|
309 | + ), |
|
310 | + 'symfony/translation' => array( |
|
311 | + 'pretty_version' => 'v4.4.44', |
|
312 | + 'version' => '4.4.44.0', |
|
313 | + 'reference' => 'af947fefc306cec6ea5a1f6160c7e305a71f2493', |
|
314 | + 'type' => 'library', |
|
315 | + 'install_path' => __DIR__ . '/../symfony/translation', |
|
316 | + 'aliases' => array(), |
|
317 | + 'dev_requirement' => false, |
|
318 | + ), |
|
319 | + 'symfony/translation-contracts' => array( |
|
320 | + 'pretty_version' => 'v2.5.2', |
|
321 | + 'version' => '2.5.2.0', |
|
322 | + 'reference' => '136b19dd05cdf0709db6537d058bcab6dd6e2dbe', |
|
323 | + 'type' => 'library', |
|
324 | + 'install_path' => __DIR__ . '/../symfony/translation-contracts', |
|
325 | + 'aliases' => array(), |
|
326 | + 'dev_requirement' => false, |
|
327 | + ), |
|
328 | + 'symfony/translation-implementation' => array( |
|
329 | + 'dev_requirement' => false, |
|
330 | + 'provided' => array( |
|
331 | + 0 => '1.0|2.0', |
|
332 | + ), |
|
333 | + ), |
|
334 | + 'symfony/yaml' => array( |
|
335 | + 'pretty_version' => 'v3.4.47', |
|
336 | + 'version' => '3.4.47.0', |
|
337 | + 'reference' => '88289caa3c166321883f67fe5130188ebbb47094', |
|
338 | + 'type' => 'library', |
|
339 | + 'install_path' => __DIR__ . '/../symfony/yaml', |
|
340 | + 'aliases' => array(), |
|
341 | + 'dev_requirement' => true, |
|
342 | + ), |
|
343 | + 'voku/portable-ascii' => array( |
|
344 | + 'pretty_version' => '1.6.1', |
|
345 | + 'version' => '1.6.1.0', |
|
346 | + 'reference' => '87337c91b9dfacee02452244ee14ab3c43bc485a', |
|
347 | + 'type' => 'library', |
|
348 | + 'install_path' => __DIR__ . '/../voku/portable-ascii', |
|
349 | + 'aliases' => array(), |
|
350 | + 'dev_requirement' => false, |
|
351 | + ), |
|
352 | + 'webklex/php-imap' => array( |
|
353 | + 'pretty_version' => 'dev-develop', |
|
354 | + 'version' => 'dev-develop', |
|
355 | + 'reference' => '0f467d1c4283cc035ef474db3c733653feeb570f', |
|
356 | + 'type' => 'library', |
|
357 | + 'install_path' => __DIR__ . '/../../', |
|
358 | + 'aliases' => array(), |
|
359 | + 'dev_requirement' => false, |
|
360 | + ), |
|
361 | + 'webmozart/assert' => array( |
|
362 | + 'pretty_version' => '1.11.0', |
|
363 | + 'version' => '1.11.0.0', |
|
364 | + 'reference' => '11cb2199493b2f8a3b53e7f19068fc6aac760991', |
|
365 | + 'type' => 'library', |
|
366 | + 'install_path' => __DIR__ . '/../webmozart/assert', |
|
367 | + 'aliases' => array(), |
|
368 | + 'dev_requirement' => true, |
|
369 | + ), |
|
370 | + ), |
|
371 | 371 | ); |
@@ -5,7 +5,7 @@ discard block |
||
5 | 5 | 'version' => 'dev-develop', |
6 | 6 | 'reference' => '0f467d1c4283cc035ef474db3c733653feeb570f', |
7 | 7 | 'type' => 'library', |
8 | - 'install_path' => __DIR__ . '/../../', |
|
8 | + 'install_path' => __DIR__.'/../../', |
|
9 | 9 | 'aliases' => array(), |
10 | 10 | 'dev' => true, |
11 | 11 | ), |
@@ -15,7 +15,7 @@ discard block |
||
15 | 15 | 'version' => '2.0.4.0', |
16 | 16 | 'reference' => '8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89', |
17 | 17 | 'type' => 'library', |
18 | - 'install_path' => __DIR__ . '/../doctrine/inflector', |
|
18 | + 'install_path' => __DIR__.'/../doctrine/inflector', |
|
19 | 19 | 'aliases' => array(), |
20 | 20 | 'dev_requirement' => false, |
21 | 21 | ), |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | 'version' => '1.4.1.0', |
25 | 25 | 'reference' => '10dcfce151b967d20fde1b34ae6640712c3891bc', |
26 | 26 | 'type' => 'library', |
27 | - 'install_path' => __DIR__ . '/../doctrine/instantiator', |
|
27 | + 'install_path' => __DIR__.'/../doctrine/instantiator', |
|
28 | 28 | 'aliases' => array(), |
29 | 29 | 'dev_requirement' => true, |
30 | 30 | ), |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | 'version' => '8.83.23.0', |
34 | 34 | 'reference' => '705a4e1ef93cd492c45b9b3e7911cccc990a07f4', |
35 | 35 | 'type' => 'library', |
36 | - 'install_path' => __DIR__ . '/../illuminate/collections', |
|
36 | + 'install_path' => __DIR__.'/../illuminate/collections', |
|
37 | 37 | 'aliases' => array(), |
38 | 38 | 'dev_requirement' => false, |
39 | 39 | ), |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | 'version' => '8.83.23.0', |
43 | 43 | 'reference' => '5e0fd287a1b22a6b346a9f7cd484d8cf0234585d', |
44 | 44 | 'type' => 'library', |
45 | - 'install_path' => __DIR__ . '/../illuminate/contracts', |
|
45 | + 'install_path' => __DIR__.'/../illuminate/contracts', |
|
46 | 46 | 'aliases' => array(), |
47 | 47 | 'dev_requirement' => false, |
48 | 48 | ), |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | 'version' => '8.83.23.0', |
52 | 52 | 'reference' => 'aed81891a6e046fdee72edd497f822190f61c162', |
53 | 53 | 'type' => 'library', |
54 | - 'install_path' => __DIR__ . '/../illuminate/macroable', |
|
54 | + 'install_path' => __DIR__.'/../illuminate/macroable', |
|
55 | 55 | 'aliases' => array(), |
56 | 56 | 'dev_requirement' => false, |
57 | 57 | ), |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | 'version' => '8.83.23.0', |
61 | 61 | 'reference' => '16fe8dc35f9d18c58a3471469af656a02e9ab692', |
62 | 62 | 'type' => 'library', |
63 | - 'install_path' => __DIR__ . '/../illuminate/pagination', |
|
63 | + 'install_path' => __DIR__.'/../illuminate/pagination', |
|
64 | 64 | 'aliases' => array(), |
65 | 65 | 'dev_requirement' => false, |
66 | 66 | ), |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | 'version' => '8.83.23.0', |
70 | 70 | 'reference' => 'c3d643e77082786ae8a51502c757e9b1a3ee254e', |
71 | 71 | 'type' => 'library', |
72 | - 'install_path' => __DIR__ . '/../illuminate/support', |
|
72 | + 'install_path' => __DIR__.'/../illuminate/support', |
|
73 | 73 | 'aliases' => array(), |
74 | 74 | 'dev_requirement' => false, |
75 | 75 | ), |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | 'version' => '2.61.0.0', |
79 | 79 | 'reference' => 'bdf4f4fe3a3eac4de84dbec0738082a862c68ba6', |
80 | 80 | 'type' => 'library', |
81 | - 'install_path' => __DIR__ . '/../nesbot/carbon', |
|
81 | + 'install_path' => __DIR__.'/../nesbot/carbon', |
|
82 | 82 | 'aliases' => array(), |
83 | 83 | 'dev_requirement' => false, |
84 | 84 | ), |
@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | 'version' => '2.2.0.0', |
88 | 88 | 'reference' => '1d01c49d4ed62f25aa84a747ad35d5a16924662b', |
89 | 89 | 'type' => 'library', |
90 | - 'install_path' => __DIR__ . '/../phpdocumentor/reflection-common', |
|
90 | + 'install_path' => __DIR__.'/../phpdocumentor/reflection-common', |
|
91 | 91 | 'aliases' => array(), |
92 | 92 | 'dev_requirement' => true, |
93 | 93 | ), |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | 'version' => '5.3.0.0', |
97 | 97 | 'reference' => '622548b623e81ca6d78b721c5e029f4ce664f170', |
98 | 98 | 'type' => 'library', |
99 | - 'install_path' => __DIR__ . '/../phpdocumentor/reflection-docblock', |
|
99 | + 'install_path' => __DIR__.'/../phpdocumentor/reflection-docblock', |
|
100 | 100 | 'aliases' => array(), |
101 | 101 | 'dev_requirement' => true, |
102 | 102 | ), |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | 'version' => '1.6.1.0', |
106 | 106 | 'reference' => '77a32518733312af16a44300404e945338981de3', |
107 | 107 | 'type' => 'library', |
108 | - 'install_path' => __DIR__ . '/../phpdocumentor/type-resolver', |
|
108 | + 'install_path' => __DIR__.'/../phpdocumentor/type-resolver', |
|
109 | 109 | 'aliases' => array(), |
110 | 110 | 'dev_requirement' => true, |
111 | 111 | ), |
@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | 'version' => '1.10.3.0', |
115 | 115 | 'reference' => '451c3cd1418cf640de218914901e51b064abb093', |
116 | 116 | 'type' => 'library', |
117 | - 'install_path' => __DIR__ . '/../phpspec/prophecy', |
|
117 | + 'install_path' => __DIR__.'/../phpspec/prophecy', |
|
118 | 118 | 'aliases' => array(), |
119 | 119 | 'dev_requirement' => true, |
120 | 120 | ), |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | 'version' => '2.2.4.0', |
124 | 124 | 'reference' => 'eabf68b476ac7d0f73793aada060f1c1a9bf8979', |
125 | 125 | 'type' => 'library', |
126 | - 'install_path' => __DIR__ . '/../phpunit/php-code-coverage', |
|
126 | + 'install_path' => __DIR__.'/../phpunit/php-code-coverage', |
|
127 | 127 | 'aliases' => array(), |
128 | 128 | 'dev_requirement' => true, |
129 | 129 | ), |
@@ -132,7 +132,7 @@ discard block |
||
132 | 132 | 'version' => '1.4.5.0', |
133 | 133 | 'reference' => '730b01bc3e867237eaac355e06a36b85dd93a8b4', |
134 | 134 | 'type' => 'library', |
135 | - 'install_path' => __DIR__ . '/../phpunit/php-file-iterator', |
|
135 | + 'install_path' => __DIR__.'/../phpunit/php-file-iterator', |
|
136 | 136 | 'aliases' => array(), |
137 | 137 | 'dev_requirement' => true, |
138 | 138 | ), |
@@ -141,7 +141,7 @@ discard block |
||
141 | 141 | 'version' => '1.2.1.0', |
142 | 142 | 'reference' => '31f8b717e51d9a2afca6c9f046f5d69fc27c8686', |
143 | 143 | 'type' => 'library', |
144 | - 'install_path' => __DIR__ . '/../phpunit/php-text-template', |
|
144 | + 'install_path' => __DIR__.'/../phpunit/php-text-template', |
|
145 | 145 | 'aliases' => array(), |
146 | 146 | 'dev_requirement' => true, |
147 | 147 | ), |
@@ -150,7 +150,7 @@ discard block |
||
150 | 150 | 'version' => '1.0.9.0', |
151 | 151 | 'reference' => '3dcf38ca72b158baf0bc245e9184d3fdffa9c46f', |
152 | 152 | 'type' => 'library', |
153 | - 'install_path' => __DIR__ . '/../phpunit/php-timer', |
|
153 | + 'install_path' => __DIR__.'/../phpunit/php-timer', |
|
154 | 154 | 'aliases' => array(), |
155 | 155 | 'dev_requirement' => true, |
156 | 156 | ), |
@@ -159,7 +159,7 @@ discard block |
||
159 | 159 | 'version' => '1.4.12.0', |
160 | 160 | 'reference' => '1ce90ba27c42e4e44e6d8458241466380b51fa16', |
161 | 161 | 'type' => 'library', |
162 | - 'install_path' => __DIR__ . '/../phpunit/php-token-stream', |
|
162 | + 'install_path' => __DIR__.'/../phpunit/php-token-stream', |
|
163 | 163 | 'aliases' => array(), |
164 | 164 | 'dev_requirement' => true, |
165 | 165 | ), |
@@ -168,7 +168,7 @@ discard block |
||
168 | 168 | 'version' => '4.8.36.0', |
169 | 169 | 'reference' => '46023de9a91eec7dfb06cc56cb4e260017298517', |
170 | 170 | 'type' => 'library', |
171 | - 'install_path' => __DIR__ . '/../phpunit/phpunit', |
|
171 | + 'install_path' => __DIR__.'/../phpunit/phpunit', |
|
172 | 172 | 'aliases' => array(), |
173 | 173 | 'dev_requirement' => true, |
174 | 174 | ), |
@@ -177,7 +177,7 @@ discard block |
||
177 | 177 | 'version' => '2.3.8.0', |
178 | 178 | 'reference' => 'ac8e7a3db35738d56ee9a76e78a4e03d97628983', |
179 | 179 | 'type' => 'library', |
180 | - 'install_path' => __DIR__ . '/../phpunit/phpunit-mock-objects', |
|
180 | + 'install_path' => __DIR__.'/../phpunit/phpunit-mock-objects', |
|
181 | 181 | 'aliases' => array(), |
182 | 182 | 'dev_requirement' => true, |
183 | 183 | ), |
@@ -186,7 +186,7 @@ discard block |
||
186 | 186 | 'version' => '1.1.2.0', |
187 | 187 | 'reference' => '513e0666f7216c7459170d56df27dfcefe1689ea', |
188 | 188 | 'type' => 'library', |
189 | - 'install_path' => __DIR__ . '/../psr/container', |
|
189 | + 'install_path' => __DIR__.'/../psr/container', |
|
190 | 190 | 'aliases' => array(), |
191 | 191 | 'dev_requirement' => false, |
192 | 192 | ), |
@@ -195,7 +195,7 @@ discard block |
||
195 | 195 | 'version' => '1.0.1.0', |
196 | 196 | 'reference' => '408d5eafb83c57f6365a3ca330ff23aa4a5fa39b', |
197 | 197 | 'type' => 'library', |
198 | - 'install_path' => __DIR__ . '/../psr/simple-cache', |
|
198 | + 'install_path' => __DIR__.'/../psr/simple-cache', |
|
199 | 199 | 'aliases' => array(), |
200 | 200 | 'dev_requirement' => false, |
201 | 201 | ), |
@@ -204,7 +204,7 @@ discard block |
||
204 | 204 | 'version' => '1.2.4.0', |
205 | 205 | 'reference' => '2b7424b55f5047b47ac6e5ccb20b2aea4011d9be', |
206 | 206 | 'type' => 'library', |
207 | - 'install_path' => __DIR__ . '/../sebastian/comparator', |
|
207 | + 'install_path' => __DIR__.'/../sebastian/comparator', |
|
208 | 208 | 'aliases' => array(), |
209 | 209 | 'dev_requirement' => true, |
210 | 210 | ), |
@@ -213,7 +213,7 @@ discard block |
||
213 | 213 | 'version' => '1.4.3.0', |
214 | 214 | 'reference' => '7f066a26a962dbe58ddea9f72a4e82874a3975a4', |
215 | 215 | 'type' => 'library', |
216 | - 'install_path' => __DIR__ . '/../sebastian/diff', |
|
216 | + 'install_path' => __DIR__.'/../sebastian/diff', |
|
217 | 217 | 'aliases' => array(), |
218 | 218 | 'dev_requirement' => true, |
219 | 219 | ), |
@@ -222,7 +222,7 @@ discard block |
||
222 | 222 | 'version' => '1.3.8.0', |
223 | 223 | 'reference' => 'be2c607e43ce4c89ecd60e75c6a85c126e754aea', |
224 | 224 | 'type' => 'library', |
225 | - 'install_path' => __DIR__ . '/../sebastian/environment', |
|
225 | + 'install_path' => __DIR__.'/../sebastian/environment', |
|
226 | 226 | 'aliases' => array(), |
227 | 227 | 'dev_requirement' => true, |
228 | 228 | ), |
@@ -231,7 +231,7 @@ discard block |
||
231 | 231 | 'version' => '1.2.2.0', |
232 | 232 | 'reference' => '42c4c2eec485ee3e159ec9884f95b431287edde4', |
233 | 233 | 'type' => 'library', |
234 | - 'install_path' => __DIR__ . '/../sebastian/exporter', |
|
234 | + 'install_path' => __DIR__.'/../sebastian/exporter', |
|
235 | 235 | 'aliases' => array(), |
236 | 236 | 'dev_requirement' => true, |
237 | 237 | ), |
@@ -240,7 +240,7 @@ discard block |
||
240 | 240 | 'version' => '1.1.1.0', |
241 | 241 | 'reference' => 'bc37d50fea7d017d3d340f230811c9f1d7280af4', |
242 | 242 | 'type' => 'library', |
243 | - 'install_path' => __DIR__ . '/../sebastian/global-state', |
|
243 | + 'install_path' => __DIR__.'/../sebastian/global-state', |
|
244 | 244 | 'aliases' => array(), |
245 | 245 | 'dev_requirement' => true, |
246 | 246 | ), |
@@ -249,7 +249,7 @@ discard block |
||
249 | 249 | 'version' => '1.0.5.0', |
250 | 250 | 'reference' => 'b19cc3298482a335a95f3016d2f8a6950f0fbcd7', |
251 | 251 | 'type' => 'library', |
252 | - 'install_path' => __DIR__ . '/../sebastian/recursion-context', |
|
252 | + 'install_path' => __DIR__.'/../sebastian/recursion-context', |
|
253 | 253 | 'aliases' => array(), |
254 | 254 | 'dev_requirement' => true, |
255 | 255 | ), |
@@ -258,7 +258,7 @@ discard block |
||
258 | 258 | 'version' => '1.0.6.0', |
259 | 259 | 'reference' => '58b3a85e7999757d6ad81c787a1fbf5ff6c628c6', |
260 | 260 | 'type' => 'library', |
261 | - 'install_path' => __DIR__ . '/../sebastian/version', |
|
261 | + 'install_path' => __DIR__.'/../sebastian/version', |
|
262 | 262 | 'aliases' => array(), |
263 | 263 | 'dev_requirement' => true, |
264 | 264 | ), |
@@ -267,7 +267,7 @@ discard block |
||
267 | 267 | 'version' => '2.5.2.0', |
268 | 268 | 'reference' => 'e8b495ea28c1d97b5e0c121748d6f9b53d075c66', |
269 | 269 | 'type' => 'library', |
270 | - 'install_path' => __DIR__ . '/../symfony/deprecation-contracts', |
|
270 | + 'install_path' => __DIR__.'/../symfony/deprecation-contracts', |
|
271 | 271 | 'aliases' => array(), |
272 | 272 | 'dev_requirement' => false, |
273 | 273 | ), |
@@ -276,7 +276,7 @@ discard block |
||
276 | 276 | 'version' => '5.4.11.0', |
277 | 277 | 'reference' => '0a5868e0999e9d47859ba3d918548ff6943e6389', |
278 | 278 | 'type' => 'library', |
279 | - 'install_path' => __DIR__ . '/../symfony/http-foundation', |
|
279 | + 'install_path' => __DIR__.'/../symfony/http-foundation', |
|
280 | 280 | 'aliases' => array(), |
281 | 281 | 'dev_requirement' => false, |
282 | 282 | ), |
@@ -285,7 +285,7 @@ discard block |
||
285 | 285 | 'version' => '1.26.0.0', |
286 | 286 | 'reference' => '6fd1b9a79f6e3cf65f9e679b23af304cd9e010d4', |
287 | 287 | 'type' => 'library', |
288 | - 'install_path' => __DIR__ . '/../symfony/polyfill-ctype', |
|
288 | + 'install_path' => __DIR__.'/../symfony/polyfill-ctype', |
|
289 | 289 | 'aliases' => array(), |
290 | 290 | 'dev_requirement' => true, |
291 | 291 | ), |
@@ -294,7 +294,7 @@ discard block |
||
294 | 294 | 'version' => '1.26.0.0', |
295 | 295 | 'reference' => '9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e', |
296 | 296 | 'type' => 'library', |
297 | - 'install_path' => __DIR__ . '/../symfony/polyfill-mbstring', |
|
297 | + 'install_path' => __DIR__.'/../symfony/polyfill-mbstring', |
|
298 | 298 | 'aliases' => array(), |
299 | 299 | 'dev_requirement' => false, |
300 | 300 | ), |
@@ -303,7 +303,7 @@ discard block |
||
303 | 303 | 'version' => '1.26.0.0', |
304 | 304 | 'reference' => 'cfa0ae98841b9e461207c13ab093d76b0fa7bace', |
305 | 305 | 'type' => 'library', |
306 | - 'install_path' => __DIR__ . '/../symfony/polyfill-php80', |
|
306 | + 'install_path' => __DIR__.'/../symfony/polyfill-php80', |
|
307 | 307 | 'aliases' => array(), |
308 | 308 | 'dev_requirement' => false, |
309 | 309 | ), |
@@ -312,7 +312,7 @@ discard block |
||
312 | 312 | 'version' => '4.4.44.0', |
313 | 313 | 'reference' => 'af947fefc306cec6ea5a1f6160c7e305a71f2493', |
314 | 314 | 'type' => 'library', |
315 | - 'install_path' => __DIR__ . '/../symfony/translation', |
|
315 | + 'install_path' => __DIR__.'/../symfony/translation', |
|
316 | 316 | 'aliases' => array(), |
317 | 317 | 'dev_requirement' => false, |
318 | 318 | ), |
@@ -321,7 +321,7 @@ discard block |
||
321 | 321 | 'version' => '2.5.2.0', |
322 | 322 | 'reference' => '136b19dd05cdf0709db6537d058bcab6dd6e2dbe', |
323 | 323 | 'type' => 'library', |
324 | - 'install_path' => __DIR__ . '/../symfony/translation-contracts', |
|
324 | + 'install_path' => __DIR__.'/../symfony/translation-contracts', |
|
325 | 325 | 'aliases' => array(), |
326 | 326 | 'dev_requirement' => false, |
327 | 327 | ), |
@@ -336,7 +336,7 @@ discard block |
||
336 | 336 | 'version' => '3.4.47.0', |
337 | 337 | 'reference' => '88289caa3c166321883f67fe5130188ebbb47094', |
338 | 338 | 'type' => 'library', |
339 | - 'install_path' => __DIR__ . '/../symfony/yaml', |
|
339 | + 'install_path' => __DIR__.'/../symfony/yaml', |
|
340 | 340 | 'aliases' => array(), |
341 | 341 | 'dev_requirement' => true, |
342 | 342 | ), |
@@ -345,7 +345,7 @@ discard block |
||
345 | 345 | 'version' => '1.6.1.0', |
346 | 346 | 'reference' => '87337c91b9dfacee02452244ee14ab3c43bc485a', |
347 | 347 | 'type' => 'library', |
348 | - 'install_path' => __DIR__ . '/../voku/portable-ascii', |
|
348 | + 'install_path' => __DIR__.'/../voku/portable-ascii', |
|
349 | 349 | 'aliases' => array(), |
350 | 350 | 'dev_requirement' => false, |
351 | 351 | ), |
@@ -354,7 +354,7 @@ discard block |
||
354 | 354 | 'version' => 'dev-develop', |
355 | 355 | 'reference' => '0f467d1c4283cc035ef474db3c733653feeb570f', |
356 | 356 | 'type' => 'library', |
357 | - 'install_path' => __DIR__ . '/../../', |
|
357 | + 'install_path' => __DIR__.'/../../', |
|
358 | 358 | 'aliases' => array(), |
359 | 359 | 'dev_requirement' => false, |
360 | 360 | ), |
@@ -363,7 +363,7 @@ discard block |
||
363 | 363 | 'version' => '1.11.0.0', |
364 | 364 | 'reference' => '11cb2199493b2f8a3b53e7f19068fc6aac760991', |
365 | 365 | 'type' => 'library', |
366 | - 'install_path' => __DIR__ . '/../webmozart/assert', |
|
366 | + 'install_path' => __DIR__.'/../webmozart/assert', |
|
367 | 367 | 'aliases' => array(), |
368 | 368 | 'dev_requirement' => true, |
369 | 369 | ), |
@@ -5,22 +5,22 @@ |
||
5 | 5 | $issues = array(); |
6 | 6 | |
7 | 7 | if (!(PHP_VERSION_ID >= 70400)) { |
8 | - $issues[] = 'Your Composer dependencies require a PHP version ">= 7.4.0". You are running ' . PHP_VERSION . '.'; |
|
8 | + $issues[] = 'Your Composer dependencies require a PHP version ">= 7.4.0". You are running ' . PHP_VERSION . '.'; |
|
9 | 9 | } |
10 | 10 | |
11 | 11 | if ($issues) { |
12 | - if (!headers_sent()) { |
|
13 | - header('HTTP/1.1 500 Internal Server Error'); |
|
14 | - } |
|
15 | - if (!ini_get('display_errors')) { |
|
16 | - if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') { |
|
17 | - fwrite(STDERR, 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . implode(PHP_EOL, $issues) . PHP_EOL.PHP_EOL); |
|
18 | - } elseif (!headers_sent()) { |
|
19 | - echo 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . str_replace('You are running '.PHP_VERSION.'.', '', implode(PHP_EOL, $issues)) . PHP_EOL.PHP_EOL; |
|
20 | - } |
|
21 | - } |
|
22 | - trigger_error( |
|
23 | - 'Composer detected issues in your platform: ' . implode(' ', $issues), |
|
24 | - E_USER_ERROR |
|
25 | - ); |
|
12 | + if (!headers_sent()) { |
|
13 | + header('HTTP/1.1 500 Internal Server Error'); |
|
14 | + } |
|
15 | + if (!ini_get('display_errors')) { |
|
16 | + if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') { |
|
17 | + fwrite(STDERR, 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . implode(PHP_EOL, $issues) . PHP_EOL.PHP_EOL); |
|
18 | + } elseif (!headers_sent()) { |
|
19 | + echo 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . str_replace('You are running '.PHP_VERSION.'.', '', implode(PHP_EOL, $issues)) . PHP_EOL.PHP_EOL; |
|
20 | + } |
|
21 | + } |
|
22 | + trigger_error( |
|
23 | + 'Composer detected issues in your platform: ' . implode(' ', $issues), |
|
24 | + E_USER_ERROR |
|
25 | + ); |
|
26 | 26 | } |
@@ -5,7 +5,7 @@ discard block |
||
5 | 5 | $issues = array(); |
6 | 6 | |
7 | 7 | if (!(PHP_VERSION_ID >= 70400)) { |
8 | - $issues[] = 'Your Composer dependencies require a PHP version ">= 7.4.0". You are running ' . PHP_VERSION . '.'; |
|
8 | + $issues[] = 'Your Composer dependencies require a PHP version ">= 7.4.0". You are running '.PHP_VERSION.'.'; |
|
9 | 9 | } |
10 | 10 | |
11 | 11 | if ($issues) { |
@@ -14,13 +14,13 @@ discard block |
||
14 | 14 | } |
15 | 15 | if (!ini_get('display_errors')) { |
16 | 16 | if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') { |
17 | - fwrite(STDERR, 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . implode(PHP_EOL, $issues) . PHP_EOL.PHP_EOL); |
|
17 | + fwrite(STDERR, 'Composer detected issues in your platform:'.PHP_EOL.PHP_EOL.implode(PHP_EOL, $issues).PHP_EOL.PHP_EOL); |
|
18 | 18 | } elseif (!headers_sent()) { |
19 | - echo 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . str_replace('You are running '.PHP_VERSION.'.', '', implode(PHP_EOL, $issues)) . PHP_EOL.PHP_EOL; |
|
19 | + echo 'Composer detected issues in your platform:'.PHP_EOL.PHP_EOL.str_replace('You are running '.PHP_VERSION.'.', '', implode(PHP_EOL, $issues)).PHP_EOL.PHP_EOL; |
|
20 | 20 | } |
21 | 21 | } |
22 | 22 | trigger_error( |
23 | - 'Composer detected issues in your platform: ' . implode(' ', $issues), |
|
23 | + 'Composer detected issues in your platform: '.implode(' ', $issues), |
|
24 | 24 | E_USER_ERROR |
25 | 25 | ); |
26 | 26 | } |
@@ -4,42 +4,42 @@ discard block |
||
4 | 4 | |
5 | 5 | class ComposerAutoloaderInit4da13270269c89a28e472e1f7324e6d1 |
6 | 6 | { |
7 | - private static $loader; |
|
8 | - |
|
9 | - public static function loadClassLoader($class) |
|
10 | - { |
|
11 | - if ('Composer\Autoload\ClassLoader' === $class) { |
|
12 | - require __DIR__ . '/ClassLoader.php'; |
|
13 | - } |
|
14 | - } |
|
15 | - |
|
16 | - /** |
|
17 | - * @return \Composer\Autoload\ClassLoader |
|
18 | - */ |
|
19 | - public static function getLoader() |
|
20 | - { |
|
21 | - if (null !== self::$loader) { |
|
22 | - return self::$loader; |
|
23 | - } |
|
24 | - |
|
25 | - require __DIR__ . '/platform_check.php'; |
|
26 | - |
|
27 | - spl_autoload_register(array('ComposerAutoloaderInit4da13270269c89a28e472e1f7324e6d1', 'loadClassLoader'), true, true); |
|
28 | - self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); |
|
29 | - spl_autoload_unregister(array('ComposerAutoloaderInit4da13270269c89a28e472e1f7324e6d1', 'loadClassLoader')); |
|
30 | - |
|
31 | - require __DIR__ . '/autoload_static.php'; |
|
32 | - call_user_func(\Composer\Autoload\ComposerStaticInit4da13270269c89a28e472e1f7324e6d1::getInitializer($loader)); |
|
33 | - |
|
34 | - $loader->register(true); |
|
35 | - |
|
36 | - $includeFiles = \Composer\Autoload\ComposerStaticInit4da13270269c89a28e472e1f7324e6d1::$files; |
|
37 | - foreach ($includeFiles as $fileIdentifier => $file) { |
|
38 | - composerRequire4da13270269c89a28e472e1f7324e6d1($fileIdentifier, $file); |
|
39 | - } |
|
40 | - |
|
41 | - return $loader; |
|
42 | - } |
|
7 | + private static $loader; |
|
8 | + |
|
9 | + public static function loadClassLoader($class) |
|
10 | + { |
|
11 | + if ('Composer\Autoload\ClassLoader' === $class) { |
|
12 | + require __DIR__ . '/ClassLoader.php'; |
|
13 | + } |
|
14 | + } |
|
15 | + |
|
16 | + /** |
|
17 | + * @return \Composer\Autoload\ClassLoader |
|
18 | + */ |
|
19 | + public static function getLoader() |
|
20 | + { |
|
21 | + if (null !== self::$loader) { |
|
22 | + return self::$loader; |
|
23 | + } |
|
24 | + |
|
25 | + require __DIR__ . '/platform_check.php'; |
|
26 | + |
|
27 | + spl_autoload_register(array('ComposerAutoloaderInit4da13270269c89a28e472e1f7324e6d1', 'loadClassLoader'), true, true); |
|
28 | + self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); |
|
29 | + spl_autoload_unregister(array('ComposerAutoloaderInit4da13270269c89a28e472e1f7324e6d1', 'loadClassLoader')); |
|
30 | + |
|
31 | + require __DIR__ . '/autoload_static.php'; |
|
32 | + call_user_func(\Composer\Autoload\ComposerStaticInit4da13270269c89a28e472e1f7324e6d1::getInitializer($loader)); |
|
33 | + |
|
34 | + $loader->register(true); |
|
35 | + |
|
36 | + $includeFiles = \Composer\Autoload\ComposerStaticInit4da13270269c89a28e472e1f7324e6d1::$files; |
|
37 | + foreach ($includeFiles as $fileIdentifier => $file) { |
|
38 | + composerRequire4da13270269c89a28e472e1f7324e6d1($fileIdentifier, $file); |
|
39 | + } |
|
40 | + |
|
41 | + return $loader; |
|
42 | + } |
|
43 | 43 | } |
44 | 44 | |
45 | 45 | /** |
@@ -49,9 +49,9 @@ discard block |
||
49 | 49 | */ |
50 | 50 | function composerRequire4da13270269c89a28e472e1f7324e6d1($fileIdentifier, $file) |
51 | 51 | { |
52 | - if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { |
|
53 | - $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; |
|
52 | + if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { |
|
53 | + $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; |
|
54 | 54 | |
55 | - require $file; |
|
56 | - } |
|
55 | + require $file; |
|
56 | + } |
|
57 | 57 | } |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | public static function loadClassLoader($class) |
10 | 10 | { |
11 | 11 | if ('Composer\Autoload\ClassLoader' === $class) { |
12 | - require __DIR__ . '/ClassLoader.php'; |
|
12 | + require __DIR__.'/ClassLoader.php'; |
|
13 | 13 | } |
14 | 14 | } |
15 | 15 | |
@@ -22,13 +22,13 @@ discard block |
||
22 | 22 | return self::$loader; |
23 | 23 | } |
24 | 24 | |
25 | - require __DIR__ . '/platform_check.php'; |
|
25 | + require __DIR__.'/platform_check.php'; |
|
26 | 26 | |
27 | 27 | spl_autoload_register(array('ComposerAutoloaderInit4da13270269c89a28e472e1f7324e6d1', 'loadClassLoader'), true, true); |
28 | 28 | self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); |
29 | 29 | spl_autoload_unregister(array('ComposerAutoloaderInit4da13270269c89a28e472e1f7324e6d1', 'loadClassLoader')); |
30 | 30 | |
31 | - require __DIR__ . '/autoload_static.php'; |
|
31 | + require __DIR__.'/autoload_static.php'; |
|
32 | 32 | call_user_func(\Composer\Autoload\ComposerStaticInit4da13270269c89a28e472e1f7324e6d1::getInitializer($loader)); |
33 | 33 | |
34 | 34 | $loader->register(true); |