Completed
Push — master ( 8e973a...811a95 )
by
unknown
03:40 queued 01:04
created
vendor/jetbrains/phpstorm-stubs/solr/Documents/SolrDocumentField.php 2 patches
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -14,26 +14,26 @@
 block discarded – undo
14 14
  */
15 15
 final class SolrDocumentField
16 16
 {
17
-    /** @var string [readonly] The name of the field. */
18
-    public $name;
17
+	/** @var string [readonly] The name of the field. */
18
+	public $name;
19 19
 
20
-    /** @var string [readonly] The boost value for the field */
21
-    public $boost;
20
+	/** @var string [readonly] The boost value for the field */
21
+	public $boost;
22 22
 
23
-    /** @var string [readonly] An array of values for this field */
24
-    public $values;
23
+	/** @var string [readonly] An array of values for this field */
24
+	public $values;
25 25
 
26
-    /**
27
-     * (PECL solr &gt;= 0.9.2)<br/>
28
-     * SolrDocument constructor.
29
-     * @link https://php.net/manual/en/solrdocumentfield.construct.php
30
-     */
31
-    public function __construct() {}
26
+	/**
27
+	 * (PECL solr &gt;= 0.9.2)<br/>
28
+	 * SolrDocument constructor.
29
+	 * @link https://php.net/manual/en/solrdocumentfield.construct.php
30
+	 */
31
+	public function __construct() {}
32 32
 
33
-    /**
34
-     * (PECL solr &gt;= 0.9.2)<br/>
35
-     * Destructor
36
-     * @link https://php.net/manual/en/solrdocumentfield.destruct.php
37
-     */
38
-    public function __destruct() {}
33
+	/**
34
+	 * (PECL solr &gt;= 0.9.2)<br/>
35
+	 * Destructor
36
+	 * @link https://php.net/manual/en/solrdocumentfield.destruct.php
37
+	 */
38
+	public function __destruct() {}
39 39
 }
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,8 +12,7 @@
 block discarded – undo
12 12
  * This class represents a field in a Solr document. All its properties are read-only.
13 13
  * @link https://php.net/manual/en/class.solrdocumentfield.php
14 14
  */
15
-final class SolrDocumentField
16
-{
15
+final class SolrDocumentField {
17 16
     /** @var string [readonly] The name of the field. */
18 17
     public $name;
19 18
 
Please login to merge, or discard this patch.
vendor/jetbrains/phpstorm-stubs/solr/Documents/SolrInputDocument.php 2 patches
Indentation   +259 added lines, -259 removed lines patch added patch discarded remove patch
@@ -14,291 +14,291 @@
 block discarded – undo
14 14
  */
15 15
 final class SolrInputDocument
16 16
 {
17
-    /** @var int Sorts the fields in ascending order. */
18
-    public const SORT_DEFAULT = 1;
17
+	/** @var int Sorts the fields in ascending order. */
18
+	public const SORT_DEFAULT = 1;
19 19
 
20
-    /** @var int Sorts the fields in ascending order. */
21
-    public const SORT_ASC = 1;
20
+	/** @var int Sorts the fields in ascending order. */
21
+	public const SORT_ASC = 1;
22 22
 
23
-    /** @var int Sorts the fields in descending order. */
24
-    public const SORT_DESC = 2;
23
+	/** @var int Sorts the fields in descending order. */
24
+	public const SORT_DESC = 2;
25 25
 
26
-    /** @var int Sorts the fields by name */
27
-    public const SORT_FIELD_NAME = 1;
26
+	/** @var int Sorts the fields by name */
27
+	public const SORT_FIELD_NAME = 1;
28 28
 
29
-    /** @var int Sorts the fields by number of values. */
30
-    public const SORT_FIELD_VALUE_COUNT = 2;
29
+	/** @var int Sorts the fields by number of values. */
30
+	public const SORT_FIELD_VALUE_COUNT = 2;
31 31
 
32
-    /** @var int Sorts the fields by boost value. */
33
-    public const SORT_FIELD_BOOST_VALUE = 4;
32
+	/** @var int Sorts the fields by boost value. */
33
+	public const SORT_FIELD_BOOST_VALUE = 4;
34 34
 
35
-    /**
36
-     * (PECL solr &gt;= 2.3.0)<br/>
37
-     * Adds a child document for block indexing
38
-     * @link https://php.net/manual/en/solrinputdocument.addchilddocument.php
39
-     * @param SolrInputDocument $child <p>
40
-     * A SolrInputDocument object.
41
-     * </p>
42
-     * @throws SolrIllegalArgumentException
43
-     * @throws SolrException
44
-     */
45
-    public function addChildDocument(SolrInputDocument $child) {}
35
+	/**
36
+	 * (PECL solr &gt;= 2.3.0)<br/>
37
+	 * Adds a child document for block indexing
38
+	 * @link https://php.net/manual/en/solrinputdocument.addchilddocument.php
39
+	 * @param SolrInputDocument $child <p>
40
+	 * A SolrInputDocument object.
41
+	 * </p>
42
+	 * @throws SolrIllegalArgumentException
43
+	 * @throws SolrException
44
+	 */
45
+	public function addChildDocument(SolrInputDocument $child) {}
46 46
 
47
-    /**
48
-     * (PECL solr &gt;= 2.3.0)<br/>
49
-     * Adds an array of child documents
50
-     * @link https://php.net/manual/en/solrinputdocument.addchilddocuments.php
51
-     * @param array &$docs <p>
52
-     * An array of SolrInputDocument objects.
53
-     * </p>
54
-     * @throws SolrIllegalArgumentException
55
-     * @throws SolrException
56
-     */
57
-    public function addChildDocuments(array &$docs) {}
47
+	/**
48
+	 * (PECL solr &gt;= 2.3.0)<br/>
49
+	 * Adds an array of child documents
50
+	 * @link https://php.net/manual/en/solrinputdocument.addchilddocuments.php
51
+	 * @param array &$docs <p>
52
+	 * An array of SolrInputDocument objects.
53
+	 * </p>
54
+	 * @throws SolrIllegalArgumentException
55
+	 * @throws SolrException
56
+	 */
57
+	public function addChildDocuments(array &$docs) {}
58 58
 
59
-    /**
60
-     * (PECL solr &gt;= 0.9.2)<br/>
61
-     * Adds a field to the document
62
-     * @link https://php.net/manual/en/solrinputdocument.addfield.php
63
-     * @param string $fieldName <p>
64
-     * The name of the field
65
-     * </p>
66
-     * @param string $fieldValue <p>
67
-     * The value for the field.
68
-     * </p>
69
-     * @param float $fieldBoostValue [optional] <p>
70
-     * The index time boost for the field. Though this cannot be negative, you can still pass values less than 1.0 but
71
-     * they must be greater than zero.
72
-     * </p>
73
-     * @return bool <p>
74
-     * Returns <b>TRUE</b> on success or <b>FALSE</b> on failure.
75
-     * </p>
76
-     */
77
-    public function addField($fieldName, $fieldValue, $fieldBoostValue = 0.0) {}
59
+	/**
60
+	 * (PECL solr &gt;= 0.9.2)<br/>
61
+	 * Adds a field to the document
62
+	 * @link https://php.net/manual/en/solrinputdocument.addfield.php
63
+	 * @param string $fieldName <p>
64
+	 * The name of the field
65
+	 * </p>
66
+	 * @param string $fieldValue <p>
67
+	 * The value for the field.
68
+	 * </p>
69
+	 * @param float $fieldBoostValue [optional] <p>
70
+	 * The index time boost for the field. Though this cannot be negative, you can still pass values less than 1.0 but
71
+	 * they must be greater than zero.
72
+	 * </p>
73
+	 * @return bool <p>
74
+	 * Returns <b>TRUE</b> on success or <b>FALSE</b> on failure.
75
+	 * </p>
76
+	 */
77
+	public function addField($fieldName, $fieldValue, $fieldBoostValue = 0.0) {}
78 78
 
79
-    /**
80
-     * (PECL solr &gt;= 0.9.2)<br/>
81
-     * Resets the input document
82
-     * @link https://php.net/manual/en/solrinputdocument.clear.php
83
-     * @return bool <p>
84
-     * Returns <b>TRUE</b> on success or <b>FALSE</b> on failure.
85
-     * </p>
86
-     */
87
-    public function clear() {}
79
+	/**
80
+	 * (PECL solr &gt;= 0.9.2)<br/>
81
+	 * Resets the input document
82
+	 * @link https://php.net/manual/en/solrinputdocument.clear.php
83
+	 * @return bool <p>
84
+	 * Returns <b>TRUE</b> on success or <b>FALSE</b> on failure.
85
+	 * </p>
86
+	 */
87
+	public function clear() {}
88 88
 
89
-    /**
90
-     * (PECL solr &gt;= 0.9.2)<br/>
91
-     * Creates a copy of a SolrDocument
92
-     * @link https://php.net/manual/en/solrinputdocument.clone.php
93
-     */
94
-    public function __clone() {}
89
+	/**
90
+	 * (PECL solr &gt;= 0.9.2)<br/>
91
+	 * Creates a copy of a SolrDocument
92
+	 * @link https://php.net/manual/en/solrinputdocument.clone.php
93
+	 */
94
+	public function __clone() {}
95 95
 
96
-    /**
97
-     * (PECL solr &gt;= 0.9.2)<br/>
98
-     * SolrInputDocument constructor.
99
-     * @link https://php.net/manual/en/solrinputdocument.construct.php
100
-     */
101
-    public function __construct() {}
96
+	/**
97
+	 * (PECL solr &gt;= 0.9.2)<br/>
98
+	 * SolrInputDocument constructor.
99
+	 * @link https://php.net/manual/en/solrinputdocument.construct.php
100
+	 */
101
+	public function __construct() {}
102 102
 
103
-    /**
104
-     * (PECL solr &gt;= 0.9.2)<br/>
105
-     * Removes a field from the document
106
-     * @link https://php.net/manual/en/solrinputdocument.construct.php
107
-     * @param string $fieldName <p>
108
-     * The name of the field.
109
-     * </p>
110
-     * @return bool <p>
111
-     * Returns <b>TRUE</b> on success or <b>FALSE</b> on failure.
112
-     * </p>
113
-     */
114
-    public function deleteField($fieldName) {}
103
+	/**
104
+	 * (PECL solr &gt;= 0.9.2)<br/>
105
+	 * Removes a field from the document
106
+	 * @link https://php.net/manual/en/solrinputdocument.construct.php
107
+	 * @param string $fieldName <p>
108
+	 * The name of the field.
109
+	 * </p>
110
+	 * @return bool <p>
111
+	 * Returns <b>TRUE</b> on success or <b>FALSE</b> on failure.
112
+	 * </p>
113
+	 */
114
+	public function deleteField($fieldName) {}
115 115
 
116
-    /**
117
-     * (PECL solr &gt;= 0.9.2)<br/>
118
-     * Destructor
119
-     * @link https://php.net/manual/en/solrinputdocument.destruct.php
120
-     */
121
-    public function __destruct() {}
116
+	/**
117
+	 * (PECL solr &gt;= 0.9.2)<br/>
118
+	 * Destructor
119
+	 * @link https://php.net/manual/en/solrinputdocument.destruct.php
120
+	 */
121
+	public function __destruct() {}
122 122
 
123
-    /**
124
-     * (PECL solr &gt;= 0.9.2)<br/>
125
-     * Checks if a field exists
126
-     * @link https://php.net/manual/en/solrinputdocument.fieldexists.php
127
-     * @param string $fieldName <p>
128
-     * Name of the field.
129
-     * </p>
130
-     * @return bool <p>
131
-     * Returns <b>TRUE</b> if the field was found and <b>FALSE</b> if it was not found.
132
-     * </p>
133
-     */
134
-    public function fieldExists($fieldName) {}
123
+	/**
124
+	 * (PECL solr &gt;= 0.9.2)<br/>
125
+	 * Checks if a field exists
126
+	 * @link https://php.net/manual/en/solrinputdocument.fieldexists.php
127
+	 * @param string $fieldName <p>
128
+	 * Name of the field.
129
+	 * </p>
130
+	 * @return bool <p>
131
+	 * Returns <b>TRUE</b> if the field was found and <b>FALSE</b> if it was not found.
132
+	 * </p>
133
+	 */
134
+	public function fieldExists($fieldName) {}
135 135
 
136
-    /**
137
-     * (PECL solr &gt;= 0.9.2)<br/>
138
-     * Retrieves the current boost value for the document
139
-     * @link https://php.net/manual/en/solrinputdocument.getboost.php
140
-     * @return float|false <p>
141
-     * Returns the boost value on success and <b>FALSE</b> on failure.
142
-     * </p>
143
-     */
144
-    public function getBoost() {}
136
+	/**
137
+	 * (PECL solr &gt;= 0.9.2)<br/>
138
+	 * Retrieves the current boost value for the document
139
+	 * @link https://php.net/manual/en/solrinputdocument.getboost.php
140
+	 * @return float|false <p>
141
+	 * Returns the boost value on success and <b>FALSE</b> on failure.
142
+	 * </p>
143
+	 */
144
+	public function getBoost() {}
145 145
 
146
-    /**
147
-     * (PECL solr &gt;= 2.3.0)<br/>
148
-     * Returns an array of child documents (SolrInputDocument)
149
-     * @link https://php.net/manual/en/solrinputdocument.getchilddocuments.php
150
-     * @return SolrInputDocument[]
151
-     */
152
-    public function getChildDocuments() {}
146
+	/**
147
+	 * (PECL solr &gt;= 2.3.0)<br/>
148
+	 * Returns an array of child documents (SolrInputDocument)
149
+	 * @link https://php.net/manual/en/solrinputdocument.getchilddocuments.php
150
+	 * @return SolrInputDocument[]
151
+	 */
152
+	public function getChildDocuments() {}
153 153
 
154
-    /**
155
-     * (PECL solr &gt;= 2.3.0)<br/>
156
-     * Returns the number of child documents
157
-     * @link https://php.net/manual/en/solrinputdocument.getchilddocumentscount.php
158
-     * @return int
159
-     */
160
-    public function getChildDocumentsCount() {}
154
+	/**
155
+	 * (PECL solr &gt;= 2.3.0)<br/>
156
+	 * Returns the number of child documents
157
+	 * @link https://php.net/manual/en/solrinputdocument.getchilddocumentscount.php
158
+	 * @return int
159
+	 */
160
+	public function getChildDocumentsCount() {}
161 161
 
162
-    /**
163
-     * (PECL solr &gt;= 0.9.2)<br/>
164
-     * Retrieves a field by name
165
-     * @link https://php.net/manual/en/solrinputdocument.getfield.php
166
-     * @param string $fieldName <p>
167
-     * The name of the field.
168
-     * </p>
169
-     * @return SolrDocumentField|false Returns a SolrDocumentField object on success and <b>FALSE</b> on failure.
170
-     */
171
-    public function getField($fieldName) {}
162
+	/**
163
+	 * (PECL solr &gt;= 0.9.2)<br/>
164
+	 * Retrieves a field by name
165
+	 * @link https://php.net/manual/en/solrinputdocument.getfield.php
166
+	 * @param string $fieldName <p>
167
+	 * The name of the field.
168
+	 * </p>
169
+	 * @return SolrDocumentField|false Returns a SolrDocumentField object on success and <b>FALSE</b> on failure.
170
+	 */
171
+	public function getField($fieldName) {}
172 172
 
173
-    /**
174
-     * (PECL solr &gt;= 0.9.2)<br/>
175
-     * Retrieves the boost value for a particular field
176
-     * @link https://php.net/manual/en/solrinputdocument.getfieldboost.php
177
-     * @param string $fieldName <p>
178
-     * The name of the field.
179
-     * </p>
180
-     * @return float|false <p>
181
-     * Returns the boost value for the field or <b>FALSE</b> if there was an error.
182
-     * </p>
183
-     */
184
-    public function getFieldBoost($fieldName) {}
173
+	/**
174
+	 * (PECL solr &gt;= 0.9.2)<br/>
175
+	 * Retrieves the boost value for a particular field
176
+	 * @link https://php.net/manual/en/solrinputdocument.getfieldboost.php
177
+	 * @param string $fieldName <p>
178
+	 * The name of the field.
179
+	 * </p>
180
+	 * @return float|false <p>
181
+	 * Returns the boost value for the field or <b>FALSE</b> if there was an error.
182
+	 * </p>
183
+	 */
184
+	public function getFieldBoost($fieldName) {}
185 185
 
186
-    /**
187
-     * (PECL solr &gt;= 0.9.2)<br/>
188
-     * Returns the number of fields in the document
189
-     * @link https://php.net/manual/en/solrinputdocument.getfieldcount.php
190
-     * @return int|false <p>
191
-     * Returns an integer on success or <b>FALSE</b> on failure.
192
-     * </p>
193
-     */
194
-    public function getFieldCount() {}
186
+	/**
187
+	 * (PECL solr &gt;= 0.9.2)<br/>
188
+	 * Returns the number of fields in the document
189
+	 * @link https://php.net/manual/en/solrinputdocument.getfieldcount.php
190
+	 * @return int|false <p>
191
+	 * Returns an integer on success or <b>FALSE</b> on failure.
192
+	 * </p>
193
+	 */
194
+	public function getFieldCount() {}
195 195
 
196
-    /**
197
-     * (PECL solr &gt;= 0.9.2)<br/>
198
-     * Returns an array containing all the fields in the document
199
-     * @link https://php.net/manual/en/solrinputdocument.getfieldnames.php
200
-     * @return array|false <p>
201
-     * Returns an array on success and <b>FALSE</b> on failure.
202
-     * </p>
203
-     */
204
-    public function getFieldNames() {}
196
+	/**
197
+	 * (PECL solr &gt;= 0.9.2)<br/>
198
+	 * Returns an array containing all the fields in the document
199
+	 * @link https://php.net/manual/en/solrinputdocument.getfieldnames.php
200
+	 * @return array|false <p>
201
+	 * Returns an array on success and <b>FALSE</b> on failure.
202
+	 * </p>
203
+	 */
204
+	public function getFieldNames() {}
205 205
 
206
-    /**
207
-     * (PECL solr &gt;= 2.3.0)<br/>
208
-     * Checks whether the document has any child documents
209
-     * @link https://php.net/manual/en/solrinputdocument.haschilddocuments.php
210
-     * @return bool <p>
211
-     * Returns <b>TRUE</b> if the document has any child documents
212
-     * </p>
213
-     */
214
-    public function hasChildDocuments() {}
206
+	/**
207
+	 * (PECL solr &gt;= 2.3.0)<br/>
208
+	 * Checks whether the document has any child documents
209
+	 * @link https://php.net/manual/en/solrinputdocument.haschilddocuments.php
210
+	 * @return bool <p>
211
+	 * Returns <b>TRUE</b> if the document has any child documents
212
+	 * </p>
213
+	 */
214
+	public function hasChildDocuments() {}
215 215
 
216
-    /**
217
-     * (PECL solr &gt;= 0.9.2)<br/>
218
-     * Merges one input document into another
219
-     * @link https://php.net/manual/en/solrinputdocument.merge.php
220
-     * @param SolrInputDocument $sourceDoc <p>
221
-     * The source document.
222
-     * </p>
223
-     * @param bool $overwrite [optional] <p>
224
-     * If this is <b>TRUE</b> it will replace matching fields in the destination document.
225
-     * </p>
226
-     * @return bool <p>
227
-     * Returns <b>TRUE</b> on success or <b>FALSE</b> on failure. In the future, this will be modified to return the
228
-     * number of fields in the new document.
229
-     * </p>
230
-     */
231
-    public function merge(SolrInputDocument $sourceDoc, $overwrite = true) {}
216
+	/**
217
+	 * (PECL solr &gt;= 0.9.2)<br/>
218
+	 * Merges one input document into another
219
+	 * @link https://php.net/manual/en/solrinputdocument.merge.php
220
+	 * @param SolrInputDocument $sourceDoc <p>
221
+	 * The source document.
222
+	 * </p>
223
+	 * @param bool $overwrite [optional] <p>
224
+	 * If this is <b>TRUE</b> it will replace matching fields in the destination document.
225
+	 * </p>
226
+	 * @return bool <p>
227
+	 * Returns <b>TRUE</b> on success or <b>FALSE</b> on failure. In the future, this will be modified to return the
228
+	 * number of fields in the new document.
229
+	 * </p>
230
+	 */
231
+	public function merge(SolrInputDocument $sourceDoc, $overwrite = true) {}
232 232
 
233
-    /**
234
-     * (PECL solr &gt;= 0.9.2)<br/>
235
-     * This is an alias of SolrInputDocument::clear
236
-     * @link https://php.net/manual/en/solrinputdocument.reset.php
237
-     * @return bool <p>
238
-     * Returns <b>TRUE</b> on success or <b>FALSE</b> on failure.
239
-     * </p>
240
-     */
241
-    public function reset() {}
233
+	/**
234
+	 * (PECL solr &gt;= 0.9.2)<br/>
235
+	 * This is an alias of SolrInputDocument::clear
236
+	 * @link https://php.net/manual/en/solrinputdocument.reset.php
237
+	 * @return bool <p>
238
+	 * Returns <b>TRUE</b> on success or <b>FALSE</b> on failure.
239
+	 * </p>
240
+	 */
241
+	public function reset() {}
242 242
 
243
-    /**
244
-     * (PECL solr &gt;= 0.9.2)<br/>
245
-     * Sets the boost value for this document
246
-     * @link https://php.net/manual/en/solrinputdocument.setboost.php
247
-     * @param float $documentBoostValue <p>
248
-     * The index-time boost value for this document.
249
-     * </p>
250
-     * @return bool <p>
251
-     * Returns <b>TRUE</b> on success or <b>FALSE</b> on failure.
252
-     * </p>
253
-     */
254
-    public function setBoost($documentBoostValue) {}
243
+	/**
244
+	 * (PECL solr &gt;= 0.9.2)<br/>
245
+	 * Sets the boost value for this document
246
+	 * @link https://php.net/manual/en/solrinputdocument.setboost.php
247
+	 * @param float $documentBoostValue <p>
248
+	 * The index-time boost value for this document.
249
+	 * </p>
250
+	 * @return bool <p>
251
+	 * Returns <b>TRUE</b> on success or <b>FALSE</b> on failure.
252
+	 * </p>
253
+	 */
254
+	public function setBoost($documentBoostValue) {}
255 255
 
256
-    /**
257
-     * (PECL solr &gt;= 0.9.2)<br/>
258
-     * Sets the index-time boost value for a field
259
-     * https://php.net/manual/en/solrinputdocument.setfieldboost.php
260
-     * @param string $fieldName <p>
261
-     * The name of the field.
262
-     * </p>
263
-     * @param float $fieldBoostValue <p>
264
-     * The index time boost value.
265
-     * </p>
266
-     */
267
-    public function setFieldBoost($fieldName, $fieldBoostValue) {}
256
+	/**
257
+	 * (PECL solr &gt;= 0.9.2)<br/>
258
+	 * Sets the index-time boost value for a field
259
+	 * https://php.net/manual/en/solrinputdocument.setfieldboost.php
260
+	 * @param string $fieldName <p>
261
+	 * The name of the field.
262
+	 * </p>
263
+	 * @param float $fieldBoostValue <p>
264
+	 * The index time boost value.
265
+	 * </p>
266
+	 */
267
+	public function setFieldBoost($fieldName, $fieldBoostValue) {}
268 268
 
269
-    /**
270
-     * (PECL solr &gt;= 0.9.2)<br/>
271
-     * Sorts the fields within the document
272
-     * @link https://php.net/manual/en/solrinputdocument.sort.php
273
-     * @param int $sortOrderBy <p>
274
-     * The sort criteria, must be one of :
275
-     * <ul>
276
-     * <li>SolrInputDocument::SORT_FIELD_NAME</li>
277
-     * <li>SolrInputDocument::SORT_FIELD_BOOST_VALUE</li>
278
-     * <li>SolrInputDocument::SORT_FIELD_VALUE_COUNT</li>
279
-     * </ul>
280
-     * </p>
281
-     * @param int $sortDirection [optional] <p>
282
-     * The sort direction, can be one of :
283
-     * <ul>
284
-     * <li>SolrInputDocument::SORT_DEFAULT</li>
285
-     * <li>SolrInputDocument::SORT_ASC</li>
286
-     * <li>SolrInputDocument::SORT_DESC</li>
287
-     * </ul>
288
-     * </p>
289
-     * @return bool <p>
290
-     * Returns <b>TRUE</b> on success or <b>FALSE</b> on failure.
291
-     * </p>
292
-     */
293
-    public function sort($sortOrderBy, $sortDirection = SolrInputDocument::SORT_ASC) {}
269
+	/**
270
+	 * (PECL solr &gt;= 0.9.2)<br/>
271
+	 * Sorts the fields within the document
272
+	 * @link https://php.net/manual/en/solrinputdocument.sort.php
273
+	 * @param int $sortOrderBy <p>
274
+	 * The sort criteria, must be one of :
275
+	 * <ul>
276
+	 * <li>SolrInputDocument::SORT_FIELD_NAME</li>
277
+	 * <li>SolrInputDocument::SORT_FIELD_BOOST_VALUE</li>
278
+	 * <li>SolrInputDocument::SORT_FIELD_VALUE_COUNT</li>
279
+	 * </ul>
280
+	 * </p>
281
+	 * @param int $sortDirection [optional] <p>
282
+	 * The sort direction, can be one of :
283
+	 * <ul>
284
+	 * <li>SolrInputDocument::SORT_DEFAULT</li>
285
+	 * <li>SolrInputDocument::SORT_ASC</li>
286
+	 * <li>SolrInputDocument::SORT_DESC</li>
287
+	 * </ul>
288
+	 * </p>
289
+	 * @return bool <p>
290
+	 * Returns <b>TRUE</b> on success or <b>FALSE</b> on failure.
291
+	 * </p>
292
+	 */
293
+	public function sort($sortOrderBy, $sortDirection = SolrInputDocument::SORT_ASC) {}
294 294
 
295
-    /**
296
-     * (PECL solr &gt;= 0.9.2)<br/>
297
-     * Returns an array representation of the input document
298
-     * @link https://php.net/manual/en/solrinputdocument.toarray.php
299
-     * @return array|false <p>
300
-     * Returns an array containing the fields. It returns FALSE on failure.
301
-     * </p>
302
-     */
303
-    public function toArray() {}
295
+	/**
296
+	 * (PECL solr &gt;= 0.9.2)<br/>
297
+	 * Returns an array representation of the input document
298
+	 * @link https://php.net/manual/en/solrinputdocument.toarray.php
299
+	 * @return array|false <p>
300
+	 * Returns an array containing the fields. It returns FALSE on failure.
301
+	 * </p>
302
+	 */
303
+	public function toArray() {}
304 304
 }
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,8 +12,7 @@
 block discarded – undo
12 12
  * This class represents a Solr document that is about to be submitted to the Solr index.
13 13
  * @link https://php.net/manual/en/class.solrinputdocument.php
14 14
  */
15
-final class SolrInputDocument
16
-{
15
+final class SolrInputDocument {
17 16
     /** @var int Sorts the fields in ascending order. */
18 17
     public const SORT_DEFAULT = 1;
19 18
 
Please login to merge, or discard this patch.
vendor-bin/php-scoper/vendor/jetbrains/phpstorm-stubs/ming/ming.php 2 patches
Indentation   +143 added lines, -143 removed lines patch added patch discarded remove patch
@@ -4,339 +4,339 @@
 block discarded – undo
4 4
 
5 5
 class SWFShape
6 6
 {
7
-    public function __construct() {}
7
+	public function __construct() {}
8 8
 
9
-    public function setLine() {}
9
+	public function setLine() {}
10 10
 
11
-    public function addFill() {}
11
+	public function addFill() {}
12 12
 
13
-    public function setLeftFill() {}
13
+	public function setLeftFill() {}
14 14
 
15
-    public function setRightFill() {}
15
+	public function setRightFill() {}
16 16
 
17
-    public function movePenTo() {}
17
+	public function movePenTo() {}
18 18
 
19
-    public function movePen() {}
19
+	public function movePen() {}
20 20
 
21
-    public function drawLineTo() {}
21
+	public function drawLineTo() {}
22 22
 
23
-    public function drawLine() {}
23
+	public function drawLine() {}
24 24
 
25
-    public function drawCurveTo() {}
25
+	public function drawCurveTo() {}
26 26
 
27
-    public function drawCurve() {}
27
+	public function drawCurve() {}
28 28
 
29
-    public function drawGlyph() {}
29
+	public function drawGlyph() {}
30 30
 
31
-    public function drawCircle() {}
31
+	public function drawCircle() {}
32 32
 
33
-    public function drawArc() {}
33
+	public function drawArc() {}
34 34
 
35
-    public function drawCubic() {}
35
+	public function drawCubic() {}
36 36
 
37
-    public function drawCubicTo() {}
37
+	public function drawCubicTo() {}
38 38
 }
39 39
 
40 40
 class SWFFill
41 41
 {
42
-    public function __construct() {}
42
+	public function __construct() {}
43 43
 
44
-    public function moveTo() {}
44
+	public function moveTo() {}
45 45
 
46
-    public function scaleTo() {}
46
+	public function scaleTo() {}
47 47
 
48
-    public function rotateTo() {}
48
+	public function rotateTo() {}
49 49
 
50
-    public function skewXTo() {}
50
+	public function skewXTo() {}
51 51
 
52
-    public function skewYTo() {}
52
+	public function skewYTo() {}
53 53
 }
54 54
 
55 55
 class SWFGradient
56 56
 {
57
-    public function __construct() {}
57
+	public function __construct() {}
58 58
 
59
-    public function addEntry() {}
59
+	public function addEntry() {}
60 60
 }
61 61
 
62 62
 class SWFBitmap
63 63
 {
64
-    public function __construct() {}
64
+	public function __construct() {}
65 65
 
66
-    public function getWidth() {}
66
+	public function getWidth() {}
67 67
 
68
-    public function getHeight() {}
68
+	public function getHeight() {}
69 69
 }
70 70
 
71 71
 class SWFText
72 72
 {
73
-    public function __construct() {}
73
+	public function __construct() {}
74 74
 
75
-    public function setFont() {}
75
+	public function setFont() {}
76 76
 
77
-    public function setHeight() {}
77
+	public function setHeight() {}
78 78
 
79
-    public function setSpacing() {}
79
+	public function setSpacing() {}
80 80
 
81
-    public function setColor() {}
81
+	public function setColor() {}
82 82
 
83
-    public function moveTo() {}
83
+	public function moveTo() {}
84 84
 
85
-    public function addString() {}
85
+	public function addString() {}
86 86
 
87
-    public function addUTF8String() {}
87
+	public function addUTF8String() {}
88 88
 
89
-    public function getWidth() {}
89
+	public function getWidth() {}
90 90
 
91
-    public function getUTF8Width() {}
91
+	public function getUTF8Width() {}
92 92
 
93
-    public function getAscent() {}
93
+	public function getAscent() {}
94 94
 
95
-    public function getDescent() {}
95
+	public function getDescent() {}
96 96
 
97
-    public function getLeading() {}
97
+	public function getLeading() {}
98 98
 }
99 99
 
100 100
 class SWFTextField
101 101
 {
102
-    public function __construct() {}
102
+	public function __construct() {}
103 103
 
104
-    public function setFont() {}
104
+	public function setFont() {}
105 105
 
106
-    public function setBounds() {}
106
+	public function setBounds() {}
107 107
 
108
-    public function align() {}
108
+	public function align() {}
109 109
 
110
-    public function setHeight() {}
110
+	public function setHeight() {}
111 111
 
112
-    public function setLeftMargin() {}
112
+	public function setLeftMargin() {}
113 113
 
114
-    public function setRightMargin() {}
114
+	public function setRightMargin() {}
115 115
 
116
-    public function setMargins() {}
116
+	public function setMargins() {}
117 117
 
118
-    public function setIndentation() {}
118
+	public function setIndentation() {}
119 119
 
120
-    public function setLineSpacing() {}
120
+	public function setLineSpacing() {}
121 121
 
122
-    public function setColor() {}
122
+	public function setColor() {}
123 123
 
124
-    public function setName() {}
124
+	public function setName() {}
125 125
 
126
-    public function addString() {}
126
+	public function addString() {}
127 127
 
128
-    public function setPadding() {}
128
+	public function setPadding() {}
129 129
 
130
-    public function addChars() {}
130
+	public function addChars() {}
131 131
 }
132 132
 
133 133
 class SWFFont
134 134
 {
135
-    public function __construct() {}
135
+	public function __construct() {}
136 136
 
137
-    public function getWidth() {}
137
+	public function getWidth() {}
138 138
 
139
-    public function getUTF8Width() {}
139
+	public function getUTF8Width() {}
140 140
 
141
-    public function getAscent() {}
141
+	public function getAscent() {}
142 142
 
143
-    public function getDescent() {}
143
+	public function getDescent() {}
144 144
 
145
-    public function getLeading() {}
145
+	public function getLeading() {}
146 146
 
147
-    public function getShape() {}
147
+	public function getShape() {}
148 148
 }
149 149
 
150 150
 class SWFDisplayItem
151 151
 {
152
-    public function moveTo() {}
152
+	public function moveTo() {}
153 153
 
154
-    public function move() {}
154
+	public function move() {}
155 155
 
156
-    public function scaleTo() {}
156
+	public function scaleTo() {}
157 157
 
158
-    public function scale() {}
158
+	public function scale() {}
159 159
 
160
-    public function rotateTo() {}
160
+	public function rotateTo() {}
161 161
 
162
-    public function rotate() {}
162
+	public function rotate() {}
163 163
 
164
-    public function skewXTo() {}
164
+	public function skewXTo() {}
165 165
 
166
-    public function skewX() {}
166
+	public function skewX() {}
167 167
 
168
-    public function skewYTo() {}
168
+	public function skewYTo() {}
169 169
 
170
-    public function skewY() {}
170
+	public function skewY() {}
171 171
 
172
-    public function setMatrix() {}
172
+	public function setMatrix() {}
173 173
 
174
-    public function setDepth() {}
174
+	public function setDepth() {}
175 175
 
176
-    public function setRatio() {}
176
+	public function setRatio() {}
177 177
 
178
-    public function addColor() {}
178
+	public function addColor() {}
179 179
 
180
-    public function multColor() {}
180
+	public function multColor() {}
181 181
 
182
-    public function setName() {}
182
+	public function setName() {}
183 183
 
184
-    public function addAction() {}
184
+	public function addAction() {}
185 185
 
186
-    public function remove() {}
186
+	public function remove() {}
187 187
 
188
-    public function setMaskLevel() {}
188
+	public function setMaskLevel() {}
189 189
 
190
-    public function endMask() {}
190
+	public function endMask() {}
191 191
 
192
-    public function getX() {}
192
+	public function getX() {}
193 193
 
194
-    public function getY() {}
194
+	public function getY() {}
195 195
 
196
-    public function getXScale() {}
196
+	public function getXScale() {}
197 197
 
198
-    public function getYScale() {}
198
+	public function getYScale() {}
199 199
 
200
-    public function getXSkew() {}
200
+	public function getXSkew() {}
201 201
 
202
-    public function getYSkew() {}
202
+	public function getYSkew() {}
203 203
 
204
-    public function getRot() {}
204
+	public function getRot() {}
205 205
 }
206 206
 
207 207
 class SWFMovie
208 208
 {
209
-    public function __construct() {}
209
+	public function __construct() {}
210 210
 
211
-    public function nextFrame() {}
211
+	public function nextFrame() {}
212 212
 
213
-    public function labelFrame() {}
213
+	public function labelFrame() {}
214 214
 
215
-    public function add() {}
215
+	public function add() {}
216 216
 
217
-    public function remove() {}
217
+	public function remove() {}
218 218
 
219
-    public function output() {}
219
+	public function output() {}
220 220
 
221
-    public function save() {}
221
+	public function save() {}
222 222
 
223
-    public function saveToFile() {}
223
+	public function saveToFile() {}
224 224
 
225
-    public function setBackground() {}
225
+	public function setBackground() {}
226 226
 
227
-    public function setRate() {}
227
+	public function setRate() {}
228 228
 
229
-    public function setDimension() {}
229
+	public function setDimension() {}
230 230
 
231
-    public function setFrames() {}
231
+	public function setFrames() {}
232 232
 
233
-    public function streamMP3() {}
233
+	public function streamMP3() {}
234 234
 
235
-    public function addExport() {}
235
+	public function addExport() {}
236 236
 
237
-    public function writeExports() {}
237
+	public function writeExports() {}
238 238
 
239
-    public function startSound() {}
239
+	public function startSound() {}
240 240
 
241
-    public function stopSound() {}
241
+	public function stopSound() {}
242 242
 
243
-    public function importChar() {}
243
+	public function importChar() {}
244 244
 
245
-    public function importFont() {}
245
+	public function importFont() {}
246 246
 
247
-    public function addFont() {}
247
+	public function addFont() {}
248 248
 
249
-    public function protect() {}
249
+	public function protect() {}
250 250
 
251
-    public function namedAnchor() {}
251
+	public function namedAnchor() {}
252 252
 }
253 253
 
254 254
 class SWFButton
255 255
 {
256
-    public function __construct() {}
256
+	public function __construct() {}
257 257
 
258
-    public function setHit() {}
258
+	public function setHit() {}
259 259
 
260
-    public function setOver() {}
260
+	public function setOver() {}
261 261
 
262
-    public function setUp() {}
262
+	public function setUp() {}
263 263
 
264
-    public function setDown() {}
264
+	public function setDown() {}
265 265
 
266
-    public function setAction() {}
266
+	public function setAction() {}
267 267
 
268
-    public function addShape() {}
268
+	public function addShape() {}
269 269
 
270
-    public function setMenu() {}
270
+	public function setMenu() {}
271 271
 
272
-    public function addAction() {}
272
+	public function addAction() {}
273 273
 
274
-    public function addSound() {}
274
+	public function addSound() {}
275 275
 }
276 276
 
277 277
 class SWFAction
278 278
 {
279
-    public function __construct() {}
279
+	public function __construct() {}
280 280
 }
281 281
 
282 282
 class SWFMorph
283 283
 {
284
-    public function __construct() {}
284
+	public function __construct() {}
285 285
 
286
-    public function getShape1() {}
286
+	public function getShape1() {}
287 287
 
288
-    public function getShape2() {}
288
+	public function getShape2() {}
289 289
 }
290 290
 
291 291
 class SWFSprite
292 292
 {
293
-    public function __construct() {}
293
+	public function __construct() {}
294 294
 
295
-    public function add() {}
295
+	public function add() {}
296 296
 
297
-    public function remove() {}
297
+	public function remove() {}
298 298
 
299
-    public function nextFrame() {}
299
+	public function nextFrame() {}
300 300
 
301
-    public function labelFrame() {}
301
+	public function labelFrame() {}
302 302
 
303
-    public function setFrames() {}
303
+	public function setFrames() {}
304 304
 
305
-    public function startSound() {}
305
+	public function startSound() {}
306 306
 
307
-    public function stopSound() {}
307
+	public function stopSound() {}
308 308
 }
309 309
 
310 310
 class SWFSound
311 311
 {
312
-    public function __construct() {}
312
+	public function __construct() {}
313 313
 }
314 314
 
315 315
 class SWFFontChar
316 316
 {
317
-    public function addChars() {}
317
+	public function addChars() {}
318 318
 
319
-    public function addUTF8Chars() {}
319
+	public function addUTF8Chars() {}
320 320
 }
321 321
 
322 322
 class SWFSoundInstance
323 323
 {
324
-    public function noMultiple() {}
324
+	public function noMultiple() {}
325 325
 
326
-    public function loopInPoint() {}
326
+	public function loopInPoint() {}
327 327
 
328
-    public function loopOutPoint() {}
328
+	public function loopOutPoint() {}
329 329
 
330
-    public function loopCount() {}
330
+	public function loopCount() {}
331 331
 }
332 332
 
333 333
 class SWFVideoStream
334 334
 {
335
-    public function __construct() {}
335
+	public function __construct() {}
336 336
 
337
-    public function setdimension() {}
337
+	public function setdimension() {}
338 338
 
339
-    public function getnumframes() {}
339
+	public function getnumframes() {}
340 340
 }
341 341
 
342 342
 /**
Please login to merge, or discard this patch.
Braces   +17 added lines, -34 removed lines patch added patch discarded remove patch
@@ -2,8 +2,7 @@  discard block
 block discarded – undo
2 2
 
3 3
 // Start of ming v.
4 4
 
5
-class SWFShape
6
-{
5
+class SWFShape {
7 6
     public function __construct() {}
8 7
 
9 8
     public function setLine() {}
@@ -37,8 +36,7 @@  discard block
 block discarded – undo
37 36
     public function drawCubicTo() {}
38 37
 }
39 38
 
40
-class SWFFill
41
-{
39
+class SWFFill {
42 40
     public function __construct() {}
43 41
 
44 42
     public function moveTo() {}
@@ -52,15 +50,13 @@  discard block
 block discarded – undo
52 50
     public function skewYTo() {}
53 51
 }
54 52
 
55
-class SWFGradient
56
-{
53
+class SWFGradient {
57 54
     public function __construct() {}
58 55
 
59 56
     public function addEntry() {}
60 57
 }
61 58
 
62
-class SWFBitmap
63
-{
59
+class SWFBitmap {
64 60
     public function __construct() {}
65 61
 
66 62
     public function getWidth() {}
@@ -68,8 +64,7 @@  discard block
 block discarded – undo
68 64
     public function getHeight() {}
69 65
 }
70 66
 
71
-class SWFText
72
-{
67
+class SWFText {
73 68
     public function __construct() {}
74 69
 
75 70
     public function setFont() {}
@@ -97,8 +92,7 @@  discard block
 block discarded – undo
97 92
     public function getLeading() {}
98 93
 }
99 94
 
100
-class SWFTextField
101
-{
95
+class SWFTextField {
102 96
     public function __construct() {}
103 97
 
104 98
     public function setFont() {}
@@ -130,8 +124,7 @@  discard block
 block discarded – undo
130 124
     public function addChars() {}
131 125
 }
132 126
 
133
-class SWFFont
134
-{
127
+class SWFFont {
135 128
     public function __construct() {}
136 129
 
137 130
     public function getWidth() {}
@@ -147,8 +140,7 @@  discard block
 block discarded – undo
147 140
     public function getShape() {}
148 141
 }
149 142
 
150
-class SWFDisplayItem
151
-{
143
+class SWFDisplayItem {
152 144
     public function moveTo() {}
153 145
 
154 146
     public function move() {}
@@ -204,8 +196,7 @@  discard block
 block discarded – undo
204 196
     public function getRot() {}
205 197
 }
206 198
 
207
-class SWFMovie
208
-{
199
+class SWFMovie {
209 200
     public function __construct() {}
210 201
 
211 202
     public function nextFrame() {}
@@ -251,8 +242,7 @@  discard block
 block discarded – undo
251 242
     public function namedAnchor() {}
252 243
 }
253 244
 
254
-class SWFButton
255
-{
245
+class SWFButton {
256 246
     public function __construct() {}
257 247
 
258 248
     public function setHit() {}
@@ -274,13 +264,11 @@  discard block
 block discarded – undo
274 264
     public function addSound() {}
275 265
 }
276 266
 
277
-class SWFAction
278
-{
267
+class SWFAction {
279 268
     public function __construct() {}
280 269
 }
281 270
 
282
-class SWFMorph
283
-{
271
+class SWFMorph {
284 272
     public function __construct() {}
285 273
 
286 274
     public function getShape1() {}
@@ -288,8 +276,7 @@  discard block
 block discarded – undo
288 276
     public function getShape2() {}
289 277
 }
290 278
 
291
-class SWFSprite
292
-{
279
+class SWFSprite {
293 280
     public function __construct() {}
294 281
 
295 282
     public function add() {}
@@ -307,20 +294,17 @@  discard block
 block discarded – undo
307 294
     public function stopSound() {}
308 295
 }
309 296
 
310
-class SWFSound
311
-{
297
+class SWFSound {
312 298
     public function __construct() {}
313 299
 }
314 300
 
315
-class SWFFontChar
316
-{
301
+class SWFFontChar {
317 302
     public function addChars() {}
318 303
 
319 304
     public function addUTF8Chars() {}
320 305
 }
321 306
 
322
-class SWFSoundInstance
323
-{
307
+class SWFSoundInstance {
324 308
     public function noMultiple() {}
325 309
 
326 310
     public function loopInPoint() {}
@@ -330,8 +314,7 @@  discard block
 block discarded – undo
330 314
     public function loopCount() {}
331 315
 }
332 316
 
333
-class SWFVideoStream
334
-{
317
+class SWFVideoStream {
335 318
     public function __construct() {}
336 319
 
337 320
     public function setdimension() {}
Please login to merge, or discard this patch.
vendor-bin/php-scoper/vendor/jetbrains/phpstorm-stubs/Phar/Phar.php 3 patches
Indentation   +1213 added lines, -1213 removed lines patch added patch discarded remove patch
@@ -20,946 +20,946 @@  discard block
 block discarded – undo
20 20
  */
21 21
 class Phar extends RecursiveDirectoryIterator implements RecursiveIterator, SeekableIterator, Countable, ArrayAccess
22 22
 {
23
-    public const BZ2 = 8192;
24
-    public const GZ = 4096;
25
-    public const NONE = 0;
26
-    public const PHAR = 1;
27
-    public const TAR = 2;
28
-    public const ZIP = 3;
29
-    public const COMPRESSED = 61440;
30
-    public const PHP = 0;
31
-    public const PHPS = 1;
32
-    public const MD5 = 1;
33
-    public const OPENSSL = 16;
34
-    public const SHA1 = 2;
35
-    public const SHA256 = 3;
36
-    public const SHA512 = 4;
37
-    public const OPENSSL_SHA256 = 5;
38
-    public const OPENSSL_SHA512 = 6;
39
-
40
-    /**
41
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
42
-     * Construct a Phar archive object
43
-     * @link https://php.net/manual/en/phar.construct.php
44
-     * @param string $filename <p>
45
-     * Path to an existing Phar archive or to-be-created archive. The file name's
46
-     * extension must contain .phar.
47
-     * </p>
48
-     * @param int $flags [optional] <p>
49
-     * Flags to pass to parent class <b>RecursiveDirectoryIterator</b>.
50
-     * </p>
51
-     * @param string $alias [optional] <p>
52
-     * Alias with which this Phar archive should be referred to in calls to stream
53
-     * functionality.
54
-     * </p>
55
-     * @throws BadMethodCallException If called twice.
56
-     * @throws UnexpectedValueException If the phar archive can't be opened.
57
-     */
58
-    public function __construct(
59
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $filename,
60
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = FilesystemIterator::KEY_AS_PATHNAME|FilesystemIterator::CURRENT_AS_FILEINFO,
61
-        #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $alias = null
62
-    ) {}
63
-
64
-    public function __destruct() {}
65
-
66
-    /**
67
-     * (Unknown)<br/>
68
-     * Add an empty directory to the phar archive
69
-     * @link https://php.net/manual/en/phar.addemptydir.php
70
-     * @param string $directory <p>
71
-     * The name of the empty directory to create in the phar archive
72
-     * </p>
73
-     * @return void no return value, exception is thrown on failure.
74
-     */
75
-    #[TentativeType]
76
-    public function addEmptyDir(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $directory): void {}
77
-
78
-    /**
79
-     * (Unknown)<br/>
80
-     * Add a file from the filesystem to the phar archive
81
-     * @link https://php.net/manual/en/phar.addfile.php
82
-     * @param string $filename <p>
83
-     * Full or relative path to a file on disk to be added
84
-     * to the phar archive.
85
-     * </p>
86
-     * @param string $localName [optional] <p>
87
-     * Path that the file will be stored in the archive.
88
-     * </p>
89
-     * @return void no return value, exception is thrown on failure.
90
-     */
91
-    #[TentativeType]
92
-    public function addFile(
93
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $filename,
94
-        #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $localName = null
95
-    ): void {}
96
-
97
-    /**
98
-     * (Unknown)<br/>
99
-     * Add a file from the filesystem to the phar archive
100
-     * @link https://php.net/manual/en/phar.addfromstring.php
101
-     * @param string $localName <p>
102
-     * Path that the file will be stored in the archive.
103
-     * </p>
104
-     * @param string $contents <p>
105
-     * The file contents to store
106
-     * </p>
107
-     * @return void no return value, exception is thrown on failure.
108
-     */
109
-    #[TentativeType]
110
-    public function addFromString(
111
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $localName,
112
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $contents
113
-    ): void {}
114
-
115
-    /**
116
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
117
-     * Construct a phar archive from the files within a directory.
118
-     * @link https://php.net/manual/en/phar.buildfromdirectory.php
119
-     * @param string $directory <p>
120
-     * The full or relative path to the directory that contains all files
121
-     * to add to the archive.
122
-     * </p>
123
-     * @param $pattern $regex [optional] <p>
124
-     * An optional pcre regular expression that is used to filter the
125
-     * list of files. Only file paths matching the regular expression
126
-     * will be included in the archive.
127
-     * </p>
128
-     * @return array <b>Phar::buildFromDirectory</b> returns an associative array
129
-     * mapping internal path of file to the full path of the file on the
130
-     * filesystem.
131
-     */
132
-    #[TentativeType]
133
-    public function buildFromDirectory(
134
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $directory,
135
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $pattern = null
136
-    ): array {}
137
-
138
-    /**
139
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
140
-     * Construct a phar archive from an iterator.
141
-     * @link https://php.net/manual/en/phar.buildfromiterator.php
142
-     * @param Traversable $iterator <p>
143
-     * Any iterator that either associatively maps phar file to location or
144
-     * returns SplFileInfo objects
145
-     * </p>
146
-     * @param string $baseDirectory [optional] <p>
147
-     * For iterators that return SplFileInfo objects, the portion of each
148
-     * file's full path to remove when adding to the phar archive
149
-     * </p>
150
-     * @return array <b>Phar::buildFromIterator</b> returns an associative array
151
-     * mapping internal path of file to the full path of the file on the
152
-     * filesystem.
153
-     */
154
-    #[TentativeType]
155
-    public function buildFromIterator(
156
-        Traversable $iterator,
157
-        #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $baseDirectory = null
158
-    ): array {}
159
-
160
-    /**
161
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
162
-     * Compresses all files in the current Phar archive
163
-     * @link https://php.net/manual/en/phar.compressfiles.php
164
-     * @param int $compression <p>
165
-     * Compression must be one of Phar::GZ,
166
-     * Phar::BZ2 to add compression, or Phar::NONE
167
-     * to remove compression.
168
-     * </p>
169
-     * @return void No value is returned.
170
-     */
171
-    #[TentativeType]
172
-    public function compressFiles(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $compression): void {}
173
-
174
-    /**
175
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
176
-     * Decompresses all files in the current Phar archive
177
-     * @link https://php.net/manual/en/phar.decompressfiles.php
178
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
179
-     */
180
-    public function decompressFiles() {}
181
-
182
-    /**
183
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
184
-     * Compresses the entire Phar archive using Gzip or Bzip2 compression
185
-     * @link https://php.net/manual/en/phar.compress.php
186
-     * @param int $compression <p>
187
-     * Compression must be one of Phar::GZ,
188
-     * Phar::BZ2 to add compression, or Phar::NONE
189
-     * to remove compression.
190
-     * </p>
191
-     * @param string $extension [optional] <p>
192
-     * By default, the extension is .phar.gz
193
-     * or .phar.bz2 for compressing phar archives, and
194
-     * .phar.tar.gz or .phar.tar.bz2 for
195
-     * compressing tar archives. For decompressing, the default file extensions
196
-     * are .phar and .phar.tar.
197
-     * </p>
198
-     * @return static|null a <b>Phar</b> object.
199
-     */
200
-    #[TentativeType]
201
-    public function compress(
202
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $compression,
203
-        #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $extension = null
204
-    ): ?Phar {}
205
-
206
-    /**
207
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
208
-     * Decompresses the entire Phar archive
209
-     * @link https://php.net/manual/en/phar.decompress.php
210
-     * @param string $extension [optional] <p>
211
-     * For decompressing, the default file extensions
212
-     * are .phar and .phar.tar.
213
-     * Use this parameter to specify another file extension. Be aware
214
-     * that all executable phar archives must contain .phar
215
-     * in their filename.
216
-     * </p>
217
-     * @return static|null A <b>Phar</b> object is returned.
218
-     */
219
-    #[TentativeType]
220
-    public function decompress(#[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $extension = null): ?Phar {}
221
-
222
-    /**
223
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
224
-     * Convert a phar archive to another executable phar archive file format
225
-     * @link https://php.net/manual/en/phar.converttoexecutable.php
226
-     * @param int $format [optional] <p>
227
-     * This should be one of Phar::PHAR, Phar::TAR,
228
-     * or Phar::ZIP. If set to <b>NULL</b>, the existing file format
229
-     * will be preserved.
230
-     * </p>
231
-     * @param int $compression [optional] <p>
232
-     * This should be one of Phar::NONE for no whole-archive
233
-     * compression, Phar::GZ for zlib-based compression, and
234
-     * Phar::BZ2 for bzip-based compression.
235
-     * </p>
236
-     * @param string $extension [optional] <p>
237
-     * This parameter is used to override the default file extension for a
238
-     * converted archive. Note that all zip- and tar-based phar archives must contain
239
-     * .phar in their file extension in order to be processed as a
240
-     * phar archive.
241
-     * </p>
242
-     * <p>
243
-     * If converting to a phar-based archive, the default extensions are
244
-     * .phar, .phar.gz, or .phar.bz2
245
-     * depending on the specified compression. For tar-based phar archives, the
246
-     * default extensions are .phar.tar, .phar.tar.gz,
247
-     * and .phar.tar.bz2. For zip-based phar archives, the
248
-     * default extension is .phar.zip.
249
-     * </p>
250
-     * @return Phar|null The method returns a <b>Phar</b> object on success and throws an
251
-     * exception on failure.
252
-     */
253
-    #[TentativeType]
254
-    public function convertToExecutable(
255
-        #[LanguageLevelTypeAware(['8.0' => 'int|null'], default: '')] $format = 9021976,
256
-        #[LanguageLevelTypeAware(['8.0' => 'int|null'], default: '')] $compression = 9021976,
257
-        #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $extension = null
258
-    ): ?Phar {}
259
-
260
-    /**
261
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
262
-     * Convert a phar archive to a non-executable tar or zip file
263
-     * @link https://php.net/manual/en/phar.converttodata.php
264
-     * @param int $format [optional] <p>
265
-     * This should be one of Phar::TAR
266
-     * or Phar::ZIP. If set to <b>NULL</b>, the existing file format
267
-     * will be preserved.
268
-     * </p>
269
-     * @param int $compression [optional] <p>
270
-     * This should be one of Phar::NONE for no whole-archive
271
-     * compression, Phar::GZ for zlib-based compression, and
272
-     * Phar::BZ2 for bzip-based compression.
273
-     * </p>
274
-     * @param string $extension [optional] <p>
275
-     * This parameter is used to override the default file extension for a
276
-     * converted archive. Note that .phar cannot be used
277
-     * anywhere in the filename for a non-executable tar or zip archive.
278
-     * </p>
279
-     * <p>
280
-     * If converting to a tar-based phar archive, the
281
-     * default extensions are .tar, .tar.gz,
282
-     * and .tar.bz2 depending on specified compression.
283
-     * For zip-based archives, the
284
-     * default extension is .zip.
285
-     * </p>
286
-     * @return PharData|null The method returns a <b>PharData</b> object on success and throws an
287
-     * exception on failure.
288
-     */
289
-    #[TentativeType]
290
-    public function convertToData(
291
-        #[LanguageLevelTypeAware(['8.0' => 'int|null'], default: '')] $format = 9021976,
292
-        #[LanguageLevelTypeAware(['8.0' => 'int|null'], default: '')] $compression = 9021976,
293
-        #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $extension = null
294
-    ): ?PharData {}
295
-
296
-    /**
297
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
298
-     * Copy a file internal to the phar archive to another new file within the phar
299
-     * @link https://php.net/manual/en/phar.copy.php
300
-     * @param string $to
301
-     * @param string $from
302
-     * @return bool returns <b>TRUE</b> on success, but it is safer to encase method call in a
303
-     * try/catch block and assume success if no exception is thrown.
304
-     */
305
-    public function copy(
306
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $to,
307
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $from
308
-    ) {}
309
-
310
-    /**
311
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
312
-     * Returns the number of entries (files) in the Phar archive
313
-     * @link https://php.net/manual/en/phar.count.php
314
-     * @param int $mode [optional]
315
-     * @return int The number of files contained within this phar, or 0 (the number zero)
316
-     * if none.
317
-     */
318
-    #[TentativeType]
319
-    public function count(#[PhpStormStubsElementAvailable(from: '8.0')] int $mode = COUNT_NORMAL): int {}
320
-
321
-    /**
322
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
323
-     * Delete a file within a phar archive
324
-     * @link https://php.net/manual/en/phar.delete.php
325
-     * @param string $localName <p>
326
-     * Path within an archive to the file to delete.
327
-     * </p>
328
-     * @return bool returns <b>TRUE</b> on success, but it is better to check for thrown exception,
329
-     * and assume success if none is thrown.
330
-     */
331
-    public function delete(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $localName) {}
332
-
333
-    /**
334
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.2.0)<br/>
335
-     * Deletes the global metadata of the phar
336
-     * @link https://php.net/manual/en/phar.delmetadata.php
337
-     * @return bool returns <b>TRUE</b> on success, but it is better to check for thrown exception,
338
-     * and assume success if none is thrown.
339
-     */
340
-    public function delMetadata() {}
341
-
342
-    /**
343
-     * (Unknown)<br/>
344
-     * Extract the contents of a phar archive to a directory
345
-     * @link https://php.net/manual/en/phar.extractto.php
346
-     * @param string $directory <p>
347
-     * Path within an archive to the file to delete.
348
-     * </p>
349
-     * @param string|array|null $files [optional] <p>
350
-     * The name of a file or directory to extract, or an array of files/directories to extract
351
-     * </p>
352
-     * @param bool $overwrite [optional] <p>
353
-     * Set to <b>TRUE</b> to enable overwriting existing files
354
-     * </p>
355
-     * @return bool returns <b>TRUE</b> on success, but it is better to check for thrown exception,
356
-     * and assume success if none is thrown.
357
-     */
358
-    #[TentativeType]
359
-    public function extractTo(
360
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $directory,
361
-        #[LanguageLevelTypeAware(['8.0' => 'array|string|null'], default: '')] $files = null,
362
-        #[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $overwrite = false
363
-    ): bool {}
364
-
365
-    /**
366
-     * @return string|null
367
-     * @see setAlias
368
-     */
369
-    #[TentativeType]
370
-    public function getAlias(): ?string {}
371
-
372
-    /**
373
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
374
-     * Returns phar archive meta-data
375
-     * @link https://php.net/manual/en/phar.getmetadata.php
376
-     * @param array $unserializeOptions [optional] if is set to anything other than the default,
377
-     * the resulting metadata won't be cached and this won't return the value from the cache
378
-     * @return mixed any PHP variable that can be serialized and is stored as meta-data for the Phar archive,
379
-     * or <b>NULL</b> if no meta-data is stored.
380
-     */
381
-    #[TentativeType]
382
-    public function getMetadata(#[PhpStormStubsElementAvailable(from: '8.0')] array $unserializeOptions = []): mixed {}
383
-
384
-    /**
385
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
386
-     * Return whether phar was modified
387
-     * @link https://php.net/manual/en/phar.getmodified.php
388
-     * @return bool <b>TRUE</b> if the phar has been modified since opened, <b>FALSE</b> if not.
389
-     */
390
-    #[TentativeType]
391
-    public function getModified(): bool {}
392
-
393
-    /**
394
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
395
-     * Return MD5/SHA1/SHA256/SHA512/OpenSSL signature of a Phar archive
396
-     * @link https://php.net/manual/en/phar.getsignature.php
397
-     * @return array Array with the opened archive's signature in hash key and MD5,
398
-     * SHA-1,
399
-     * SHA-256, SHA-512, or OpenSSL
400
-     * in hash_type. This signature is a hash calculated on the
401
-     * entire phar's contents, and may be used to verify the integrity of the archive.
402
-     * A valid signature is absolutely required of all executable phar archives if the
403
-     * phar.require_hash INI variable
404
-     * is set to true.
405
-     */
406
-    #[ArrayShape(["hash" => "string", "hash_type" => "string"])]
407
-    #[TentativeType]
408
-    public function getSignature(): array|false {}
409
-
410
-    /**
411
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
412
-     * Return the PHP loader or bootstrap stub of a Phar archive
413
-     * @link https://php.net/manual/en/phar.getstub.php
414
-     * @return string a string containing the contents of the bootstrap loader (stub) of
415
-     * the current Phar archive.
416
-     */
417
-    #[TentativeType]
418
-    public function getStub(): string {}
419
-
420
-    /**
421
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
422
-     * Return version info of Phar archive
423
-     * @link https://php.net/manual/en/phar.getversion.php
424
-     * @return string The opened archive's API version. This is not to be confused with
425
-     * the API version that the loaded phar extension will use to create
426
-     * new phars. Each Phar archive has the API version hard-coded into
427
-     * its manifest. See Phar file format
428
-     * documentation for more information.
429
-     */
430
-    #[TentativeType]
431
-    public function getVersion(): string {}
432
-
433
-    /**
434
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.2.0)<br/>
435
-     * Returns whether phar has global meta-data
436
-     * @link https://php.net/manual/en/phar.hasmetadata.php
437
-     * @return bool <b>TRUE</b> if meta-data has been set, and <b>FALSE</b> if not.
438
-     */
439
-    #[TentativeType]
440
-    public function hasMetadata(): bool {}
441
-
442
-    /**
443
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
444
-     * Used to determine whether Phar write operations are being buffered, or are flushing directly to disk
445
-     * @link https://php.net/manual/en/phar.isbuffering.php
446
-     * @return bool <b>TRUE</b> if the write operations are being buffer, <b>FALSE</b> otherwise.
447
-     */
448
-    #[TentativeType]
449
-    public function isBuffering(): bool {}
450
-
451
-    /**
452
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
453
-     * Returns Phar::GZ or PHAR::BZ2 if the entire phar archive is compressed (.tar.gz/tar.bz and so on)
454
-     * @link https://php.net/manual/en/phar.iscompressed.php
455
-     * @return mixed Phar::GZ, Phar::BZ2 or <b>FALSE</b>
456
-     */
457
-    #[TentativeType]
458
-    public function isCompressed(): int|false {}
459
-
460
-    /**
461
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
462
-     * Returns true if the phar archive is based on the tar/phar/zip file format depending on the parameter
463
-     * @link https://php.net/manual/en/phar.isfileformat.php
464
-     * @param int $format <p>
465
-     * Either Phar::PHAR, Phar::TAR, or
466
-     * Phar::ZIP to test for the format of the archive.
467
-     * </p>
468
-     * @return bool <b>TRUE</b> if the phar archive matches the file format requested by the parameter
469
-     */
470
-    #[TentativeType]
471
-    public function isFileFormat(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $format): bool {}
472
-
473
-    /**
474
-     * (Unknown)<br/>
475
-     * Returns true if the phar archive can be modified
476
-     * @link https://php.net/manual/en/phar.iswritable.php
477
-     * @return bool <b>TRUE</b> if the phar archive can be modified
478
-     */
479
-    #[TentativeType]
480
-    public function isWritable(): bool {}
481
-
482
-    /**
483
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
484
-     * determines whether a file exists in the phar
485
-     * @link https://php.net/manual/en/phar.offsetexists.php
486
-     * @param string $localName <p>
487
-     * The filename (relative path) to look for in a Phar.
488
-     * </p>
489
-     * @return bool <b>TRUE</b> if the file exists within the phar, or <b>FALSE</b> if not.
490
-     */
491
-    #[TentativeType]
492
-    public function offsetExists($localName): bool {}
493
-
494
-    /**
495
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
496
-     * Gets a <b>PharFileInfo</b> object for a specific file
497
-     * @link https://php.net/manual/en/phar.offsetget.php
498
-     * @param string $localName <p>
499
-     * The filename (relative path) to look for in a Phar.
500
-     * </p>
501
-     * @return PharFileInfo A <b>PharFileInfo</b> object is returned that can be used to
502
-     * iterate over a file's contents or to retrieve information about the current file.
503
-     */
504
-    #[TentativeType]
505
-    public function offsetGet($localName): SplFileInfo {}
506
-
507
-    /**
508
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
509
-     * set the contents of an internal file to those of an external file
510
-     * @link https://php.net/manual/en/phar.offsetset.php
511
-     * @param string $localName <p>
512
-     * The filename (relative path) to modify in a Phar.
513
-     * </p>
514
-     * @param string $value <p>
515
-     * Content of the file.
516
-     * </p>
517
-     * @return void No return values.
518
-     */
519
-    #[TentativeType]
520
-    public function offsetSet($localName, $value): void {}
521
-
522
-    /**
523
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
524
-     * remove a file from a phar
525
-     * @link https://php.net/manual/en/phar.offsetunset.php
526
-     * @param string $localName <p>
527
-     * The filename (relative path) to modify in a Phar.
528
-     * </p>
529
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
530
-     */
531
-    #[TentativeType]
532
-    public function offsetUnset($localName): void {}
533
-
534
-    /**
535
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.2.1)<br/>
536
-     * Set the alias for the Phar archive
537
-     * @link https://php.net/manual/en/phar.setalias.php
538
-     * @param string $alias <p>
539
-     * A shorthand string that this archive can be referred to in phar
540
-     * stream wrapper access.
541
-     * </p>
542
-     * @return bool
543
-     */
544
-    #[TentativeType]
545
-    public function setAlias(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $alias): bool {}
546
-
547
-    /**
548
-     * (Unknown)<br/>
549
-     * Used to set the PHP loader or bootstrap stub of a Phar archive to the default loader
550
-     * @link https://php.net/manual/en/phar.setdefaultstub.php
551
-     * @param string $index [optional] <p>
552
-     * Relative path within the phar archive to run if accessed on the command-line
553
-     * </p>
554
-     * @param string $webIndex [optional] <p>
555
-     * Relative path within the phar archive to run if accessed through a web browser
556
-     * </p>
557
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
558
-     */
559
-    #[TentativeType]
560
-    public function setDefaultStub(
561
-        #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $index = null,
562
-        #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $webIndex = null
563
-    ): bool {}
564
-
565
-    /**
566
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
567
-     * Sets phar archive meta-data
568
-     * @link https://php.net/manual/en/phar.setmetadata.php
569
-     * @param mixed $metadata <p>
570
-     * Any PHP variable containing information to store that describes the phar archive
571
-     * </p>
572
-     * @return void No value is returned.
573
-     */
574
-    #[TentativeType]
575
-    public function setMetadata(#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $metadata): void {}
576
-
577
-    /**
578
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.1.0)<br/>
579
-     * set the signature algorithm for a phar and apply it.
580
-     * @link https://php.net/manual/en/phar.setsignaturealgorithm.php
581
-     * @param int $algo <p>
582
-     * One of Phar::MD5,
583
-     * Phar::SHA1, Phar::SHA256,
584
-     * Phar::SHA512, or Phar::OPENSSL
585
-     * </p>
586
-     * @param string $privateKey [optional] <p>
587
-     * The contents of an OpenSSL private key, as extracted from a certificate or
588
-     * OpenSSL key file:
589
-     * <code>
590
-     * $private = openssl_get_privatekey(file_get_contents('private.pem'));
591
-     * $pkey = '';
592
-     * openssl_pkey_export($private, $pkey);
593
-     * $p->setSignatureAlgorithm(Phar::OPENSSL, $pkey);
594
-     * </code>
595
-     * See phar introduction for instructions on
596
-     * naming and placement of the public key file.
597
-     * </p>
598
-     * @return void No value is returned.
599
-     */
600
-    #[TentativeType]
601
-    public function setSignatureAlgorithm(
602
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $algo,
603
-        #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $privateKey = null
604
-    ): void {}
605
-
606
-    /**
607
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
608
-     * Used to set the PHP loader or bootstrap stub of a Phar archive
609
-     * @link https://php.net/manual/en/phar.setstub.php
610
-     * @param string $stub <p>
611
-     * A string or an open stream handle to use as the executable stub for this
612
-     * phar archive.
613
-     * </p>
614
-     * @param int $length [optional] <p>
615
-     * </p>
616
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
617
-     */
618
-    public function setStub(
619
-        $stub,
620
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $length = -1
621
-    ) {}
622
-
623
-    /**
624
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
625
-     * Start buffering Phar write operations, do not modify the Phar object on disk
626
-     * @link https://php.net/manual/en/phar.startbuffering.php
627
-     * @return void No value is returned.
628
-     */
629
-    #[TentativeType]
630
-    public function startBuffering(): void {}
631
-
632
-    /**
633
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
634
-     * Stop buffering write requests to the Phar archive, and save changes to disk
635
-     * @link https://php.net/manual/en/phar.stopbuffering.php
636
-     * @return void No value is returned.
637
-     */
638
-    #[TentativeType]
639
-    public function stopBuffering(): void {}
640
-
641
-    /**
642
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
643
-     * Returns the api version
644
-     * @link https://php.net/manual/en/phar.apiversion.php
645
-     * @return string The API version string as in &#x00022;1.0.0&#x00022;.
646
-     */
647
-    final public static function apiVersion(): string {}
648
-
649
-    /**
650
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
651
-     * Returns whether phar extension supports compression using either zlib or bzip2
652
-     * @link https://php.net/manual/en/phar.cancompress.php
653
-     * @param int $compression [optional] <p>
654
-     * Either Phar::GZ or Phar::BZ2 can be
655
-     * used to test whether compression is possible with a specific compression
656
-     * algorithm (zlib or bzip2).
657
-     * </p>
658
-     * @return bool <b>TRUE</b> if compression/decompression is available, <b>FALSE</b> if not.
659
-     */
660
-    final public static function canCompress(int $compression = 0): bool {}
661
-
662
-    /**
663
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
664
-     * Returns whether phar extension supports writing and creating phars
665
-     * @link https://php.net/manual/en/phar.canwrite.php
666
-     * @return bool <b>TRUE</b> if write access is enabled, <b>FALSE</b> if it is disabled.
667
-     */
668
-    final public static function canWrite(): bool {}
669
-
670
-    /**
671
-     * (Unknown)<br/>
672
-     * Create a phar-file format specific stub
673
-     * @link https://php.net/manual/en/phar.createdefaultstub.php
674
-     * @param string|null $index [optional]
675
-     * @param string|null $webIndex [optional]
676
-     * @return string a string containing the contents of a customized bootstrap loader (stub)
677
-     * that allows the created Phar archive to work with or without the Phar extension
678
-     * enabled.
679
-     */
680
-    final public static function createDefaultStub(?string $index = null, ?string $webIndex = null): string {}
681
-
682
-    /**
683
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.2.0)<br/>
684
-     * Return array of supported compression algorithms
685
-     * @link https://php.net/manual/en/phar.getsupportedcompression.php
686
-     * @return string[] an array containing any of "GZ" or
687
-     * "BZ2", depending on the availability of
688
-     * the zlib extension or the
689
-     * bz2 extension.
690
-     */
691
-    final public static function getSupportedCompression(): array {}
692
-
693
-    /**
694
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.1.0)<br/>
695
-     * Return array of supported signature types
696
-     * @link https://php.net/manual/en/phar.getsupportedsignatures.php
697
-     * @return string[] an array containing any of "MD5", "SHA-1",
698
-     * "SHA-256", "SHA-512", or "OpenSSL".
699
-     */
700
-    final public static function getSupportedSignatures(): array {}
701
-
702
-    /**
703
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
704
-     * instructs phar to intercept fopen, file_get_contents, opendir, and all of the stat-related functions
705
-     * @link https://php.net/manual/en/phar.interceptfilefuncs.php
706
-     * @return void
707
-     */
708
-    final public static function interceptFileFuncs(): void {}
709
-
710
-    /**
711
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.2.0)<br/>
712
-     * Returns whether the given filename is a valid phar filename
713
-     * @link https://php.net/manual/en/phar.isvalidpharfilename.php
714
-     * @param string $filename <p>
715
-     * The name or full path to a phar archive not yet created
716
-     * </p>
717
-     * @param bool $executable [optional] <p>
718
-     * This parameter determines whether the filename should be treated as
719
-     * a phar executable archive, or a data non-executable archive
720
-     * </p>
721
-     * @return bool <b>TRUE</b> if the filename is valid, <b>FALSE</b> if not.
722
-     */
723
-    final public static function isValidPharFilename(string $filename, bool $executable = true): bool {}
724
-
725
-    /**
726
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
727
-     * Loads any phar archive with an alias
728
-     * @link https://php.net/manual/en/phar.loadphar.php
729
-     * @param string $filename <p>
730
-     * the full or relative path to the phar archive to open
731
-     * </p>
732
-     * @param string|null $alias [optional] <p>
733
-     * The alias that may be used to refer to the phar archive. Note
734
-     * that many phar archives specify an explicit alias inside the
735
-     * phar archive, and a <b>PharException</b> will be thrown if
736
-     * a new alias is specified in this case.
737
-     * </p>
738
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
739
-     */
740
-    final public static function loadPhar(string $filename, ?string $alias = null): bool {}
741
-
742
-    /**
743
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
744
-     * Reads the currently executed file (a phar) and registers its manifest
745
-     * @link https://php.net/manual/en/phar.mapphar.php
746
-     * @param string|null $alias [optional] <p>
747
-     * The alias that can be used in phar:// URLs to
748
-     * refer to this archive, rather than its full path.
749
-     * </p>
750
-     * @param int $offset [optional] <p>
751
-     * Unused variable, here for compatibility with PEAR's PHP_Archive.
752
-     * </p>
753
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
754
-     */
755
-    final public static function mapPhar(?string $alias = null, int $offset = 0): bool {}
756
-
757
-    /**
758
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
759
-     * Returns the full path on disk or full phar URL to the currently executing Phar archive
760
-     * @link https://php.net/manual/en/phar.running.php
761
-     * @param bool $returnPhar [optional] <p>
762
-     * If <b>FALSE</b>, the full path on disk to the phar
763
-     * archive is returned. If <b>TRUE</b>, a full phar URL is returned.
764
-     * </p>
765
-     * @return string the filename if valid, empty string otherwise.
766
-     */
767
-    final public static function running(bool $returnPhar = true): string {}
768
-
769
-    /**
770
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
771
-     * Mount an external path or file to a virtual location within the phar archive
772
-     * @link https://php.net/manual/en/phar.mount.php
773
-     * @param string $pharPath <p>
774
-     * The internal path within the phar archive to use as the mounted path location.
775
-     * This must be a relative path within the phar archive, and must not already exist.
776
-     * </p>
777
-     * @param string $externalPath <p>
778
-     * A path or URL to an external file or directory to mount within the phar archive
779
-     * </p>
780
-     * @return void No return. <b>PharException</b> is thrown on failure.
781
-     */
782
-    final public static function mount(string $pharPath, string $externalPath): void {}
783
-
784
-    /**
785
-     * (Unknown)<br/>
786
-     * Defines a list of up to 4 $_SERVER variables that should be modified for execution
787
-     * @link https://php.net/manual/en/phar.mungserver.php
788
-     * @param array $variables <p>
789
-     * an array containing as string indices any of
790
-     * REQUEST_URI, PHP_SELF,
791
-     * SCRIPT_NAME and SCRIPT_FILENAME.
792
-     * Other values trigger an exception, and <b>Phar::mungServer</b>
793
-     * is case-sensitive.
794
-     * </p>
795
-     * @return void No return.
796
-     */
797
-    final public static function mungServer(array $variables): void {}
798
-
799
-    /**
800
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
801
-     * Completely remove a phar archive from disk and from memory
802
-     * @link https://php.net/manual/en/phar.unlinkarchive.php
803
-     * @param string $filename <p>
804
-     * The path on disk to the phar archive.
805
-     * </p>
806
-     * @throws PharException
807
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
808
-     */
809
-    final public static function unlinkArchive(string $filename): bool {}
810
-
811
-    /**
812
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
813
-     * mapPhar for web-based phars. front controller for web applications
814
-     * @link https://php.net/manual/en/phar.webphar.php
815
-     * @param null|string $alias [optional] <p>
816
-     * The alias that can be used in phar:// URLs to
817
-     * refer to this archive, rather than its full path.
818
-     * </p>
819
-     * @param string|null $index [optional] <p>
820
-     * The location within the phar of the directory index.
821
-     * </p>
822
-     * @param null|string $fileNotFoundScript [optional] <p>
823
-     * The location of the script to run when a file is not found. This
824
-     * script should output the proper HTTP 404 headers.
825
-     * </p>
826
-     * @param null|array $mimeTypes [optional] <p>
827
-     * An array mapping additional file extensions to MIME type.
828
-     * If the default mapping is sufficient, pass an empty array.
829
-     * By default, these extensions are mapped to these MIME types:
830
-     * <code>
831
-     * $mimes = array(
832
-     * 'phps' => Phar::PHPS, // pass to highlight_file()
833
-     * 'c' => 'text/plain',
834
-     * 'cc' => 'text/plain',
835
-     * 'cpp' => 'text/plain',
836
-     * 'c++' => 'text/plain',
837
-     * 'dtd' => 'text/plain',
838
-     * 'h' => 'text/plain',
839
-     * 'log' => 'text/plain',
840
-     * 'rng' => 'text/plain',
841
-     * 'txt' => 'text/plain',
842
-     * 'xsd' => 'text/plain',
843
-     * 'php' => Phar::PHP, // parse as PHP
844
-     * 'inc' => Phar::PHP, // parse as PHP
845
-     * 'avi' => 'video/avi',
846
-     * 'bmp' => 'image/bmp',
847
-     * 'css' => 'text/css',
848
-     * 'gif' => 'image/gif',
849
-     * 'htm' => 'text/html',
850
-     * 'html' => 'text/html',
851
-     * 'htmls' => 'text/html',
852
-     * 'ico' => 'image/x-ico',
853
-     * 'jpe' => 'image/jpeg',
854
-     * 'jpg' => 'image/jpeg',
855
-     * 'jpeg' => 'image/jpeg',
856
-     * 'js' => 'application/x-javascript',
857
-     * 'midi' => 'audio/midi',
858
-     * 'mid' => 'audio/midi',
859
-     * 'mod' => 'audio/mod',
860
-     * 'mov' => 'movie/quicktime',
861
-     * 'mp3' => 'audio/mp3',
862
-     * 'mpg' => 'video/mpeg',
863
-     * 'mpeg' => 'video/mpeg',
864
-     * 'pdf' => 'application/pdf',
865
-     * 'png' => 'image/png',
866
-     * 'swf' => 'application/shockwave-flash',
867
-     * 'tif' => 'image/tiff',
868
-     * 'tiff' => 'image/tiff',
869
-     * 'wav' => 'audio/wav',
870
-     * 'xbm' => 'image/xbm',
871
-     * 'xml' => 'text/xml',
872
-     * );
873
-     * </code>
874
-     * </p>
875
-     * @param null|callable $rewrite [optional] <p>
876
-     * The rewrites function is passed a string as its only parameter and must return a string or <b>FALSE</b>.
877
-     * </p>
878
-     * <p>
879
-     * If you are using fast-cgi or cgi then the parameter passed to the function is the value of the
880
-     * $_SERVER['PATH_INFO'] variable. Otherwise, the parameter passed to the function is the value
881
-     * of the $_SERVER['REQUEST_URI'] variable.
882
-     * </p>
883
-     * <p>
884
-     * If a string is returned it is used as the internal file path. If <b>FALSE</b> is returned then webPhar() will
885
-     * send a HTTP 403 Denied Code.
886
-     * </p>
887
-     * @return void No value is returned.
888
-     */
889
-    final public static function webPhar(
890
-        ?string $alias = null,
891
-        ?string $index = "index.php",
892
-        #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: 'string')] $fileNotFoundScript = null,
893
-        array $mimeTypes = null,
894
-        ?callable $rewrite = null
895
-    ): void {}
896
-
897
-    /**
898
-     * Returns whether current entry is a directory and not '.' or '..'
899
-     * @link https://php.net/manual/en/recursivedirectoryiterator.haschildren.php
900
-     * @param bool $allow_links [optional] <p>
901
-     * </p>
902
-     * @return bool whether the current entry is a directory, but not '.' or '..'
903
-     */
904
-    public function hasChildren($allow_links = false) {}
905
-
906
-    /**
907
-     * Returns an iterator for the current entry if it is a directory
908
-     * @link https://php.net/manual/en/recursivedirectoryiterator.getchildren.php
909
-     * @return mixed The filename, file information, or $this depending on the set flags.
910
-     * See the FilesystemIterator
911
-     * constants.
912
-     */
913
-    public function getChildren() {}
914
-
915
-    /**
916
-     * Rewinds back to the beginning
917
-     * @link https://php.net/manual/en/filesystemiterator.rewind.php
918
-     * @return void No value is returned.
919
-     */
920
-    public function rewind() {}
921
-
922
-    /**
923
-     * Move to the next file
924
-     * @link https://php.net/manual/en/filesystemiterator.next.php
925
-     * @return void No value is returned.
926
-     */
927
-    public function next() {}
928
-
929
-    /**
930
-     * Retrieve the key for the current file
931
-     * @link https://php.net/manual/en/filesystemiterator.key.php
932
-     * @return string the pathname or filename depending on the set flags.
933
-     * See the FilesystemIterator constants.
934
-     */
935
-    public function key() {}
936
-
937
-    /**
938
-     * The current file
939
-     * @link https://php.net/manual/en/filesystemiterator.current.php
940
-     * @return mixed The filename, file information, or $this depending on the set flags.
941
-     * See the FilesystemIterator constants.
942
-     */
943
-    public function current() {}
944
-
945
-    /**
946
-     * Check whether current DirectoryIterator position is a valid file
947
-     * @link https://php.net/manual/en/directoryiterator.valid.php
948
-     * @return bool <b>TRUE</b> if the position is valid, otherwise <b>FALSE</b>
949
-     */
950
-    public function valid() {}
951
-
952
-    /**
953
-     * Seek to a DirectoryIterator item
954
-     * @link https://php.net/manual/en/directoryiterator.seek.php
955
-     * @param int $position <p>
956
-     * The zero-based numeric position to seek to.
957
-     * </p>
958
-     * @return void No value is returned.
959
-     */
960
-    public function seek($position) {}
961
-
962
-    public function _bad_state_ex() {}
23
+	public const BZ2 = 8192;
24
+	public const GZ = 4096;
25
+	public const NONE = 0;
26
+	public const PHAR = 1;
27
+	public const TAR = 2;
28
+	public const ZIP = 3;
29
+	public const COMPRESSED = 61440;
30
+	public const PHP = 0;
31
+	public const PHPS = 1;
32
+	public const MD5 = 1;
33
+	public const OPENSSL = 16;
34
+	public const SHA1 = 2;
35
+	public const SHA256 = 3;
36
+	public const SHA512 = 4;
37
+	public const OPENSSL_SHA256 = 5;
38
+	public const OPENSSL_SHA512 = 6;
39
+
40
+	/**
41
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
42
+	 * Construct a Phar archive object
43
+	 * @link https://php.net/manual/en/phar.construct.php
44
+	 * @param string $filename <p>
45
+	 * Path to an existing Phar archive or to-be-created archive. The file name's
46
+	 * extension must contain .phar.
47
+	 * </p>
48
+	 * @param int $flags [optional] <p>
49
+	 * Flags to pass to parent class <b>RecursiveDirectoryIterator</b>.
50
+	 * </p>
51
+	 * @param string $alias [optional] <p>
52
+	 * Alias with which this Phar archive should be referred to in calls to stream
53
+	 * functionality.
54
+	 * </p>
55
+	 * @throws BadMethodCallException If called twice.
56
+	 * @throws UnexpectedValueException If the phar archive can't be opened.
57
+	 */
58
+	public function __construct(
59
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $filename,
60
+		#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = FilesystemIterator::KEY_AS_PATHNAME|FilesystemIterator::CURRENT_AS_FILEINFO,
61
+		#[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $alias = null
62
+	) {}
63
+
64
+	public function __destruct() {}
65
+
66
+	/**
67
+	 * (Unknown)<br/>
68
+	 * Add an empty directory to the phar archive
69
+	 * @link https://php.net/manual/en/phar.addemptydir.php
70
+	 * @param string $directory <p>
71
+	 * The name of the empty directory to create in the phar archive
72
+	 * </p>
73
+	 * @return void no return value, exception is thrown on failure.
74
+	 */
75
+	#[TentativeType]
76
+	public function addEmptyDir(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $directory): void {}
77
+
78
+	/**
79
+	 * (Unknown)<br/>
80
+	 * Add a file from the filesystem to the phar archive
81
+	 * @link https://php.net/manual/en/phar.addfile.php
82
+	 * @param string $filename <p>
83
+	 * Full or relative path to a file on disk to be added
84
+	 * to the phar archive.
85
+	 * </p>
86
+	 * @param string $localName [optional] <p>
87
+	 * Path that the file will be stored in the archive.
88
+	 * </p>
89
+	 * @return void no return value, exception is thrown on failure.
90
+	 */
91
+	#[TentativeType]
92
+	public function addFile(
93
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $filename,
94
+		#[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $localName = null
95
+	): void {}
96
+
97
+	/**
98
+	 * (Unknown)<br/>
99
+	 * Add a file from the filesystem to the phar archive
100
+	 * @link https://php.net/manual/en/phar.addfromstring.php
101
+	 * @param string $localName <p>
102
+	 * Path that the file will be stored in the archive.
103
+	 * </p>
104
+	 * @param string $contents <p>
105
+	 * The file contents to store
106
+	 * </p>
107
+	 * @return void no return value, exception is thrown on failure.
108
+	 */
109
+	#[TentativeType]
110
+	public function addFromString(
111
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $localName,
112
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $contents
113
+	): void {}
114
+
115
+	/**
116
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
117
+	 * Construct a phar archive from the files within a directory.
118
+	 * @link https://php.net/manual/en/phar.buildfromdirectory.php
119
+	 * @param string $directory <p>
120
+	 * The full or relative path to the directory that contains all files
121
+	 * to add to the archive.
122
+	 * </p>
123
+	 * @param $pattern $regex [optional] <p>
124
+	 * An optional pcre regular expression that is used to filter the
125
+	 * list of files. Only file paths matching the regular expression
126
+	 * will be included in the archive.
127
+	 * </p>
128
+	 * @return array <b>Phar::buildFromDirectory</b> returns an associative array
129
+	 * mapping internal path of file to the full path of the file on the
130
+	 * filesystem.
131
+	 */
132
+	#[TentativeType]
133
+	public function buildFromDirectory(
134
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $directory,
135
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $pattern = null
136
+	): array {}
137
+
138
+	/**
139
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
140
+	 * Construct a phar archive from an iterator.
141
+	 * @link https://php.net/manual/en/phar.buildfromiterator.php
142
+	 * @param Traversable $iterator <p>
143
+	 * Any iterator that either associatively maps phar file to location or
144
+	 * returns SplFileInfo objects
145
+	 * </p>
146
+	 * @param string $baseDirectory [optional] <p>
147
+	 * For iterators that return SplFileInfo objects, the portion of each
148
+	 * file's full path to remove when adding to the phar archive
149
+	 * </p>
150
+	 * @return array <b>Phar::buildFromIterator</b> returns an associative array
151
+	 * mapping internal path of file to the full path of the file on the
152
+	 * filesystem.
153
+	 */
154
+	#[TentativeType]
155
+	public function buildFromIterator(
156
+		Traversable $iterator,
157
+		#[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $baseDirectory = null
158
+	): array {}
159
+
160
+	/**
161
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
162
+	 * Compresses all files in the current Phar archive
163
+	 * @link https://php.net/manual/en/phar.compressfiles.php
164
+	 * @param int $compression <p>
165
+	 * Compression must be one of Phar::GZ,
166
+	 * Phar::BZ2 to add compression, or Phar::NONE
167
+	 * to remove compression.
168
+	 * </p>
169
+	 * @return void No value is returned.
170
+	 */
171
+	#[TentativeType]
172
+	public function compressFiles(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $compression): void {}
173
+
174
+	/**
175
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
176
+	 * Decompresses all files in the current Phar archive
177
+	 * @link https://php.net/manual/en/phar.decompressfiles.php
178
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
179
+	 */
180
+	public function decompressFiles() {}
181
+
182
+	/**
183
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
184
+	 * Compresses the entire Phar archive using Gzip or Bzip2 compression
185
+	 * @link https://php.net/manual/en/phar.compress.php
186
+	 * @param int $compression <p>
187
+	 * Compression must be one of Phar::GZ,
188
+	 * Phar::BZ2 to add compression, or Phar::NONE
189
+	 * to remove compression.
190
+	 * </p>
191
+	 * @param string $extension [optional] <p>
192
+	 * By default, the extension is .phar.gz
193
+	 * or .phar.bz2 for compressing phar archives, and
194
+	 * .phar.tar.gz or .phar.tar.bz2 for
195
+	 * compressing tar archives. For decompressing, the default file extensions
196
+	 * are .phar and .phar.tar.
197
+	 * </p>
198
+	 * @return static|null a <b>Phar</b> object.
199
+	 */
200
+	#[TentativeType]
201
+	public function compress(
202
+		#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $compression,
203
+		#[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $extension = null
204
+	): ?Phar {}
205
+
206
+	/**
207
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
208
+	 * Decompresses the entire Phar archive
209
+	 * @link https://php.net/manual/en/phar.decompress.php
210
+	 * @param string $extension [optional] <p>
211
+	 * For decompressing, the default file extensions
212
+	 * are .phar and .phar.tar.
213
+	 * Use this parameter to specify another file extension. Be aware
214
+	 * that all executable phar archives must contain .phar
215
+	 * in their filename.
216
+	 * </p>
217
+	 * @return static|null A <b>Phar</b> object is returned.
218
+	 */
219
+	#[TentativeType]
220
+	public function decompress(#[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $extension = null): ?Phar {}
221
+
222
+	/**
223
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
224
+	 * Convert a phar archive to another executable phar archive file format
225
+	 * @link https://php.net/manual/en/phar.converttoexecutable.php
226
+	 * @param int $format [optional] <p>
227
+	 * This should be one of Phar::PHAR, Phar::TAR,
228
+	 * or Phar::ZIP. If set to <b>NULL</b>, the existing file format
229
+	 * will be preserved.
230
+	 * </p>
231
+	 * @param int $compression [optional] <p>
232
+	 * This should be one of Phar::NONE for no whole-archive
233
+	 * compression, Phar::GZ for zlib-based compression, and
234
+	 * Phar::BZ2 for bzip-based compression.
235
+	 * </p>
236
+	 * @param string $extension [optional] <p>
237
+	 * This parameter is used to override the default file extension for a
238
+	 * converted archive. Note that all zip- and tar-based phar archives must contain
239
+	 * .phar in their file extension in order to be processed as a
240
+	 * phar archive.
241
+	 * </p>
242
+	 * <p>
243
+	 * If converting to a phar-based archive, the default extensions are
244
+	 * .phar, .phar.gz, or .phar.bz2
245
+	 * depending on the specified compression. For tar-based phar archives, the
246
+	 * default extensions are .phar.tar, .phar.tar.gz,
247
+	 * and .phar.tar.bz2. For zip-based phar archives, the
248
+	 * default extension is .phar.zip.
249
+	 * </p>
250
+	 * @return Phar|null The method returns a <b>Phar</b> object on success and throws an
251
+	 * exception on failure.
252
+	 */
253
+	#[TentativeType]
254
+	public function convertToExecutable(
255
+		#[LanguageLevelTypeAware(['8.0' => 'int|null'], default: '')] $format = 9021976,
256
+		#[LanguageLevelTypeAware(['8.0' => 'int|null'], default: '')] $compression = 9021976,
257
+		#[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $extension = null
258
+	): ?Phar {}
259
+
260
+	/**
261
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
262
+	 * Convert a phar archive to a non-executable tar or zip file
263
+	 * @link https://php.net/manual/en/phar.converttodata.php
264
+	 * @param int $format [optional] <p>
265
+	 * This should be one of Phar::TAR
266
+	 * or Phar::ZIP. If set to <b>NULL</b>, the existing file format
267
+	 * will be preserved.
268
+	 * </p>
269
+	 * @param int $compression [optional] <p>
270
+	 * This should be one of Phar::NONE for no whole-archive
271
+	 * compression, Phar::GZ for zlib-based compression, and
272
+	 * Phar::BZ2 for bzip-based compression.
273
+	 * </p>
274
+	 * @param string $extension [optional] <p>
275
+	 * This parameter is used to override the default file extension for a
276
+	 * converted archive. Note that .phar cannot be used
277
+	 * anywhere in the filename for a non-executable tar or zip archive.
278
+	 * </p>
279
+	 * <p>
280
+	 * If converting to a tar-based phar archive, the
281
+	 * default extensions are .tar, .tar.gz,
282
+	 * and .tar.bz2 depending on specified compression.
283
+	 * For zip-based archives, the
284
+	 * default extension is .zip.
285
+	 * </p>
286
+	 * @return PharData|null The method returns a <b>PharData</b> object on success and throws an
287
+	 * exception on failure.
288
+	 */
289
+	#[TentativeType]
290
+	public function convertToData(
291
+		#[LanguageLevelTypeAware(['8.0' => 'int|null'], default: '')] $format = 9021976,
292
+		#[LanguageLevelTypeAware(['8.0' => 'int|null'], default: '')] $compression = 9021976,
293
+		#[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $extension = null
294
+	): ?PharData {}
295
+
296
+	/**
297
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
298
+	 * Copy a file internal to the phar archive to another new file within the phar
299
+	 * @link https://php.net/manual/en/phar.copy.php
300
+	 * @param string $to
301
+	 * @param string $from
302
+	 * @return bool returns <b>TRUE</b> on success, but it is safer to encase method call in a
303
+	 * try/catch block and assume success if no exception is thrown.
304
+	 */
305
+	public function copy(
306
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $to,
307
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $from
308
+	) {}
309
+
310
+	/**
311
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
312
+	 * Returns the number of entries (files) in the Phar archive
313
+	 * @link https://php.net/manual/en/phar.count.php
314
+	 * @param int $mode [optional]
315
+	 * @return int The number of files contained within this phar, or 0 (the number zero)
316
+	 * if none.
317
+	 */
318
+	#[TentativeType]
319
+	public function count(#[PhpStormStubsElementAvailable(from: '8.0')] int $mode = COUNT_NORMAL): int {}
320
+
321
+	/**
322
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
323
+	 * Delete a file within a phar archive
324
+	 * @link https://php.net/manual/en/phar.delete.php
325
+	 * @param string $localName <p>
326
+	 * Path within an archive to the file to delete.
327
+	 * </p>
328
+	 * @return bool returns <b>TRUE</b> on success, but it is better to check for thrown exception,
329
+	 * and assume success if none is thrown.
330
+	 */
331
+	public function delete(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $localName) {}
332
+
333
+	/**
334
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.2.0)<br/>
335
+	 * Deletes the global metadata of the phar
336
+	 * @link https://php.net/manual/en/phar.delmetadata.php
337
+	 * @return bool returns <b>TRUE</b> on success, but it is better to check for thrown exception,
338
+	 * and assume success if none is thrown.
339
+	 */
340
+	public function delMetadata() {}
341
+
342
+	/**
343
+	 * (Unknown)<br/>
344
+	 * Extract the contents of a phar archive to a directory
345
+	 * @link https://php.net/manual/en/phar.extractto.php
346
+	 * @param string $directory <p>
347
+	 * Path within an archive to the file to delete.
348
+	 * </p>
349
+	 * @param string|array|null $files [optional] <p>
350
+	 * The name of a file or directory to extract, or an array of files/directories to extract
351
+	 * </p>
352
+	 * @param bool $overwrite [optional] <p>
353
+	 * Set to <b>TRUE</b> to enable overwriting existing files
354
+	 * </p>
355
+	 * @return bool returns <b>TRUE</b> on success, but it is better to check for thrown exception,
356
+	 * and assume success if none is thrown.
357
+	 */
358
+	#[TentativeType]
359
+	public function extractTo(
360
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $directory,
361
+		#[LanguageLevelTypeAware(['8.0' => 'array|string|null'], default: '')] $files = null,
362
+		#[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $overwrite = false
363
+	): bool {}
364
+
365
+	/**
366
+	 * @return string|null
367
+	 * @see setAlias
368
+	 */
369
+	#[TentativeType]
370
+	public function getAlias(): ?string {}
371
+
372
+	/**
373
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
374
+	 * Returns phar archive meta-data
375
+	 * @link https://php.net/manual/en/phar.getmetadata.php
376
+	 * @param array $unserializeOptions [optional] if is set to anything other than the default,
377
+	 * the resulting metadata won't be cached and this won't return the value from the cache
378
+	 * @return mixed any PHP variable that can be serialized and is stored as meta-data for the Phar archive,
379
+	 * or <b>NULL</b> if no meta-data is stored.
380
+	 */
381
+	#[TentativeType]
382
+	public function getMetadata(#[PhpStormStubsElementAvailable(from: '8.0')] array $unserializeOptions = []): mixed {}
383
+
384
+	/**
385
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
386
+	 * Return whether phar was modified
387
+	 * @link https://php.net/manual/en/phar.getmodified.php
388
+	 * @return bool <b>TRUE</b> if the phar has been modified since opened, <b>FALSE</b> if not.
389
+	 */
390
+	#[TentativeType]
391
+	public function getModified(): bool {}
392
+
393
+	/**
394
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
395
+	 * Return MD5/SHA1/SHA256/SHA512/OpenSSL signature of a Phar archive
396
+	 * @link https://php.net/manual/en/phar.getsignature.php
397
+	 * @return array Array with the opened archive's signature in hash key and MD5,
398
+	 * SHA-1,
399
+	 * SHA-256, SHA-512, or OpenSSL
400
+	 * in hash_type. This signature is a hash calculated on the
401
+	 * entire phar's contents, and may be used to verify the integrity of the archive.
402
+	 * A valid signature is absolutely required of all executable phar archives if the
403
+	 * phar.require_hash INI variable
404
+	 * is set to true.
405
+	 */
406
+	#[ArrayShape(["hash" => "string", "hash_type" => "string"])]
407
+	#[TentativeType]
408
+	public function getSignature(): array|false {}
409
+
410
+	/**
411
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
412
+	 * Return the PHP loader or bootstrap stub of a Phar archive
413
+	 * @link https://php.net/manual/en/phar.getstub.php
414
+	 * @return string a string containing the contents of the bootstrap loader (stub) of
415
+	 * the current Phar archive.
416
+	 */
417
+	#[TentativeType]
418
+	public function getStub(): string {}
419
+
420
+	/**
421
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
422
+	 * Return version info of Phar archive
423
+	 * @link https://php.net/manual/en/phar.getversion.php
424
+	 * @return string The opened archive's API version. This is not to be confused with
425
+	 * the API version that the loaded phar extension will use to create
426
+	 * new phars. Each Phar archive has the API version hard-coded into
427
+	 * its manifest. See Phar file format
428
+	 * documentation for more information.
429
+	 */
430
+	#[TentativeType]
431
+	public function getVersion(): string {}
432
+
433
+	/**
434
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.2.0)<br/>
435
+	 * Returns whether phar has global meta-data
436
+	 * @link https://php.net/manual/en/phar.hasmetadata.php
437
+	 * @return bool <b>TRUE</b> if meta-data has been set, and <b>FALSE</b> if not.
438
+	 */
439
+	#[TentativeType]
440
+	public function hasMetadata(): bool {}
441
+
442
+	/**
443
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
444
+	 * Used to determine whether Phar write operations are being buffered, or are flushing directly to disk
445
+	 * @link https://php.net/manual/en/phar.isbuffering.php
446
+	 * @return bool <b>TRUE</b> if the write operations are being buffer, <b>FALSE</b> otherwise.
447
+	 */
448
+	#[TentativeType]
449
+	public function isBuffering(): bool {}
450
+
451
+	/**
452
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
453
+	 * Returns Phar::GZ or PHAR::BZ2 if the entire phar archive is compressed (.tar.gz/tar.bz and so on)
454
+	 * @link https://php.net/manual/en/phar.iscompressed.php
455
+	 * @return mixed Phar::GZ, Phar::BZ2 or <b>FALSE</b>
456
+	 */
457
+	#[TentativeType]
458
+	public function isCompressed(): int|false {}
459
+
460
+	/**
461
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
462
+	 * Returns true if the phar archive is based on the tar/phar/zip file format depending on the parameter
463
+	 * @link https://php.net/manual/en/phar.isfileformat.php
464
+	 * @param int $format <p>
465
+	 * Either Phar::PHAR, Phar::TAR, or
466
+	 * Phar::ZIP to test for the format of the archive.
467
+	 * </p>
468
+	 * @return bool <b>TRUE</b> if the phar archive matches the file format requested by the parameter
469
+	 */
470
+	#[TentativeType]
471
+	public function isFileFormat(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $format): bool {}
472
+
473
+	/**
474
+	 * (Unknown)<br/>
475
+	 * Returns true if the phar archive can be modified
476
+	 * @link https://php.net/manual/en/phar.iswritable.php
477
+	 * @return bool <b>TRUE</b> if the phar archive can be modified
478
+	 */
479
+	#[TentativeType]
480
+	public function isWritable(): bool {}
481
+
482
+	/**
483
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
484
+	 * determines whether a file exists in the phar
485
+	 * @link https://php.net/manual/en/phar.offsetexists.php
486
+	 * @param string $localName <p>
487
+	 * The filename (relative path) to look for in a Phar.
488
+	 * </p>
489
+	 * @return bool <b>TRUE</b> if the file exists within the phar, or <b>FALSE</b> if not.
490
+	 */
491
+	#[TentativeType]
492
+	public function offsetExists($localName): bool {}
493
+
494
+	/**
495
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
496
+	 * Gets a <b>PharFileInfo</b> object for a specific file
497
+	 * @link https://php.net/manual/en/phar.offsetget.php
498
+	 * @param string $localName <p>
499
+	 * The filename (relative path) to look for in a Phar.
500
+	 * </p>
501
+	 * @return PharFileInfo A <b>PharFileInfo</b> object is returned that can be used to
502
+	 * iterate over a file's contents or to retrieve information about the current file.
503
+	 */
504
+	#[TentativeType]
505
+	public function offsetGet($localName): SplFileInfo {}
506
+
507
+	/**
508
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
509
+	 * set the contents of an internal file to those of an external file
510
+	 * @link https://php.net/manual/en/phar.offsetset.php
511
+	 * @param string $localName <p>
512
+	 * The filename (relative path) to modify in a Phar.
513
+	 * </p>
514
+	 * @param string $value <p>
515
+	 * Content of the file.
516
+	 * </p>
517
+	 * @return void No return values.
518
+	 */
519
+	#[TentativeType]
520
+	public function offsetSet($localName, $value): void {}
521
+
522
+	/**
523
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
524
+	 * remove a file from a phar
525
+	 * @link https://php.net/manual/en/phar.offsetunset.php
526
+	 * @param string $localName <p>
527
+	 * The filename (relative path) to modify in a Phar.
528
+	 * </p>
529
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
530
+	 */
531
+	#[TentativeType]
532
+	public function offsetUnset($localName): void {}
533
+
534
+	/**
535
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.2.1)<br/>
536
+	 * Set the alias for the Phar archive
537
+	 * @link https://php.net/manual/en/phar.setalias.php
538
+	 * @param string $alias <p>
539
+	 * A shorthand string that this archive can be referred to in phar
540
+	 * stream wrapper access.
541
+	 * </p>
542
+	 * @return bool
543
+	 */
544
+	#[TentativeType]
545
+	public function setAlias(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $alias): bool {}
546
+
547
+	/**
548
+	 * (Unknown)<br/>
549
+	 * Used to set the PHP loader or bootstrap stub of a Phar archive to the default loader
550
+	 * @link https://php.net/manual/en/phar.setdefaultstub.php
551
+	 * @param string $index [optional] <p>
552
+	 * Relative path within the phar archive to run if accessed on the command-line
553
+	 * </p>
554
+	 * @param string $webIndex [optional] <p>
555
+	 * Relative path within the phar archive to run if accessed through a web browser
556
+	 * </p>
557
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
558
+	 */
559
+	#[TentativeType]
560
+	public function setDefaultStub(
561
+		#[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $index = null,
562
+		#[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $webIndex = null
563
+	): bool {}
564
+
565
+	/**
566
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
567
+	 * Sets phar archive meta-data
568
+	 * @link https://php.net/manual/en/phar.setmetadata.php
569
+	 * @param mixed $metadata <p>
570
+	 * Any PHP variable containing information to store that describes the phar archive
571
+	 * </p>
572
+	 * @return void No value is returned.
573
+	 */
574
+	#[TentativeType]
575
+	public function setMetadata(#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $metadata): void {}
576
+
577
+	/**
578
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.1.0)<br/>
579
+	 * set the signature algorithm for a phar and apply it.
580
+	 * @link https://php.net/manual/en/phar.setsignaturealgorithm.php
581
+	 * @param int $algo <p>
582
+	 * One of Phar::MD5,
583
+	 * Phar::SHA1, Phar::SHA256,
584
+	 * Phar::SHA512, or Phar::OPENSSL
585
+	 * </p>
586
+	 * @param string $privateKey [optional] <p>
587
+	 * The contents of an OpenSSL private key, as extracted from a certificate or
588
+	 * OpenSSL key file:
589
+	 * <code>
590
+	 * $private = openssl_get_privatekey(file_get_contents('private.pem'));
591
+	 * $pkey = '';
592
+	 * openssl_pkey_export($private, $pkey);
593
+	 * $p->setSignatureAlgorithm(Phar::OPENSSL, $pkey);
594
+	 * </code>
595
+	 * See phar introduction for instructions on
596
+	 * naming and placement of the public key file.
597
+	 * </p>
598
+	 * @return void No value is returned.
599
+	 */
600
+	#[TentativeType]
601
+	public function setSignatureAlgorithm(
602
+		#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $algo,
603
+		#[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $privateKey = null
604
+	): void {}
605
+
606
+	/**
607
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
608
+	 * Used to set the PHP loader or bootstrap stub of a Phar archive
609
+	 * @link https://php.net/manual/en/phar.setstub.php
610
+	 * @param string $stub <p>
611
+	 * A string or an open stream handle to use as the executable stub for this
612
+	 * phar archive.
613
+	 * </p>
614
+	 * @param int $length [optional] <p>
615
+	 * </p>
616
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
617
+	 */
618
+	public function setStub(
619
+		$stub,
620
+		#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $length = -1
621
+	) {}
622
+
623
+	/**
624
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
625
+	 * Start buffering Phar write operations, do not modify the Phar object on disk
626
+	 * @link https://php.net/manual/en/phar.startbuffering.php
627
+	 * @return void No value is returned.
628
+	 */
629
+	#[TentativeType]
630
+	public function startBuffering(): void {}
631
+
632
+	/**
633
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
634
+	 * Stop buffering write requests to the Phar archive, and save changes to disk
635
+	 * @link https://php.net/manual/en/phar.stopbuffering.php
636
+	 * @return void No value is returned.
637
+	 */
638
+	#[TentativeType]
639
+	public function stopBuffering(): void {}
640
+
641
+	/**
642
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
643
+	 * Returns the api version
644
+	 * @link https://php.net/manual/en/phar.apiversion.php
645
+	 * @return string The API version string as in &#x00022;1.0.0&#x00022;.
646
+	 */
647
+	final public static function apiVersion(): string {}
648
+
649
+	/**
650
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
651
+	 * Returns whether phar extension supports compression using either zlib or bzip2
652
+	 * @link https://php.net/manual/en/phar.cancompress.php
653
+	 * @param int $compression [optional] <p>
654
+	 * Either Phar::GZ or Phar::BZ2 can be
655
+	 * used to test whether compression is possible with a specific compression
656
+	 * algorithm (zlib or bzip2).
657
+	 * </p>
658
+	 * @return bool <b>TRUE</b> if compression/decompression is available, <b>FALSE</b> if not.
659
+	 */
660
+	final public static function canCompress(int $compression = 0): bool {}
661
+
662
+	/**
663
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
664
+	 * Returns whether phar extension supports writing and creating phars
665
+	 * @link https://php.net/manual/en/phar.canwrite.php
666
+	 * @return bool <b>TRUE</b> if write access is enabled, <b>FALSE</b> if it is disabled.
667
+	 */
668
+	final public static function canWrite(): bool {}
669
+
670
+	/**
671
+	 * (Unknown)<br/>
672
+	 * Create a phar-file format specific stub
673
+	 * @link https://php.net/manual/en/phar.createdefaultstub.php
674
+	 * @param string|null $index [optional]
675
+	 * @param string|null $webIndex [optional]
676
+	 * @return string a string containing the contents of a customized bootstrap loader (stub)
677
+	 * that allows the created Phar archive to work with or without the Phar extension
678
+	 * enabled.
679
+	 */
680
+	final public static function createDefaultStub(?string $index = null, ?string $webIndex = null): string {}
681
+
682
+	/**
683
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.2.0)<br/>
684
+	 * Return array of supported compression algorithms
685
+	 * @link https://php.net/manual/en/phar.getsupportedcompression.php
686
+	 * @return string[] an array containing any of "GZ" or
687
+	 * "BZ2", depending on the availability of
688
+	 * the zlib extension or the
689
+	 * bz2 extension.
690
+	 */
691
+	final public static function getSupportedCompression(): array {}
692
+
693
+	/**
694
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.1.0)<br/>
695
+	 * Return array of supported signature types
696
+	 * @link https://php.net/manual/en/phar.getsupportedsignatures.php
697
+	 * @return string[] an array containing any of "MD5", "SHA-1",
698
+	 * "SHA-256", "SHA-512", or "OpenSSL".
699
+	 */
700
+	final public static function getSupportedSignatures(): array {}
701
+
702
+	/**
703
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
704
+	 * instructs phar to intercept fopen, file_get_contents, opendir, and all of the stat-related functions
705
+	 * @link https://php.net/manual/en/phar.interceptfilefuncs.php
706
+	 * @return void
707
+	 */
708
+	final public static function interceptFileFuncs(): void {}
709
+
710
+	/**
711
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.2.0)<br/>
712
+	 * Returns whether the given filename is a valid phar filename
713
+	 * @link https://php.net/manual/en/phar.isvalidpharfilename.php
714
+	 * @param string $filename <p>
715
+	 * The name or full path to a phar archive not yet created
716
+	 * </p>
717
+	 * @param bool $executable [optional] <p>
718
+	 * This parameter determines whether the filename should be treated as
719
+	 * a phar executable archive, or a data non-executable archive
720
+	 * </p>
721
+	 * @return bool <b>TRUE</b> if the filename is valid, <b>FALSE</b> if not.
722
+	 */
723
+	final public static function isValidPharFilename(string $filename, bool $executable = true): bool {}
724
+
725
+	/**
726
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
727
+	 * Loads any phar archive with an alias
728
+	 * @link https://php.net/manual/en/phar.loadphar.php
729
+	 * @param string $filename <p>
730
+	 * the full or relative path to the phar archive to open
731
+	 * </p>
732
+	 * @param string|null $alias [optional] <p>
733
+	 * The alias that may be used to refer to the phar archive. Note
734
+	 * that many phar archives specify an explicit alias inside the
735
+	 * phar archive, and a <b>PharException</b> will be thrown if
736
+	 * a new alias is specified in this case.
737
+	 * </p>
738
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
739
+	 */
740
+	final public static function loadPhar(string $filename, ?string $alias = null): bool {}
741
+
742
+	/**
743
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
744
+	 * Reads the currently executed file (a phar) and registers its manifest
745
+	 * @link https://php.net/manual/en/phar.mapphar.php
746
+	 * @param string|null $alias [optional] <p>
747
+	 * The alias that can be used in phar:// URLs to
748
+	 * refer to this archive, rather than its full path.
749
+	 * </p>
750
+	 * @param int $offset [optional] <p>
751
+	 * Unused variable, here for compatibility with PEAR's PHP_Archive.
752
+	 * </p>
753
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
754
+	 */
755
+	final public static function mapPhar(?string $alias = null, int $offset = 0): bool {}
756
+
757
+	/**
758
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
759
+	 * Returns the full path on disk or full phar URL to the currently executing Phar archive
760
+	 * @link https://php.net/manual/en/phar.running.php
761
+	 * @param bool $returnPhar [optional] <p>
762
+	 * If <b>FALSE</b>, the full path on disk to the phar
763
+	 * archive is returned. If <b>TRUE</b>, a full phar URL is returned.
764
+	 * </p>
765
+	 * @return string the filename if valid, empty string otherwise.
766
+	 */
767
+	final public static function running(bool $returnPhar = true): string {}
768
+
769
+	/**
770
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
771
+	 * Mount an external path or file to a virtual location within the phar archive
772
+	 * @link https://php.net/manual/en/phar.mount.php
773
+	 * @param string $pharPath <p>
774
+	 * The internal path within the phar archive to use as the mounted path location.
775
+	 * This must be a relative path within the phar archive, and must not already exist.
776
+	 * </p>
777
+	 * @param string $externalPath <p>
778
+	 * A path or URL to an external file or directory to mount within the phar archive
779
+	 * </p>
780
+	 * @return void No return. <b>PharException</b> is thrown on failure.
781
+	 */
782
+	final public static function mount(string $pharPath, string $externalPath): void {}
783
+
784
+	/**
785
+	 * (Unknown)<br/>
786
+	 * Defines a list of up to 4 $_SERVER variables that should be modified for execution
787
+	 * @link https://php.net/manual/en/phar.mungserver.php
788
+	 * @param array $variables <p>
789
+	 * an array containing as string indices any of
790
+	 * REQUEST_URI, PHP_SELF,
791
+	 * SCRIPT_NAME and SCRIPT_FILENAME.
792
+	 * Other values trigger an exception, and <b>Phar::mungServer</b>
793
+	 * is case-sensitive.
794
+	 * </p>
795
+	 * @return void No return.
796
+	 */
797
+	final public static function mungServer(array $variables): void {}
798
+
799
+	/**
800
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
801
+	 * Completely remove a phar archive from disk and from memory
802
+	 * @link https://php.net/manual/en/phar.unlinkarchive.php
803
+	 * @param string $filename <p>
804
+	 * The path on disk to the phar archive.
805
+	 * </p>
806
+	 * @throws PharException
807
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
808
+	 */
809
+	final public static function unlinkArchive(string $filename): bool {}
810
+
811
+	/**
812
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
813
+	 * mapPhar for web-based phars. front controller for web applications
814
+	 * @link https://php.net/manual/en/phar.webphar.php
815
+	 * @param null|string $alias [optional] <p>
816
+	 * The alias that can be used in phar:// URLs to
817
+	 * refer to this archive, rather than its full path.
818
+	 * </p>
819
+	 * @param string|null $index [optional] <p>
820
+	 * The location within the phar of the directory index.
821
+	 * </p>
822
+	 * @param null|string $fileNotFoundScript [optional] <p>
823
+	 * The location of the script to run when a file is not found. This
824
+	 * script should output the proper HTTP 404 headers.
825
+	 * </p>
826
+	 * @param null|array $mimeTypes [optional] <p>
827
+	 * An array mapping additional file extensions to MIME type.
828
+	 * If the default mapping is sufficient, pass an empty array.
829
+	 * By default, these extensions are mapped to these MIME types:
830
+	 * <code>
831
+	 * $mimes = array(
832
+	 * 'phps' => Phar::PHPS, // pass to highlight_file()
833
+	 * 'c' => 'text/plain',
834
+	 * 'cc' => 'text/plain',
835
+	 * 'cpp' => 'text/plain',
836
+	 * 'c++' => 'text/plain',
837
+	 * 'dtd' => 'text/plain',
838
+	 * 'h' => 'text/plain',
839
+	 * 'log' => 'text/plain',
840
+	 * 'rng' => 'text/plain',
841
+	 * 'txt' => 'text/plain',
842
+	 * 'xsd' => 'text/plain',
843
+	 * 'php' => Phar::PHP, // parse as PHP
844
+	 * 'inc' => Phar::PHP, // parse as PHP
845
+	 * 'avi' => 'video/avi',
846
+	 * 'bmp' => 'image/bmp',
847
+	 * 'css' => 'text/css',
848
+	 * 'gif' => 'image/gif',
849
+	 * 'htm' => 'text/html',
850
+	 * 'html' => 'text/html',
851
+	 * 'htmls' => 'text/html',
852
+	 * 'ico' => 'image/x-ico',
853
+	 * 'jpe' => 'image/jpeg',
854
+	 * 'jpg' => 'image/jpeg',
855
+	 * 'jpeg' => 'image/jpeg',
856
+	 * 'js' => 'application/x-javascript',
857
+	 * 'midi' => 'audio/midi',
858
+	 * 'mid' => 'audio/midi',
859
+	 * 'mod' => 'audio/mod',
860
+	 * 'mov' => 'movie/quicktime',
861
+	 * 'mp3' => 'audio/mp3',
862
+	 * 'mpg' => 'video/mpeg',
863
+	 * 'mpeg' => 'video/mpeg',
864
+	 * 'pdf' => 'application/pdf',
865
+	 * 'png' => 'image/png',
866
+	 * 'swf' => 'application/shockwave-flash',
867
+	 * 'tif' => 'image/tiff',
868
+	 * 'tiff' => 'image/tiff',
869
+	 * 'wav' => 'audio/wav',
870
+	 * 'xbm' => 'image/xbm',
871
+	 * 'xml' => 'text/xml',
872
+	 * );
873
+	 * </code>
874
+	 * </p>
875
+	 * @param null|callable $rewrite [optional] <p>
876
+	 * The rewrites function is passed a string as its only parameter and must return a string or <b>FALSE</b>.
877
+	 * </p>
878
+	 * <p>
879
+	 * If you are using fast-cgi or cgi then the parameter passed to the function is the value of the
880
+	 * $_SERVER['PATH_INFO'] variable. Otherwise, the parameter passed to the function is the value
881
+	 * of the $_SERVER['REQUEST_URI'] variable.
882
+	 * </p>
883
+	 * <p>
884
+	 * If a string is returned it is used as the internal file path. If <b>FALSE</b> is returned then webPhar() will
885
+	 * send a HTTP 403 Denied Code.
886
+	 * </p>
887
+	 * @return void No value is returned.
888
+	 */
889
+	final public static function webPhar(
890
+		?string $alias = null,
891
+		?string $index = "index.php",
892
+		#[LanguageLevelTypeAware(['8.0' => 'string|null'], default: 'string')] $fileNotFoundScript = null,
893
+		array $mimeTypes = null,
894
+		?callable $rewrite = null
895
+	): void {}
896
+
897
+	/**
898
+	 * Returns whether current entry is a directory and not '.' or '..'
899
+	 * @link https://php.net/manual/en/recursivedirectoryiterator.haschildren.php
900
+	 * @param bool $allow_links [optional] <p>
901
+	 * </p>
902
+	 * @return bool whether the current entry is a directory, but not '.' or '..'
903
+	 */
904
+	public function hasChildren($allow_links = false) {}
905
+
906
+	/**
907
+	 * Returns an iterator for the current entry if it is a directory
908
+	 * @link https://php.net/manual/en/recursivedirectoryiterator.getchildren.php
909
+	 * @return mixed The filename, file information, or $this depending on the set flags.
910
+	 * See the FilesystemIterator
911
+	 * constants.
912
+	 */
913
+	public function getChildren() {}
914
+
915
+	/**
916
+	 * Rewinds back to the beginning
917
+	 * @link https://php.net/manual/en/filesystemiterator.rewind.php
918
+	 * @return void No value is returned.
919
+	 */
920
+	public function rewind() {}
921
+
922
+	/**
923
+	 * Move to the next file
924
+	 * @link https://php.net/manual/en/filesystemiterator.next.php
925
+	 * @return void No value is returned.
926
+	 */
927
+	public function next() {}
928
+
929
+	/**
930
+	 * Retrieve the key for the current file
931
+	 * @link https://php.net/manual/en/filesystemiterator.key.php
932
+	 * @return string the pathname or filename depending on the set flags.
933
+	 * See the FilesystemIterator constants.
934
+	 */
935
+	public function key() {}
936
+
937
+	/**
938
+	 * The current file
939
+	 * @link https://php.net/manual/en/filesystemiterator.current.php
940
+	 * @return mixed The filename, file information, or $this depending on the set flags.
941
+	 * See the FilesystemIterator constants.
942
+	 */
943
+	public function current() {}
944
+
945
+	/**
946
+	 * Check whether current DirectoryIterator position is a valid file
947
+	 * @link https://php.net/manual/en/directoryiterator.valid.php
948
+	 * @return bool <b>TRUE</b> if the position is valid, otherwise <b>FALSE</b>
949
+	 */
950
+	public function valid() {}
951
+
952
+	/**
953
+	 * Seek to a DirectoryIterator item
954
+	 * @link https://php.net/manual/en/directoryiterator.seek.php
955
+	 * @param int $position <p>
956
+	 * The zero-based numeric position to seek to.
957
+	 * </p>
958
+	 * @return void No value is returned.
959
+	 */
960
+	public function seek($position) {}
961
+
962
+	public function _bad_state_ex() {}
963 963
 }
964 964
 
965 965
 /**
@@ -972,139 +972,139 @@  discard block
 block discarded – undo
972 972
  */
973 973
 class PharData extends Phar
974 974
 {
975
-    /**
976
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
977
-     * Construct a non-executable tar or zip archive object
978
-     * @link https://php.net/manual/en/phardata.construct.php
979
-     * @param string $filename <p>
980
-     * Path to an existing tar/zip archive or to-be-created archive
981
-     * </p>
982
-     * @param int $flags [optional] <p>
983
-     * Flags to pass to <b>Phar</b> parent class
984
-     * <b>RecursiveDirectoryIterator</b>.
985
-     * </p>
986
-     * @param string $alias [optional] <p>
987
-     * Alias with which this Phar archive should be referred to in calls to stream
988
-     * functionality.
989
-     * </p>
990
-     * @param int $format [optional] <p>
991
-     * One of the
992
-     * file format constants
993
-     * available within the <b>Phar</b> class.
994
-     * </p>
995
-     */
996
-    public function __construct(
997
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $filename,
998
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = FilesystemIterator::KEY_AS_PATHNAME|FilesystemIterator::CURRENT_AS_FILEINFO,
999
-        #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $alias = null,
1000
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $format = Phar::TAR
1001
-    ) {}
1002
-
1003
-    /**
1004
-     * @param string $localName
1005
-     * @return bool
1006
-     */
1007
-    #[TentativeType]
1008
-    public function offsetExists($localName): bool {}
1009
-
1010
-    /**
1011
-     * @param string $localName
1012
-     * @return SplFileInfo
1013
-     */
1014
-    #[TentativeType]
1015
-    public function offsetGet($localName): SplFileInfo {}
1016
-
1017
-    /**
1018
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
1019
-     * set the contents of a file within the tar/zip to those of an external file or string
1020
-     * @link https://php.net/manual/en/phardata.offsetset.php
1021
-     * @param string $localName <p>
1022
-     * The filename (relative path) to modify in a tar or zip archive.
1023
-     * </p>
1024
-     * @param string $value <p>
1025
-     * Content of the file.
1026
-     * </p>
1027
-     * @return void No return values.
1028
-     */
1029
-    #[TentativeType]
1030
-    public function offsetSet($localName, $value): void {}
1031
-
1032
-    /**
1033
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
1034
-     * remove a file from a tar/zip archive
1035
-     * @link https://php.net/manual/en/phardata.offsetunset.php
1036
-     * @param string $localName <p>
1037
-     * The filename (relative path) to modify in the tar/zip archive.
1038
-     * </p>
1039
-     * @return void
1040
-     */
1041
-    #[TentativeType]
1042
-    public function offsetUnset($localName): void {}
1043
-
1044
-    /**
1045
-     * Returns whether current entry is a directory and not '.' or '..'
1046
-     * @link https://php.net/manual/en/recursivedirectoryiterator.haschildren.php
1047
-     * @param bool $allow_links [optional] <p>
1048
-     * </p>
1049
-     * @return bool whether the current entry is a directory, but not '.' or '..'
1050
-     */
1051
-    public function hasChildren($allow_links = false) {}
1052
-
1053
-    /**
1054
-     * Returns an iterator for the current entry if it is a directory
1055
-     * @link https://php.net/manual/en/recursivedirectoryiterator.getchildren.php
1056
-     * @return mixed The filename, file information, or $this depending on the set flags.
1057
-     * See the FilesystemIterator
1058
-     * constants.
1059
-     */
1060
-    public function getChildren() {}
1061
-
1062
-    /**
1063
-     * Rewinds back to the beginning
1064
-     * @link https://php.net/manual/en/filesystemiterator.rewind.php
1065
-     * @return void No value is returned.
1066
-     */
1067
-    public function rewind() {}
1068
-
1069
-    /**
1070
-     * Move to the next file
1071
-     * @link https://php.net/manual/en/filesystemiterator.next.php
1072
-     * @return void No value is returned.
1073
-     */
1074
-    public function next() {}
1075
-
1076
-    /**
1077
-     * Retrieve the key for the current file
1078
-     * @link https://php.net/manual/en/filesystemiterator.key.php
1079
-     * @return string the pathname or filename depending on the set flags.
1080
-     * See the FilesystemIterator constants.
1081
-     */
1082
-    public function key() {}
1083
-
1084
-    /**
1085
-     * The current file
1086
-     * @link https://php.net/manual/en/filesystemiterator.current.php
1087
-     * @return mixed The filename, file information, or $this depending on the set flags.
1088
-     * See the FilesystemIterator constants.
1089
-     */
1090
-    public function current() {}
1091
-
1092
-    /**
1093
-     * Check whether current DirectoryIterator position is a valid file
1094
-     * @link https://php.net/manual/en/directoryiterator.valid.php
1095
-     * @return bool <b>TRUE</b> if the position is valid, otherwise <b>FALSE</b>
1096
-     */
1097
-    public function valid() {}
1098
-
1099
-    /**
1100
-     * Seek to a DirectoryIterator item
1101
-     * @link https://php.net/manual/en/directoryiterator.seek.php
1102
-     * @param int $position <p>
1103
-     * The zero-based numeric position to seek to.
1104
-     * </p>
1105
-     * @return void No value is returned.
1106
-     */
1107
-    public function seek($position) {}
975
+	/**
976
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
977
+	 * Construct a non-executable tar or zip archive object
978
+	 * @link https://php.net/manual/en/phardata.construct.php
979
+	 * @param string $filename <p>
980
+	 * Path to an existing tar/zip archive or to-be-created archive
981
+	 * </p>
982
+	 * @param int $flags [optional] <p>
983
+	 * Flags to pass to <b>Phar</b> parent class
984
+	 * <b>RecursiveDirectoryIterator</b>.
985
+	 * </p>
986
+	 * @param string $alias [optional] <p>
987
+	 * Alias with which this Phar archive should be referred to in calls to stream
988
+	 * functionality.
989
+	 * </p>
990
+	 * @param int $format [optional] <p>
991
+	 * One of the
992
+	 * file format constants
993
+	 * available within the <b>Phar</b> class.
994
+	 * </p>
995
+	 */
996
+	public function __construct(
997
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $filename,
998
+		#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = FilesystemIterator::KEY_AS_PATHNAME|FilesystemIterator::CURRENT_AS_FILEINFO,
999
+		#[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $alias = null,
1000
+		#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $format = Phar::TAR
1001
+	) {}
1002
+
1003
+	/**
1004
+	 * @param string $localName
1005
+	 * @return bool
1006
+	 */
1007
+	#[TentativeType]
1008
+	public function offsetExists($localName): bool {}
1009
+
1010
+	/**
1011
+	 * @param string $localName
1012
+	 * @return SplFileInfo
1013
+	 */
1014
+	#[TentativeType]
1015
+	public function offsetGet($localName): SplFileInfo {}
1016
+
1017
+	/**
1018
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
1019
+	 * set the contents of a file within the tar/zip to those of an external file or string
1020
+	 * @link https://php.net/manual/en/phardata.offsetset.php
1021
+	 * @param string $localName <p>
1022
+	 * The filename (relative path) to modify in a tar or zip archive.
1023
+	 * </p>
1024
+	 * @param string $value <p>
1025
+	 * Content of the file.
1026
+	 * </p>
1027
+	 * @return void No return values.
1028
+	 */
1029
+	#[TentativeType]
1030
+	public function offsetSet($localName, $value): void {}
1031
+
1032
+	/**
1033
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
1034
+	 * remove a file from a tar/zip archive
1035
+	 * @link https://php.net/manual/en/phardata.offsetunset.php
1036
+	 * @param string $localName <p>
1037
+	 * The filename (relative path) to modify in the tar/zip archive.
1038
+	 * </p>
1039
+	 * @return void
1040
+	 */
1041
+	#[TentativeType]
1042
+	public function offsetUnset($localName): void {}
1043
+
1044
+	/**
1045
+	 * Returns whether current entry is a directory and not '.' or '..'
1046
+	 * @link https://php.net/manual/en/recursivedirectoryiterator.haschildren.php
1047
+	 * @param bool $allow_links [optional] <p>
1048
+	 * </p>
1049
+	 * @return bool whether the current entry is a directory, but not '.' or '..'
1050
+	 */
1051
+	public function hasChildren($allow_links = false) {}
1052
+
1053
+	/**
1054
+	 * Returns an iterator for the current entry if it is a directory
1055
+	 * @link https://php.net/manual/en/recursivedirectoryiterator.getchildren.php
1056
+	 * @return mixed The filename, file information, or $this depending on the set flags.
1057
+	 * See the FilesystemIterator
1058
+	 * constants.
1059
+	 */
1060
+	public function getChildren() {}
1061
+
1062
+	/**
1063
+	 * Rewinds back to the beginning
1064
+	 * @link https://php.net/manual/en/filesystemiterator.rewind.php
1065
+	 * @return void No value is returned.
1066
+	 */
1067
+	public function rewind() {}
1068
+
1069
+	/**
1070
+	 * Move to the next file
1071
+	 * @link https://php.net/manual/en/filesystemiterator.next.php
1072
+	 * @return void No value is returned.
1073
+	 */
1074
+	public function next() {}
1075
+
1076
+	/**
1077
+	 * Retrieve the key for the current file
1078
+	 * @link https://php.net/manual/en/filesystemiterator.key.php
1079
+	 * @return string the pathname or filename depending on the set flags.
1080
+	 * See the FilesystemIterator constants.
1081
+	 */
1082
+	public function key() {}
1083
+
1084
+	/**
1085
+	 * The current file
1086
+	 * @link https://php.net/manual/en/filesystemiterator.current.php
1087
+	 * @return mixed The filename, file information, or $this depending on the set flags.
1088
+	 * See the FilesystemIterator constants.
1089
+	 */
1090
+	public function current() {}
1091
+
1092
+	/**
1093
+	 * Check whether current DirectoryIterator position is a valid file
1094
+	 * @link https://php.net/manual/en/directoryiterator.valid.php
1095
+	 * @return bool <b>TRUE</b> if the position is valid, otherwise <b>FALSE</b>
1096
+	 */
1097
+	public function valid() {}
1098
+
1099
+	/**
1100
+	 * Seek to a DirectoryIterator item
1101
+	 * @link https://php.net/manual/en/directoryiterator.seek.php
1102
+	 * @param int $position <p>
1103
+	 * The zero-based numeric position to seek to.
1104
+	 * </p>
1105
+	 * @return void No value is returned.
1106
+	 */
1107
+	public function seek($position) {}
1108 1108
 }
1109 1109
 
1110 1110
 /**
@@ -1114,145 +1114,145 @@  discard block
 block discarded – undo
1114 1114
  */
1115 1115
 class PharFileInfo extends SplFileInfo
1116 1116
 {
1117
-    /**
1118
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
1119
-     * Construct a Phar entry object
1120
-     * @link https://php.net/manual/en/pharfileinfo.construct.php
1121
-     * @param string $filename <p>
1122
-     * The full url to retrieve a file. If you wish to retrieve the information
1123
-     * for the file my/file.php from the phar boo.phar,
1124
-     * the entry should be phar://boo.phar/my/file.php.
1125
-     * </p>
1126
-     */
1127
-    public function __construct(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $filename) {}
1128
-
1129
-    public function __destruct() {}
1130
-
1131
-    /**
1132
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
1133
-     * Sets file-specific permission bits
1134
-     * @link https://php.net/manual/en/pharfileinfo.chmod.php
1135
-     * @param int $perms <p>
1136
-     * permissions (see <b>chmod</b>)
1137
-     * </p>
1138
-     * @return void No value is returned.
1139
-     */
1140
-    #[TentativeType]
1141
-    public function chmod(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $perms): void {}
1142
-
1143
-    /**
1144
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
1145
-     * Compresses the current Phar entry with either zlib or bzip2 compression
1146
-     * @link https://php.net/manual/en/pharfileinfo.compress.php
1147
-     * @param int $compression
1148
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
1149
-     */
1150
-    public function compress(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $compression) {}
1151
-
1152
-    /**
1153
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
1154
-     * Decompresses the current Phar entry within the phar
1155
-     * @link https://php.net/manual/en/pharfileinfo.decompress.php
1156
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
1157
-     */
1158
-    public function decompress() {}
1159
-
1160
-    /**
1161
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.2.0)<br/>
1162
-     * Deletes the metadata of the entry
1163
-     * @link https://php.net/manual/en/pharfileinfo.delmetadata.php
1164
-     * @return bool <b>TRUE</b> if successful, <b>FALSE</b> if the entry had no metadata.
1165
-     * As with all functionality that modifies the contents of
1166
-     * a phar, the phar.readonly INI variable
1167
-     * must be off in order to succeed if the file is within a <b>Phar</b>
1168
-     * archive. Files within <b>PharData</b> archives do not have
1169
-     * this restriction.
1170
-     */
1171
-    public function delMetadata() {}
1172
-
1173
-    /**
1174
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
1175
-     * Returns the actual size of the file (with compression) inside the Phar archive
1176
-     * @link https://php.net/manual/en/pharfileinfo.getcompressedsize.php
1177
-     * @return int The size in bytes of the file within the Phar archive on disk.
1178
-     */
1179
-    #[TentativeType]
1180
-    public function getCompressedSize(): int {}
1181
-
1182
-    /**
1183
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
1184
-     * Returns CRC32 code or throws an exception if CRC has not been verified
1185
-     * @link https://php.net/manual/en/pharfileinfo.getcrc32.php
1186
-     * @return int The <b>crc32</b> checksum of the file within the Phar archive.
1187
-     */
1188
-    #[TentativeType]
1189
-    public function getCRC32(): int {}
1190
-
1191
-    #[TentativeType]
1192
-    public function getContent(): string {}
1193
-
1194
-    /**
1195
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
1196
-     * Returns file-specific meta-data saved with a file
1197
-     * @link https://php.net/manual/en/pharfileinfo.getmetadata.php
1198
-     * @param array $unserializeOptions [optional] if is set to anything other than the default,
1199
-     * the resulting metadata won't be cached and this won't return the value from the cache
1200
-     * @return mixed any PHP variable that can be serialized and is stored as meta-data for the file,
1201
-     * or <b>NULL</b> if no meta-data is stored.
1202
-     */
1203
-    #[TentativeType]
1204
-    public function getMetadata(#[PhpStormStubsElementAvailable(from: '8.0')] array $unserializeOptions = []): mixed {}
1205
-
1206
-    /**
1207
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
1208
-     * Returns the Phar file entry flags
1209
-     * @link https://php.net/manual/en/pharfileinfo.getpharflags.php
1210
-     * @return int The Phar flags (always 0 in the current implementation)
1211
-     */
1212
-    #[TentativeType]
1213
-    public function getPharFlags(): int {}
1214
-
1215
-    /**
1216
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.2.0)<br/>
1217
-     * Returns the metadata of the entry
1218
-     * @link https://php.net/manual/en/pharfileinfo.hasmetadata.php
1219
-     * @return bool <b>FALSE</b> if no metadata is set or is <b>NULL</b>, <b>TRUE</b> if metadata is not <b>NULL</b>
1220
-     */
1221
-    #[TentativeType]
1222
-    public function hasMetadata(): bool {}
1223
-
1224
-    /**
1225
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
1226
-     * Returns whether the entry is compressed
1227
-     * @link https://php.net/manual/en/pharfileinfo.iscompressed.php
1228
-     * @param int $compression [optional] <p>
1229
-     * One of <b>Phar::GZ</b> or <b>Phar::BZ2</b>,
1230
-     * defaults to any compression.
1231
-     * </p>
1232
-     * @return bool <b>TRUE</b> if the file is compressed within the Phar archive, <b>FALSE</b> if not.
1233
-     */
1234
-    #[TentativeType]
1235
-    public function isCompressed(#[LanguageLevelTypeAware(['8.0' => 'int|null'], default: '')] $compression = 9021976): bool {}
1236
-
1237
-    /**
1238
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
1239
-     * Returns whether file entry has had its CRC verified
1240
-     * @link https://php.net/manual/en/pharfileinfo.iscrcchecked.php
1241
-     * @return bool <b>TRUE</b> if the file has had its CRC verified, <b>FALSE</b> if not.
1242
-     */
1243
-    #[TentativeType]
1244
-    public function isCRCChecked(): bool {}
1245
-
1246
-    /**
1247
-     * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
1248
-     * Sets file-specific meta-data saved with a file
1249
-     * @link https://php.net/manual/en/pharfileinfo.setmetadata.php
1250
-     * @param mixed $metadata <p>
1251
-     * Any PHP variable containing information to store alongside a file
1252
-     * </p>
1253
-     * @return void No value is returned.
1254
-     */
1255
-    #[TentativeType]
1256
-    public function setMetadata(#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $metadata): void {}
1117
+	/**
1118
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
1119
+	 * Construct a Phar entry object
1120
+	 * @link https://php.net/manual/en/pharfileinfo.construct.php
1121
+	 * @param string $filename <p>
1122
+	 * The full url to retrieve a file. If you wish to retrieve the information
1123
+	 * for the file my/file.php from the phar boo.phar,
1124
+	 * the entry should be phar://boo.phar/my/file.php.
1125
+	 * </p>
1126
+	 */
1127
+	public function __construct(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $filename) {}
1128
+
1129
+	public function __destruct() {}
1130
+
1131
+	/**
1132
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
1133
+	 * Sets file-specific permission bits
1134
+	 * @link https://php.net/manual/en/pharfileinfo.chmod.php
1135
+	 * @param int $perms <p>
1136
+	 * permissions (see <b>chmod</b>)
1137
+	 * </p>
1138
+	 * @return void No value is returned.
1139
+	 */
1140
+	#[TentativeType]
1141
+	public function chmod(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $perms): void {}
1142
+
1143
+	/**
1144
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
1145
+	 * Compresses the current Phar entry with either zlib or bzip2 compression
1146
+	 * @link https://php.net/manual/en/pharfileinfo.compress.php
1147
+	 * @param int $compression
1148
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
1149
+	 */
1150
+	public function compress(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $compression) {}
1151
+
1152
+	/**
1153
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
1154
+	 * Decompresses the current Phar entry within the phar
1155
+	 * @link https://php.net/manual/en/pharfileinfo.decompress.php
1156
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
1157
+	 */
1158
+	public function decompress() {}
1159
+
1160
+	/**
1161
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.2.0)<br/>
1162
+	 * Deletes the metadata of the entry
1163
+	 * @link https://php.net/manual/en/pharfileinfo.delmetadata.php
1164
+	 * @return bool <b>TRUE</b> if successful, <b>FALSE</b> if the entry had no metadata.
1165
+	 * As with all functionality that modifies the contents of
1166
+	 * a phar, the phar.readonly INI variable
1167
+	 * must be off in order to succeed if the file is within a <b>Phar</b>
1168
+	 * archive. Files within <b>PharData</b> archives do not have
1169
+	 * this restriction.
1170
+	 */
1171
+	public function delMetadata() {}
1172
+
1173
+	/**
1174
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
1175
+	 * Returns the actual size of the file (with compression) inside the Phar archive
1176
+	 * @link https://php.net/manual/en/pharfileinfo.getcompressedsize.php
1177
+	 * @return int The size in bytes of the file within the Phar archive on disk.
1178
+	 */
1179
+	#[TentativeType]
1180
+	public function getCompressedSize(): int {}
1181
+
1182
+	/**
1183
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
1184
+	 * Returns CRC32 code or throws an exception if CRC has not been verified
1185
+	 * @link https://php.net/manual/en/pharfileinfo.getcrc32.php
1186
+	 * @return int The <b>crc32</b> checksum of the file within the Phar archive.
1187
+	 */
1188
+	#[TentativeType]
1189
+	public function getCRC32(): int {}
1190
+
1191
+	#[TentativeType]
1192
+	public function getContent(): string {}
1193
+
1194
+	/**
1195
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
1196
+	 * Returns file-specific meta-data saved with a file
1197
+	 * @link https://php.net/manual/en/pharfileinfo.getmetadata.php
1198
+	 * @param array $unserializeOptions [optional] if is set to anything other than the default,
1199
+	 * the resulting metadata won't be cached and this won't return the value from the cache
1200
+	 * @return mixed any PHP variable that can be serialized and is stored as meta-data for the file,
1201
+	 * or <b>NULL</b> if no meta-data is stored.
1202
+	 */
1203
+	#[TentativeType]
1204
+	public function getMetadata(#[PhpStormStubsElementAvailable(from: '8.0')] array $unserializeOptions = []): mixed {}
1205
+
1206
+	/**
1207
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
1208
+	 * Returns the Phar file entry flags
1209
+	 * @link https://php.net/manual/en/pharfileinfo.getpharflags.php
1210
+	 * @return int The Phar flags (always 0 in the current implementation)
1211
+	 */
1212
+	#[TentativeType]
1213
+	public function getPharFlags(): int {}
1214
+
1215
+	/**
1216
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.2.0)<br/>
1217
+	 * Returns the metadata of the entry
1218
+	 * @link https://php.net/manual/en/pharfileinfo.hasmetadata.php
1219
+	 * @return bool <b>FALSE</b> if no metadata is set or is <b>NULL</b>, <b>TRUE</b> if metadata is not <b>NULL</b>
1220
+	 */
1221
+	#[TentativeType]
1222
+	public function hasMetadata(): bool {}
1223
+
1224
+	/**
1225
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
1226
+	 * Returns whether the entry is compressed
1227
+	 * @link https://php.net/manual/en/pharfileinfo.iscompressed.php
1228
+	 * @param int $compression [optional] <p>
1229
+	 * One of <b>Phar::GZ</b> or <b>Phar::BZ2</b>,
1230
+	 * defaults to any compression.
1231
+	 * </p>
1232
+	 * @return bool <b>TRUE</b> if the file is compressed within the Phar archive, <b>FALSE</b> if not.
1233
+	 */
1234
+	#[TentativeType]
1235
+	public function isCompressed(#[LanguageLevelTypeAware(['8.0' => 'int|null'], default: '')] $compression = 9021976): bool {}
1236
+
1237
+	/**
1238
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
1239
+	 * Returns whether file entry has had its CRC verified
1240
+	 * @link https://php.net/manual/en/pharfileinfo.iscrcchecked.php
1241
+	 * @return bool <b>TRUE</b> if the file has had its CRC verified, <b>FALSE</b> if not.
1242
+	 */
1243
+	#[TentativeType]
1244
+	public function isCRCChecked(): bool {}
1245
+
1246
+	/**
1247
+	 * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
1248
+	 * Sets file-specific meta-data saved with a file
1249
+	 * @link https://php.net/manual/en/pharfileinfo.setmetadata.php
1250
+	 * @param mixed $metadata <p>
1251
+	 * Any PHP variable containing information to store alongside a file
1252
+	 * </p>
1253
+	 * @return void No value is returned.
1254
+	 */
1255
+	#[TentativeType]
1256
+	public function setMetadata(#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $metadata): void {}
1257 1257
 }
1258 1258
 // End of Phar v.2.0.1
Please login to merge, or discard this patch.
Spacing   +37 added lines, -37 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
      */
58 58
     public function __construct(
59 59
         #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $filename,
60
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = FilesystemIterator::KEY_AS_PATHNAME|FilesystemIterator::CURRENT_AS_FILEINFO,
60
+        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = FilesystemIterator::KEY_AS_PATHNAME | FilesystemIterator::CURRENT_AS_FILEINFO,
61 61
         #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $alias = null
62 62
     ) {}
63 63
 
@@ -217,7 +217,7 @@  discard block
 block discarded – undo
217 217
      * @return static|null A <b>Phar</b> object is returned.
218 218
      */
219 219
     #[TentativeType]
220
-    public function decompress(#[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $extension = null): ?Phar {}
220
+    public function decompress(#[LanguageLevelTypeAware(['8.0' => 'string|null'], default : '')] $extension = null): ?Phar {}
221 221
 
222 222
     /**
223 223
      * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
@@ -252,9 +252,9 @@  discard block
 block discarded – undo
252 252
      */
253 253
     #[TentativeType]
254 254
     public function convertToExecutable(
255
-        #[LanguageLevelTypeAware(['8.0' => 'int|null'], default: '')] $format = 9021976,
256
-        #[LanguageLevelTypeAware(['8.0' => 'int|null'], default: '')] $compression = 9021976,
257
-        #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $extension = null
255
+        #[LanguageLevelTypeAware(['8.0' => 'int|null'], default : '')] $format = 9021976,
256
+        #[LanguageLevelTypeAware(['8.0' => 'int|null'], default : '')] $compression = 9021976,
257
+        #[LanguageLevelTypeAware(['8.0' => 'string|null'], default : '')] $extension = null
258 258
     ): ?Phar {}
259 259
 
260 260
     /**
@@ -288,9 +288,9 @@  discard block
 block discarded – undo
288 288
      */
289 289
     #[TentativeType]
290 290
     public function convertToData(
291
-        #[LanguageLevelTypeAware(['8.0' => 'int|null'], default: '')] $format = 9021976,
292
-        #[LanguageLevelTypeAware(['8.0' => 'int|null'], default: '')] $compression = 9021976,
293
-        #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $extension = null
291
+        #[LanguageLevelTypeAware(['8.0' => 'int|null'], default : '')] $format = 9021976,
292
+        #[LanguageLevelTypeAware(['8.0' => 'int|null'], default : '')] $compression = 9021976,
293
+        #[LanguageLevelTypeAware(['8.0' => 'string|null'], default : '')] $extension = null
294 294
     ): ?PharData {}
295 295
 
296 296
     /**
@@ -303,8 +303,8 @@  discard block
 block discarded – undo
303 303
      * try/catch block and assume success if no exception is thrown.
304 304
      */
305 305
     public function copy(
306
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $to,
307
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $from
306
+        #[LanguageLevelTypeAware(['8.0' => 'string'], default : '')] $to,
307
+        #[LanguageLevelTypeAware(['8.0' => 'string'], default : '')] $from
308 308
     ) {}
309 309
 
310 310
     /**
@@ -316,7 +316,7 @@  discard block
 block discarded – undo
316 316
      * if none.
317 317
      */
318 318
     #[TentativeType]
319
-    public function count(#[PhpStormStubsElementAvailable(from: '8.0')] int $mode = COUNT_NORMAL): int {}
319
+    public function count(#[PhpStormStubsElementAvailable(from : '8.0')] int $mode = COUNT_NORMAL): int {}
320 320
 
321 321
     /**
322 322
      * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
@@ -328,7 +328,7 @@  discard block
 block discarded – undo
328 328
      * @return bool returns <b>TRUE</b> on success, but it is better to check for thrown exception,
329 329
      * and assume success if none is thrown.
330 330
      */
331
-    public function delete(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $localName) {}
331
+    public function delete(#[LanguageLevelTypeAware(['8.0' => 'string'], default : '')] $localName) {}
332 332
 
333 333
     /**
334 334
      * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.2.0)<br/>
@@ -357,9 +357,9 @@  discard block
 block discarded – undo
357 357
      */
358 358
     #[TentativeType]
359 359
     public function extractTo(
360
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $directory,
361
-        #[LanguageLevelTypeAware(['8.0' => 'array|string|null'], default: '')] $files = null,
362
-        #[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $overwrite = false
360
+        #[LanguageLevelTypeAware(['8.0' => 'string'], default : '')] $directory,
361
+        #[LanguageLevelTypeAware(['8.0' => 'array|string|null'], default : '')] $files = null,
362
+        #[LanguageLevelTypeAware(['8.0' => 'bool'], default : '')] $overwrite = false
363 363
     ): bool {}
364 364
 
365 365
     /**
@@ -379,7 +379,7 @@  discard block
 block discarded – undo
379 379
      * or <b>NULL</b> if no meta-data is stored.
380 380
      */
381 381
     #[TentativeType]
382
-    public function getMetadata(#[PhpStormStubsElementAvailable(from: '8.0')] array $unserializeOptions = []): mixed {}
382
+    public function getMetadata(#[PhpStormStubsElementAvailable(from : '8.0')] array $unserializeOptions = []): mixed {}
383 383
 
384 384
     /**
385 385
      * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
@@ -405,7 +405,7 @@  discard block
 block discarded – undo
405 405
      */
406 406
     #[ArrayShape(["hash" => "string", "hash_type" => "string"])]
407 407
     #[TentativeType]
408
-    public function getSignature(): array|false {}
408
+    public function getSignature(): array | false {}
409 409
 
410 410
     /**
411 411
      * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
@@ -455,7 +455,7 @@  discard block
 block discarded – undo
455 455
      * @return mixed Phar::GZ, Phar::BZ2 or <b>FALSE</b>
456 456
      */
457 457
     #[TentativeType]
458
-    public function isCompressed(): int|false {}
458
+    public function isCompressed(): int | false {}
459 459
 
460 460
     /**
461 461
      * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
@@ -468,7 +468,7 @@  discard block
 block discarded – undo
468 468
      * @return bool <b>TRUE</b> if the phar archive matches the file format requested by the parameter
469 469
      */
470 470
     #[TentativeType]
471
-    public function isFileFormat(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $format): bool {}
471
+    public function isFileFormat(#[LanguageLevelTypeAware(['8.0' => 'int'], default : '')] $format): bool {}
472 472
 
473 473
     /**
474 474
      * (Unknown)<br/>
@@ -542,7 +542,7 @@  discard block
 block discarded – undo
542 542
      * @return bool
543 543
      */
544 544
     #[TentativeType]
545
-    public function setAlias(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $alias): bool {}
545
+    public function setAlias(#[LanguageLevelTypeAware(['8.0' => 'string'], default : '')] $alias): bool {}
546 546
 
547 547
     /**
548 548
      * (Unknown)<br/>
@@ -558,8 +558,8 @@  discard block
 block discarded – undo
558 558
      */
559 559
     #[TentativeType]
560 560
     public function setDefaultStub(
561
-        #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $index = null,
562
-        #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $webIndex = null
561
+        #[LanguageLevelTypeAware(['8.0' => 'string|null'], default : '')] $index = null,
562
+        #[LanguageLevelTypeAware(['8.0' => 'string|null'], default : '')] $webIndex = null
563 563
     ): bool {}
564 564
 
565 565
     /**
@@ -572,7 +572,7 @@  discard block
 block discarded – undo
572 572
      * @return void No value is returned.
573 573
      */
574 574
     #[TentativeType]
575
-    public function setMetadata(#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $metadata): void {}
575
+    public function setMetadata(#[LanguageLevelTypeAware(['8.0' => 'mixed'], default : '')] $metadata): void {}
576 576
 
577 577
     /**
578 578
      * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.1.0)<br/>
@@ -599,8 +599,8 @@  discard block
 block discarded – undo
599 599
      */
600 600
     #[TentativeType]
601 601
     public function setSignatureAlgorithm(
602
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $algo,
603
-        #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $privateKey = null
602
+        #[LanguageLevelTypeAware(['8.0' => 'int'], default : '')] $algo,
603
+        #[LanguageLevelTypeAware(['8.0' => 'string|null'], default : '')] $privateKey = null
604 604
     ): void {}
605 605
 
606 606
     /**
@@ -617,7 +617,7 @@  discard block
 block discarded – undo
617 617
      */
618 618
     public function setStub(
619 619
         $stub,
620
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $length = -1
620
+        #[LanguageLevelTypeAware(['8.0' => 'int'], default : '')] $length = -1
621 621
     ) {}
622 622
 
623 623
     /**
@@ -889,7 +889,7 @@  discard block
 block discarded – undo
889 889
     final public static function webPhar(
890 890
         ?string $alias = null,
891 891
         ?string $index = "index.php",
892
-        #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: 'string')] $fileNotFoundScript = null,
892
+        #[LanguageLevelTypeAware(['8.0' => 'string|null'], default : 'string')] $fileNotFoundScript = null,
893 893
         array $mimeTypes = null,
894 894
         ?callable $rewrite = null
895 895
     ): void {}
@@ -994,10 +994,10 @@  discard block
 block discarded – undo
994 994
      * </p>
995 995
      */
996 996
     public function __construct(
997
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $filename,
998
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = FilesystemIterator::KEY_AS_PATHNAME|FilesystemIterator::CURRENT_AS_FILEINFO,
999
-        #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $alias = null,
1000
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $format = Phar::TAR
997
+        #[LanguageLevelTypeAware(['8.0' => 'string'], default : '')] $filename,
998
+        #[LanguageLevelTypeAware(['8.0' => 'int'], default : '')] $flags = FilesystemIterator::KEY_AS_PATHNAME | FilesystemIterator::CURRENT_AS_FILEINFO,
999
+        #[LanguageLevelTypeAware(['8.0' => 'string|null'], default : '')] $alias = null,
1000
+        #[LanguageLevelTypeAware(['8.0' => 'int'], default : '')] $format = Phar::TAR
1001 1001
     ) {}
1002 1002
 
1003 1003
     /**
@@ -1124,7 +1124,7 @@  discard block
 block discarded – undo
1124 1124
      * the entry should be phar://boo.phar/my/file.php.
1125 1125
      * </p>
1126 1126
      */
1127
-    public function __construct(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $filename) {}
1127
+    public function __construct(#[LanguageLevelTypeAware(['8.0' => 'string'], default : '')] $filename) {}
1128 1128
 
1129 1129
     public function __destruct() {}
1130 1130
 
@@ -1138,7 +1138,7 @@  discard block
 block discarded – undo
1138 1138
      * @return void No value is returned.
1139 1139
      */
1140 1140
     #[TentativeType]
1141
-    public function chmod(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $perms): void {}
1141
+    public function chmod(#[LanguageLevelTypeAware(['8.0' => 'int'], default : '')] $perms): void {}
1142 1142
 
1143 1143
     /**
1144 1144
      * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
@@ -1147,7 +1147,7 @@  discard block
 block discarded – undo
1147 1147
      * @param int $compression
1148 1148
      * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
1149 1149
      */
1150
-    public function compress(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $compression) {}
1150
+    public function compress(#[LanguageLevelTypeAware(['8.0' => 'int'], default : '')] $compression) {}
1151 1151
 
1152 1152
     /**
1153 1153
      * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
@@ -1201,7 +1201,7 @@  discard block
 block discarded – undo
1201 1201
      * or <b>NULL</b> if no meta-data is stored.
1202 1202
      */
1203 1203
     #[TentativeType]
1204
-    public function getMetadata(#[PhpStormStubsElementAvailable(from: '8.0')] array $unserializeOptions = []): mixed {}
1204
+    public function getMetadata(#[PhpStormStubsElementAvailable(from : '8.0')] array $unserializeOptions = []): mixed {}
1205 1205
 
1206 1206
     /**
1207 1207
      * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
@@ -1232,7 +1232,7 @@  discard block
 block discarded – undo
1232 1232
      * @return bool <b>TRUE</b> if the file is compressed within the Phar archive, <b>FALSE</b> if not.
1233 1233
      */
1234 1234
     #[TentativeType]
1235
-    public function isCompressed(#[LanguageLevelTypeAware(['8.0' => 'int|null'], default: '')] $compression = 9021976): bool {}
1235
+    public function isCompressed(#[LanguageLevelTypeAware(['8.0' => 'int|null'], default : '')] $compression = 9021976): bool {}
1236 1236
 
1237 1237
     /**
1238 1238
      * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
@@ -1253,6 +1253,6 @@  discard block
 block discarded – undo
1253 1253
      * @return void No value is returned.
1254 1254
      */
1255 1255
     #[TentativeType]
1256
-    public function setMetadata(#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $metadata): void {}
1256
+    public function setMetadata(#[LanguageLevelTypeAware(['8.0' => 'mixed'], default : '')] $metadata): void {}
1257 1257
 }
1258 1258
 // End of Phar v.2.0.1
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -970,8 +970,7 @@  discard block
 block discarded – undo
970 970
  * phar.readonly php.ini setting is 1.
971 971
  * @link https://php.net/manual/en/class.phardata.php
972 972
  */
973
-class PharData extends Phar
974
-{
973
+class PharData extends Phar {
975 974
     /**
976 975
      * (PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)<br/>
977 976
      * Construct a non-executable tar or zip archive object
@@ -1112,8 +1111,7 @@  discard block
 block discarded – undo
1112 1111
  * and attributes of a single file within a phar archive.
1113 1112
  * @link https://php.net/manual/en/class.pharfileinfo.php
1114 1113
  */
1115
-class PharFileInfo extends SplFileInfo
1116
-{
1114
+class PharFileInfo extends SplFileInfo {
1117 1115
     /**
1118 1116
      * (PHP &gt;= 5.3.0, PECL phar &gt;= 1.0.0)<br/>
1119 1117
      * Construct a Phar entry object
Please login to merge, or discard this patch.
vendor-bin/php-scoper/vendor/jetbrains/phpstorm-stubs/uopz/uopz.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
 /**
48 48
  * The bitmask of ZEND_ACC_PUBLIC | ZEND_ACC_PROTECTED | ZEND_ACC_PRIVATE
49 49
  */
50
-define('ZEND_ACC_PPP_MASK', ZEND_ACC_PUBLIC|ZEND_ACC_PROTECTED|ZEND_ACC_PRIVATE);
50
+define('ZEND_ACC_PPP_MASK', ZEND_ACC_PUBLIC | ZEND_ACC_PROTECTED | ZEND_ACC_PRIVATE);
51 51
 
52 52
 /**
53 53
  * Adds non-existent method
Please login to merge, or discard this patch.
vendor-bin/php-scoper/vendor/jetbrains/phpstorm-stubs/SPL/SPL.php 3 patches
Indentation   +1827 added lines, -1827 removed lines patch added patch discarded remove patch
@@ -100,46 +100,46 @@  discard block
 block discarded – undo
100 100
  */
101 101
 class EmptyIterator implements Iterator
102 102
 {
103
-    /**
104
-     * Return the current element
105
-     * @link https://php.net/manual/en/iterator.current.php
106
-     * @return mixed Can return any type.
107
-     */
108
-    #[TentativeType]
109
-    public function current(): never {}
110
-
111
-    /**
112
-     * Move forward to next element
113
-     * @link https://php.net/manual/en/iterator.next.php
114
-     * @return void Any returned value is ignored.
115
-     */
116
-    #[TentativeType]
117
-    public function next(): void {}
118
-
119
-    /**
120
-     * Return the key of the current element
121
-     * @link https://php.net/manual/en/iterator.key.php
122
-     * @return string|float|int|bool|null scalar on success, or null on failure.
123
-     */
124
-    #[TentativeType]
125
-    public function key(): never {}
126
-
127
-    /**
128
-     * Checks if current position is valid
129
-     * @link https://php.net/manual/en/iterator.valid.php
130
-     * @return bool The return value will be casted to boolean and then evaluated.
131
-     * Returns true on success or false on failure.
132
-     */
133
-    #[TentativeType]
134
-    public function valid(): bool {}
135
-
136
-    /**
137
-     * Rewind the Iterator to the first element
138
-     * @link https://php.net/manual/en/iterator.rewind.php
139
-     * @return void Any returned value is ignored.
140
-     */
141
-    #[TentativeType]
142
-    public function rewind(): void {}
103
+	/**
104
+	 * Return the current element
105
+	 * @link https://php.net/manual/en/iterator.current.php
106
+	 * @return mixed Can return any type.
107
+	 */
108
+	#[TentativeType]
109
+	public function current(): never {}
110
+
111
+	/**
112
+	 * Move forward to next element
113
+	 * @link https://php.net/manual/en/iterator.next.php
114
+	 * @return void Any returned value is ignored.
115
+	 */
116
+	#[TentativeType]
117
+	public function next(): void {}
118
+
119
+	/**
120
+	 * Return the key of the current element
121
+	 * @link https://php.net/manual/en/iterator.key.php
122
+	 * @return string|float|int|bool|null scalar on success, or null on failure.
123
+	 */
124
+	#[TentativeType]
125
+	public function key(): never {}
126
+
127
+	/**
128
+	 * Checks if current position is valid
129
+	 * @link https://php.net/manual/en/iterator.valid.php
130
+	 * @return bool The return value will be casted to boolean and then evaluated.
131
+	 * Returns true on success or false on failure.
132
+	 */
133
+	#[TentativeType]
134
+	public function valid(): bool {}
135
+
136
+	/**
137
+	 * Rewind the Iterator to the first element
138
+	 * @link https://php.net/manual/en/iterator.rewind.php
139
+	 * @return void Any returned value is ignored.
140
+	 */
141
+	#[TentativeType]
142
+	public function rewind(): void {}
143 143
 }
144 144
 
145 145
 /**
@@ -149,25 +149,25 @@  discard block
 block discarded – undo
149 149
  */
150 150
 class CallbackFilterIterator extends FilterIterator
151 151
 {
152
-    /**
153
-     * Creates a filtered iterator using the callback to determine which items are accepted or rejected.
154
-     * @param Iterator $iterator The iterator to be filtered.
155
-     * @param callable $callback The callback, which should return TRUE to accept the current item or FALSE otherwise.
156
-     * May be any valid callable value.
157
-     * The callback should accept up to three arguments: the current item, the current key and the iterator, respectively.
158
-     * <code> function my_callback($current, $key, $iterator) </code>
159
-     * @link https://secure.php.net/manual/en/callbackfilteriterator.construct.php
160
-     */
161
-    public function __construct(Iterator $iterator, callable $callback) {}
162
-
163
-    /**
164
-     * This method calls the callback with the current value, current key and the inner iterator.
165
-     * The callback is expected to return TRUE if the current item is to be accepted, or FALSE otherwise.
166
-     * @link https://secure.php.net/manual/en/callbackfilteriterator.accept.php
167
-     * @return bool true if the current element is acceptable, otherwise false.
168
-     */
169
-    #[TentativeType]
170
-    public function accept(): bool {}
152
+	/**
153
+	 * Creates a filtered iterator using the callback to determine which items are accepted or rejected.
154
+	 * @param Iterator $iterator The iterator to be filtered.
155
+	 * @param callable $callback The callback, which should return TRUE to accept the current item or FALSE otherwise.
156
+	 * May be any valid callable value.
157
+	 * The callback should accept up to three arguments: the current item, the current key and the iterator, respectively.
158
+	 * <code> function my_callback($current, $key, $iterator) </code>
159
+	 * @link https://secure.php.net/manual/en/callbackfilteriterator.construct.php
160
+	 */
161
+	public function __construct(Iterator $iterator, callable $callback) {}
162
+
163
+	/**
164
+	 * This method calls the callback with the current value, current key and the inner iterator.
165
+	 * The callback is expected to return TRUE if the current item is to be accepted, or FALSE otherwise.
166
+	 * @link https://secure.php.net/manual/en/callbackfilteriterator.accept.php
167
+	 * @return bool true if the current element is acceptable, otherwise false.
168
+	 */
169
+	#[TentativeType]
170
+	public function accept(): bool {}
171 171
 }
172 172
 
173 173
 /**
@@ -178,33 +178,33 @@  discard block
 block discarded – undo
178 178
  */
179 179
 class RecursiveCallbackFilterIterator extends CallbackFilterIterator implements RecursiveIterator
180 180
 {
181
-    /**
182
-     * Create a RecursiveCallbackFilterIterator from a RecursiveIterator
183
-     * @param RecursiveIterator $iterator The recursive iterator to be filtered.
184
-     * @param callable $callback The callback, which should return TRUE to accept the current item or FALSE otherwise. See Examples.
185
-     * May be any valid callable value.
186
-     * @link https://www.php.net/manual/en/recursivecallbackfilteriterator.construct.php
187
-     */
188
-    public function __construct(
189
-        RecursiveIterator $iterator,
190
-        #[LanguageLevelTypeAware(['8.0' => 'callable'], default: '')] $callback
191
-    ) {}
192
-
193
-    /**
194
-     * Check whether the inner iterator's current element has children
195
-     * @link https://php.net/manual/en/recursiveiterator.haschildren.php
196
-     * @return bool Returns TRUE if the current element has children, FALSE otherwise.
197
-     */
198
-    #[TentativeType]
199
-    public function hasChildren(): bool {}
200
-
201
-    /**
202
-     * Returns an iterator for the current entry.
203
-     * @link https://secure.php.net/manual/en/recursivecallbackfilteriterator.haschildren.php
204
-     * @return RecursiveCallbackFilterIterator containing the children.
205
-     */
206
-    #[TentativeType]
207
-    public function getChildren(): RecursiveCallbackFilterIterator {}
181
+	/**
182
+	 * Create a RecursiveCallbackFilterIterator from a RecursiveIterator
183
+	 * @param RecursiveIterator $iterator The recursive iterator to be filtered.
184
+	 * @param callable $callback The callback, which should return TRUE to accept the current item or FALSE otherwise. See Examples.
185
+	 * May be any valid callable value.
186
+	 * @link https://www.php.net/manual/en/recursivecallbackfilteriterator.construct.php
187
+	 */
188
+	public function __construct(
189
+		RecursiveIterator $iterator,
190
+		#[LanguageLevelTypeAware(['8.0' => 'callable'], default: '')] $callback
191
+	) {}
192
+
193
+	/**
194
+	 * Check whether the inner iterator's current element has children
195
+	 * @link https://php.net/manual/en/recursiveiterator.haschildren.php
196
+	 * @return bool Returns TRUE if the current element has children, FALSE otherwise.
197
+	 */
198
+	#[TentativeType]
199
+	public function hasChildren(): bool {}
200
+
201
+	/**
202
+	 * Returns an iterator for the current entry.
203
+	 * @link https://secure.php.net/manual/en/recursivecallbackfilteriterator.haschildren.php
204
+	 * @return RecursiveCallbackFilterIterator containing the children.
205
+	 */
206
+	#[TentativeType]
207
+	public function getChildren(): RecursiveCallbackFilterIterator {}
208 208
 }
209 209
 
210 210
 /**
@@ -214,21 +214,21 @@  discard block
 block discarded – undo
214 214
  */
215 215
 interface RecursiveIterator extends Iterator
216 216
 {
217
-    /**
218
-     * Returns if an iterator can be created for the current entry.
219
-     * @link https://php.net/manual/en/recursiveiterator.haschildren.php
220
-     * @return bool true if the current entry can be iterated over, otherwise returns false.
221
-     */
222
-    #[TentativeType]
223
-    public function hasChildren(): bool;
224
-
225
-    /**
226
-     * Returns an iterator for the current entry.
227
-     * @link https://php.net/manual/en/recursiveiterator.getchildren.php
228
-     * @return RecursiveIterator|null An iterator for the current entry.
229
-     */
230
-    #[TentativeType]
231
-    public function getChildren(): ?RecursiveIterator;
217
+	/**
218
+	 * Returns if an iterator can be created for the current entry.
219
+	 * @link https://php.net/manual/en/recursiveiterator.haschildren.php
220
+	 * @return bool true if the current entry can be iterated over, otherwise returns false.
221
+	 */
222
+	#[TentativeType]
223
+	public function hasChildren(): bool;
224
+
225
+	/**
226
+	 * Returns an iterator for the current entry.
227
+	 * @link https://php.net/manual/en/recursiveiterator.getchildren.php
228
+	 * @return RecursiveIterator|null An iterator for the current entry.
229
+	 */
230
+	#[TentativeType]
231
+	public function getChildren(): ?RecursiveIterator;
232 232
 }
233 233
 
234 234
 /**
@@ -237,180 +237,180 @@  discard block
 block discarded – undo
237 237
  */
238 238
 class RecursiveIteratorIterator implements OuterIterator
239 239
 {
240
-    /**
241
-     * The default. Lists only leaves in iteration.
242
-     */
243
-    public const LEAVES_ONLY = 0;
244
-
245
-    /**
246
-     * Lists leaves and parents in iteration with parents coming first.
247
-     */
248
-    public const SELF_FIRST = 1;
249
-
250
-    /**
251
-     * Lists leaves and parents in iteration with leaves coming first.
252
-     */
253
-    public const CHILD_FIRST = 2;
254
-
255
-    /**
256
-     * Special flag: Ignore exceptions thrown in accessing children.
257
-     */
258
-    public const CATCH_GET_CHILD = 16;
259
-
260
-    /**
261
-     * Construct a RecursiveIteratorIterator
262
-     * @link https://php.net/manual/en/recursiveiteratoriterator.construct.php
263
-     * @param Traversable $iterator
264
-     * @param int $mode [optional] The operation mode. See class constants for details.
265
-     * @param int $flags [optional] A bitmask of special flags. See class constants for details.
266
-     * @since 5.1.3
267
-     */
268
-    public function __construct(
269
-        Traversable $iterator,
270
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $mode = self::LEAVES_ONLY,
271
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = 0
272
-    ) {}
273
-
274
-    /**
275
-     * Rewind the iterator to the first element of the top level inner iterator
276
-     * @link https://php.net/manual/en/recursiveiteratoriterator.rewind.php
277
-     * @return void
278
-     */
279
-    #[TentativeType]
280
-    public function rewind(): void {}
281
-
282
-    /**
283
-     * Check whether the current position is valid
284
-     * @link https://php.net/manual/en/recursiveiteratoriterator.valid.php
285
-     * @return bool true if the current position is valid, otherwise false
286
-     */
287
-    #[TentativeType]
288
-    public function valid(): bool {}
289
-
290
-    /**
291
-     * Access the current key
292
-     * @link https://php.net/manual/en/recursiveiteratoriterator.key.php
293
-     * @return string|float|int|bool|null The current key.
294
-     */
295
-    #[TentativeType]
296
-    public function key(): mixed {}
297
-
298
-    /**
299
-     * Access the current element value
300
-     * @link https://php.net/manual/en/recursiveiteratoriterator.current.php
301
-     * @return mixed The current elements value.
302
-     */
303
-    #[TentativeType]
304
-    public function current(): mixed {}
305
-
306
-    /**
307
-     * Move forward to the next element
308
-     * @link https://php.net/manual/en/recursiveiteratoriterator.next.php
309
-     * @return void
310
-     */
311
-    #[TentativeType]
312
-    public function next(): void {}
313
-
314
-    /**
315
-     * Get the current depth of the recursive iteration
316
-     * @link https://php.net/manual/en/recursiveiteratoriterator.getdepth.php
317
-     * @return int The current depth of the recursive iteration.
318
-     */
319
-    #[TentativeType]
320
-    public function getDepth(): int {}
321
-
322
-    /**
323
-     * The current active sub iterator
324
-     * @link https://php.net/manual/en/recursiveiteratoriterator.getsubiterator.php
325
-     * @param int $level [optional]
326
-     * @return RecursiveIterator|null The current active sub iterator.
327
-     */
328
-    #[TentativeType]
329
-    public function getSubIterator(#[LanguageLevelTypeAware(['8.0' => 'int|null'], default: '')] $level): ?RecursiveIterator {}
330
-
331
-    /**
332
-     * Get inner iterator
333
-     * @link https://php.net/manual/en/recursiveiteratoriterator.getinneriterator.php
334
-     * @return RecursiveIterator The current active sub iterator.
335
-     */
336
-    #[TentativeType]
337
-    public function getInnerIterator(): RecursiveIterator {}
338
-
339
-    /**
340
-     * Begin Iteration
341
-     * @link https://php.net/manual/en/recursiveiteratoriterator.beginiteration.php
342
-     * @return void
343
-     */
344
-    #[TentativeType]
345
-    public function beginIteration(): void {}
346
-
347
-    /**
348
-     * End Iteration
349
-     * @link https://php.net/manual/en/recursiveiteratoriterator.enditeration.php
350
-     * @return void
351
-     */
352
-    #[TentativeType]
353
-    public function endIteration(): void {}
354
-
355
-    /**
356
-     * Has children
357
-     * @link https://php.net/manual/en/recursiveiteratoriterator.callhaschildren.php
358
-     * @return bool true if the element has children, otherwise false
359
-     */
360
-    #[TentativeType]
361
-    public function callHasChildren(): bool {}
362
-
363
-    /**
364
-     * Get children
365
-     * @link https://php.net/manual/en/recursiveiteratoriterator.callgetchildren.php
366
-     * @return RecursiveIterator|null A <b>RecursiveIterator</b>.
367
-     */
368
-    #[TentativeType]
369
-    public function callGetChildren(): ?RecursiveIterator {}
370
-
371
-    /**
372
-     * Begin children
373
-     * @link https://php.net/manual/en/recursiveiteratoriterator.beginchildren.php
374
-     * @return void
375
-     */
376
-    #[TentativeType]
377
-    public function beginChildren(): void {}
378
-
379
-    /**
380
-     * End children
381
-     * @link https://php.net/manual/en/recursiveiteratoriterator.endchildren.php
382
-     * @return void
383
-     */
384
-    #[TentativeType]
385
-    public function endChildren(): void {}
386
-
387
-    /**
388
-     * Next element
389
-     * @link https://php.net/manual/en/recursiveiteratoriterator.nextelement.php
390
-     * @return void
391
-     */
392
-    #[TentativeType]
393
-    public function nextElement(): void {}
394
-
395
-    /**
396
-     * Set max depth
397
-     * @link https://php.net/manual/en/recursiveiteratoriterator.setmaxdepth.php
398
-     * @param int $maxDepth [optional] <p>
399
-     * The maximum allowed depth. Default -1 is used
400
-     * for any depth.
401
-     * </p>
402
-     * @return void
403
-     */
404
-    #[TentativeType]
405
-    public function setMaxDepth(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $maxDepth = -1): void {}
406
-
407
-    /**
408
-     * Get max depth
409
-     * @link https://php.net/manual/en/recursiveiteratoriterator.getmaxdepth.php
410
-     * @return int|false The maximum accepted depth, or false if any depth is allowed.
411
-     */
412
-    #[TentativeType]
413
-    public function getMaxDepth(): int|false {}
240
+	/**
241
+	 * The default. Lists only leaves in iteration.
242
+	 */
243
+	public const LEAVES_ONLY = 0;
244
+
245
+	/**
246
+	 * Lists leaves and parents in iteration with parents coming first.
247
+	 */
248
+	public const SELF_FIRST = 1;
249
+
250
+	/**
251
+	 * Lists leaves and parents in iteration with leaves coming first.
252
+	 */
253
+	public const CHILD_FIRST = 2;
254
+
255
+	/**
256
+	 * Special flag: Ignore exceptions thrown in accessing children.
257
+	 */
258
+	public const CATCH_GET_CHILD = 16;
259
+
260
+	/**
261
+	 * Construct a RecursiveIteratorIterator
262
+	 * @link https://php.net/manual/en/recursiveiteratoriterator.construct.php
263
+	 * @param Traversable $iterator
264
+	 * @param int $mode [optional] The operation mode. See class constants for details.
265
+	 * @param int $flags [optional] A bitmask of special flags. See class constants for details.
266
+	 * @since 5.1.3
267
+	 */
268
+	public function __construct(
269
+		Traversable $iterator,
270
+		#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $mode = self::LEAVES_ONLY,
271
+		#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = 0
272
+	) {}
273
+
274
+	/**
275
+	 * Rewind the iterator to the first element of the top level inner iterator
276
+	 * @link https://php.net/manual/en/recursiveiteratoriterator.rewind.php
277
+	 * @return void
278
+	 */
279
+	#[TentativeType]
280
+	public function rewind(): void {}
281
+
282
+	/**
283
+	 * Check whether the current position is valid
284
+	 * @link https://php.net/manual/en/recursiveiteratoriterator.valid.php
285
+	 * @return bool true if the current position is valid, otherwise false
286
+	 */
287
+	#[TentativeType]
288
+	public function valid(): bool {}
289
+
290
+	/**
291
+	 * Access the current key
292
+	 * @link https://php.net/manual/en/recursiveiteratoriterator.key.php
293
+	 * @return string|float|int|bool|null The current key.
294
+	 */
295
+	#[TentativeType]
296
+	public function key(): mixed {}
297
+
298
+	/**
299
+	 * Access the current element value
300
+	 * @link https://php.net/manual/en/recursiveiteratoriterator.current.php
301
+	 * @return mixed The current elements value.
302
+	 */
303
+	#[TentativeType]
304
+	public function current(): mixed {}
305
+
306
+	/**
307
+	 * Move forward to the next element
308
+	 * @link https://php.net/manual/en/recursiveiteratoriterator.next.php
309
+	 * @return void
310
+	 */
311
+	#[TentativeType]
312
+	public function next(): void {}
313
+
314
+	/**
315
+	 * Get the current depth of the recursive iteration
316
+	 * @link https://php.net/manual/en/recursiveiteratoriterator.getdepth.php
317
+	 * @return int The current depth of the recursive iteration.
318
+	 */
319
+	#[TentativeType]
320
+	public function getDepth(): int {}
321
+
322
+	/**
323
+	 * The current active sub iterator
324
+	 * @link https://php.net/manual/en/recursiveiteratoriterator.getsubiterator.php
325
+	 * @param int $level [optional]
326
+	 * @return RecursiveIterator|null The current active sub iterator.
327
+	 */
328
+	#[TentativeType]
329
+	public function getSubIterator(#[LanguageLevelTypeAware(['8.0' => 'int|null'], default: '')] $level): ?RecursiveIterator {}
330
+
331
+	/**
332
+	 * Get inner iterator
333
+	 * @link https://php.net/manual/en/recursiveiteratoriterator.getinneriterator.php
334
+	 * @return RecursiveIterator The current active sub iterator.
335
+	 */
336
+	#[TentativeType]
337
+	public function getInnerIterator(): RecursiveIterator {}
338
+
339
+	/**
340
+	 * Begin Iteration
341
+	 * @link https://php.net/manual/en/recursiveiteratoriterator.beginiteration.php
342
+	 * @return void
343
+	 */
344
+	#[TentativeType]
345
+	public function beginIteration(): void {}
346
+
347
+	/**
348
+	 * End Iteration
349
+	 * @link https://php.net/manual/en/recursiveiteratoriterator.enditeration.php
350
+	 * @return void
351
+	 */
352
+	#[TentativeType]
353
+	public function endIteration(): void {}
354
+
355
+	/**
356
+	 * Has children
357
+	 * @link https://php.net/manual/en/recursiveiteratoriterator.callhaschildren.php
358
+	 * @return bool true if the element has children, otherwise false
359
+	 */
360
+	#[TentativeType]
361
+	public function callHasChildren(): bool {}
362
+
363
+	/**
364
+	 * Get children
365
+	 * @link https://php.net/manual/en/recursiveiteratoriterator.callgetchildren.php
366
+	 * @return RecursiveIterator|null A <b>RecursiveIterator</b>.
367
+	 */
368
+	#[TentativeType]
369
+	public function callGetChildren(): ?RecursiveIterator {}
370
+
371
+	/**
372
+	 * Begin children
373
+	 * @link https://php.net/manual/en/recursiveiteratoriterator.beginchildren.php
374
+	 * @return void
375
+	 */
376
+	#[TentativeType]
377
+	public function beginChildren(): void {}
378
+
379
+	/**
380
+	 * End children
381
+	 * @link https://php.net/manual/en/recursiveiteratoriterator.endchildren.php
382
+	 * @return void
383
+	 */
384
+	#[TentativeType]
385
+	public function endChildren(): void {}
386
+
387
+	/**
388
+	 * Next element
389
+	 * @link https://php.net/manual/en/recursiveiteratoriterator.nextelement.php
390
+	 * @return void
391
+	 */
392
+	#[TentativeType]
393
+	public function nextElement(): void {}
394
+
395
+	/**
396
+	 * Set max depth
397
+	 * @link https://php.net/manual/en/recursiveiteratoriterator.setmaxdepth.php
398
+	 * @param int $maxDepth [optional] <p>
399
+	 * The maximum allowed depth. Default -1 is used
400
+	 * for any depth.
401
+	 * </p>
402
+	 * @return void
403
+	 */
404
+	#[TentativeType]
405
+	public function setMaxDepth(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $maxDepth = -1): void {}
406
+
407
+	/**
408
+	 * Get max depth
409
+	 * @link https://php.net/manual/en/recursiveiteratoriterator.getmaxdepth.php
410
+	 * @return int|false The maximum accepted depth, or false if any depth is allowed.
411
+	 */
412
+	#[TentativeType]
413
+	public function getMaxDepth(): int|false {}
414 414
 }
415 415
 
416 416
 /**
@@ -420,13 +420,13 @@  discard block
 block discarded – undo
420 420
  */
421 421
 interface OuterIterator extends Iterator
422 422
 {
423
-    /**
424
-     * Returns the inner iterator for the current entry.
425
-     * @link https://php.net/manual/en/outeriterator.getinneriterator.php
426
-     * @return Iterator|null The inner iterator for the current entry.
427
-     */
428
-    #[TentativeType]
429
-    public function getInnerIterator(): ?Iterator;
423
+	/**
424
+	 * Returns the inner iterator for the current entry.
425
+	 * @link https://php.net/manual/en/outeriterator.getinneriterator.php
426
+	 * @return Iterator|null The inner iterator for the current entry.
427
+	 */
428
+	#[TentativeType]
429
+	public function getInnerIterator(): ?Iterator;
430 430
 }
431 431
 
432 432
 /**
@@ -440,61 +440,61 @@  discard block
 block discarded – undo
440 440
  */
441 441
 class IteratorIterator implements OuterIterator
442 442
 {
443
-    /**
444
-     * Create an iterator from anything that is traversable
445
-     * @link https://php.net/manual/en/iteratoriterator.construct.php
446
-     * @param Traversable $iterator
447
-     * @param string|null $class [optional]
448
-     */
449
-    public function __construct(Traversable $iterator, #[PhpStormStubsElementAvailable(from: '8.0')] ?string $class = '') {}
450
-
451
-    /**
452
-     * Get the inner iterator
453
-     * @link https://php.net/manual/en/iteratoriterator.getinneriterator.php
454
-     * @return Iterator|null The inner iterator as passed to IteratorIterator::__construct.
455
-     */
456
-    #[TentativeType]
457
-    public function getInnerIterator(): ?Iterator {}
458
-
459
-    /**
460
-     * Rewind to the first element
461
-     * @link https://php.net/manual/en/iteratoriterator.rewind.php
462
-     * @return void
463
-     */
464
-    #[TentativeType]
465
-    public function rewind(): void {}
466
-
467
-    /**
468
-     * Checks if the iterator is valid
469
-     * @link https://php.net/manual/en/iteratoriterator.valid.php
470
-     * @return bool true if the iterator is valid, otherwise false
471
-     */
472
-    #[TentativeType]
473
-    public function valid(): bool {}
474
-
475
-    /**
476
-     * Get the key of the current element
477
-     * @link https://php.net/manual/en/iteratoriterator.key.php
478
-     * @return string|float|int|bool|null The key of the current element.
479
-     */
480
-    #[TentativeType]
481
-    public function key(): mixed {}
482
-
483
-    /**
484
-     * Get the current value
485
-     * @link https://php.net/manual/en/iteratoriterator.current.php
486
-     * @return mixed The value of the current element.
487
-     */
488
-    #[TentativeType]
489
-    public function current(): mixed {}
490
-
491
-    /**
492
-     * Forward to the next element
493
-     * @link https://php.net/manual/en/iteratoriterator.next.php
494
-     * @return void
495
-     */
496
-    #[TentativeType]
497
-    public function next(): void {}
443
+	/**
444
+	 * Create an iterator from anything that is traversable
445
+	 * @link https://php.net/manual/en/iteratoriterator.construct.php
446
+	 * @param Traversable $iterator
447
+	 * @param string|null $class [optional]
448
+	 */
449
+	public function __construct(Traversable $iterator, #[PhpStormStubsElementAvailable(from: '8.0')] ?string $class = '') {}
450
+
451
+	/**
452
+	 * Get the inner iterator
453
+	 * @link https://php.net/manual/en/iteratoriterator.getinneriterator.php
454
+	 * @return Iterator|null The inner iterator as passed to IteratorIterator::__construct.
455
+	 */
456
+	#[TentativeType]
457
+	public function getInnerIterator(): ?Iterator {}
458
+
459
+	/**
460
+	 * Rewind to the first element
461
+	 * @link https://php.net/manual/en/iteratoriterator.rewind.php
462
+	 * @return void
463
+	 */
464
+	#[TentativeType]
465
+	public function rewind(): void {}
466
+
467
+	/**
468
+	 * Checks if the iterator is valid
469
+	 * @link https://php.net/manual/en/iteratoriterator.valid.php
470
+	 * @return bool true if the iterator is valid, otherwise false
471
+	 */
472
+	#[TentativeType]
473
+	public function valid(): bool {}
474
+
475
+	/**
476
+	 * Get the key of the current element
477
+	 * @link https://php.net/manual/en/iteratoriterator.key.php
478
+	 * @return string|float|int|bool|null The key of the current element.
479
+	 */
480
+	#[TentativeType]
481
+	public function key(): mixed {}
482
+
483
+	/**
484
+	 * Get the current value
485
+	 * @link https://php.net/manual/en/iteratoriterator.current.php
486
+	 * @return mixed The value of the current element.
487
+	 */
488
+	#[TentativeType]
489
+	public function current(): mixed {}
490
+
491
+	/**
492
+	 * Forward to the next element
493
+	 * @link https://php.net/manual/en/iteratoriterator.next.php
494
+	 * @return void
495
+	 */
496
+	#[TentativeType]
497
+	public function next(): void {}
498 498
 }
499 499
 
500 500
 /**
@@ -505,64 +505,64 @@  discard block
 block discarded – undo
505 505
  */
506 506
 abstract class FilterIterator extends IteratorIterator
507 507
 {
508
-    /**
509
-     * Check whether the current element of the iterator is acceptable
510
-     * @link https://php.net/manual/en/filteriterator.accept.php
511
-     * @return bool true if the current element is acceptable, otherwise false.
512
-     */
513
-    #[TentativeType]
514
-    abstract public function accept(): bool;
515
-
516
-    /**
517
-     * Construct a filterIterator
518
-     * @link https://php.net/manual/en/filteriterator.construct.php
519
-     * @param Iterator $iterator
520
-     */
521
-    public function __construct(Iterator $iterator) {}
522
-
523
-    /**
524
-     * Rewind the iterator
525
-     * @link https://php.net/manual/en/filteriterator.rewind.php
526
-     * @return void
527
-     */
528
-    #[TentativeType]
529
-    public function rewind(): void {}
530
-
531
-    /**
532
-     * Check whether the current element is valid
533
-     * @link https://php.net/manual/en/filteriterator.valid.php
534
-     * @return bool true if the current element is valid, otherwise false
535
-     */
536
-    public function valid() {}
537
-
538
-    /**
539
-     * Get the current key
540
-     * @link https://php.net/manual/en/filteriterator.key.php
541
-     * @return string|float|int|bool|null The current key.
542
-     */
543
-    public function key() {}
544
-
545
-    /**
546
-     * Get the current element value
547
-     * @link https://php.net/manual/en/filteriterator.current.php
548
-     * @return mixed The current element value.
549
-     */
550
-    public function current() {}
551
-
552
-    /**
553
-     * Move the iterator forward
554
-     * @link https://php.net/manual/en/filteriterator.next.php
555
-     * @return void
556
-     */
557
-    #[TentativeType]
558
-    public function next(): void {}
559
-
560
-    /**
561
-     * Get the inner iterator
562
-     * @link https://php.net/manual/en/filteriterator.getinneriterator.php
563
-     * @return Iterator The inner iterator.
564
-     */
565
-    public function getInnerIterator() {}
508
+	/**
509
+	 * Check whether the current element of the iterator is acceptable
510
+	 * @link https://php.net/manual/en/filteriterator.accept.php
511
+	 * @return bool true if the current element is acceptable, otherwise false.
512
+	 */
513
+	#[TentativeType]
514
+	abstract public function accept(): bool;
515
+
516
+	/**
517
+	 * Construct a filterIterator
518
+	 * @link https://php.net/manual/en/filteriterator.construct.php
519
+	 * @param Iterator $iterator
520
+	 */
521
+	public function __construct(Iterator $iterator) {}
522
+
523
+	/**
524
+	 * Rewind the iterator
525
+	 * @link https://php.net/manual/en/filteriterator.rewind.php
526
+	 * @return void
527
+	 */
528
+	#[TentativeType]
529
+	public function rewind(): void {}
530
+
531
+	/**
532
+	 * Check whether the current element is valid
533
+	 * @link https://php.net/manual/en/filteriterator.valid.php
534
+	 * @return bool true if the current element is valid, otherwise false
535
+	 */
536
+	public function valid() {}
537
+
538
+	/**
539
+	 * Get the current key
540
+	 * @link https://php.net/manual/en/filteriterator.key.php
541
+	 * @return string|float|int|bool|null The current key.
542
+	 */
543
+	public function key() {}
544
+
545
+	/**
546
+	 * Get the current element value
547
+	 * @link https://php.net/manual/en/filteriterator.current.php
548
+	 * @return mixed The current element value.
549
+	 */
550
+	public function current() {}
551
+
552
+	/**
553
+	 * Move the iterator forward
554
+	 * @link https://php.net/manual/en/filteriterator.next.php
555
+	 * @return void
556
+	 */
557
+	#[TentativeType]
558
+	public function next(): void {}
559
+
560
+	/**
561
+	 * Get the inner iterator
562
+	 * @link https://php.net/manual/en/filteriterator.getinneriterator.php
563
+	 * @return Iterator The inner iterator.
564
+	 */
565
+	public function getInnerIterator() {}
566 566
 }
567 567
 
568 568
 /**
@@ -573,28 +573,28 @@  discard block
 block discarded – undo
573 573
  */
574 574
 abstract class RecursiveFilterIterator extends FilterIterator implements RecursiveIterator
575 575
 {
576
-    /**
577
-     * Create a RecursiveFilterIterator from a RecursiveIterator
578
-     * @link https://php.net/manual/en/recursivefilteriterator.construct.php
579
-     * @param RecursiveIterator $iterator
580
-     */
581
-    public function __construct(RecursiveIterator $iterator) {}
582
-
583
-    /**
584
-     * Check whether the inner iterator's current element has children
585
-     * @link https://php.net/manual/en/recursivefilteriterator.haschildren.php
586
-     * @return bool true if the inner iterator has children, otherwise false
587
-     */
588
-    #[TentativeType]
589
-    public function hasChildren(): bool {}
590
-
591
-    /**
592
-     * Return the inner iterator's children contained in a RecursiveFilterIterator
593
-     * @link https://php.net/manual/en/recursivefilteriterator.getchildren.php
594
-     * @return RecursiveFilterIterator|null containing the inner iterator's children.
595
-     */
596
-    #[TentativeType]
597
-    public function getChildren(): ?RecursiveFilterIterator {}
576
+	/**
577
+	 * Create a RecursiveFilterIterator from a RecursiveIterator
578
+	 * @link https://php.net/manual/en/recursivefilteriterator.construct.php
579
+	 * @param RecursiveIterator $iterator
580
+	 */
581
+	public function __construct(RecursiveIterator $iterator) {}
582
+
583
+	/**
584
+	 * Check whether the inner iterator's current element has children
585
+	 * @link https://php.net/manual/en/recursivefilteriterator.haschildren.php
586
+	 * @return bool true if the inner iterator has children, otherwise false
587
+	 */
588
+	#[TentativeType]
589
+	public function hasChildren(): bool {}
590
+
591
+	/**
592
+	 * Return the inner iterator's children contained in a RecursiveFilterIterator
593
+	 * @link https://php.net/manual/en/recursivefilteriterator.getchildren.php
594
+	 * @return RecursiveFilterIterator|null containing the inner iterator's children.
595
+	 */
596
+	#[TentativeType]
597
+	public function getChildren(): ?RecursiveFilterIterator {}
598 598
 }
599 599
 
600 600
 /**
@@ -603,34 +603,34 @@  discard block
 block discarded – undo
603 603
  */
604 604
 class ParentIterator extends RecursiveFilterIterator
605 605
 {
606
-    /**
607
-     * Determines acceptability
608
-     * @link https://php.net/manual/en/parentiterator.accept.php
609
-     * @return bool true if the current element is acceptable, otherwise false.
610
-     */
611
-    #[TentativeType]
612
-    public function accept(): bool {}
613
-
614
-    /**
615
-     * Constructs a ParentIterator
616
-     * @link https://php.net/manual/en/parentiterator.construct.php
617
-     * @param RecursiveIterator $iterator
618
-     */
619
-    public function __construct(RecursiveIterator $iterator) {}
620
-
621
-    /**
622
-     * Check whether the inner iterator's current element has children
623
-     * @link https://php.net/manual/en/recursivefilteriterator.haschildren.php
624
-     * @return bool true if the inner iterator has children, otherwise false
625
-     */
626
-    public function hasChildren() {}
627
-
628
-    /**
629
-     * Return the inner iterator's children contained in a RecursiveFilterIterator
630
-     * @link https://php.net/manual/en/recursivefilteriterator.getchildren.php
631
-     * @return ParentIterator containing the inner iterator's children.
632
-     */
633
-    public function getChildren() {}
606
+	/**
607
+	 * Determines acceptability
608
+	 * @link https://php.net/manual/en/parentiterator.accept.php
609
+	 * @return bool true if the current element is acceptable, otherwise false.
610
+	 */
611
+	#[TentativeType]
612
+	public function accept(): bool {}
613
+
614
+	/**
615
+	 * Constructs a ParentIterator
616
+	 * @link https://php.net/manual/en/parentiterator.construct.php
617
+	 * @param RecursiveIterator $iterator
618
+	 */
619
+	public function __construct(RecursiveIterator $iterator) {}
620
+
621
+	/**
622
+	 * Check whether the inner iterator's current element has children
623
+	 * @link https://php.net/manual/en/recursivefilteriterator.haschildren.php
624
+	 * @return bool true if the inner iterator has children, otherwise false
625
+	 */
626
+	public function hasChildren() {}
627
+
628
+	/**
629
+	 * Return the inner iterator's children contained in a RecursiveFilterIterator
630
+	 * @link https://php.net/manual/en/recursivefilteriterator.getchildren.php
631
+	 * @return ParentIterator containing the inner iterator's children.
632
+	 */
633
+	public function getChildren() {}
634 634
 }
635 635
 
636 636
 /**
@@ -639,16 +639,16 @@  discard block
 block discarded – undo
639 639
  */
640 640
 interface SeekableIterator extends Iterator
641 641
 {
642
-    /**
643
-     * Seeks to a position
644
-     * @link https://php.net/manual/en/seekableiterator.seek.php
645
-     * @param int $offset <p>
646
-     * The position to seek to.
647
-     * </p>
648
-     * @return void
649
-     */
650
-    #[TentativeType]
651
-    public function seek(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $offset): void;
642
+	/**
643
+	 * Seeks to a position
644
+	 * @link https://php.net/manual/en/seekableiterator.seek.php
645
+	 * @param int $offset <p>
646
+	 * The position to seek to.
647
+	 * </p>
648
+	 * @return void
649
+	 */
650
+	#[TentativeType]
651
+	public function seek(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $offset): void;
652 652
 }
653 653
 
654 654
 /**
@@ -658,82 +658,82 @@  discard block
 block discarded – undo
658 658
  */
659 659
 class LimitIterator extends IteratorIterator
660 660
 {
661
-    /**
662
-     * Construct a LimitIterator
663
-     * @link https://php.net/manual/en/limititerator.construct.php
664
-     * @param Iterator $iterator The iterator to limit.
665
-     * @param int $offset [optional] The offset to start at. Must be zero or greater.
666
-     * @param int $limit [optional] The number of items to iterate. Must be -1 or greater. -1, the default, means no limit.
667
-     */
668
-    public function __construct(
669
-        Iterator $iterator,
670
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $offset = 0,
671
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $limit = -1
672
-    ) {}
673
-
674
-    /**
675
-     * Rewind the iterator to the specified starting offset
676
-     * @link https://php.net/manual/en/limititerator.rewind.php
677
-     * @return void
678
-     */
679
-    #[TentativeType]
680
-    public function rewind(): void {}
681
-
682
-    /**
683
-     * Check whether the current element is valid
684
-     * @link https://php.net/manual/en/limititerator.valid.php
685
-     * @return bool true on success or false on failure.
686
-     */
687
-    #[TentativeType]
688
-    public function valid(): bool {}
689
-
690
-    /**
691
-     * Get current key
692
-     * @link https://php.net/manual/en/limititerator.key.php
693
-     * @return string|float|int|bool|null the key for the current item.
694
-     */
695
-    public function key() {}
696
-
697
-    /**
698
-     * Get current element
699
-     * @link https://php.net/manual/en/limititerator.current.php
700
-     * @return mixed the current element or null if there is none.
701
-     */
702
-    public function current() {}
703
-
704
-    /**
705
-     * Move the iterator forward
706
-     * @link https://php.net/manual/en/limititerator.next.php
707
-     * @return void
708
-     */
709
-    #[TentativeType]
710
-    public function next(): void {}
711
-
712
-    /**
713
-     * Seek to the given position
714
-     * @link https://php.net/manual/en/limititerator.seek.php
715
-     * @param int $offset <p>
716
-     * The position to seek to.
717
-     * </p>
718
-     * @return int the offset position after seeking.
719
-     */
720
-    #[TentativeType]
721
-    public function seek(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $offset): int {}
722
-
723
-    /**
724
-     * Return the current position
725
-     * @link https://php.net/manual/en/limititerator.getposition.php
726
-     * @return int The current position.
727
-     */
728
-    #[TentativeType]
729
-    public function getPosition(): int {}
730
-
731
-    /**
732
-     * Get inner iterator
733
-     * @link https://php.net/manual/en/limititerator.getinneriterator.php
734
-     * @return Iterator The inner iterator passed to <b>LimitIterator::__construct</b>.
735
-     */
736
-    public function getInnerIterator() {}
661
+	/**
662
+	 * Construct a LimitIterator
663
+	 * @link https://php.net/manual/en/limititerator.construct.php
664
+	 * @param Iterator $iterator The iterator to limit.
665
+	 * @param int $offset [optional] The offset to start at. Must be zero or greater.
666
+	 * @param int $limit [optional] The number of items to iterate. Must be -1 or greater. -1, the default, means no limit.
667
+	 */
668
+	public function __construct(
669
+		Iterator $iterator,
670
+		#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $offset = 0,
671
+		#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $limit = -1
672
+	) {}
673
+
674
+	/**
675
+	 * Rewind the iterator to the specified starting offset
676
+	 * @link https://php.net/manual/en/limititerator.rewind.php
677
+	 * @return void
678
+	 */
679
+	#[TentativeType]
680
+	public function rewind(): void {}
681
+
682
+	/**
683
+	 * Check whether the current element is valid
684
+	 * @link https://php.net/manual/en/limititerator.valid.php
685
+	 * @return bool true on success or false on failure.
686
+	 */
687
+	#[TentativeType]
688
+	public function valid(): bool {}
689
+
690
+	/**
691
+	 * Get current key
692
+	 * @link https://php.net/manual/en/limititerator.key.php
693
+	 * @return string|float|int|bool|null the key for the current item.
694
+	 */
695
+	public function key() {}
696
+
697
+	/**
698
+	 * Get current element
699
+	 * @link https://php.net/manual/en/limititerator.current.php
700
+	 * @return mixed the current element or null if there is none.
701
+	 */
702
+	public function current() {}
703
+
704
+	/**
705
+	 * Move the iterator forward
706
+	 * @link https://php.net/manual/en/limititerator.next.php
707
+	 * @return void
708
+	 */
709
+	#[TentativeType]
710
+	public function next(): void {}
711
+
712
+	/**
713
+	 * Seek to the given position
714
+	 * @link https://php.net/manual/en/limititerator.seek.php
715
+	 * @param int $offset <p>
716
+	 * The position to seek to.
717
+	 * </p>
718
+	 * @return int the offset position after seeking.
719
+	 */
720
+	#[TentativeType]
721
+	public function seek(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $offset): int {}
722
+
723
+	/**
724
+	 * Return the current position
725
+	 * @link https://php.net/manual/en/limititerator.getposition.php
726
+	 * @return int The current position.
727
+	 */
728
+	#[TentativeType]
729
+	public function getPosition(): int {}
730
+
731
+	/**
732
+	 * Get inner iterator
733
+	 * @link https://php.net/manual/en/limititerator.getinneriterator.php
734
+	 * @return Iterator The inner iterator passed to <b>LimitIterator::__construct</b>.
735
+	 */
736
+	public function getInnerIterator() {}
737 737
 }
738 738
 
739 739
 /**
@@ -742,184 +742,184 @@  discard block
 block discarded – undo
742 742
  */
743 743
 class CachingIterator extends IteratorIterator implements ArrayAccess, Countable, Stringable
744 744
 {
745
-    /**
746
-     * String conversion flag (mutually exclusive): Uses the current element for the iterator's string conversion.
747
-     * This converts the current element to a string only once, regardless of whether it is needed or not.
748
-     */
749
-    public const CALL_TOSTRING = 1;
750
-
751
-    /**
752
-     * String conversion flag (mutually exclusive). Uses the current key for the iterator's string conversion.
753
-     */
754
-    public const TOSTRING_USE_KEY = 2;
755
-
756
-    /**
757
-     * String conversion flag (mutually exclusive). Uses the current element for the iterator's string conversion.
758
-     * This converts the current element to a string only when (and every time) it is needed.
759
-     */
760
-    public const TOSTRING_USE_CURRENT = 4;
761
-
762
-    /**
763
-     * String conversion flag (mutually exclusive). Forwards the string conversion to the inner iterator.
764
-     * This converts the inner iterator to a string only once, regardless of whether it is needed or not.
765
-     */
766
-    public const TOSTRING_USE_INNER = 8;
767
-
768
-    /**
769
-     * Ignore exceptions thrown in accessing children. Only used with {@see RecursiveCachingIterator}.
770
-     */
771
-    public const CATCH_GET_CHILD = 16;
772
-
773
-    /**
774
-     * Cache all read data. This is needed to use {@see CachingIterator::getCache}, and ArrayAccess and Countable methods.
775
-     */
776
-    public const FULL_CACHE = 256;
777
-
778
-    /**
779
-     * Constructs a new CachingIterator.
780
-     * @link https://php.net/manual/en/cachingiterator.construct.php
781
-     * @param Iterator $iterator The iterator to cache.
782
-     * @param int $flags [optional] A bitmask of flags. See CachingIterator class constants for details.
783
-     */
784
-    public function __construct(Iterator $iterator, #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = self::CALL_TOSTRING) {}
785
-
786
-    /**
787
-     * Rewind the iterator
788
-     * @link https://php.net/manual/en/cachingiterator.rewind.php
789
-     * @return void
790
-     */
791
-    #[TentativeType]
792
-    public function rewind(): void {}
793
-
794
-    /**
795
-     * Check whether the current element is valid
796
-     * @link https://php.net/manual/en/cachingiterator.valid.php
797
-     * @return bool true on success or false on failure.
798
-     */
799
-    #[TentativeType]
800
-    public function valid(): bool {}
801
-
802
-    /**
803
-     * Return the key for the current element
804
-     * @link https://php.net/manual/en/cachingiterator.key.php
805
-     * @return string|float|int|bool|null
806
-     */
807
-    public function key() {}
808
-
809
-    /**
810
-     * Return the current element
811
-     * @link https://php.net/manual/en/cachingiterator.current.php
812
-     * @return mixed
813
-     */
814
-    public function current() {}
815
-
816
-    /**
817
-     * Move the iterator forward
818
-     * @link https://php.net/manual/en/cachingiterator.next.php
819
-     * @return void
820
-     */
821
-    #[TentativeType]
822
-    public function next(): void {}
823
-
824
-    /**
825
-     * Check whether the inner iterator has a valid next element
826
-     * @link https://php.net/manual/en/cachingiterator.hasnext.php
827
-     * @return bool true on success or false on failure.
828
-     */
829
-    #[TentativeType]
830
-    public function hasNext(): bool {}
831
-
832
-    /**
833
-     * Return the string representation of the current iteration based on the flag being used.
834
-     * @link https://php.net/manual/en/cachingiterator.tostring.php
835
-     * @return string The string representation of the current iteration based on the flag being used.
836
-     */
837
-    #[TentativeType]
838
-    public function __toString(): string {}
839
-
840
-    /**
841
-     * Returns the inner iterator
842
-     * @link https://php.net/manual/en/cachingiterator.getinneriterator.php
843
-     * @return Iterator an object implementing the Iterator interface.
844
-     */
845
-    public function getInnerIterator() {}
846
-
847
-    /**
848
-     * Get flags used
849
-     * @link https://php.net/manual/en/cachingiterator.getflags.php
850
-     * @return int Bitmask of the flags
851
-     */
852
-    #[TentativeType]
853
-    public function getFlags(): int {}
854
-
855
-    /**
856
-     * The setFlags purpose
857
-     * @link https://php.net/manual/en/cachingiterator.setflags.php
858
-     * @param int $flags Bitmask of the flags to set.
859
-     * @return void
860
-     */
861
-    #[TentativeType]
862
-    public function setFlags(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags): void {}
863
-
864
-    /**
865
-     * Internal cache array index to retrieve.
866
-     * @link https://php.net/manual/en/cachingiterator.offsetget.php
867
-     * @param string $key The index of the element to retrieve.
868
-     * @return mixed
869
-     * @throws BadMethodCallException when the {@see CachingIterator::FULL_CACHE} flag is not being used.
870
-     */
871
-    #[TentativeType]
872
-    public function offsetGet($key): mixed {}
873
-
874
-    /**
875
-     * Set an element on the internal cache array.
876
-     * @link https://php.net/manual/en/cachingiterator.offsetset.php
877
-     * @param string $key The index of the element to be set.
878
-     * @param string $value The new value for the <i>index</i>.
879
-     * @return void
880
-     * @throws BadMethodCallException when the {@see CachingIterator::FULL_CACHE} flag is not being used.
881
-     */
882
-    #[TentativeType]
883
-    public function offsetSet($key, #[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $value): void {}
884
-
885
-    /**
886
-     * Remove an element from the internal cache array.
887
-     * @link https://php.net/manual/en/cachingiterator.offsetunset.php
888
-     * @param string $key The index of the element to be unset.
889
-     * @return void
890
-     * @throws BadMethodCallException when the {@see CachingIterator::FULL_CACHE} flag is not being used.
891
-     */
892
-    #[TentativeType]
893
-    public function offsetUnset($key): void {}
894
-
895
-    /**
896
-     * Return whether an element at the index exists on the internal cache array.
897
-     * @link https://php.net/manual/en/cachingiterator.offsetexists.php
898
-     * @param string $key The index being checked.
899
-     * @return bool true if an entry referenced by the offset exists, false otherwise.
900
-     * @throws BadMethodCallException when the {@see CachingIterator::FULL_CACHE} flag is not being used.
901
-     */
902
-    #[TentativeType]
903
-    public function offsetExists($key): bool {}
904
-
905
-    /**
906
-     * Retrieve the contents of the cache
907
-     * @link https://php.net/manual/en/cachingiterator.getcache.php
908
-     * @return array An array containing the cache items.
909
-     * @throws BadMethodCallException when the {@see CachingIterator::FULL_CACHE} flag is not being used.
910
-     */
911
-    #[TentativeType]
912
-    public function getCache(): array {}
913
-
914
-    /**
915
-     * The number of elements in the iterator
916
-     * @link https://php.net/manual/en/cachingiterator.count.php
917
-     * @return int The count of the elements iterated over.
918
-     * @throws BadMethodCallException when the {@see CachingIterator::FULL_CACHE} flag is not being used.
919
-     * @since 5.2.2
920
-     */
921
-    #[TentativeType]
922
-    public function count(): int {}
745
+	/**
746
+	 * String conversion flag (mutually exclusive): Uses the current element for the iterator's string conversion.
747
+	 * This converts the current element to a string only once, regardless of whether it is needed or not.
748
+	 */
749
+	public const CALL_TOSTRING = 1;
750
+
751
+	/**
752
+	 * String conversion flag (mutually exclusive). Uses the current key for the iterator's string conversion.
753
+	 */
754
+	public const TOSTRING_USE_KEY = 2;
755
+
756
+	/**
757
+	 * String conversion flag (mutually exclusive). Uses the current element for the iterator's string conversion.
758
+	 * This converts the current element to a string only when (and every time) it is needed.
759
+	 */
760
+	public const TOSTRING_USE_CURRENT = 4;
761
+
762
+	/**
763
+	 * String conversion flag (mutually exclusive). Forwards the string conversion to the inner iterator.
764
+	 * This converts the inner iterator to a string only once, regardless of whether it is needed or not.
765
+	 */
766
+	public const TOSTRING_USE_INNER = 8;
767
+
768
+	/**
769
+	 * Ignore exceptions thrown in accessing children. Only used with {@see RecursiveCachingIterator}.
770
+	 */
771
+	public const CATCH_GET_CHILD = 16;
772
+
773
+	/**
774
+	 * Cache all read data. This is needed to use {@see CachingIterator::getCache}, and ArrayAccess and Countable methods.
775
+	 */
776
+	public const FULL_CACHE = 256;
777
+
778
+	/**
779
+	 * Constructs a new CachingIterator.
780
+	 * @link https://php.net/manual/en/cachingiterator.construct.php
781
+	 * @param Iterator $iterator The iterator to cache.
782
+	 * @param int $flags [optional] A bitmask of flags. See CachingIterator class constants for details.
783
+	 */
784
+	public function __construct(Iterator $iterator, #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = self::CALL_TOSTRING) {}
785
+
786
+	/**
787
+	 * Rewind the iterator
788
+	 * @link https://php.net/manual/en/cachingiterator.rewind.php
789
+	 * @return void
790
+	 */
791
+	#[TentativeType]
792
+	public function rewind(): void {}
793
+
794
+	/**
795
+	 * Check whether the current element is valid
796
+	 * @link https://php.net/manual/en/cachingiterator.valid.php
797
+	 * @return bool true on success or false on failure.
798
+	 */
799
+	#[TentativeType]
800
+	public function valid(): bool {}
801
+
802
+	/**
803
+	 * Return the key for the current element
804
+	 * @link https://php.net/manual/en/cachingiterator.key.php
805
+	 * @return string|float|int|bool|null
806
+	 */
807
+	public function key() {}
808
+
809
+	/**
810
+	 * Return the current element
811
+	 * @link https://php.net/manual/en/cachingiterator.current.php
812
+	 * @return mixed
813
+	 */
814
+	public function current() {}
815
+
816
+	/**
817
+	 * Move the iterator forward
818
+	 * @link https://php.net/manual/en/cachingiterator.next.php
819
+	 * @return void
820
+	 */
821
+	#[TentativeType]
822
+	public function next(): void {}
823
+
824
+	/**
825
+	 * Check whether the inner iterator has a valid next element
826
+	 * @link https://php.net/manual/en/cachingiterator.hasnext.php
827
+	 * @return bool true on success or false on failure.
828
+	 */
829
+	#[TentativeType]
830
+	public function hasNext(): bool {}
831
+
832
+	/**
833
+	 * Return the string representation of the current iteration based on the flag being used.
834
+	 * @link https://php.net/manual/en/cachingiterator.tostring.php
835
+	 * @return string The string representation of the current iteration based on the flag being used.
836
+	 */
837
+	#[TentativeType]
838
+	public function __toString(): string {}
839
+
840
+	/**
841
+	 * Returns the inner iterator
842
+	 * @link https://php.net/manual/en/cachingiterator.getinneriterator.php
843
+	 * @return Iterator an object implementing the Iterator interface.
844
+	 */
845
+	public function getInnerIterator() {}
846
+
847
+	/**
848
+	 * Get flags used
849
+	 * @link https://php.net/manual/en/cachingiterator.getflags.php
850
+	 * @return int Bitmask of the flags
851
+	 */
852
+	#[TentativeType]
853
+	public function getFlags(): int {}
854
+
855
+	/**
856
+	 * The setFlags purpose
857
+	 * @link https://php.net/manual/en/cachingiterator.setflags.php
858
+	 * @param int $flags Bitmask of the flags to set.
859
+	 * @return void
860
+	 */
861
+	#[TentativeType]
862
+	public function setFlags(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags): void {}
863
+
864
+	/**
865
+	 * Internal cache array index to retrieve.
866
+	 * @link https://php.net/manual/en/cachingiterator.offsetget.php
867
+	 * @param string $key The index of the element to retrieve.
868
+	 * @return mixed
869
+	 * @throws BadMethodCallException when the {@see CachingIterator::FULL_CACHE} flag is not being used.
870
+	 */
871
+	#[TentativeType]
872
+	public function offsetGet($key): mixed {}
873
+
874
+	/**
875
+	 * Set an element on the internal cache array.
876
+	 * @link https://php.net/manual/en/cachingiterator.offsetset.php
877
+	 * @param string $key The index of the element to be set.
878
+	 * @param string $value The new value for the <i>index</i>.
879
+	 * @return void
880
+	 * @throws BadMethodCallException when the {@see CachingIterator::FULL_CACHE} flag is not being used.
881
+	 */
882
+	#[TentativeType]
883
+	public function offsetSet($key, #[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $value): void {}
884
+
885
+	/**
886
+	 * Remove an element from the internal cache array.
887
+	 * @link https://php.net/manual/en/cachingiterator.offsetunset.php
888
+	 * @param string $key The index of the element to be unset.
889
+	 * @return void
890
+	 * @throws BadMethodCallException when the {@see CachingIterator::FULL_CACHE} flag is not being used.
891
+	 */
892
+	#[TentativeType]
893
+	public function offsetUnset($key): void {}
894
+
895
+	/**
896
+	 * Return whether an element at the index exists on the internal cache array.
897
+	 * @link https://php.net/manual/en/cachingiterator.offsetexists.php
898
+	 * @param string $key The index being checked.
899
+	 * @return bool true if an entry referenced by the offset exists, false otherwise.
900
+	 * @throws BadMethodCallException when the {@see CachingIterator::FULL_CACHE} flag is not being used.
901
+	 */
902
+	#[TentativeType]
903
+	public function offsetExists($key): bool {}
904
+
905
+	/**
906
+	 * Retrieve the contents of the cache
907
+	 * @link https://php.net/manual/en/cachingiterator.getcache.php
908
+	 * @return array An array containing the cache items.
909
+	 * @throws BadMethodCallException when the {@see CachingIterator::FULL_CACHE} flag is not being used.
910
+	 */
911
+	#[TentativeType]
912
+	public function getCache(): array {}
913
+
914
+	/**
915
+	 * The number of elements in the iterator
916
+	 * @link https://php.net/manual/en/cachingiterator.count.php
917
+	 * @return int The count of the elements iterated over.
918
+	 * @throws BadMethodCallException when the {@see CachingIterator::FULL_CACHE} flag is not being used.
919
+	 * @since 5.2.2
920
+	 */
921
+	#[TentativeType]
922
+	public function count(): int {}
923 923
 }
924 924
 
925 925
 /**
@@ -928,29 +928,29 @@  discard block
 block discarded – undo
928 928
  */
929 929
 class RecursiveCachingIterator extends CachingIterator implements RecursiveIterator
930 930
 {
931
-    /**
932
-     * Constructs a new RecursiveCachingIterator.
933
-     * @link https://php.net/manual/en/recursivecachingiterator.construct.php
934
-     * @param Iterator $iterator The iterator to cache.
935
-     * @param int $flags [optional] A bitmask of flags. See CachingIterator class constants for details.
936
-     */
937
-    public function __construct(Iterator $iterator, #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = self::CALL_TOSTRING) {}
938
-
939
-    /**
940
-     * Check whether the current element of the inner iterator has children
941
-     * @link https://php.net/manual/en/recursivecachingiterator.haschildren.php
942
-     * @return bool true if the inner iterator has children, otherwise false
943
-     */
944
-    #[TentativeType]
945
-    public function hasChildren(): bool {}
946
-
947
-    /**
948
-     * Return the inner iterator's children as a RecursiveCachingIterator
949
-     * @link https://php.net/manual/en/recursivecachingiterator.getchildren.php
950
-     * @return RecursiveCachingIterator|null The inner iterator's children, as a RecursiveCachingIterator.
951
-     */
952
-    #[TentativeType]
953
-    public function getChildren(): ?RecursiveCachingIterator {}
931
+	/**
932
+	 * Constructs a new RecursiveCachingIterator.
933
+	 * @link https://php.net/manual/en/recursivecachingiterator.construct.php
934
+	 * @param Iterator $iterator The iterator to cache.
935
+	 * @param int $flags [optional] A bitmask of flags. See CachingIterator class constants for details.
936
+	 */
937
+	public function __construct(Iterator $iterator, #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = self::CALL_TOSTRING) {}
938
+
939
+	/**
940
+	 * Check whether the current element of the inner iterator has children
941
+	 * @link https://php.net/manual/en/recursivecachingiterator.haschildren.php
942
+	 * @return bool true if the inner iterator has children, otherwise false
943
+	 */
944
+	#[TentativeType]
945
+	public function hasChildren(): bool {}
946
+
947
+	/**
948
+	 * Return the inner iterator's children as a RecursiveCachingIterator
949
+	 * @link https://php.net/manual/en/recursivecachingiterator.getchildren.php
950
+	 * @return RecursiveCachingIterator|null The inner iterator's children, as a RecursiveCachingIterator.
951
+	 */
952
+	#[TentativeType]
953
+	public function getChildren(): ?RecursiveCachingIterator {}
954 954
 }
955 955
 
956 956
 /**
@@ -959,59 +959,59 @@  discard block
 block discarded – undo
959 959
  */
960 960
 class NoRewindIterator extends IteratorIterator
961 961
 {
962
-    /**
963
-     * Construct a NoRewindIterator
964
-     * @link https://php.net/manual/en/norewinditerator.construct.php
965
-     * @param Iterator $iterator
966
-     */
967
-    public function __construct(Iterator $iterator) {}
968
-
969
-    /**
970
-     * Prevents the rewind operation on the inner iterator.
971
-     * @link https://php.net/manual/en/norewinditerator.rewind.php
972
-     * @return void
973
-     */
974
-    #[TentativeType]
975
-    public function rewind(): void {}
976
-
977
-    /**
978
-     * Validates the iterator
979
-     * @link https://php.net/manual/en/norewinditerator.valid.php
980
-     * @return bool true on success or false on failure.
981
-     */
982
-    #[TentativeType]
983
-    public function valid(): bool {}
984
-
985
-    /**
986
-     * Get the current key
987
-     * @link https://php.net/manual/en/norewinditerator.key.php
988
-     * @return string|float|int|bool|null The current key.
989
-     */
990
-    #[TentativeType]
991
-    public function key(): mixed {}
992
-
993
-    /**
994
-     * Get the current value
995
-     * @link https://php.net/manual/en/norewinditerator.current.php
996
-     * @return mixed The current value.
997
-     */
998
-    #[TentativeType]
999
-    public function current(): mixed {}
1000
-
1001
-    /**
1002
-     * Forward to the next element
1003
-     * @link https://php.net/manual/en/norewinditerator.next.php
1004
-     * @return void
1005
-     */
1006
-    #[TentativeType]
1007
-    public function next(): void {}
1008
-
1009
-    /**
1010
-     * Get the inner iterator
1011
-     * @link https://php.net/manual/en/norewinditerator.getinneriterator.php
1012
-     * @return Iterator The inner iterator, as passed to <b>NoRewindIterator::__construct</b>.
1013
-     */
1014
-    public function getInnerIterator() {}
962
+	/**
963
+	 * Construct a NoRewindIterator
964
+	 * @link https://php.net/manual/en/norewinditerator.construct.php
965
+	 * @param Iterator $iterator
966
+	 */
967
+	public function __construct(Iterator $iterator) {}
968
+
969
+	/**
970
+	 * Prevents the rewind operation on the inner iterator.
971
+	 * @link https://php.net/manual/en/norewinditerator.rewind.php
972
+	 * @return void
973
+	 */
974
+	#[TentativeType]
975
+	public function rewind(): void {}
976
+
977
+	/**
978
+	 * Validates the iterator
979
+	 * @link https://php.net/manual/en/norewinditerator.valid.php
980
+	 * @return bool true on success or false on failure.
981
+	 */
982
+	#[TentativeType]
983
+	public function valid(): bool {}
984
+
985
+	/**
986
+	 * Get the current key
987
+	 * @link https://php.net/manual/en/norewinditerator.key.php
988
+	 * @return string|float|int|bool|null The current key.
989
+	 */
990
+	#[TentativeType]
991
+	public function key(): mixed {}
992
+
993
+	/**
994
+	 * Get the current value
995
+	 * @link https://php.net/manual/en/norewinditerator.current.php
996
+	 * @return mixed The current value.
997
+	 */
998
+	#[TentativeType]
999
+	public function current(): mixed {}
1000
+
1001
+	/**
1002
+	 * Forward to the next element
1003
+	 * @link https://php.net/manual/en/norewinditerator.next.php
1004
+	 * @return void
1005
+	 */
1006
+	#[TentativeType]
1007
+	public function next(): void {}
1008
+
1009
+	/**
1010
+	 * Get the inner iterator
1011
+	 * @link https://php.net/manual/en/norewinditerator.getinneriterator.php
1012
+	 * @return Iterator The inner iterator, as passed to <b>NoRewindIterator::__construct</b>.
1013
+	 */
1014
+	public function getInnerIterator() {}
1015 1015
 }
1016 1016
 
1017 1017
 /**
@@ -1020,84 +1020,84 @@  discard block
 block discarded – undo
1020 1020
  */
1021 1021
 class AppendIterator extends IteratorIterator
1022 1022
 {
1023
-    /**
1024
-     * Constructs an AppendIterator
1025
-     * @link https://php.net/manual/en/appenditerator.construct.php
1026
-     */
1027
-    public function __construct() {}
1028
-
1029
-    /**
1030
-     * Appends an iterator
1031
-     * @link https://php.net/manual/en/appenditerator.append.php
1032
-     * @param Iterator $iterator <p>
1033
-     * The iterator to append.
1034
-     * </p>
1035
-     * @return void
1036
-     */
1037
-    #[TentativeType]
1038
-    public function append(Iterator $iterator): void {}
1039
-
1040
-    /**
1041
-     * Rewinds the Iterator
1042
-     * @link https://php.net/manual/en/appenditerator.rewind.php
1043
-     * @return void
1044
-     */
1045
-    #[TentativeType]
1046
-    public function rewind(): void {}
1047
-
1048
-    /**
1049
-     * Checks validity of the current element
1050
-     * @link https://php.net/manual/en/appenditerator.valid.php
1051
-     * @return bool true on success or false on failure.
1052
-     */
1053
-    #[TentativeType]
1054
-    public function valid(): bool {}
1055
-
1056
-    /**
1057
-     * Gets the current key
1058
-     * @link https://php.net/manual/en/appenditerator.key.php
1059
-     * @return string|float|int|bool|null The current key if it is valid or null otherwise.
1060
-     */
1061
-    public function key() {}
1062
-
1063
-    /**
1064
-     * Gets the current value
1065
-     * @link https://php.net/manual/en/appenditerator.current.php
1066
-     * @return mixed The current value if it is valid or null otherwise.
1067
-     */
1068
-    #[TentativeType]
1069
-    public function current(): mixed {}
1070
-
1071
-    /**
1072
-     * Moves to the next element
1073
-     * @link https://php.net/manual/en/appenditerator.next.php
1074
-     * @return void
1075
-     */
1076
-    #[TentativeType]
1077
-    public function next(): void {}
1078
-
1079
-    /**
1080
-     * Gets an inner iterator
1081
-     * @link https://php.net/manual/en/appenditerator.getinneriterator.php
1082
-     * @return Iterator the current inner Iterator.
1083
-     */
1084
-    public function getInnerIterator() {}
1085
-
1086
-    /**
1087
-     * Gets an index of iterators
1088
-     * @link https://php.net/manual/en/appenditerator.getiteratorindex.php
1089
-     * @return int|null The index of iterators.
1090
-     */
1091
-    #[TentativeType]
1092
-    public function getIteratorIndex(): ?int {}
1093
-
1094
-    /**
1095
-     * The getArrayIterator method
1096
-     * @link https://php.net/manual/en/appenditerator.getarrayiterator.php
1097
-     * @return ArrayIterator containing the appended iterators.
1098
-     */
1099
-    #[TentativeType]
1100
-    public function getArrayIterator(): ArrayIterator {}
1023
+	/**
1024
+	 * Constructs an AppendIterator
1025
+	 * @link https://php.net/manual/en/appenditerator.construct.php
1026
+	 */
1027
+	public function __construct() {}
1028
+
1029
+	/**
1030
+	 * Appends an iterator
1031
+	 * @link https://php.net/manual/en/appenditerator.append.php
1032
+	 * @param Iterator $iterator <p>
1033
+	 * The iterator to append.
1034
+	 * </p>
1035
+	 * @return void
1036
+	 */
1037
+	#[TentativeType]
1038
+	public function append(Iterator $iterator): void {}
1039
+
1040
+	/**
1041
+	 * Rewinds the Iterator
1042
+	 * @link https://php.net/manual/en/appenditerator.rewind.php
1043
+	 * @return void
1044
+	 */
1045
+	#[TentativeType]
1046
+	public function rewind(): void {}
1047
+
1048
+	/**
1049
+	 * Checks validity of the current element
1050
+	 * @link https://php.net/manual/en/appenditerator.valid.php
1051
+	 * @return bool true on success or false on failure.
1052
+	 */
1053
+	#[TentativeType]
1054
+	public function valid(): bool {}
1055
+
1056
+	/**
1057
+	 * Gets the current key
1058
+	 * @link https://php.net/manual/en/appenditerator.key.php
1059
+	 * @return string|float|int|bool|null The current key if it is valid or null otherwise.
1060
+	 */
1061
+	public function key() {}
1062
+
1063
+	/**
1064
+	 * Gets the current value
1065
+	 * @link https://php.net/manual/en/appenditerator.current.php
1066
+	 * @return mixed The current value if it is valid or null otherwise.
1067
+	 */
1068
+	#[TentativeType]
1069
+	public function current(): mixed {}
1070
+
1071
+	/**
1072
+	 * Moves to the next element
1073
+	 * @link https://php.net/manual/en/appenditerator.next.php
1074
+	 * @return void
1075
+	 */
1076
+	#[TentativeType]
1077
+	public function next(): void {}
1078
+
1079
+	/**
1080
+	 * Gets an inner iterator
1081
+	 * @link https://php.net/manual/en/appenditerator.getinneriterator.php
1082
+	 * @return Iterator the current inner Iterator.
1083
+	 */
1084
+	public function getInnerIterator() {}
1085
+
1086
+	/**
1087
+	 * Gets an index of iterators
1088
+	 * @link https://php.net/manual/en/appenditerator.getiteratorindex.php
1089
+	 * @return int|null The index of iterators.
1090
+	 */
1091
+	#[TentativeType]
1092
+	public function getIteratorIndex(): ?int {}
1093
+
1094
+	/**
1095
+	 * The getArrayIterator method
1096
+	 * @link https://php.net/manual/en/appenditerator.getarrayiterator.php
1097
+	 * @return ArrayIterator containing the appended iterators.
1098
+	 */
1099
+	#[TentativeType]
1100
+	public function getArrayIterator(): ArrayIterator {}
1101 1101
 }
1102 1102
 
1103 1103
 /**
@@ -1108,20 +1108,20 @@  discard block
 block discarded – undo
1108 1108
  */
1109 1109
 class InfiniteIterator extends IteratorIterator
1110 1110
 {
1111
-    /**
1112
-     * Constructs an InfiniteIterator
1113
-     * @link https://php.net/manual/en/infiniteiterator.construct.php
1114
-     * @param Iterator $iterator
1115
-     */
1116
-    public function __construct(Iterator $iterator) {}
1117
-
1118
-    /**
1119
-     * Moves the inner Iterator forward or rewinds it
1120
-     * @link https://php.net/manual/en/infiniteiterator.next.php
1121
-     * @return void
1122
-     */
1123
-    #[TentativeType]
1124
-    public function next(): void {}
1111
+	/**
1112
+	 * Constructs an InfiniteIterator
1113
+	 * @link https://php.net/manual/en/infiniteiterator.construct.php
1114
+	 * @param Iterator $iterator
1115
+	 */
1116
+	public function __construct(Iterator $iterator) {}
1117
+
1118
+	/**
1119
+	 * Moves the inner Iterator forward or rewinds it
1120
+	 * @link https://php.net/manual/en/infiniteiterator.next.php
1121
+	 * @return void
1122
+	 */
1123
+	#[TentativeType]
1124
+	public function next(): void {}
1125 1125
 }
1126 1126
 
1127 1127
 /**
@@ -1130,192 +1130,192 @@  discard block
 block discarded – undo
1130 1130
  */
1131 1131
 class RegexIterator extends FilterIterator
1132 1132
 {
1133
-    /**
1134
-     * Return all matches for the current entry @see preg_match_all
1135
-     */
1136
-    public const ALL_MATCHES = 2;
1137
-
1138
-    /**
1139
-     * Return the first match for the current entry @see preg_match
1140
-     */
1141
-    public const GET_MATCH = 1;
1142
-
1143
-    /**
1144
-     * Only execute match (filter) for the current entry @see preg_match
1145
-     */
1146
-    public const MATCH = 0;
1147
-
1148
-    /**
1149
-     * Replace the current entry (Not fully implemented yet) @see preg_replace
1150
-     */
1151
-    public const REPLACE = 4;
1152
-
1153
-    /**
1154
-     * Returns the split values for the current entry @see preg_split
1155
-     */
1156
-    public const SPLIT = 3;
1157
-
1158
-    /**
1159
-     * Special flag: Match the entry key instead of the entry value.
1160
-     */
1161
-    public const USE_KEY = 1;
1162
-
1163
-    public const INVERT_MATCH = 2;
1164
-
1165
-    #[LanguageLevelTypeAware(['8.1' => 'string|null'], default: '')]
1166
-    public $replacement;
1167
-
1168
-    /**
1169
-     * Create a new RegexIterator
1170
-     * @link https://php.net/manual/en/regexiterator.construct.php
1171
-     * @param Iterator $iterator The iterator to apply this regex filter to.
1172
-     * @param string $pattern The regular expression to match.
1173
-     * @param int $mode [optional] Operation mode, see RegexIterator::setMode() for a list of modes.
1174
-     * @param int $flags [optional] Special flags, see RegexIterator::setFlags() for a list of available flags.
1175
-     * @param int $pregFlags [optional] The regular expression flags. These flags depend on the operation mode parameter
1176
-     */
1177
-    public function __construct(
1178
-        Iterator $iterator,
1179
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $pattern,
1180
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $mode = self::MATCH,
1181
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = 0,
1182
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $pregFlags = 0
1183
-    ) {}
1184
-
1185
-    /**
1186
-     * Get accept status
1187
-     * @link https://php.net/manual/en/regexiterator.accept.php
1188
-     * @return bool true if a match, false otherwise.
1189
-     */
1190
-    #[TentativeType]
1191
-    public function accept(): bool {}
1192
-
1193
-    /**
1194
-     * Returns operation mode.
1195
-     * @link https://php.net/manual/en/regexiterator.getmode.php
1196
-     * @return int the operation mode.
1197
-     */
1198
-    #[TentativeType]
1199
-    public function getMode(): int {}
1200
-
1201
-    /**
1202
-     * Sets the operation mode.
1203
-     * @link https://php.net/manual/en/regexiterator.setmode.php
1204
-     * @param int $mode <p>
1205
-     * The operation mode.
1206
-     * </p>
1207
-     * <p>
1208
-     * The available modes are listed below. The actual
1209
-     * meanings of these modes are described in the
1210
-     * predefined constants.
1211
-     * <table>
1212
-     * <b>RegexIterator</b> modes
1213
-     * <tr valign="top">
1214
-     * <td>value</td>
1215
-     * <td>constant</td>
1216
-     * </tr>
1217
-     * <tr valign="top">
1218
-     * <td>0</td>
1219
-     * <td>
1220
-     * RegexIterator::MATCH
1221
-     * </td>
1222
-     * </tr>
1223
-     * <tr valign="top">
1224
-     * <td>1</td>
1225
-     * <td>
1226
-     * RegexIterator::GET_MATCH
1227
-     * </td>
1228
-     * </tr>
1229
-     * <tr valign="top">
1230
-     * <td>2</td>
1231
-     * <td>
1232
-     * RegexIterator::ALL_MATCHES
1233
-     * </td>
1234
-     * </tr>
1235
-     * <tr valign="top">
1236
-     * <td>3</td>
1237
-     * <td>
1238
-     * RegexIterator::SPLIT
1239
-     * </td>
1240
-     * </tr>
1241
-     * <tr valign="top">
1242
-     * <td>4</td>
1243
-     * <td>
1244
-     * RegexIterator::REPLACE
1245
-     * </td>
1246
-     * </tr>
1247
-     * </table>
1248
-     * </p>
1249
-     * @return void
1250
-     */
1251
-    #[TentativeType]
1252
-    public function setMode(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $mode): void {}
1253
-
1254
-    /**
1255
-     * Get flags
1256
-     * @link https://php.net/manual/en/regexiterator.getflags.php
1257
-     * @return int the set flags.
1258
-     */
1259
-    #[TentativeType]
1260
-    public function getFlags(): int {}
1261
-
1262
-    /**
1263
-     * Sets the flags.
1264
-     * @link https://php.net/manual/en/regexiterator.setflags.php
1265
-     * @param int $flags <p>
1266
-     * The flags to set, a bitmask of class constants.
1267
-     * </p>
1268
-     * <p>
1269
-     * The available flags are listed below. The actual
1270
-     * meanings of these flags are described in the
1271
-     * predefined constants.
1272
-     * <table>
1273
-     * <b>RegexIterator</b> flags
1274
-     * <tr valign="top">
1275
-     * <td>value</td>
1276
-     * <td>constant</td>
1277
-     * </tr>
1278
-     * <tr valign="top">
1279
-     * <td>1</td>
1280
-     * <td>
1281
-     * RegexIterator::USE_KEY
1282
-     * </td>
1283
-     * </tr>
1284
-     * </table>
1285
-     * </p>
1286
-     * @return void
1287
-     */
1288
-    #[TentativeType]
1289
-    public function setFlags(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags): void {}
1290
-
1291
-    /**
1292
-     * Returns current regular expression
1293
-     * @link https://secure.php.net/manual/en/regexiterator.getregex.php
1294
-     * @return string
1295
-     * @since 5.4
1296
-     */
1297
-    #[TentativeType]
1298
-    public function getRegex(): string {}
1299
-
1300
-    /**
1301
-     * Returns the regular expression flags.
1302
-     * @link https://php.net/manual/en/regexiterator.getpregflags.php
1303
-     * @return int a bitmask of the regular expression flags.
1304
-     */
1305
-    #[TentativeType]
1306
-    public function getPregFlags(): int {}
1307
-
1308
-    /**
1309
-     * Sets the regular expression flags.
1310
-     * @link https://php.net/manual/en/regexiterator.setpregflags.php
1311
-     * @param int $pregFlags <p>
1312
-     * The regular expression flags. See <b>RegexIterator::__construct</b>
1313
-     * for an overview of available flags.
1314
-     * </p>
1315
-     * @return void
1316
-     */
1317
-    #[TentativeType]
1318
-    public function setPregFlags(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $pregFlags): void {}
1133
+	/**
1134
+	 * Return all matches for the current entry @see preg_match_all
1135
+	 */
1136
+	public const ALL_MATCHES = 2;
1137
+
1138
+	/**
1139
+	 * Return the first match for the current entry @see preg_match
1140
+	 */
1141
+	public const GET_MATCH = 1;
1142
+
1143
+	/**
1144
+	 * Only execute match (filter) for the current entry @see preg_match
1145
+	 */
1146
+	public const MATCH = 0;
1147
+
1148
+	/**
1149
+	 * Replace the current entry (Not fully implemented yet) @see preg_replace
1150
+	 */
1151
+	public const REPLACE = 4;
1152
+
1153
+	/**
1154
+	 * Returns the split values for the current entry @see preg_split
1155
+	 */
1156
+	public const SPLIT = 3;
1157
+
1158
+	/**
1159
+	 * Special flag: Match the entry key instead of the entry value.
1160
+	 */
1161
+	public const USE_KEY = 1;
1162
+
1163
+	public const INVERT_MATCH = 2;
1164
+
1165
+	#[LanguageLevelTypeAware(['8.1' => 'string|null'], default: '')]
1166
+	public $replacement;
1167
+
1168
+	/**
1169
+	 * Create a new RegexIterator
1170
+	 * @link https://php.net/manual/en/regexiterator.construct.php
1171
+	 * @param Iterator $iterator The iterator to apply this regex filter to.
1172
+	 * @param string $pattern The regular expression to match.
1173
+	 * @param int $mode [optional] Operation mode, see RegexIterator::setMode() for a list of modes.
1174
+	 * @param int $flags [optional] Special flags, see RegexIterator::setFlags() for a list of available flags.
1175
+	 * @param int $pregFlags [optional] The regular expression flags. These flags depend on the operation mode parameter
1176
+	 */
1177
+	public function __construct(
1178
+		Iterator $iterator,
1179
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $pattern,
1180
+		#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $mode = self::MATCH,
1181
+		#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = 0,
1182
+		#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $pregFlags = 0
1183
+	) {}
1184
+
1185
+	/**
1186
+	 * Get accept status
1187
+	 * @link https://php.net/manual/en/regexiterator.accept.php
1188
+	 * @return bool true if a match, false otherwise.
1189
+	 */
1190
+	#[TentativeType]
1191
+	public function accept(): bool {}
1192
+
1193
+	/**
1194
+	 * Returns operation mode.
1195
+	 * @link https://php.net/manual/en/regexiterator.getmode.php
1196
+	 * @return int the operation mode.
1197
+	 */
1198
+	#[TentativeType]
1199
+	public function getMode(): int {}
1200
+
1201
+	/**
1202
+	 * Sets the operation mode.
1203
+	 * @link https://php.net/manual/en/regexiterator.setmode.php
1204
+	 * @param int $mode <p>
1205
+	 * The operation mode.
1206
+	 * </p>
1207
+	 * <p>
1208
+	 * The available modes are listed below. The actual
1209
+	 * meanings of these modes are described in the
1210
+	 * predefined constants.
1211
+	 * <table>
1212
+	 * <b>RegexIterator</b> modes
1213
+	 * <tr valign="top">
1214
+	 * <td>value</td>
1215
+	 * <td>constant</td>
1216
+	 * </tr>
1217
+	 * <tr valign="top">
1218
+	 * <td>0</td>
1219
+	 * <td>
1220
+	 * RegexIterator::MATCH
1221
+	 * </td>
1222
+	 * </tr>
1223
+	 * <tr valign="top">
1224
+	 * <td>1</td>
1225
+	 * <td>
1226
+	 * RegexIterator::GET_MATCH
1227
+	 * </td>
1228
+	 * </tr>
1229
+	 * <tr valign="top">
1230
+	 * <td>2</td>
1231
+	 * <td>
1232
+	 * RegexIterator::ALL_MATCHES
1233
+	 * </td>
1234
+	 * </tr>
1235
+	 * <tr valign="top">
1236
+	 * <td>3</td>
1237
+	 * <td>
1238
+	 * RegexIterator::SPLIT
1239
+	 * </td>
1240
+	 * </tr>
1241
+	 * <tr valign="top">
1242
+	 * <td>4</td>
1243
+	 * <td>
1244
+	 * RegexIterator::REPLACE
1245
+	 * </td>
1246
+	 * </tr>
1247
+	 * </table>
1248
+	 * </p>
1249
+	 * @return void
1250
+	 */
1251
+	#[TentativeType]
1252
+	public function setMode(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $mode): void {}
1253
+
1254
+	/**
1255
+	 * Get flags
1256
+	 * @link https://php.net/manual/en/regexiterator.getflags.php
1257
+	 * @return int the set flags.
1258
+	 */
1259
+	#[TentativeType]
1260
+	public function getFlags(): int {}
1261
+
1262
+	/**
1263
+	 * Sets the flags.
1264
+	 * @link https://php.net/manual/en/regexiterator.setflags.php
1265
+	 * @param int $flags <p>
1266
+	 * The flags to set, a bitmask of class constants.
1267
+	 * </p>
1268
+	 * <p>
1269
+	 * The available flags are listed below. The actual
1270
+	 * meanings of these flags are described in the
1271
+	 * predefined constants.
1272
+	 * <table>
1273
+	 * <b>RegexIterator</b> flags
1274
+	 * <tr valign="top">
1275
+	 * <td>value</td>
1276
+	 * <td>constant</td>
1277
+	 * </tr>
1278
+	 * <tr valign="top">
1279
+	 * <td>1</td>
1280
+	 * <td>
1281
+	 * RegexIterator::USE_KEY
1282
+	 * </td>
1283
+	 * </tr>
1284
+	 * </table>
1285
+	 * </p>
1286
+	 * @return void
1287
+	 */
1288
+	#[TentativeType]
1289
+	public function setFlags(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags): void {}
1290
+
1291
+	/**
1292
+	 * Returns current regular expression
1293
+	 * @link https://secure.php.net/manual/en/regexiterator.getregex.php
1294
+	 * @return string
1295
+	 * @since 5.4
1296
+	 */
1297
+	#[TentativeType]
1298
+	public function getRegex(): string {}
1299
+
1300
+	/**
1301
+	 * Returns the regular expression flags.
1302
+	 * @link https://php.net/manual/en/regexiterator.getpregflags.php
1303
+	 * @return int a bitmask of the regular expression flags.
1304
+	 */
1305
+	#[TentativeType]
1306
+	public function getPregFlags(): int {}
1307
+
1308
+	/**
1309
+	 * Sets the regular expression flags.
1310
+	 * @link https://php.net/manual/en/regexiterator.setpregflags.php
1311
+	 * @param int $pregFlags <p>
1312
+	 * The regular expression flags. See <b>RegexIterator::__construct</b>
1313
+	 * for an overview of available flags.
1314
+	 * </p>
1315
+	 * @return void
1316
+	 */
1317
+	#[TentativeType]
1318
+	public function setPregFlags(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $pregFlags): void {}
1319 1319
 }
1320 1320
 
1321 1321
 /**
@@ -1324,38 +1324,38 @@  discard block
 block discarded – undo
1324 1324
  */
1325 1325
 class RecursiveRegexIterator extends RegexIterator implements RecursiveIterator
1326 1326
 {
1327
-    /**
1328
-     * Creates a new RecursiveRegexIterator.
1329
-     * @link https://php.net/manual/en/recursiveregexiterator.construct.php
1330
-     * @param RecursiveIterator $iterator The iterator to apply this regex filter to.
1331
-     * @param string $pattern The regular expression to match.
1332
-     * @param int $mode [optional] Operation mode, see RegexIterator::setMode() for a list of modes.
1333
-     * @param int $flags [optional] Special flags, see RegexIterator::setFlags() for a list of available flags.
1334
-     * @param int $pregFlags [optional] The regular expression flags. These flags depend on the operation mode parameter
1335
-     */
1336
-    public function __construct(
1337
-        RecursiveIterator $iterator,
1338
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $pattern,
1339
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $mode = self::MATCH,
1340
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = 0,
1341
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $pregFlags = 0
1342
-    ) {}
1343
-
1344
-    /**
1345
-     * Returns whether an iterator can be obtained for the current entry.
1346
-     * @link https://php.net/manual/en/recursiveregexiterator.haschildren.php
1347
-     * @return bool true if an iterator can be obtained for the current entry, otherwise returns false.
1348
-     */
1349
-    #[TentativeType]
1350
-    public function hasChildren(): bool {}
1351
-
1352
-    /**
1353
-     * Returns an iterator for the current entry.
1354
-     * @link https://php.net/manual/en/recursiveregexiterator.getchildren.php
1355
-     * @return RecursiveRegexIterator An iterator for the current entry, if it can be iterated over by the inner iterator.
1356
-     */
1357
-    #[TentativeType]
1358
-    public function getChildren(): RecursiveRegexIterator {}
1327
+	/**
1328
+	 * Creates a new RecursiveRegexIterator.
1329
+	 * @link https://php.net/manual/en/recursiveregexiterator.construct.php
1330
+	 * @param RecursiveIterator $iterator The iterator to apply this regex filter to.
1331
+	 * @param string $pattern The regular expression to match.
1332
+	 * @param int $mode [optional] Operation mode, see RegexIterator::setMode() for a list of modes.
1333
+	 * @param int $flags [optional] Special flags, see RegexIterator::setFlags() for a list of available flags.
1334
+	 * @param int $pregFlags [optional] The regular expression flags. These flags depend on the operation mode parameter
1335
+	 */
1336
+	public function __construct(
1337
+		RecursiveIterator $iterator,
1338
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $pattern,
1339
+		#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $mode = self::MATCH,
1340
+		#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = 0,
1341
+		#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $pregFlags = 0
1342
+	) {}
1343
+
1344
+	/**
1345
+	 * Returns whether an iterator can be obtained for the current entry.
1346
+	 * @link https://php.net/manual/en/recursiveregexiterator.haschildren.php
1347
+	 * @return bool true if an iterator can be obtained for the current entry, otherwise returns false.
1348
+	 */
1349
+	#[TentativeType]
1350
+	public function hasChildren(): bool {}
1351
+
1352
+	/**
1353
+	 * Returns an iterator for the current entry.
1354
+	 * @link https://php.net/manual/en/recursiveregexiterator.getchildren.php
1355
+	 * @return RecursiveRegexIterator An iterator for the current entry, if it can be iterated over by the inner iterator.
1356
+	 */
1357
+	#[TentativeType]
1358
+	public function getChildren(): RecursiveRegexIterator {}
1359 1359
 }
1360 1360
 
1361 1361
 /**
@@ -1364,163 +1364,163 @@  discard block
 block discarded – undo
1364 1364
  */
1365 1365
 class RecursiveTreeIterator extends RecursiveIteratorIterator
1366 1366
 {
1367
-    public const BYPASS_CURRENT = 4;
1368
-    public const BYPASS_KEY = 8;
1369
-
1370
-    public const PREFIX_LEFT = 0;
1371
-    public const PREFIX_MID_HAS_NEXT = 1;
1372
-    public const PREFIX_MID_LAST = 2;
1373
-    public const PREFIX_END_HAS_NEXT = 3;
1374
-    public const PREFIX_END_LAST = 4;
1375
-    public const PREFIX_RIGHT = 5;
1376
-
1377
-    /**
1378
-     * Construct a RecursiveTreeIterator
1379
-     * @link https://php.net/manual/en/recursivetreeiterator.construct.php
1380
-     * @param RecursiveIterator|IteratorAggregate $iterator
1381
-     * @param int $flags [optional] Flags to control the behavior of the RecursiveTreeIterator object.
1382
-     * @param int $cachingIteratorFlags [optional] Flags to affect the behavior of the {@see RecursiveCachingIterator} used internally.
1383
-     * @param int $mode [optional] Flags to affect the behavior of the {@see RecursiveIteratorIterator} used internally.
1384
-     */
1385
-    public function __construct(
1386
-        $iterator,
1387
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = self::BYPASS_KEY,
1388
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $cachingIteratorFlags = CachingIterator::CATCH_GET_CHILD,
1389
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $mode = self::SELF_FIRST
1390
-    ) {}
1391
-
1392
-    /**
1393
-     * Rewind iterator
1394
-     * @link https://php.net/manual/en/recursivetreeiterator.rewind.php
1395
-     * @return void
1396
-     */
1397
-    public function rewind() {}
1398
-
1399
-    /**
1400
-     * Check validity
1401
-     * @link https://php.net/manual/en/recursivetreeiterator.valid.php
1402
-     * @return bool true if the current position is valid, otherwise false
1403
-     */
1404
-    public function valid() {}
1405
-
1406
-    /**
1407
-     * Get the key of the current element
1408
-     * @link https://php.net/manual/en/recursivetreeiterator.key.php
1409
-     * @return string the current key prefixed and postfixed.
1410
-     */
1411
-    #[TentativeType]
1412
-    public function key(): mixed {}
1413
-
1414
-    /**
1415
-     * Get current element
1416
-     * @link https://php.net/manual/en/recursivetreeiterator.current.php
1417
-     * @return string the current element prefixed and postfixed.
1418
-     */
1419
-    #[TentativeType]
1420
-    public function current(): mixed {}
1421
-
1422
-    /**
1423
-     * Move to next element
1424
-     * @link https://php.net/manual/en/recursivetreeiterator.next.php
1425
-     * @return void
1426
-     */
1427
-    public function next() {}
1428
-
1429
-    /**
1430
-     * Begin iteration
1431
-     * @link https://php.net/manual/en/recursivetreeiterator.beginiteration.php
1432
-     * @return RecursiveIterator A <b>RecursiveIterator</b>.
1433
-     */
1434
-    public function beginIteration() {}
1435
-
1436
-    /**
1437
-     * End iteration
1438
-     * @link https://php.net/manual/en/recursivetreeiterator.enditeration.php
1439
-     * @return void
1440
-     */
1441
-    public function endIteration() {}
1442
-
1443
-    /**
1444
-     * Has children
1445
-     * @link https://php.net/manual/en/recursivetreeiterator.callhaschildren.php
1446
-     * @return bool true if there are children, otherwise false
1447
-     */
1448
-    public function callHasChildren() {}
1449
-
1450
-    /**
1451
-     * Get children
1452
-     * @link https://php.net/manual/en/recursivetreeiterator.callgetchildren.php
1453
-     * @return RecursiveIterator A <b>RecursiveIterator</b>.
1454
-     */
1455
-    public function callGetChildren() {}
1456
-
1457
-    /**
1458
-     * Begin children
1459
-     * @link https://php.net/manual/en/recursivetreeiterator.beginchildren.php
1460
-     * @return void
1461
-     */
1462
-    public function beginChildren() {}
1463
-
1464
-    /**
1465
-     * End children
1466
-     * @link https://php.net/manual/en/recursivetreeiterator.endchildren.php
1467
-     * @return void
1468
-     */
1469
-    public function endChildren() {}
1470
-
1471
-    /**
1472
-     * Next element
1473
-     * @link https://php.net/manual/en/recursivetreeiterator.nextelement.php
1474
-     * @return void
1475
-     */
1476
-    public function nextElement() {}
1477
-
1478
-    /**
1479
-     * Get the prefix
1480
-     * @link https://php.net/manual/en/recursivetreeiterator.getprefix.php
1481
-     * @return string the string to place in front of current element
1482
-     */
1483
-    #[TentativeType]
1484
-    public function getPrefix(): string {}
1485
-
1486
-    /**
1487
-     * @param string $postfix
1488
-     */
1489
-    #[TentativeType]
1490
-    public function setPostfix(#[PhpStormStubsElementAvailable(from: '7.3')] string $postfix): void {}
1491
-
1492
-    /**
1493
-     * Set a part of the prefix
1494
-     * @link https://php.net/manual/en/recursivetreeiterator.setprefixpart.php
1495
-     * @param int $part <p>
1496
-     * One of the RecursiveTreeIterator::PREFIX_* constants.
1497
-     * </p>
1498
-     * @param string $value <p>
1499
-     * The value to assign to the part of the prefix specified in <i>part</i>.
1500
-     * </p>
1501
-     * @return void
1502
-     */
1503
-    #[TentativeType]
1504
-    public function setPrefixPart(
1505
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $part,
1506
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $value
1507
-    ): void {}
1508
-
1509
-    /**
1510
-     * Get current entry
1511
-     * @link https://php.net/manual/en/recursivetreeiterator.getentry.php
1512
-     * @return string the part of the tree built for the current element.
1513
-     */
1514
-    #[TentativeType]
1515
-    public function getEntry(): string {}
1516
-
1517
-    /**
1518
-     * Get the postfix
1519
-     * @link https://php.net/manual/en/recursivetreeiterator.getpostfix.php
1520
-     * @return string to place after the current element.
1521
-     */
1522
-    #[TentativeType]
1523
-    public function getPostfix(): string {}
1367
+	public const BYPASS_CURRENT = 4;
1368
+	public const BYPASS_KEY = 8;
1369
+
1370
+	public const PREFIX_LEFT = 0;
1371
+	public const PREFIX_MID_HAS_NEXT = 1;
1372
+	public const PREFIX_MID_LAST = 2;
1373
+	public const PREFIX_END_HAS_NEXT = 3;
1374
+	public const PREFIX_END_LAST = 4;
1375
+	public const PREFIX_RIGHT = 5;
1376
+
1377
+	/**
1378
+	 * Construct a RecursiveTreeIterator
1379
+	 * @link https://php.net/manual/en/recursivetreeiterator.construct.php
1380
+	 * @param RecursiveIterator|IteratorAggregate $iterator
1381
+	 * @param int $flags [optional] Flags to control the behavior of the RecursiveTreeIterator object.
1382
+	 * @param int $cachingIteratorFlags [optional] Flags to affect the behavior of the {@see RecursiveCachingIterator} used internally.
1383
+	 * @param int $mode [optional] Flags to affect the behavior of the {@see RecursiveIteratorIterator} used internally.
1384
+	 */
1385
+	public function __construct(
1386
+		$iterator,
1387
+		#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = self::BYPASS_KEY,
1388
+		#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $cachingIteratorFlags = CachingIterator::CATCH_GET_CHILD,
1389
+		#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $mode = self::SELF_FIRST
1390
+	) {}
1391
+
1392
+	/**
1393
+	 * Rewind iterator
1394
+	 * @link https://php.net/manual/en/recursivetreeiterator.rewind.php
1395
+	 * @return void
1396
+	 */
1397
+	public function rewind() {}
1398
+
1399
+	/**
1400
+	 * Check validity
1401
+	 * @link https://php.net/manual/en/recursivetreeiterator.valid.php
1402
+	 * @return bool true if the current position is valid, otherwise false
1403
+	 */
1404
+	public function valid() {}
1405
+
1406
+	/**
1407
+	 * Get the key of the current element
1408
+	 * @link https://php.net/manual/en/recursivetreeiterator.key.php
1409
+	 * @return string the current key prefixed and postfixed.
1410
+	 */
1411
+	#[TentativeType]
1412
+	public function key(): mixed {}
1413
+
1414
+	/**
1415
+	 * Get current element
1416
+	 * @link https://php.net/manual/en/recursivetreeiterator.current.php
1417
+	 * @return string the current element prefixed and postfixed.
1418
+	 */
1419
+	#[TentativeType]
1420
+	public function current(): mixed {}
1421
+
1422
+	/**
1423
+	 * Move to next element
1424
+	 * @link https://php.net/manual/en/recursivetreeiterator.next.php
1425
+	 * @return void
1426
+	 */
1427
+	public function next() {}
1428
+
1429
+	/**
1430
+	 * Begin iteration
1431
+	 * @link https://php.net/manual/en/recursivetreeiterator.beginiteration.php
1432
+	 * @return RecursiveIterator A <b>RecursiveIterator</b>.
1433
+	 */
1434
+	public function beginIteration() {}
1435
+
1436
+	/**
1437
+	 * End iteration
1438
+	 * @link https://php.net/manual/en/recursivetreeiterator.enditeration.php
1439
+	 * @return void
1440
+	 */
1441
+	public function endIteration() {}
1442
+
1443
+	/**
1444
+	 * Has children
1445
+	 * @link https://php.net/manual/en/recursivetreeiterator.callhaschildren.php
1446
+	 * @return bool true if there are children, otherwise false
1447
+	 */
1448
+	public function callHasChildren() {}
1449
+
1450
+	/**
1451
+	 * Get children
1452
+	 * @link https://php.net/manual/en/recursivetreeiterator.callgetchildren.php
1453
+	 * @return RecursiveIterator A <b>RecursiveIterator</b>.
1454
+	 */
1455
+	public function callGetChildren() {}
1456
+
1457
+	/**
1458
+	 * Begin children
1459
+	 * @link https://php.net/manual/en/recursivetreeiterator.beginchildren.php
1460
+	 * @return void
1461
+	 */
1462
+	public function beginChildren() {}
1463
+
1464
+	/**
1465
+	 * End children
1466
+	 * @link https://php.net/manual/en/recursivetreeiterator.endchildren.php
1467
+	 * @return void
1468
+	 */
1469
+	public function endChildren() {}
1470
+
1471
+	/**
1472
+	 * Next element
1473
+	 * @link https://php.net/manual/en/recursivetreeiterator.nextelement.php
1474
+	 * @return void
1475
+	 */
1476
+	public function nextElement() {}
1477
+
1478
+	/**
1479
+	 * Get the prefix
1480
+	 * @link https://php.net/manual/en/recursivetreeiterator.getprefix.php
1481
+	 * @return string the string to place in front of current element
1482
+	 */
1483
+	#[TentativeType]
1484
+	public function getPrefix(): string {}
1485
+
1486
+	/**
1487
+	 * @param string $postfix
1488
+	 */
1489
+	#[TentativeType]
1490
+	public function setPostfix(#[PhpStormStubsElementAvailable(from: '7.3')] string $postfix): void {}
1491
+
1492
+	/**
1493
+	 * Set a part of the prefix
1494
+	 * @link https://php.net/manual/en/recursivetreeiterator.setprefixpart.php
1495
+	 * @param int $part <p>
1496
+	 * One of the RecursiveTreeIterator::PREFIX_* constants.
1497
+	 * </p>
1498
+	 * @param string $value <p>
1499
+	 * The value to assign to the part of the prefix specified in <i>part</i>.
1500
+	 * </p>
1501
+	 * @return void
1502
+	 */
1503
+	#[TentativeType]
1504
+	public function setPrefixPart(
1505
+		#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $part,
1506
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $value
1507
+	): void {}
1508
+
1509
+	/**
1510
+	 * Get current entry
1511
+	 * @link https://php.net/manual/en/recursivetreeiterator.getentry.php
1512
+	 * @return string the part of the tree built for the current element.
1513
+	 */
1514
+	#[TentativeType]
1515
+	public function getEntry(): string {}
1516
+
1517
+	/**
1518
+	 * Get the postfix
1519
+	 * @link https://php.net/manual/en/recursivetreeiterator.getpostfix.php
1520
+	 * @return string to place after the current element.
1521
+	 */
1522
+	#[TentativeType]
1523
+	public function getPostfix(): string {}
1524 1524
 }
1525 1525
 
1526 1526
 /**
@@ -1529,300 +1529,300 @@  discard block
 block discarded – undo
1529 1529
  */
1530 1530
 class ArrayObject implements IteratorAggregate, ArrayAccess, Serializable, Countable
1531 1531
 {
1532
-    /**
1533
-     * Properties of the object have their normal functionality when accessed as list (var_dump, foreach, etc.).
1534
-     */
1535
-    public const STD_PROP_LIST = 1;
1536
-
1537
-    /**
1538
-     * Entries can be accessed as properties (read and write).
1539
-     */
1540
-    public const ARRAY_AS_PROPS = 2;
1541
-
1542
-    /**
1543
-     * Construct a new array object
1544
-     * @link https://php.net/manual/en/arrayobject.construct.php
1545
-     * @param array|object $array The input parameter accepts an array or an Object.
1546
-     * @param int $flags Flags to control the behaviour of the ArrayObject object.
1547
-     * @param string $iteratorClass Specify the class that will be used for iteration of the ArrayObject object. ArrayIterator is the default class used.
1548
-     */
1549
-    public function __construct(
1550
-        #[LanguageLevelTypeAware(['8.0' => 'object|array'], default: '')] $array = [],
1551
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = 0,
1552
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $iteratorClass = "ArrayIterator"
1553
-    ) {}
1554
-
1555
-    /**
1556
-     * Returns whether the requested index exists
1557
-     * @link https://php.net/manual/en/arrayobject.offsetexists.php
1558
-     * @param int|string $key <p>
1559
-     * The index being checked.
1560
-     * </p>
1561
-     * @return bool true if the requested index exists, otherwise false
1562
-     */
1563
-    #[TentativeType]
1564
-    public function offsetExists(#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $key): bool {}
1565
-
1566
-    /**
1567
-     * Returns the value at the specified index
1568
-     * @link https://php.net/manual/en/arrayobject.offsetget.php
1569
-     * @param int|string $key <p>
1570
-     * The index with the value.
1571
-     * </p>
1572
-     * @return mixed|false The value at the specified index or false.
1573
-     */
1574
-    #[TentativeType]
1575
-    public function offsetGet(#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $key): mixed {}
1576
-
1577
-    /**
1578
-     * Sets the value at the specified index to newval
1579
-     * @link https://php.net/manual/en/arrayobject.offsetset.php
1580
-     * @param int|string $key <p>
1581
-     * The index being set.
1582
-     * </p>
1583
-     * @param mixed $value <p>
1584
-     * The new value for the <i>index</i>.
1585
-     * </p>
1586
-     * @return void
1587
-     */
1588
-    #[TentativeType]
1589
-    public function offsetSet(
1590
-        #[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $key,
1591
-        #[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $value
1592
-    ): void {}
1593
-
1594
-    /**
1595
-     * Unsets the value at the specified index
1596
-     * @link https://php.net/manual/en/arrayobject.offsetunset.php
1597
-     * @param int|string $key <p>
1598
-     * The index being unset.
1599
-     * </p>
1600
-     * @return void
1601
-     */
1602
-    #[TentativeType]
1603
-    public function offsetUnset(#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $key): void {}
1604
-
1605
-    /**
1606
-     * Appends the value
1607
-     * @link https://php.net/manual/en/arrayobject.append.php
1608
-     * @param mixed $value <p>
1609
-     * The value being appended.
1610
-     * </p>
1611
-     * @return void
1612
-     */
1613
-    #[TentativeType]
1614
-    public function append(#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $value): void {}
1615
-
1616
-    /**
1617
-     * Creates a copy of the ArrayObject.
1618
-     * @link https://php.net/manual/en/arrayobject.getarraycopy.php
1619
-     * @return array a copy of the array. When the <b>ArrayObject</b> refers to an object
1620
-     * an array of the public properties of that object will be returned.
1621
-     */
1622
-    #[TentativeType]
1623
-    public function getArrayCopy(): array {}
1624
-
1625
-    /**
1626
-     * Get the number of public properties in the ArrayObject
1627
-     * When the <b>ArrayObject</b> is constructed from an array all properties are public.
1628
-     * @link https://php.net/manual/en/arrayobject.count.php
1629
-     * @return int The number of public properties in the ArrayObject.
1630
-     */
1631
-    #[TentativeType]
1632
-    public function count(): int {}
1633
-
1634
-    /**
1635
-     * Gets the behavior flags.
1636
-     * @link https://php.net/manual/en/arrayobject.getflags.php
1637
-     * @return int the behavior flags of the ArrayObject.
1638
-     */
1639
-    #[TentativeType]
1640
-    public function getFlags(): int {}
1641
-
1642
-    /**
1643
-     * Sets the behavior flags.
1644
-     * @link https://php.net/manual/en/arrayobject.setflags.php
1645
-     * @param int $flags <p>
1646
-     * The new ArrayObject behavior.
1647
-     * It takes on either a bitmask, or named constants. Using named
1648
-     * constants is strongly encouraged to ensure compatibility for future
1649
-     * versions.
1650
-     * </p>
1651
-     * <p>
1652
-     * The available behavior flags are listed below. The actual
1653
-     * meanings of these flags are described in the
1654
-     * predefined constants.
1655
-     * <table>
1656
-     * ArrayObject behavior flags
1657
-     * <tr valign="top">
1658
-     * <td>value</td>
1659
-     * <td>constant</td>
1660
-     * </tr>
1661
-     * <tr valign="top">
1662
-     * <td>1</td>
1663
-     * <td>
1664
-     * ArrayObject::STD_PROP_LIST
1665
-     * </td>
1666
-     * </tr>
1667
-     * <tr valign="top">
1668
-     * <td>2</td>
1669
-     * <td>
1670
-     * ArrayObject::ARRAY_AS_PROPS
1671
-     * </td>
1672
-     * </tr>
1673
-     * </table>
1674
-     * </p>
1675
-     * @return void
1676
-     */
1677
-    #[TentativeType]
1678
-    public function setFlags(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags): void {}
1679
-
1680
-    /**
1681
-     * Sort the entries by value
1682
-     * @link https://php.net/manual/en/arrayobject.asort.php
1683
-     * @param int $flags [optional]
1684
-     * @return bool
1685
-     */
1686
-    #[TentativeType]
1687
-    public function asort(#[PhpStormStubsElementAvailable(from: '8.0')] int $flags = SORT_REGULAR): bool {}
1688
-
1689
-    /**
1690
-     * Sort the entries by key
1691
-     * @link https://php.net/manual/en/arrayobject.ksort.php
1692
-     * @param int $flags [optional]
1693
-     * @return bool
1694
-     */
1695
-    #[TentativeType]
1696
-    public function ksort(#[PhpStormStubsElementAvailable(from: '8.0')] int $flags = SORT_REGULAR): bool {}
1697
-
1698
-    /**
1699
-     * Sort the entries with a user-defined comparison function and maintain key association
1700
-     * @link https://php.net/manual/en/arrayobject.uasort.php
1701
-     * @param callable $callback <p>
1702
-     * Function <i>cmp_function</i> should accept two
1703
-     * parameters which will be filled by pairs of entries.
1704
-     * The comparison function must return an integer less than, equal
1705
-     * to, or greater than zero if the first argument is considered to
1706
-     * be respectively less than, equal to, or greater than the
1707
-     * second.
1708
-     * </p>
1709
-     * @return bool
1710
-     */
1711
-    #[TentativeType]
1712
-    public function uasort(#[LanguageLevelTypeAware(['8.0' => 'callable'], default: '')] $callback): bool {}
1713
-
1714
-    /**
1715
-     * Sort the entries by keys using a user-defined comparison function
1716
-     * @link https://php.net/manual/en/arrayobject.uksort.php
1717
-     * @param callable $callback <p>
1718
-     * The callback comparison function.
1719
-     * </p>
1720
-     * <p>
1721
-     * Function <i>cmp_function</i> should accept two
1722
-     * parameters which will be filled by pairs of entry keys.
1723
-     * The comparison function must return an integer less than, equal
1724
-     * to, or greater than zero if the first argument is considered to
1725
-     * be respectively less than, equal to, or greater than the
1726
-     * second.
1727
-     * </p>
1728
-     * @return bool
1729
-     */
1730
-    #[TentativeType]
1731
-    public function uksort(#[LanguageLevelTypeAware(['8.0' => 'callable'], default: '')] $callback): bool {}
1732
-
1733
-    /**
1734
-     * Sort entries using a "natural order" algorithm
1735
-     * @link https://php.net/manual/en/arrayobject.natsort.php
1736
-     * @return bool
1737
-     */
1738
-    #[TentativeType]
1739
-    public function natsort(): bool {}
1740
-
1741
-    /**
1742
-     * Sort an array using a case insensitive "natural order" algorithm
1743
-     * @link https://php.net/manual/en/arrayobject.natcasesort.php
1744
-     * @return bool
1745
-     */
1746
-    #[TentativeType]
1747
-    public function natcasesort(): bool {}
1748
-
1749
-    /**
1750
-     * Unserialize an ArrayObject
1751
-     * @link https://php.net/manual/en/arrayobject.unserialize.php
1752
-     * @param string $data <p>
1753
-     * The serialized <b>ArrayObject</b>.
1754
-     * </p>
1755
-     * @return void The unserialized <b>ArrayObject</b>.
1756
-     */
1757
-    #[TentativeType]
1758
-    public function unserialize(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $data): void {}
1759
-
1760
-    /**
1761
-     * Serialize an ArrayObject
1762
-     * @link https://php.net/manual/en/arrayobject.serialize.php
1763
-     * @return string The serialized representation of the <b>ArrayObject</b>.
1764
-     */
1765
-    #[TentativeType]
1766
-    public function serialize(): string {}
1767
-
1768
-    /**
1769
-     * @return array
1770
-     * @since 7.4
1771
-     */
1772
-    #[TentativeType]
1773
-    public function __debugInfo(): array {}
1774
-
1775
-    /**
1776
-     * @return array
1777
-     * @since 7.4
1778
-     */
1779
-    #[TentativeType]
1780
-    public function __serialize(): array {}
1781
-
1782
-    /**
1783
-     * @param array $data
1784
-     * @since 7.4
1785
-     */
1786
-    #[TentativeType]
1787
-    public function __unserialize(array $data): void {}
1788
-
1789
-    /**
1790
-     * Create a new iterator from an ArrayObject instance
1791
-     * @link https://php.net/manual/en/arrayobject.getiterator.php
1792
-     * @return ArrayIterator An iterator from an <b>ArrayObject</b>.
1793
-     */
1794
-    #[TentativeType]
1795
-    public function getIterator(): Iterator {}
1796
-
1797
-    /**
1798
-     * Exchange the array for another one.
1799
-     * @link https://php.net/manual/en/arrayobject.exchangearray.php
1800
-     * @param mixed $array <p>
1801
-     * The new array or object to exchange with the current array.
1802
-     * </p>
1803
-     * @return array the old array.
1804
-     */
1805
-    #[TentativeType]
1806
-    public function exchangeArray(#[LanguageLevelTypeAware(['8.0' => 'object|array'], default: '')] $array): array {}
1807
-
1808
-    /**
1809
-     * Sets the iterator classname for the ArrayObject.
1810
-     * @link https://php.net/manual/en/arrayobject.setiteratorclass.php
1811
-     * @param string $iteratorClass <p>
1812
-     * The classname of the array iterator to use when iterating over this object.
1813
-     * </p>
1814
-     * @return void
1815
-     */
1816
-    #[TentativeType]
1817
-    public function setIteratorClass(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $iteratorClass): void {}
1818
-
1819
-    /**
1820
-     * Gets the iterator classname for the ArrayObject.
1821
-     * @link https://php.net/manual/en/arrayobject.getiteratorclass.php
1822
-     * @return string the iterator class name that is used to iterate over this object.
1823
-     */
1824
-    #[TentativeType]
1825
-    public function getIteratorClass(): string {}
1532
+	/**
1533
+	 * Properties of the object have their normal functionality when accessed as list (var_dump, foreach, etc.).
1534
+	 */
1535
+	public const STD_PROP_LIST = 1;
1536
+
1537
+	/**
1538
+	 * Entries can be accessed as properties (read and write).
1539
+	 */
1540
+	public const ARRAY_AS_PROPS = 2;
1541
+
1542
+	/**
1543
+	 * Construct a new array object
1544
+	 * @link https://php.net/manual/en/arrayobject.construct.php
1545
+	 * @param array|object $array The input parameter accepts an array or an Object.
1546
+	 * @param int $flags Flags to control the behaviour of the ArrayObject object.
1547
+	 * @param string $iteratorClass Specify the class that will be used for iteration of the ArrayObject object. ArrayIterator is the default class used.
1548
+	 */
1549
+	public function __construct(
1550
+		#[LanguageLevelTypeAware(['8.0' => 'object|array'], default: '')] $array = [],
1551
+		#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = 0,
1552
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $iteratorClass = "ArrayIterator"
1553
+	) {}
1554
+
1555
+	/**
1556
+	 * Returns whether the requested index exists
1557
+	 * @link https://php.net/manual/en/arrayobject.offsetexists.php
1558
+	 * @param int|string $key <p>
1559
+	 * The index being checked.
1560
+	 * </p>
1561
+	 * @return bool true if the requested index exists, otherwise false
1562
+	 */
1563
+	#[TentativeType]
1564
+	public function offsetExists(#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $key): bool {}
1565
+
1566
+	/**
1567
+	 * Returns the value at the specified index
1568
+	 * @link https://php.net/manual/en/arrayobject.offsetget.php
1569
+	 * @param int|string $key <p>
1570
+	 * The index with the value.
1571
+	 * </p>
1572
+	 * @return mixed|false The value at the specified index or false.
1573
+	 */
1574
+	#[TentativeType]
1575
+	public function offsetGet(#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $key): mixed {}
1576
+
1577
+	/**
1578
+	 * Sets the value at the specified index to newval
1579
+	 * @link https://php.net/manual/en/arrayobject.offsetset.php
1580
+	 * @param int|string $key <p>
1581
+	 * The index being set.
1582
+	 * </p>
1583
+	 * @param mixed $value <p>
1584
+	 * The new value for the <i>index</i>.
1585
+	 * </p>
1586
+	 * @return void
1587
+	 */
1588
+	#[TentativeType]
1589
+	public function offsetSet(
1590
+		#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $key,
1591
+		#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $value
1592
+	): void {}
1593
+
1594
+	/**
1595
+	 * Unsets the value at the specified index
1596
+	 * @link https://php.net/manual/en/arrayobject.offsetunset.php
1597
+	 * @param int|string $key <p>
1598
+	 * The index being unset.
1599
+	 * </p>
1600
+	 * @return void
1601
+	 */
1602
+	#[TentativeType]
1603
+	public function offsetUnset(#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $key): void {}
1604
+
1605
+	/**
1606
+	 * Appends the value
1607
+	 * @link https://php.net/manual/en/arrayobject.append.php
1608
+	 * @param mixed $value <p>
1609
+	 * The value being appended.
1610
+	 * </p>
1611
+	 * @return void
1612
+	 */
1613
+	#[TentativeType]
1614
+	public function append(#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $value): void {}
1615
+
1616
+	/**
1617
+	 * Creates a copy of the ArrayObject.
1618
+	 * @link https://php.net/manual/en/arrayobject.getarraycopy.php
1619
+	 * @return array a copy of the array. When the <b>ArrayObject</b> refers to an object
1620
+	 * an array of the public properties of that object will be returned.
1621
+	 */
1622
+	#[TentativeType]
1623
+	public function getArrayCopy(): array {}
1624
+
1625
+	/**
1626
+	 * Get the number of public properties in the ArrayObject
1627
+	 * When the <b>ArrayObject</b> is constructed from an array all properties are public.
1628
+	 * @link https://php.net/manual/en/arrayobject.count.php
1629
+	 * @return int The number of public properties in the ArrayObject.
1630
+	 */
1631
+	#[TentativeType]
1632
+	public function count(): int {}
1633
+
1634
+	/**
1635
+	 * Gets the behavior flags.
1636
+	 * @link https://php.net/manual/en/arrayobject.getflags.php
1637
+	 * @return int the behavior flags of the ArrayObject.
1638
+	 */
1639
+	#[TentativeType]
1640
+	public function getFlags(): int {}
1641
+
1642
+	/**
1643
+	 * Sets the behavior flags.
1644
+	 * @link https://php.net/manual/en/arrayobject.setflags.php
1645
+	 * @param int $flags <p>
1646
+	 * The new ArrayObject behavior.
1647
+	 * It takes on either a bitmask, or named constants. Using named
1648
+	 * constants is strongly encouraged to ensure compatibility for future
1649
+	 * versions.
1650
+	 * </p>
1651
+	 * <p>
1652
+	 * The available behavior flags are listed below. The actual
1653
+	 * meanings of these flags are described in the
1654
+	 * predefined constants.
1655
+	 * <table>
1656
+	 * ArrayObject behavior flags
1657
+	 * <tr valign="top">
1658
+	 * <td>value</td>
1659
+	 * <td>constant</td>
1660
+	 * </tr>
1661
+	 * <tr valign="top">
1662
+	 * <td>1</td>
1663
+	 * <td>
1664
+	 * ArrayObject::STD_PROP_LIST
1665
+	 * </td>
1666
+	 * </tr>
1667
+	 * <tr valign="top">
1668
+	 * <td>2</td>
1669
+	 * <td>
1670
+	 * ArrayObject::ARRAY_AS_PROPS
1671
+	 * </td>
1672
+	 * </tr>
1673
+	 * </table>
1674
+	 * </p>
1675
+	 * @return void
1676
+	 */
1677
+	#[TentativeType]
1678
+	public function setFlags(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags): void {}
1679
+
1680
+	/**
1681
+	 * Sort the entries by value
1682
+	 * @link https://php.net/manual/en/arrayobject.asort.php
1683
+	 * @param int $flags [optional]
1684
+	 * @return bool
1685
+	 */
1686
+	#[TentativeType]
1687
+	public function asort(#[PhpStormStubsElementAvailable(from: '8.0')] int $flags = SORT_REGULAR): bool {}
1688
+
1689
+	/**
1690
+	 * Sort the entries by key
1691
+	 * @link https://php.net/manual/en/arrayobject.ksort.php
1692
+	 * @param int $flags [optional]
1693
+	 * @return bool
1694
+	 */
1695
+	#[TentativeType]
1696
+	public function ksort(#[PhpStormStubsElementAvailable(from: '8.0')] int $flags = SORT_REGULAR): bool {}
1697
+
1698
+	/**
1699
+	 * Sort the entries with a user-defined comparison function and maintain key association
1700
+	 * @link https://php.net/manual/en/arrayobject.uasort.php
1701
+	 * @param callable $callback <p>
1702
+	 * Function <i>cmp_function</i> should accept two
1703
+	 * parameters which will be filled by pairs of entries.
1704
+	 * The comparison function must return an integer less than, equal
1705
+	 * to, or greater than zero if the first argument is considered to
1706
+	 * be respectively less than, equal to, or greater than the
1707
+	 * second.
1708
+	 * </p>
1709
+	 * @return bool
1710
+	 */
1711
+	#[TentativeType]
1712
+	public function uasort(#[LanguageLevelTypeAware(['8.0' => 'callable'], default: '')] $callback): bool {}
1713
+
1714
+	/**
1715
+	 * Sort the entries by keys using a user-defined comparison function
1716
+	 * @link https://php.net/manual/en/arrayobject.uksort.php
1717
+	 * @param callable $callback <p>
1718
+	 * The callback comparison function.
1719
+	 * </p>
1720
+	 * <p>
1721
+	 * Function <i>cmp_function</i> should accept two
1722
+	 * parameters which will be filled by pairs of entry keys.
1723
+	 * The comparison function must return an integer less than, equal
1724
+	 * to, or greater than zero if the first argument is considered to
1725
+	 * be respectively less than, equal to, or greater than the
1726
+	 * second.
1727
+	 * </p>
1728
+	 * @return bool
1729
+	 */
1730
+	#[TentativeType]
1731
+	public function uksort(#[LanguageLevelTypeAware(['8.0' => 'callable'], default: '')] $callback): bool {}
1732
+
1733
+	/**
1734
+	 * Sort entries using a "natural order" algorithm
1735
+	 * @link https://php.net/manual/en/arrayobject.natsort.php
1736
+	 * @return bool
1737
+	 */
1738
+	#[TentativeType]
1739
+	public function natsort(): bool {}
1740
+
1741
+	/**
1742
+	 * Sort an array using a case insensitive "natural order" algorithm
1743
+	 * @link https://php.net/manual/en/arrayobject.natcasesort.php
1744
+	 * @return bool
1745
+	 */
1746
+	#[TentativeType]
1747
+	public function natcasesort(): bool {}
1748
+
1749
+	/**
1750
+	 * Unserialize an ArrayObject
1751
+	 * @link https://php.net/manual/en/arrayobject.unserialize.php
1752
+	 * @param string $data <p>
1753
+	 * The serialized <b>ArrayObject</b>.
1754
+	 * </p>
1755
+	 * @return void The unserialized <b>ArrayObject</b>.
1756
+	 */
1757
+	#[TentativeType]
1758
+	public function unserialize(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $data): void {}
1759
+
1760
+	/**
1761
+	 * Serialize an ArrayObject
1762
+	 * @link https://php.net/manual/en/arrayobject.serialize.php
1763
+	 * @return string The serialized representation of the <b>ArrayObject</b>.
1764
+	 */
1765
+	#[TentativeType]
1766
+	public function serialize(): string {}
1767
+
1768
+	/**
1769
+	 * @return array
1770
+	 * @since 7.4
1771
+	 */
1772
+	#[TentativeType]
1773
+	public function __debugInfo(): array {}
1774
+
1775
+	/**
1776
+	 * @return array
1777
+	 * @since 7.4
1778
+	 */
1779
+	#[TentativeType]
1780
+	public function __serialize(): array {}
1781
+
1782
+	/**
1783
+	 * @param array $data
1784
+	 * @since 7.4
1785
+	 */
1786
+	#[TentativeType]
1787
+	public function __unserialize(array $data): void {}
1788
+
1789
+	/**
1790
+	 * Create a new iterator from an ArrayObject instance
1791
+	 * @link https://php.net/manual/en/arrayobject.getiterator.php
1792
+	 * @return ArrayIterator An iterator from an <b>ArrayObject</b>.
1793
+	 */
1794
+	#[TentativeType]
1795
+	public function getIterator(): Iterator {}
1796
+
1797
+	/**
1798
+	 * Exchange the array for another one.
1799
+	 * @link https://php.net/manual/en/arrayobject.exchangearray.php
1800
+	 * @param mixed $array <p>
1801
+	 * The new array or object to exchange with the current array.
1802
+	 * </p>
1803
+	 * @return array the old array.
1804
+	 */
1805
+	#[TentativeType]
1806
+	public function exchangeArray(#[LanguageLevelTypeAware(['8.0' => 'object|array'], default: '')] $array): array {}
1807
+
1808
+	/**
1809
+	 * Sets the iterator classname for the ArrayObject.
1810
+	 * @link https://php.net/manual/en/arrayobject.setiteratorclass.php
1811
+	 * @param string $iteratorClass <p>
1812
+	 * The classname of the array iterator to use when iterating over this object.
1813
+	 * </p>
1814
+	 * @return void
1815
+	 */
1816
+	#[TentativeType]
1817
+	public function setIteratorClass(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $iteratorClass): void {}
1818
+
1819
+	/**
1820
+	 * Gets the iterator classname for the ArrayObject.
1821
+	 * @link https://php.net/manual/en/arrayobject.getiteratorclass.php
1822
+	 * @return string the iterator class name that is used to iterate over this object.
1823
+	 */
1824
+	#[TentativeType]
1825
+	public function getIteratorClass(): string {}
1826 1826
 }
1827 1827
 
1828 1828
 /**
@@ -1832,269 +1832,269 @@  discard block
 block discarded – undo
1832 1832
  */
1833 1833
 class ArrayIterator implements SeekableIterator, ArrayAccess, Serializable, Countable
1834 1834
 {
1835
-    public const STD_PROP_LIST = 1;
1836
-    public const ARRAY_AS_PROPS = 2;
1837
-
1838
-    /**
1839
-     * Construct an ArrayIterator
1840
-     * @link https://php.net/manual/en/arrayiterator.construct.php
1841
-     * @param array $array The array or object to be iterated on.
1842
-     * @param int $flags Flags to control the behaviour of the ArrayObject object.
1843
-     * @see ArrayObject::setFlags()
1844
-     */
1845
-    public function __construct(
1846
-        #[LanguageLevelTypeAware(['8.0' => 'object|array'], default: '')] $array = [],
1847
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = 0,
1848
-        #[PhpStormStubsElementAvailable(from: '5.3', to: '7.1')] $iterator_class = null
1849
-    ) {}
1850
-
1851
-    /**
1852
-     * Check if offset exists
1853
-     * @link https://php.net/manual/en/arrayiterator.offsetexists.php
1854
-     * @param string $key <p>
1855
-     * The offset being checked.
1856
-     * </p>
1857
-     * @return bool true if the offset exists, otherwise false
1858
-     */
1859
-    #[TentativeType]
1860
-    public function offsetExists(#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $key): bool {}
1861
-
1862
-    /**
1863
-     * Get value for an offset
1864
-     * @link https://php.net/manual/en/arrayiterator.offsetget.php
1865
-     * @param string $key <p>
1866
-     * The offset to get the value from.
1867
-     * </p>
1868
-     * @return mixed The value at offset <i>index</i>.
1869
-     */
1870
-    #[TentativeType]
1871
-    public function offsetGet(#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $key): mixed {}
1872
-
1873
-    /**
1874
-     * Set value for an offset
1875
-     * @link https://php.net/manual/en/arrayiterator.offsetset.php
1876
-     * @param string $key <p>
1877
-     * The index to set for.
1878
-     * </p>
1879
-     * @param string $value <p>
1880
-     * The new value to store at the index.
1881
-     * </p>
1882
-     * @return void
1883
-     */
1884
-    #[TentativeType]
1885
-    public function offsetSet(
1886
-        #[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $key,
1887
-        #[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $value
1888
-    ): void {}
1889
-
1890
-    /**
1891
-     * Unset value for an offset
1892
-     * @link https://php.net/manual/en/arrayiterator.offsetunset.php
1893
-     * @param string $key <p>
1894
-     * The offset to unset.
1895
-     * </p>
1896
-     * @return void
1897
-     */
1898
-    #[TentativeType]
1899
-    public function offsetUnset(#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $key): void {}
1900
-
1901
-    /**
1902
-     * Append an element
1903
-     * @link https://php.net/manual/en/arrayiterator.append.php
1904
-     * @param mixed $value <p>
1905
-     * The value to append.
1906
-     * </p>
1907
-     * @return void
1908
-     */
1909
-    #[TentativeType]
1910
-    public function append(#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $value): void {}
1911
-
1912
-    /**
1913
-     * Get array copy
1914
-     * @link https://php.net/manual/en/arrayiterator.getarraycopy.php
1915
-     * @return array A copy of the array, or array of public properties
1916
-     * if ArrayIterator refers to an object.
1917
-     */
1918
-    #[TentativeType]
1919
-    public function getArrayCopy(): array {}
1920
-
1921
-    /**
1922
-     * Count elements
1923
-     * @link https://php.net/manual/en/arrayiterator.count.php
1924
-     * @return int The number of elements or public properties in the associated
1925
-     * array or object, respectively.
1926
-     */
1927
-    #[TentativeType]
1928
-    public function count(): int {}
1929
-
1930
-    /**
1931
-     * Get flags
1932
-     * @link https://php.net/manual/en/arrayiterator.getflags.php
1933
-     * @return int The current flags.
1934
-     */
1935
-    #[TentativeType]
1936
-    public function getFlags(): int {}
1937
-
1938
-    /**
1939
-     * Set behaviour flags
1940
-     * @link https://php.net/manual/en/arrayiterator.setflags.php
1941
-     * @param string $flags <p>
1942
-     * A bitmask as follows:
1943
-     * 0 = Properties of the object have their normal functionality
1944
-     * when accessed as list (var_dump, foreach, etc.).
1945
-     * 1 = Array indices can be accessed as properties in read/write.
1946
-     * </p>
1947
-     * @return void
1948
-     */
1949
-    #[TentativeType]
1950
-    public function setFlags(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags): void {}
1951
-
1952
-    /**
1953
-     * Sort array by values
1954
-     * @link https://php.net/manual/en/arrayiterator.asort.php
1955
-     * @param int $flags [optional]
1956
-     * @return bool
1957
-     */
1958
-    #[TentativeType]
1959
-    public function asort(#[PhpStormStubsElementAvailable(from: '8.0')] int $flags = SORT_REGULAR): bool {}
1960
-
1961
-    /**
1962
-     * Sort array by keys
1963
-     * @link https://php.net/manual/en/arrayiterator.ksort.php
1964
-     * @param int $flags [optional]
1965
-     * @return bool
1966
-     */
1967
-    #[TentativeType]
1968
-    public function ksort(#[PhpStormStubsElementAvailable(from: '8.0')] int $flags = SORT_REGULAR): bool {}
1969
-
1970
-    /**
1971
-     * User defined sort
1972
-     * @link https://php.net/manual/en/arrayiterator.uasort.php
1973
-     * @param callable $callback <p>
1974
-     * The compare function used for the sort.
1975
-     * </p>
1976
-     * @return void
1977
-     */
1978
-    #[TentativeType]
1979
-    public function uasort(#[LanguageLevelTypeAware(['8.0' => 'callable'], default: '')] $callback): bool {}
1980
-
1981
-    /**
1982
-     * User defined sort
1983
-     * @link https://php.net/manual/en/arrayiterator.uksort.php
1984
-     * @param callable $callback <p>
1985
-     * The compare function used for the sort.
1986
-     * </p>
1987
-     * @return void
1988
-     */
1989
-    #[TentativeType]
1990
-    public function uksort(#[LanguageLevelTypeAware(['8.0' => 'callable'], default: '')] $callback): bool {}
1991
-
1992
-    /**
1993
-     * Sort an array naturally
1994
-     * @link https://php.net/manual/en/arrayiterator.natsort.php
1995
-     * @return bool
1996
-     */
1997
-    #[TentativeType]
1998
-    public function natsort(): bool {}
1999
-
2000
-    /**
2001
-     * Sort an array naturally, case insensitive
2002
-     * @link https://php.net/manual/en/arrayiterator.natcasesort.php
2003
-     * @return bool
2004
-     */
2005
-    #[TentativeType]
2006
-    public function natcasesort(): bool {}
2007
-
2008
-    /**
2009
-     * Unserialize
2010
-     * @link https://php.net/manual/en/arrayiterator.unserialize.php
2011
-     * @param string $data <p>
2012
-     * The serialized ArrayIterator object to be unserialized.
2013
-     * </p>
2014
-     * @return string The <b>ArrayIterator</b>.
2015
-     */
2016
-    #[TentativeType]
2017
-    public function unserialize(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $data): void {}
2018
-
2019
-    /**
2020
-     * Serialize
2021
-     * @link https://php.net/manual/en/arrayiterator.serialize.php
2022
-     * @return string The serialized <b>ArrayIterator</b>.
2023
-     */
2024
-    #[TentativeType]
2025
-    public function serialize(): string {}
2026
-
2027
-    /**
2028
-     * Rewind array back to the start
2029
-     * @link https://php.net/manual/en/arrayiterator.rewind.php
2030
-     * @return void
2031
-     */
2032
-    #[TentativeType]
2033
-    public function rewind(): void {}
2034
-
2035
-    /**
2036
-     * Return current array entry
2037
-     * @link https://php.net/manual/en/arrayiterator.current.php
2038
-     * @return mixed The current array entry.
2039
-     */
2040
-    #[TentativeType]
2041
-    public function current(): mixed {}
2042
-
2043
-    /**
2044
-     * Return current array key
2045
-     * @link https://php.net/manual/en/arrayiterator.key.php
2046
-     * @return string|int|null The current array key.
2047
-     */
2048
-    #[TentativeType]
2049
-    public function key(): string|int|null {}
2050
-
2051
-    /**
2052
-     * Move to next entry
2053
-     * @link https://php.net/manual/en/arrayiterator.next.php
2054
-     * @return void
2055
-     */
2056
-    #[TentativeType]
2057
-    public function next(): void {}
2058
-
2059
-    /**
2060
-     * Check whether array contains more entries
2061
-     * @link https://php.net/manual/en/arrayiterator.valid.php
2062
-     * @return bool
2063
-     */
2064
-    #[TentativeType]
2065
-    public function valid(): bool {}
2066
-
2067
-    /**
2068
-     * Seek to position
2069
-     * @link https://php.net/manual/en/arrayiterator.seek.php
2070
-     * @param int $offset <p>
2071
-     * The position to seek to.
2072
-     * </p>
2073
-     * @return void
2074
-     */
2075
-    #[TentativeType]
2076
-    public function seek(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $offset): void {}
2077
-
2078
-    /**
2079
-     * @return array
2080
-     * @since 7.4
2081
-     */
2082
-    #[TentativeType]
2083
-    public function __debugInfo(): array {}
2084
-
2085
-    /**
2086
-     * @return array
2087
-     * @since 7.4
2088
-     */
2089
-    #[TentativeType]
2090
-    public function __serialize(): array {}
2091
-
2092
-    /**
2093
-     * @param array $data
2094
-     * @since 7.4
2095
-     */
2096
-    #[TentativeType]
2097
-    public function __unserialize(array $data): void {}
1835
+	public const STD_PROP_LIST = 1;
1836
+	public const ARRAY_AS_PROPS = 2;
1837
+
1838
+	/**
1839
+	 * Construct an ArrayIterator
1840
+	 * @link https://php.net/manual/en/arrayiterator.construct.php
1841
+	 * @param array $array The array or object to be iterated on.
1842
+	 * @param int $flags Flags to control the behaviour of the ArrayObject object.
1843
+	 * @see ArrayObject::setFlags()
1844
+	 */
1845
+	public function __construct(
1846
+		#[LanguageLevelTypeAware(['8.0' => 'object|array'], default: '')] $array = [],
1847
+		#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = 0,
1848
+		#[PhpStormStubsElementAvailable(from: '5.3', to: '7.1')] $iterator_class = null
1849
+	) {}
1850
+
1851
+	/**
1852
+	 * Check if offset exists
1853
+	 * @link https://php.net/manual/en/arrayiterator.offsetexists.php
1854
+	 * @param string $key <p>
1855
+	 * The offset being checked.
1856
+	 * </p>
1857
+	 * @return bool true if the offset exists, otherwise false
1858
+	 */
1859
+	#[TentativeType]
1860
+	public function offsetExists(#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $key): bool {}
1861
+
1862
+	/**
1863
+	 * Get value for an offset
1864
+	 * @link https://php.net/manual/en/arrayiterator.offsetget.php
1865
+	 * @param string $key <p>
1866
+	 * The offset to get the value from.
1867
+	 * </p>
1868
+	 * @return mixed The value at offset <i>index</i>.
1869
+	 */
1870
+	#[TentativeType]
1871
+	public function offsetGet(#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $key): mixed {}
1872
+
1873
+	/**
1874
+	 * Set value for an offset
1875
+	 * @link https://php.net/manual/en/arrayiterator.offsetset.php
1876
+	 * @param string $key <p>
1877
+	 * The index to set for.
1878
+	 * </p>
1879
+	 * @param string $value <p>
1880
+	 * The new value to store at the index.
1881
+	 * </p>
1882
+	 * @return void
1883
+	 */
1884
+	#[TentativeType]
1885
+	public function offsetSet(
1886
+		#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $key,
1887
+		#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $value
1888
+	): void {}
1889
+
1890
+	/**
1891
+	 * Unset value for an offset
1892
+	 * @link https://php.net/manual/en/arrayiterator.offsetunset.php
1893
+	 * @param string $key <p>
1894
+	 * The offset to unset.
1895
+	 * </p>
1896
+	 * @return void
1897
+	 */
1898
+	#[TentativeType]
1899
+	public function offsetUnset(#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $key): void {}
1900
+
1901
+	/**
1902
+	 * Append an element
1903
+	 * @link https://php.net/manual/en/arrayiterator.append.php
1904
+	 * @param mixed $value <p>
1905
+	 * The value to append.
1906
+	 * </p>
1907
+	 * @return void
1908
+	 */
1909
+	#[TentativeType]
1910
+	public function append(#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $value): void {}
1911
+
1912
+	/**
1913
+	 * Get array copy
1914
+	 * @link https://php.net/manual/en/arrayiterator.getarraycopy.php
1915
+	 * @return array A copy of the array, or array of public properties
1916
+	 * if ArrayIterator refers to an object.
1917
+	 */
1918
+	#[TentativeType]
1919
+	public function getArrayCopy(): array {}
1920
+
1921
+	/**
1922
+	 * Count elements
1923
+	 * @link https://php.net/manual/en/arrayiterator.count.php
1924
+	 * @return int The number of elements or public properties in the associated
1925
+	 * array or object, respectively.
1926
+	 */
1927
+	#[TentativeType]
1928
+	public function count(): int {}
1929
+
1930
+	/**
1931
+	 * Get flags
1932
+	 * @link https://php.net/manual/en/arrayiterator.getflags.php
1933
+	 * @return int The current flags.
1934
+	 */
1935
+	#[TentativeType]
1936
+	public function getFlags(): int {}
1937
+
1938
+	/**
1939
+	 * Set behaviour flags
1940
+	 * @link https://php.net/manual/en/arrayiterator.setflags.php
1941
+	 * @param string $flags <p>
1942
+	 * A bitmask as follows:
1943
+	 * 0 = Properties of the object have their normal functionality
1944
+	 * when accessed as list (var_dump, foreach, etc.).
1945
+	 * 1 = Array indices can be accessed as properties in read/write.
1946
+	 * </p>
1947
+	 * @return void
1948
+	 */
1949
+	#[TentativeType]
1950
+	public function setFlags(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags): void {}
1951
+
1952
+	/**
1953
+	 * Sort array by values
1954
+	 * @link https://php.net/manual/en/arrayiterator.asort.php
1955
+	 * @param int $flags [optional]
1956
+	 * @return bool
1957
+	 */
1958
+	#[TentativeType]
1959
+	public function asort(#[PhpStormStubsElementAvailable(from: '8.0')] int $flags = SORT_REGULAR): bool {}
1960
+
1961
+	/**
1962
+	 * Sort array by keys
1963
+	 * @link https://php.net/manual/en/arrayiterator.ksort.php
1964
+	 * @param int $flags [optional]
1965
+	 * @return bool
1966
+	 */
1967
+	#[TentativeType]
1968
+	public function ksort(#[PhpStormStubsElementAvailable(from: '8.0')] int $flags = SORT_REGULAR): bool {}
1969
+
1970
+	/**
1971
+	 * User defined sort
1972
+	 * @link https://php.net/manual/en/arrayiterator.uasort.php
1973
+	 * @param callable $callback <p>
1974
+	 * The compare function used for the sort.
1975
+	 * </p>
1976
+	 * @return void
1977
+	 */
1978
+	#[TentativeType]
1979
+	public function uasort(#[LanguageLevelTypeAware(['8.0' => 'callable'], default: '')] $callback): bool {}
1980
+
1981
+	/**
1982
+	 * User defined sort
1983
+	 * @link https://php.net/manual/en/arrayiterator.uksort.php
1984
+	 * @param callable $callback <p>
1985
+	 * The compare function used for the sort.
1986
+	 * </p>
1987
+	 * @return void
1988
+	 */
1989
+	#[TentativeType]
1990
+	public function uksort(#[LanguageLevelTypeAware(['8.0' => 'callable'], default: '')] $callback): bool {}
1991
+
1992
+	/**
1993
+	 * Sort an array naturally
1994
+	 * @link https://php.net/manual/en/arrayiterator.natsort.php
1995
+	 * @return bool
1996
+	 */
1997
+	#[TentativeType]
1998
+	public function natsort(): bool {}
1999
+
2000
+	/**
2001
+	 * Sort an array naturally, case insensitive
2002
+	 * @link https://php.net/manual/en/arrayiterator.natcasesort.php
2003
+	 * @return bool
2004
+	 */
2005
+	#[TentativeType]
2006
+	public function natcasesort(): bool {}
2007
+
2008
+	/**
2009
+	 * Unserialize
2010
+	 * @link https://php.net/manual/en/arrayiterator.unserialize.php
2011
+	 * @param string $data <p>
2012
+	 * The serialized ArrayIterator object to be unserialized.
2013
+	 * </p>
2014
+	 * @return string The <b>ArrayIterator</b>.
2015
+	 */
2016
+	#[TentativeType]
2017
+	public function unserialize(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $data): void {}
2018
+
2019
+	/**
2020
+	 * Serialize
2021
+	 * @link https://php.net/manual/en/arrayiterator.serialize.php
2022
+	 * @return string The serialized <b>ArrayIterator</b>.
2023
+	 */
2024
+	#[TentativeType]
2025
+	public function serialize(): string {}
2026
+
2027
+	/**
2028
+	 * Rewind array back to the start
2029
+	 * @link https://php.net/manual/en/arrayiterator.rewind.php
2030
+	 * @return void
2031
+	 */
2032
+	#[TentativeType]
2033
+	public function rewind(): void {}
2034
+
2035
+	/**
2036
+	 * Return current array entry
2037
+	 * @link https://php.net/manual/en/arrayiterator.current.php
2038
+	 * @return mixed The current array entry.
2039
+	 */
2040
+	#[TentativeType]
2041
+	public function current(): mixed {}
2042
+
2043
+	/**
2044
+	 * Return current array key
2045
+	 * @link https://php.net/manual/en/arrayiterator.key.php
2046
+	 * @return string|int|null The current array key.
2047
+	 */
2048
+	#[TentativeType]
2049
+	public function key(): string|int|null {}
2050
+
2051
+	/**
2052
+	 * Move to next entry
2053
+	 * @link https://php.net/manual/en/arrayiterator.next.php
2054
+	 * @return void
2055
+	 */
2056
+	#[TentativeType]
2057
+	public function next(): void {}
2058
+
2059
+	/**
2060
+	 * Check whether array contains more entries
2061
+	 * @link https://php.net/manual/en/arrayiterator.valid.php
2062
+	 * @return bool
2063
+	 */
2064
+	#[TentativeType]
2065
+	public function valid(): bool {}
2066
+
2067
+	/**
2068
+	 * Seek to position
2069
+	 * @link https://php.net/manual/en/arrayiterator.seek.php
2070
+	 * @param int $offset <p>
2071
+	 * The position to seek to.
2072
+	 * </p>
2073
+	 * @return void
2074
+	 */
2075
+	#[TentativeType]
2076
+	public function seek(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $offset): void {}
2077
+
2078
+	/**
2079
+	 * @return array
2080
+	 * @since 7.4
2081
+	 */
2082
+	#[TentativeType]
2083
+	public function __debugInfo(): array {}
2084
+
2085
+	/**
2086
+	 * @return array
2087
+	 * @since 7.4
2088
+	 */
2089
+	#[TentativeType]
2090
+	public function __serialize(): array {}
2091
+
2092
+	/**
2093
+	 * @param array $data
2094
+	 * @since 7.4
2095
+	 */
2096
+	#[TentativeType]
2097
+	public function __unserialize(array $data): void {}
2098 2098
 }
2099 2099
 
2100 2100
 /**
@@ -2105,22 +2105,22 @@  discard block
 block discarded – undo
2105 2105
  */
2106 2106
 class RecursiveArrayIterator extends ArrayIterator implements RecursiveIterator
2107 2107
 {
2108
-    public const CHILD_ARRAYS_ONLY = 4;
2109
-
2110
-    /**
2111
-     * Returns whether current entry is an array or an object.
2112
-     * @link https://php.net/manual/en/recursivearrayiterator.haschildren.php
2113
-     * @return bool true if the current entry is an array or an object,
2114
-     * otherwise false is returned.
2115
-     */
2116
-    #[TentativeType]
2117
-    public function hasChildren(): bool {}
2118
-
2119
-    /**
2120
-     * Returns an iterator for the current entry if it is an array or an object.
2121
-     * @link https://php.net/manual/en/recursivearrayiterator.getchildren.php
2122
-     * @return RecursiveArrayIterator|null An iterator for the current entry, if it is an array or object.
2123
-     */
2124
-    #[TentativeType]
2125
-    public function getChildren(): ?RecursiveArrayIterator {}
2108
+	public const CHILD_ARRAYS_ONLY = 4;
2109
+
2110
+	/**
2111
+	 * Returns whether current entry is an array or an object.
2112
+	 * @link https://php.net/manual/en/recursivearrayiterator.haschildren.php
2113
+	 * @return bool true if the current entry is an array or an object,
2114
+	 * otherwise false is returned.
2115
+	 */
2116
+	#[TentativeType]
2117
+	public function hasChildren(): bool {}
2118
+
2119
+	/**
2120
+	 * Returns an iterator for the current entry if it is an array or an object.
2121
+	 * @link https://php.net/manual/en/recursivearrayiterator.getchildren.php
2122
+	 * @return RecursiveArrayIterator|null An iterator for the current entry, if it is an array or object.
2123
+	 */
2124
+	#[TentativeType]
2125
+	public function getChildren(): ?RecursiveArrayIterator {}
2126 2126
 }
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -402,7 +402,7 @@  discard block
 block discarded – undo
402 402
      * @return void
403 403
      */
404 404
     #[TentativeType]
405
-    public function setMaxDepth(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $maxDepth = -1): void {}
405
+    public function setMaxDepth(#[LanguageLevelTypeAware(['8.0' => 'int'], default : '')] $maxDepth = -1): void {}
406 406
 
407 407
     /**
408 408
      * Get max depth
@@ -410,7 +410,7 @@  discard block
 block discarded – undo
410 410
      * @return int|false The maximum accepted depth, or false if any depth is allowed.
411 411
      */
412 412
     #[TentativeType]
413
-    public function getMaxDepth(): int|false {}
413
+    public function getMaxDepth(): int | false {}
414 414
 }
415 415
 
416 416
 /**
@@ -648,7 +648,7 @@  discard block
 block discarded – undo
648 648
      * @return void
649 649
      */
650 650
     #[TentativeType]
651
-    public function seek(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $offset): void;
651
+    public function seek(#[LanguageLevelTypeAware(['8.0' => 'int'], default : '')] $offset): void;
652 652
 }
653 653
 
654 654
 /**
@@ -2046,7 +2046,7 @@  discard block
 block discarded – undo
2046 2046
      * @return string|int|null The current array key.
2047 2047
      */
2048 2048
     #[TentativeType]
2049
-    public function key(): string|int|null {}
2049
+    public function key(): string | int | null {}
2050 2050
 
2051 2051
     /**
2052 2052
      * Move to next entry
Please login to merge, or discard this patch.
Braces   +20 added lines, -40 removed lines patch added patch discarded remove patch
@@ -98,8 +98,7 @@  discard block
 block discarded – undo
98 98
  * The EmptyIterator class for an empty iterator.
99 99
  * @link https://secure.php.net/manual/en/class.emptyiterator.php
100 100
  */
101
-class EmptyIterator implements Iterator
102
-{
101
+class EmptyIterator implements Iterator {
103 102
     /**
104 103
      * Return the current element
105 104
      * @link https://php.net/manual/en/iterator.current.php
@@ -147,8 +146,7 @@  discard block
 block discarded – undo
147 146
  * @link https://secure.php.net/manual/en/class.callbackfilteriterator.php
148 147
  * @since 5.4
149 148
  */
150
-class CallbackFilterIterator extends FilterIterator
151
-{
149
+class CallbackFilterIterator extends FilterIterator {
152 150
     /**
153 151
      * Creates a filtered iterator using the callback to determine which items are accepted or rejected.
154 152
      * @param Iterator $iterator The iterator to be filtered.
@@ -176,8 +174,7 @@  discard block
 block discarded – undo
176 174
  * @link https://secure.php.net/manual/en/class.recursivecallbackfilteriterator.php
177 175
  * @since 5.4
178 176
  */
179
-class RecursiveCallbackFilterIterator extends CallbackFilterIterator implements RecursiveIterator
180
-{
177
+class RecursiveCallbackFilterIterator extends CallbackFilterIterator implements RecursiveIterator {
181 178
     /**
182 179
      * Create a RecursiveCallbackFilterIterator from a RecursiveIterator
183 180
      * @param RecursiveIterator $iterator The recursive iterator to be filtered.
@@ -212,8 +209,7 @@  discard block
 block discarded – undo
212 209
  * over iterators recursively.
213 210
  * @link https://php.net/manual/en/class.recursiveiterator.php
214 211
  */
215
-interface RecursiveIterator extends Iterator
216
-{
212
+interface RecursiveIterator extends Iterator {
217 213
     /**
218 214
      * Returns if an iterator can be created for the current entry.
219 215
      * @link https://php.net/manual/en/recursiveiterator.haschildren.php
@@ -235,8 +231,7 @@  discard block
 block discarded – undo
235 231
  * Can be used to iterate through recursive iterators.
236 232
  * @link https://php.net/manual/en/class.recursiveiteratoriterator.php
237 233
  */
238
-class RecursiveIteratorIterator implements OuterIterator
239
-{
234
+class RecursiveIteratorIterator implements OuterIterator {
240 235
     /**
241 236
      * The default. Lists only leaves in iteration.
242 237
      */
@@ -418,8 +413,7 @@  discard block
 block discarded – undo
418 413
  * over iterators.
419 414
  * @link https://php.net/manual/en/class.outeriterator.php
420 415
  */
421
-interface OuterIterator extends Iterator
422
-{
416
+interface OuterIterator extends Iterator {
423 417
     /**
424 418
      * Returns the inner iterator for the current entry.
425 419
      * @link https://php.net/manual/en/outeriterator.getinneriterator.php
@@ -438,8 +432,7 @@  discard block
 block discarded – undo
438 432
  * misuse, otherwise expect exceptions or fatal errors.
439 433
  * @link https://php.net/manual/en/class.iteratoriterator.php
440 434
  */
441
-class IteratorIterator implements OuterIterator
442
-{
435
+class IteratorIterator implements OuterIterator {
443 436
     /**
444 437
      * Create an iterator from anything that is traversable
445 438
      * @link https://php.net/manual/en/iteratoriterator.construct.php
@@ -503,8 +496,7 @@  discard block
 block discarded – undo
503 496
  * must be implemented in the subclass.
504 497
  * @link https://php.net/manual/en/class.filteriterator.php
505 498
  */
506
-abstract class FilterIterator extends IteratorIterator
507
-{
499
+abstract class FilterIterator extends IteratorIterator {
508 500
     /**
509 501
      * Check whether the current element of the iterator is acceptable
510 502
      * @link https://php.net/manual/en/filteriterator.accept.php
@@ -571,8 +563,7 @@  discard block
 block discarded – undo
571 563
  * The <b>RecursiveFilterIterator::accept</b> must be implemented in the subclass.
572 564
  * @link https://php.net/manual/en/class.recursivefilteriterator.php
573 565
  */
574
-abstract class RecursiveFilterIterator extends FilterIterator implements RecursiveIterator
575
-{
566
+abstract class RecursiveFilterIterator extends FilterIterator implements RecursiveIterator {
576 567
     /**
577 568
      * Create a RecursiveFilterIterator from a RecursiveIterator
578 569
      * @link https://php.net/manual/en/recursivefilteriterator.construct.php
@@ -601,8 +592,7 @@  discard block
 block discarded – undo
601 592
  * This extended FilterIterator allows a recursive iteration using RecursiveIteratorIterator that only shows those elements which have children.
602 593
  * @link https://php.net/manual/en/class.parentiterator.php
603 594
  */
604
-class ParentIterator extends RecursiveFilterIterator
605
-{
595
+class ParentIterator extends RecursiveFilterIterator {
606 596
     /**
607 597
      * Determines acceptability
608 598
      * @link https://php.net/manual/en/parentiterator.accept.php
@@ -637,8 +627,7 @@  discard block
 block discarded – undo
637 627
  * The Seekable iterator.
638 628
  * @link https://php.net/manual/en/class.seekableiterator.php
639 629
  */
640
-interface SeekableIterator extends Iterator
641
-{
630
+interface SeekableIterator extends Iterator {
642 631
     /**
643 632
      * Seeks to a position
644 633
      * @link https://php.net/manual/en/seekableiterator.seek.php
@@ -656,8 +645,7 @@  discard block
 block discarded – undo
656 645
  * a limited subset of items in an <b>Iterator</b>.
657 646
  * @link https://php.net/manual/en/class.limititerator.php
658 647
  */
659
-class LimitIterator extends IteratorIterator
660
-{
648
+class LimitIterator extends IteratorIterator {
661 649
     /**
662 650
      * Construct a LimitIterator
663 651
      * @link https://php.net/manual/en/limititerator.construct.php
@@ -926,8 +914,7 @@  discard block
 block discarded – undo
926 914
  * ...
927 915
  * @link https://php.net/manual/en/class.recursivecachingiterator.php
928 916
  */
929
-class RecursiveCachingIterator extends CachingIterator implements RecursiveIterator
930
-{
917
+class RecursiveCachingIterator extends CachingIterator implements RecursiveIterator {
931 918
     /**
932 919
      * Constructs a new RecursiveCachingIterator.
933 920
      * @link https://php.net/manual/en/recursivecachingiterator.construct.php
@@ -957,8 +944,7 @@  discard block
 block discarded – undo
957 944
  * This iterator cannot be rewinded.
958 945
  * @link https://php.net/manual/en/class.norewinditerator.php
959 946
  */
960
-class NoRewindIterator extends IteratorIterator
961
-{
947
+class NoRewindIterator extends IteratorIterator {
962 948
     /**
963 949
      * Construct a NoRewindIterator
964 950
      * @link https://php.net/manual/en/norewinditerator.construct.php
@@ -1018,8 +1004,7 @@  discard block
 block discarded – undo
1018 1004
  * An Iterator that iterates over several iterators one after the other.
1019 1005
  * @link https://php.net/manual/en/class.appenditerator.php
1020 1006
  */
1021
-class AppendIterator extends IteratorIterator
1022
-{
1007
+class AppendIterator extends IteratorIterator {
1023 1008
     /**
1024 1009
      * Constructs an AppendIterator
1025 1010
      * @link https://php.net/manual/en/appenditerator.construct.php
@@ -1106,8 +1091,7 @@  discard block
 block discarded – undo
1106 1091
  * rewind the iterator upon reaching its end.
1107 1092
  * @link https://php.net/manual/en/class.infiniteiterator.php
1108 1093
  */
1109
-class InfiniteIterator extends IteratorIterator
1110
-{
1094
+class InfiniteIterator extends IteratorIterator {
1111 1095
     /**
1112 1096
      * Constructs an InfiniteIterator
1113 1097
      * @link https://php.net/manual/en/infiniteiterator.construct.php
@@ -1128,8 +1112,7 @@  discard block
 block discarded – undo
1128 1112
  * This iterator can be used to filter another iterator based on a regular expression.
1129 1113
  * @link https://php.net/manual/en/class.regexiterator.php
1130 1114
  */
1131
-class RegexIterator extends FilterIterator
1132
-{
1115
+class RegexIterator extends FilterIterator {
1133 1116
     /**
1134 1117
      * Return all matches for the current entry @see preg_match_all
1135 1118
      */
@@ -1322,8 +1305,7 @@  discard block
 block discarded – undo
1322 1305
  * This recursive iterator can filter another recursive iterator via a regular expression.
1323 1306
  * @link https://php.net/manual/en/class.recursiveregexiterator.php
1324 1307
  */
1325
-class RecursiveRegexIterator extends RegexIterator implements RecursiveIterator
1326
-{
1308
+class RecursiveRegexIterator extends RegexIterator implements RecursiveIterator {
1327 1309
     /**
1328 1310
      * Creates a new RecursiveRegexIterator.
1329 1311
      * @link https://php.net/manual/en/recursiveregexiterator.construct.php
@@ -1362,8 +1344,7 @@  discard block
 block discarded – undo
1362 1344
  * Allows iterating over a <b>RecursiveIterator</b> to generate an ASCII graphic tree.
1363 1345
  * @link https://php.net/manual/en/class.recursivetreeiterator.php
1364 1346
  */
1365
-class RecursiveTreeIterator extends RecursiveIteratorIterator
1366
-{
1347
+class RecursiveTreeIterator extends RecursiveIteratorIterator {
1367 1348
     public const BYPASS_CURRENT = 4;
1368 1349
     public const BYPASS_KEY = 8;
1369 1350
 
@@ -2103,8 +2084,7 @@  discard block
 block discarded – undo
2103 2084
  * over the current iterator entry.
2104 2085
  * @link https://php.net/manual/en/class.recursivearrayiterator.php
2105 2086
  */
2106
-class RecursiveArrayIterator extends ArrayIterator implements RecursiveIterator
2107
-{
2087
+class RecursiveArrayIterator extends ArrayIterator implements RecursiveIterator {
2108 2088
     public const CHILD_ARRAYS_ONLY = 4;
2109 2089
 
2110 2090
     /**
Please login to merge, or discard this patch.
vendor-bin/php-scoper/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php 3 patches
Indentation   +2211 added lines, -2211 removed lines patch added patch discarded remove patch
@@ -13,308 +13,308 @@  discard block
 block discarded – undo
13 13
  */
14 14
 class SplFileInfo implements Stringable
15 15
 {
16
-    /**
17
-     * Construct a new SplFileInfo object
18
-     * @link https://php.net/manual/en/splfileinfo.construct.php
19
-     * @param string $filename
20
-     * @since 5.1.2
21
-     */
22
-    public function __construct(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $filename) {}
23
-
24
-    /**
25
-     * Gets the path without filename
26
-     * @link https://php.net/manual/en/splfileinfo.getpath.php
27
-     * @return string the path to the file.
28
-     * @since 5.1.2
29
-     */
30
-    #[TentativeType]
31
-    public function getPath(): string {}
32
-
33
-    /**
34
-     * Gets the filename
35
-     * @link https://php.net/manual/en/splfileinfo.getfilename.php
36
-     * @return string The filename.
37
-     * @since 5.1.2
38
-     */
39
-    #[TentativeType]
40
-    public function getFilename(): string {}
41
-
42
-    /**
43
-     * Gets the file extension
44
-     * @link https://php.net/manual/en/splfileinfo.getextension.php
45
-     * @return string a string containing the file extension, or an
46
-     * empty string if the file has no extension.
47
-     * @since 5.3.6
48
-     */
49
-    #[TentativeType]
50
-    public function getExtension(): string {}
51
-
52
-    /**
53
-     * Gets the base name of the file
54
-     * @link https://php.net/manual/en/splfileinfo.getbasename.php
55
-     * @param string $suffix [optional] <p>
56
-     * Optional suffix to omit from the base name returned.
57
-     * </p>
58
-     * @return string the base name without path information.
59
-     * @since 5.2.2
60
-     */
61
-    #[TentativeType]
62
-    public function getBasename(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $suffix = null): string {}
63
-
64
-    /**
65
-     * Gets the path to the file
66
-     * @link https://php.net/manual/en/splfileinfo.getpathname.php
67
-     * @return string The path to the file.
68
-     * @since 5.1.2
69
-     */
70
-    #[TentativeType]
71
-    public function getPathname(): string {}
72
-
73
-    /**
74
-     * Gets file permissions
75
-     * @link https://php.net/manual/en/splfileinfo.getperms.php
76
-     * @return int|false The file permissions on success, or <b>FALSE</b> on failure.
77
-     * @since 5.1.2
78
-     */
79
-    #[TentativeType]
80
-    public function getPerms(): int|false {}
81
-
82
-    /**
83
-     * Gets the inode for the file
84
-     * @link https://php.net/manual/en/splfileinfo.getinode.php
85
-     * @return int|false The inode number for the filesystem object on success, or <b>FALSE</b> on failure.
86
-     * @since 5.1.2
87
-     */
88
-    #[TentativeType]
89
-    public function getInode(): int|false {}
90
-
91
-    /**
92
-     * Gets file size
93
-     * @link https://php.net/manual/en/splfileinfo.getsize.php
94
-     * @return int|false The filesize in bytes on success, or <b>FALSE</b> on failure.
95
-     * @since 5.1.2
96
-     */
97
-    #[TentativeType]
98
-    public function getSize(): int|false {}
99
-
100
-    /**
101
-     * Gets the owner of the file
102
-     * @link https://php.net/manual/en/splfileinfo.getowner.php
103
-     * @return int|false The owner id in numerical format on success, or <b>FALSE</b> on failure.
104
-     * @since 5.1.2
105
-     */
106
-    #[TentativeType]
107
-    public function getOwner(): int|false {}
108
-
109
-    /**
110
-     * Gets the file group
111
-     * @link https://php.net/manual/en/splfileinfo.getgroup.php
112
-     * @return int|false The group id in numerical format on success, or <b>FALSE</b> on failure.
113
-     * @since 5.1.2
114
-     */
115
-    #[TentativeType]
116
-    public function getGroup(): int|false {}
117
-
118
-    /**
119
-     * Gets last access time of the file
120
-     * @link https://php.net/manual/en/splfileinfo.getatime.php
121
-     * @return int|false The time the file was last accessed on success, or <b>FALSE</b> on failure.
122
-     * @since 5.1.2
123
-     */
124
-    #[TentativeType]
125
-    public function getATime(): int|false {}
126
-
127
-    /**
128
-     * Gets the last modified time
129
-     * @link https://php.net/manual/en/splfileinfo.getmtime.php
130
-     * @return int|false The last modified time for the file, in a Unix timestamp on success, or <b>FALSE</b> on failure.
131
-     * @since 5.1.2
132
-     */
133
-    #[TentativeType]
134
-    public function getMTime(): int|false {}
135
-
136
-    /**
137
-     * Gets the inode change time
138
-     * @link https://php.net/manual/en/splfileinfo.getctime.php
139
-     * @return int|false The last change time, in a Unix timestamp on success, or <b>FALSE</b> on failure.
140
-     * @since 5.1.2
141
-     */
142
-    #[TentativeType]
143
-    public function getCTime(): int|false {}
144
-
145
-    /**
146
-     * Gets file type
147
-     * @link https://php.net/manual/en/splfileinfo.gettype.php
148
-     * @return string|false A string representing the type of the entry. May be one of file, link, dir, block, fifo, char, socket, or unknown, or <b>FALSE</b> on failure.
149
-     * May be one of file, link,
150
-     * or dir
151
-     * @since 5.1.2
152
-     */
153
-    #[TentativeType]
154
-    public function getType(): string|false {}
155
-
156
-    /**
157
-     * Tells if the entry is writable
158
-     * @link https://php.net/manual/en/splfileinfo.iswritable.php
159
-     * @return bool true if writable, false otherwise;
160
-     * @since 5.1.2
161
-     */
162
-    #[TentativeType]
163
-    public function isWritable(): bool {}
164
-
165
-    /**
166
-     * Tells if file is readable
167
-     * @link https://php.net/manual/en/splfileinfo.isreadable.php
168
-     * @return bool true if readable, false otherwise.
169
-     * @since 5.1.2
170
-     */
171
-    #[TentativeType]
172
-    public function isReadable(): bool {}
173
-
174
-    /**
175
-     * Tells if the file is executable
176
-     * @link https://php.net/manual/en/splfileinfo.isexecutable.php
177
-     * @return bool true if executable, false otherwise.
178
-     * @since 5.1.2
179
-     */
180
-    #[TentativeType]
181
-    public function isExecutable(): bool {}
182
-
183
-    /**
184
-     * Tells if the object references a regular file
185
-     * @link https://php.net/manual/en/splfileinfo.isfile.php
186
-     * @return bool true if the file exists and is a regular file (not a link), false otherwise.
187
-     * @since 5.1.2
188
-     */
189
-    #[TentativeType]
190
-    public function isFile(): bool {}
191
-
192
-    /**
193
-     * Tells if the file is a directory
194
-     * @link https://php.net/manual/en/splfileinfo.isdir.php
195
-     * @return bool true if a directory, false otherwise.
196
-     * @since 5.1.2
197
-     */
198
-    #[TentativeType]
199
-    public function isDir(): bool {}
200
-
201
-    /**
202
-     * Tells if the file is a link
203
-     * @link https://php.net/manual/en/splfileinfo.islink.php
204
-     * @return bool true if the file is a link, false otherwise.
205
-     * @since 5.1.2
206
-     */
207
-    #[TentativeType]
208
-    public function isLink(): bool {}
209
-
210
-    /**
211
-     * Gets the target of a link
212
-     * @link https://php.net/manual/en/splfileinfo.getlinktarget.php
213
-     * @return string|false The target of the filesystem link on success, or <b>FALSE</b> on failure.
214
-     * @since 5.2.2
215
-     */
216
-    #[TentativeType]
217
-    public function getLinkTarget(): string|false {}
218
-
219
-    /**
220
-     * Gets absolute path to file
221
-     * @link https://php.net/manual/en/splfileinfo.getrealpath.php
222
-     * @return string|false the path to the file, or <b>FALSE</b> if the file does not exist.
223
-     * @since 5.2.2
224
-     */
225
-    #[TentativeType]
226
-    public function getRealPath(): string|false {}
227
-
228
-    /**
229
-     * Gets an SplFileInfo object for the file
230
-     * @link https://php.net/manual/en/splfileinfo.getfileinfo.php
231
-     * @param string $class [optional] <p>
232
-     * Name of an <b>SplFileInfo</b> derived class to use.
233
-     * </p>
234
-     * @return SplFileInfo An <b>SplFileInfo</b> object created for the file.
235
-     * @since 5.1.2
236
-     */
237
-    #[TentativeType]
238
-    public function getFileInfo(#[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $class = null): SplFileInfo {}
239
-
240
-    /**
241
-     * Gets an SplFileInfo object for the path
242
-     * @link https://php.net/manual/en/splfileinfo.getpathinfo.php
243
-     * @param string $class [optional] <p>
244
-     * Name of an <b>SplFileInfo</b> derived class to use.
245
-     * </p>
246
-     * @return SplFileInfo|null A <b>SplFileInfo</b> object for the parent path of the file on success, or <b>NULL</b> on failure.
247
-     * @since 5.1.2
248
-     */
249
-    #[TentativeType]
250
-    public function getPathInfo(#[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $class = null): ?SplFileInfo {}
251
-
252
-    /**
253
-     * Gets an SplFileObject object for the file
254
-     * @link https://php.net/manual/en/splfileinfo.openfile.php
255
-     * @param string $mode [optional] <p>
256
-     * The mode for opening the file. See the <b>fopen</b>
257
-     * documentation for descriptions of possible modes. The default
258
-     * is read only.
259
-     * </p>
260
-     * @param bool $useIncludePath [optional] <p>
261
-     * </p>
262
-     * @param resource $context [optional] <p>
263
-     * </p>
264
-     * @return SplFileObject The opened file as an <b>SplFileObject</b> object.
265
-     * @since 5.1.2
266
-     */
267
-    #[TentativeType]
268
-    public function openFile(
269
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $mode = 'r',
270
-        #[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $useIncludePath = false,
271
-        $context = null
272
-    ): SplFileObject {}
273
-
274
-    /**
275
-     * Sets the class name used with <b>SplFileInfo::openFile</b>
276
-     * @link https://php.net/manual/en/splfileinfo.setfileclass.php
277
-     * @param string $class [optional] <p>
278
-     * The class name to use when openFile() is called.
279
-     * </p>
280
-     * @return void
281
-     * @since 5.1.2
282
-     */
283
-    #[TentativeType]
284
-    public function setFileClass(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $class = SplFileObject::class): void {}
285
-
286
-    /**
287
-     * Sets the class used with getFileInfo and getPathInfo
288
-     * @link https://php.net/manual/en/splfileinfo.setinfoclass.php
289
-     * @param string $class [optional] <p>
290
-     * The class name to use.
291
-     * </p>
292
-     * @return void
293
-     * @since 5.1.2
294
-     */
295
-    #[TentativeType]
296
-    public function setInfoClass(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $class = SplFileInfo::class): void {}
297
-
298
-    /**
299
-     * Returns the path to the file as a string
300
-     * @link https://php.net/manual/en/splfileinfo.tostring.php
301
-     * @return string the path to the file.
302
-     * @since 5.1.2
303
-     */
304
-    #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')]
305
-    public function __toString() {}
306
-
307
-    #[TentativeType]
308
-    final public function _bad_state_ex(): void {}
309
-
310
-    public function __wakeup() {}
311
-
312
-    /**
313
-     * @return array
314
-     * @since 7.4
315
-     */
316
-    #[TentativeType]
317
-    public function __debugInfo(): array {}
16
+	/**
17
+	 * Construct a new SplFileInfo object
18
+	 * @link https://php.net/manual/en/splfileinfo.construct.php
19
+	 * @param string $filename
20
+	 * @since 5.1.2
21
+	 */
22
+	public function __construct(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $filename) {}
23
+
24
+	/**
25
+	 * Gets the path without filename
26
+	 * @link https://php.net/manual/en/splfileinfo.getpath.php
27
+	 * @return string the path to the file.
28
+	 * @since 5.1.2
29
+	 */
30
+	#[TentativeType]
31
+	public function getPath(): string {}
32
+
33
+	/**
34
+	 * Gets the filename
35
+	 * @link https://php.net/manual/en/splfileinfo.getfilename.php
36
+	 * @return string The filename.
37
+	 * @since 5.1.2
38
+	 */
39
+	#[TentativeType]
40
+	public function getFilename(): string {}
41
+
42
+	/**
43
+	 * Gets the file extension
44
+	 * @link https://php.net/manual/en/splfileinfo.getextension.php
45
+	 * @return string a string containing the file extension, or an
46
+	 * empty string if the file has no extension.
47
+	 * @since 5.3.6
48
+	 */
49
+	#[TentativeType]
50
+	public function getExtension(): string {}
51
+
52
+	/**
53
+	 * Gets the base name of the file
54
+	 * @link https://php.net/manual/en/splfileinfo.getbasename.php
55
+	 * @param string $suffix [optional] <p>
56
+	 * Optional suffix to omit from the base name returned.
57
+	 * </p>
58
+	 * @return string the base name without path information.
59
+	 * @since 5.2.2
60
+	 */
61
+	#[TentativeType]
62
+	public function getBasename(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $suffix = null): string {}
63
+
64
+	/**
65
+	 * Gets the path to the file
66
+	 * @link https://php.net/manual/en/splfileinfo.getpathname.php
67
+	 * @return string The path to the file.
68
+	 * @since 5.1.2
69
+	 */
70
+	#[TentativeType]
71
+	public function getPathname(): string {}
72
+
73
+	/**
74
+	 * Gets file permissions
75
+	 * @link https://php.net/manual/en/splfileinfo.getperms.php
76
+	 * @return int|false The file permissions on success, or <b>FALSE</b> on failure.
77
+	 * @since 5.1.2
78
+	 */
79
+	#[TentativeType]
80
+	public function getPerms(): int|false {}
81
+
82
+	/**
83
+	 * Gets the inode for the file
84
+	 * @link https://php.net/manual/en/splfileinfo.getinode.php
85
+	 * @return int|false The inode number for the filesystem object on success, or <b>FALSE</b> on failure.
86
+	 * @since 5.1.2
87
+	 */
88
+	#[TentativeType]
89
+	public function getInode(): int|false {}
90
+
91
+	/**
92
+	 * Gets file size
93
+	 * @link https://php.net/manual/en/splfileinfo.getsize.php
94
+	 * @return int|false The filesize in bytes on success, or <b>FALSE</b> on failure.
95
+	 * @since 5.1.2
96
+	 */
97
+	#[TentativeType]
98
+	public function getSize(): int|false {}
99
+
100
+	/**
101
+	 * Gets the owner of the file
102
+	 * @link https://php.net/manual/en/splfileinfo.getowner.php
103
+	 * @return int|false The owner id in numerical format on success, or <b>FALSE</b> on failure.
104
+	 * @since 5.1.2
105
+	 */
106
+	#[TentativeType]
107
+	public function getOwner(): int|false {}
108
+
109
+	/**
110
+	 * Gets the file group
111
+	 * @link https://php.net/manual/en/splfileinfo.getgroup.php
112
+	 * @return int|false The group id in numerical format on success, or <b>FALSE</b> on failure.
113
+	 * @since 5.1.2
114
+	 */
115
+	#[TentativeType]
116
+	public function getGroup(): int|false {}
117
+
118
+	/**
119
+	 * Gets last access time of the file
120
+	 * @link https://php.net/manual/en/splfileinfo.getatime.php
121
+	 * @return int|false The time the file was last accessed on success, or <b>FALSE</b> on failure.
122
+	 * @since 5.1.2
123
+	 */
124
+	#[TentativeType]
125
+	public function getATime(): int|false {}
126
+
127
+	/**
128
+	 * Gets the last modified time
129
+	 * @link https://php.net/manual/en/splfileinfo.getmtime.php
130
+	 * @return int|false The last modified time for the file, in a Unix timestamp on success, or <b>FALSE</b> on failure.
131
+	 * @since 5.1.2
132
+	 */
133
+	#[TentativeType]
134
+	public function getMTime(): int|false {}
135
+
136
+	/**
137
+	 * Gets the inode change time
138
+	 * @link https://php.net/manual/en/splfileinfo.getctime.php
139
+	 * @return int|false The last change time, in a Unix timestamp on success, or <b>FALSE</b> on failure.
140
+	 * @since 5.1.2
141
+	 */
142
+	#[TentativeType]
143
+	public function getCTime(): int|false {}
144
+
145
+	/**
146
+	 * Gets file type
147
+	 * @link https://php.net/manual/en/splfileinfo.gettype.php
148
+	 * @return string|false A string representing the type of the entry. May be one of file, link, dir, block, fifo, char, socket, or unknown, or <b>FALSE</b> on failure.
149
+	 * May be one of file, link,
150
+	 * or dir
151
+	 * @since 5.1.2
152
+	 */
153
+	#[TentativeType]
154
+	public function getType(): string|false {}
155
+
156
+	/**
157
+	 * Tells if the entry is writable
158
+	 * @link https://php.net/manual/en/splfileinfo.iswritable.php
159
+	 * @return bool true if writable, false otherwise;
160
+	 * @since 5.1.2
161
+	 */
162
+	#[TentativeType]
163
+	public function isWritable(): bool {}
164
+
165
+	/**
166
+	 * Tells if file is readable
167
+	 * @link https://php.net/manual/en/splfileinfo.isreadable.php
168
+	 * @return bool true if readable, false otherwise.
169
+	 * @since 5.1.2
170
+	 */
171
+	#[TentativeType]
172
+	public function isReadable(): bool {}
173
+
174
+	/**
175
+	 * Tells if the file is executable
176
+	 * @link https://php.net/manual/en/splfileinfo.isexecutable.php
177
+	 * @return bool true if executable, false otherwise.
178
+	 * @since 5.1.2
179
+	 */
180
+	#[TentativeType]
181
+	public function isExecutable(): bool {}
182
+
183
+	/**
184
+	 * Tells if the object references a regular file
185
+	 * @link https://php.net/manual/en/splfileinfo.isfile.php
186
+	 * @return bool true if the file exists and is a regular file (not a link), false otherwise.
187
+	 * @since 5.1.2
188
+	 */
189
+	#[TentativeType]
190
+	public function isFile(): bool {}
191
+
192
+	/**
193
+	 * Tells if the file is a directory
194
+	 * @link https://php.net/manual/en/splfileinfo.isdir.php
195
+	 * @return bool true if a directory, false otherwise.
196
+	 * @since 5.1.2
197
+	 */
198
+	#[TentativeType]
199
+	public function isDir(): bool {}
200
+
201
+	/**
202
+	 * Tells if the file is a link
203
+	 * @link https://php.net/manual/en/splfileinfo.islink.php
204
+	 * @return bool true if the file is a link, false otherwise.
205
+	 * @since 5.1.2
206
+	 */
207
+	#[TentativeType]
208
+	public function isLink(): bool {}
209
+
210
+	/**
211
+	 * Gets the target of a link
212
+	 * @link https://php.net/manual/en/splfileinfo.getlinktarget.php
213
+	 * @return string|false The target of the filesystem link on success, or <b>FALSE</b> on failure.
214
+	 * @since 5.2.2
215
+	 */
216
+	#[TentativeType]
217
+	public function getLinkTarget(): string|false {}
218
+
219
+	/**
220
+	 * Gets absolute path to file
221
+	 * @link https://php.net/manual/en/splfileinfo.getrealpath.php
222
+	 * @return string|false the path to the file, or <b>FALSE</b> if the file does not exist.
223
+	 * @since 5.2.2
224
+	 */
225
+	#[TentativeType]
226
+	public function getRealPath(): string|false {}
227
+
228
+	/**
229
+	 * Gets an SplFileInfo object for the file
230
+	 * @link https://php.net/manual/en/splfileinfo.getfileinfo.php
231
+	 * @param string $class [optional] <p>
232
+	 * Name of an <b>SplFileInfo</b> derived class to use.
233
+	 * </p>
234
+	 * @return SplFileInfo An <b>SplFileInfo</b> object created for the file.
235
+	 * @since 5.1.2
236
+	 */
237
+	#[TentativeType]
238
+	public function getFileInfo(#[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $class = null): SplFileInfo {}
239
+
240
+	/**
241
+	 * Gets an SplFileInfo object for the path
242
+	 * @link https://php.net/manual/en/splfileinfo.getpathinfo.php
243
+	 * @param string $class [optional] <p>
244
+	 * Name of an <b>SplFileInfo</b> derived class to use.
245
+	 * </p>
246
+	 * @return SplFileInfo|null A <b>SplFileInfo</b> object for the parent path of the file on success, or <b>NULL</b> on failure.
247
+	 * @since 5.1.2
248
+	 */
249
+	#[TentativeType]
250
+	public function getPathInfo(#[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $class = null): ?SplFileInfo {}
251
+
252
+	/**
253
+	 * Gets an SplFileObject object for the file
254
+	 * @link https://php.net/manual/en/splfileinfo.openfile.php
255
+	 * @param string $mode [optional] <p>
256
+	 * The mode for opening the file. See the <b>fopen</b>
257
+	 * documentation for descriptions of possible modes. The default
258
+	 * is read only.
259
+	 * </p>
260
+	 * @param bool $useIncludePath [optional] <p>
261
+	 * </p>
262
+	 * @param resource $context [optional] <p>
263
+	 * </p>
264
+	 * @return SplFileObject The opened file as an <b>SplFileObject</b> object.
265
+	 * @since 5.1.2
266
+	 */
267
+	#[TentativeType]
268
+	public function openFile(
269
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $mode = 'r',
270
+		#[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $useIncludePath = false,
271
+		$context = null
272
+	): SplFileObject {}
273
+
274
+	/**
275
+	 * Sets the class name used with <b>SplFileInfo::openFile</b>
276
+	 * @link https://php.net/manual/en/splfileinfo.setfileclass.php
277
+	 * @param string $class [optional] <p>
278
+	 * The class name to use when openFile() is called.
279
+	 * </p>
280
+	 * @return void
281
+	 * @since 5.1.2
282
+	 */
283
+	#[TentativeType]
284
+	public function setFileClass(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $class = SplFileObject::class): void {}
285
+
286
+	/**
287
+	 * Sets the class used with getFileInfo and getPathInfo
288
+	 * @link https://php.net/manual/en/splfileinfo.setinfoclass.php
289
+	 * @param string $class [optional] <p>
290
+	 * The class name to use.
291
+	 * </p>
292
+	 * @return void
293
+	 * @since 5.1.2
294
+	 */
295
+	#[TentativeType]
296
+	public function setInfoClass(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $class = SplFileInfo::class): void {}
297
+
298
+	/**
299
+	 * Returns the path to the file as a string
300
+	 * @link https://php.net/manual/en/splfileinfo.tostring.php
301
+	 * @return string the path to the file.
302
+	 * @since 5.1.2
303
+	 */
304
+	#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')]
305
+	public function __toString() {}
306
+
307
+	#[TentativeType]
308
+	final public function _bad_state_ex(): void {}
309
+
310
+	public function __wakeup() {}
311
+
312
+	/**
313
+	 * @return array
314
+	 * @since 7.4
315
+	 */
316
+	#[TentativeType]
317
+	public function __debugInfo(): array {}
318 318
 }
319 319
 
320 320
 /**
@@ -324,72 +324,72 @@  discard block
 block discarded – undo
324 324
  */
325 325
 class DirectoryIterator extends SplFileInfo implements SeekableIterator
326 326
 {
327
-    /**
328
-     * Constructs a new directory iterator from a path
329
-     * @link https://php.net/manual/en/directoryiterator.construct.php
330
-     * @param string $directory
331
-     * @throws UnexpectedValueException if the path cannot be opened.
332
-     * @throws RuntimeException if the path is an empty string.
333
-     */
334
-    public function __construct(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $directory) {}
335
-
336
-    /**
337
-     * Determine if current DirectoryIterator item is '.' or '..'
338
-     * @link https://php.net/manual/en/directoryiterator.isdot.php
339
-     * @return bool true if the entry is . or ..,
340
-     * otherwise false
341
-     */
342
-    #[TentativeType]
343
-    public function isDot(): bool {}
344
-
345
-    /**
346
-     * Rewind the DirectoryIterator back to the start
347
-     * @link https://php.net/manual/en/directoryiterator.rewind.php
348
-     * @return void
349
-     */
350
-    #[TentativeType]
351
-    public function rewind(): void {}
352
-
353
-    /**
354
-     * Check whether current DirectoryIterator position is a valid file
355
-     * @link https://php.net/manual/en/directoryiterator.valid.php
356
-     * @return bool true if the position is valid, otherwise false
357
-     */
358
-    #[TentativeType]
359
-    public function valid(): bool {}
360
-
361
-    /**
362
-     * Return the key for the current DirectoryIterator item
363
-     * @link https://php.net/manual/en/directoryiterator.key.php
364
-     * @return string The key for the current <b>DirectoryIterator</b> item.
365
-     */
366
-    public function key(): mixed {}
367
-
368
-    /**
369
-     * Return the current DirectoryIterator item.
370
-     * @link https://php.net/manual/en/directoryiterator.current.php
371
-     * @return DirectoryIterator The current <b>DirectoryIterator</b> item.
372
-     */
373
-    public function current(): mixed {}
374
-
375
-    /**
376
-     * Move forward to next DirectoryIterator item
377
-     * @link https://php.net/manual/en/directoryiterator.next.php
378
-     * @return void
379
-     */
380
-    #[TentativeType]
381
-    public function next(): void {}
382
-
383
-    /**
384
-     * Seek to a DirectoryIterator item
385
-     * @link https://php.net/manual/en/directoryiterator.seek.php
386
-     * @param int $offset <p>
387
-     * The zero-based numeric position to seek to.
388
-     * </p>
389
-     * @return void
390
-     */
391
-    #[TentativeType]
392
-    public function seek(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $offset): void {}
327
+	/**
328
+	 * Constructs a new directory iterator from a path
329
+	 * @link https://php.net/manual/en/directoryiterator.construct.php
330
+	 * @param string $directory
331
+	 * @throws UnexpectedValueException if the path cannot be opened.
332
+	 * @throws RuntimeException if the path is an empty string.
333
+	 */
334
+	public function __construct(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $directory) {}
335
+
336
+	/**
337
+	 * Determine if current DirectoryIterator item is '.' or '..'
338
+	 * @link https://php.net/manual/en/directoryiterator.isdot.php
339
+	 * @return bool true if the entry is . or ..,
340
+	 * otherwise false
341
+	 */
342
+	#[TentativeType]
343
+	public function isDot(): bool {}
344
+
345
+	/**
346
+	 * Rewind the DirectoryIterator back to the start
347
+	 * @link https://php.net/manual/en/directoryiterator.rewind.php
348
+	 * @return void
349
+	 */
350
+	#[TentativeType]
351
+	public function rewind(): void {}
352
+
353
+	/**
354
+	 * Check whether current DirectoryIterator position is a valid file
355
+	 * @link https://php.net/manual/en/directoryiterator.valid.php
356
+	 * @return bool true if the position is valid, otherwise false
357
+	 */
358
+	#[TentativeType]
359
+	public function valid(): bool {}
360
+
361
+	/**
362
+	 * Return the key for the current DirectoryIterator item
363
+	 * @link https://php.net/manual/en/directoryiterator.key.php
364
+	 * @return string The key for the current <b>DirectoryIterator</b> item.
365
+	 */
366
+	public function key(): mixed {}
367
+
368
+	/**
369
+	 * Return the current DirectoryIterator item.
370
+	 * @link https://php.net/manual/en/directoryiterator.current.php
371
+	 * @return DirectoryIterator The current <b>DirectoryIterator</b> item.
372
+	 */
373
+	public function current(): mixed {}
374
+
375
+	/**
376
+	 * Move forward to next DirectoryIterator item
377
+	 * @link https://php.net/manual/en/directoryiterator.next.php
378
+	 * @return void
379
+	 */
380
+	#[TentativeType]
381
+	public function next(): void {}
382
+
383
+	/**
384
+	 * Seek to a DirectoryIterator item
385
+	 * @link https://php.net/manual/en/directoryiterator.seek.php
386
+	 * @param int $offset <p>
387
+	 * The zero-based numeric position to seek to.
388
+	 * </p>
389
+	 * @return void
390
+	 */
391
+	#[TentativeType]
392
+	public function seek(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $offset): void {}
393 393
 }
394 394
 
395 395
 /**
@@ -398,83 +398,83 @@  discard block
 block discarded – undo
398 398
  */
399 399
 class FilesystemIterator extends DirectoryIterator
400 400
 {
401
-    public const CURRENT_MODE_MASK = 240;
402
-    public const CURRENT_AS_PATHNAME = 32;
403
-    public const CURRENT_AS_FILEINFO = 0;
404
-    public const CURRENT_AS_SELF = 16;
405
-    public const KEY_MODE_MASK = 3840;
406
-    public const KEY_AS_PATHNAME = 0;
407
-    public const FOLLOW_SYMLINKS = 16384;
408
-    public const KEY_AS_FILENAME = 256;
409
-    public const NEW_CURRENT_AND_KEY = 256;
410
-    public const SKIP_DOTS = 4096;
411
-    public const UNIX_PATHS = 8192;
412
-    public const OTHER_MODE_MASK = 28672;
413
-
414
-    /**
415
-     * Constructs a new filesystem iterator
416
-     * @link https://php.net/manual/en/filesystemiterator.construct.php
417
-     * @param string $directory
418
-     * @param int $flags [optional]
419
-     * @throws UnexpectedValueException if the path cannot be found.
420
-     */
421
-    public function __construct(
422
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $directory,
423
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = FilesystemIterator::KEY_AS_PATHNAME|FilesystemIterator::CURRENT_AS_FILEINFO|FilesystemIterator::SKIP_DOTS
424
-    ) {}
425
-
426
-    /**
427
-     * Rewinds back to the beginning
428
-     * @link https://php.net/manual/en/filesystemiterator.rewind.php
429
-     * @return void
430
-     */
431
-    #[TentativeType]
432
-    public function rewind(): void {}
433
-
434
-    /**
435
-     * Move to the next file
436
-     * @link https://php.net/manual/en/filesystemiterator.next.php
437
-     * @return void
438
-     */
439
-    public function next() {}
440
-
441
-    /**
442
-     * Retrieve the key for the current file
443
-     * @link https://php.net/manual/en/filesystemiterator.key.php
444
-     * @return string the pathname or filename depending on the set flags.
445
-     * See the FilesystemIterator constants.
446
-     */
447
-    #[TentativeType]
448
-    public function key(): string {}
449
-
450
-    /**
451
-     * The current file
452
-     * @link https://php.net/manual/en/filesystemiterator.current.php
453
-     * @return string|SplFileInfo|self The filename, file information, or $this depending on the set flags.
454
-     * See the FilesystemIterator constants.
455
-     */
456
-    #[TentativeType]
457
-    public function current(): SplFileInfo|FilesystemIterator|string {}
458
-
459
-    /**
460
-     * Get the handling flags
461
-     * @link https://php.net/manual/en/filesystemiterator.getflags.php
462
-     * @return int The integer value of the set flags.
463
-     */
464
-    #[TentativeType]
465
-    public function getFlags(): int {}
466
-
467
-    /**
468
-     * Sets handling flags
469
-     * @link https://php.net/manual/en/filesystemiterator.setflags.php
470
-     * @param int $flags [optional] <p>
471
-     * The handling flags to set.
472
-     * See the FilesystemIterator constants.
473
-     * </p>
474
-     * @return void
475
-     */
476
-    #[TentativeType]
477
-    public function setFlags(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = null): void {}
401
+	public const CURRENT_MODE_MASK = 240;
402
+	public const CURRENT_AS_PATHNAME = 32;
403
+	public const CURRENT_AS_FILEINFO = 0;
404
+	public const CURRENT_AS_SELF = 16;
405
+	public const KEY_MODE_MASK = 3840;
406
+	public const KEY_AS_PATHNAME = 0;
407
+	public const FOLLOW_SYMLINKS = 16384;
408
+	public const KEY_AS_FILENAME = 256;
409
+	public const NEW_CURRENT_AND_KEY = 256;
410
+	public const SKIP_DOTS = 4096;
411
+	public const UNIX_PATHS = 8192;
412
+	public const OTHER_MODE_MASK = 28672;
413
+
414
+	/**
415
+	 * Constructs a new filesystem iterator
416
+	 * @link https://php.net/manual/en/filesystemiterator.construct.php
417
+	 * @param string $directory
418
+	 * @param int $flags [optional]
419
+	 * @throws UnexpectedValueException if the path cannot be found.
420
+	 */
421
+	public function __construct(
422
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $directory,
423
+		#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = FilesystemIterator::KEY_AS_PATHNAME|FilesystemIterator::CURRENT_AS_FILEINFO|FilesystemIterator::SKIP_DOTS
424
+	) {}
425
+
426
+	/**
427
+	 * Rewinds back to the beginning
428
+	 * @link https://php.net/manual/en/filesystemiterator.rewind.php
429
+	 * @return void
430
+	 */
431
+	#[TentativeType]
432
+	public function rewind(): void {}
433
+
434
+	/**
435
+	 * Move to the next file
436
+	 * @link https://php.net/manual/en/filesystemiterator.next.php
437
+	 * @return void
438
+	 */
439
+	public function next() {}
440
+
441
+	/**
442
+	 * Retrieve the key for the current file
443
+	 * @link https://php.net/manual/en/filesystemiterator.key.php
444
+	 * @return string the pathname or filename depending on the set flags.
445
+	 * See the FilesystemIterator constants.
446
+	 */
447
+	#[TentativeType]
448
+	public function key(): string {}
449
+
450
+	/**
451
+	 * The current file
452
+	 * @link https://php.net/manual/en/filesystemiterator.current.php
453
+	 * @return string|SplFileInfo|self The filename, file information, or $this depending on the set flags.
454
+	 * See the FilesystemIterator constants.
455
+	 */
456
+	#[TentativeType]
457
+	public function current(): SplFileInfo|FilesystemIterator|string {}
458
+
459
+	/**
460
+	 * Get the handling flags
461
+	 * @link https://php.net/manual/en/filesystemiterator.getflags.php
462
+	 * @return int The integer value of the set flags.
463
+	 */
464
+	#[TentativeType]
465
+	public function getFlags(): int {}
466
+
467
+	/**
468
+	 * Sets handling flags
469
+	 * @link https://php.net/manual/en/filesystemiterator.setflags.php
470
+	 * @param int $flags [optional] <p>
471
+	 * The handling flags to set.
472
+	 * See the FilesystemIterator constants.
473
+	 * </p>
474
+	 * @return void
475
+	 */
476
+	#[TentativeType]
477
+	public function setFlags(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = null): void {}
478 478
 }
479 479
 
480 480
 /**
@@ -484,82 +484,82 @@  discard block
 block discarded – undo
484 484
  */
485 485
 class RecursiveDirectoryIterator extends FilesystemIterator implements RecursiveIterator
486 486
 {
487
-    /**
488
-     * Constructs a RecursiveDirectoryIterator
489
-     * @link https://php.net/manual/en/recursivedirectoryiterator.construct.php
490
-     * @param string $directory
491
-     * @param int $flags [optional]
492
-     * @throws UnexpectedValueException if the path cannot be found or is not a directory.
493
-     * @since 5.1.2
494
-     */
495
-    public function __construct(
496
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $directory,
497
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = FilesystemIterator::KEY_AS_PATHNAME|FilesystemIterator::CURRENT_AS_FILEINFO
498
-    ) {}
499
-
500
-    /**
501
-     * Returns whether current entry is a directory and not '.' or '..'
502
-     * @link https://php.net/manual/en/recursivedirectoryiterator.haschildren.php
503
-     * @param bool $allowLinks [optional] <p>
504
-     * </p>
505
-     * @return bool whether the current entry is a directory, but not '.' or '..'
506
-     */
507
-    #[TentativeType]
508
-    public function hasChildren(#[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $allowLinks = false): bool {}
509
-
510
-    /**
511
-     * Returns an iterator for the current entry if it is a directory
512
-     * @link https://php.net/manual/en/recursivedirectoryiterator.getchildren.php
513
-     * @return RecursiveDirectoryIterator An iterator for the current entry, if it is a directory.
514
-     */
515
-    #[TentativeType]
516
-    public function getChildren(): RecursiveDirectoryIterator {}
517
-
518
-    /**
519
-     * Get sub path
520
-     * @link https://php.net/manual/en/recursivedirectoryiterator.getsubpath.php
521
-     * @return string The sub path (sub directory).
522
-     */
523
-    #[TentativeType]
524
-    public function getSubPath(): string {}
525
-
526
-    /**
527
-     * Get sub path and name
528
-     * @link https://php.net/manual/en/recursivedirectoryiterator.getsubpathname.php
529
-     * @return string The sub path (sub directory) and filename.
530
-     */
531
-    #[TentativeType]
532
-    public function getSubPathname(): string {}
533
-
534
-    /**
535
-     * Rewinds back to the beginning
536
-     * @link https://php.net/manual/en/filesystemiterator.rewind.php
537
-     * @return void
538
-     */
539
-    public function rewind() {}
540
-
541
-    /**
542
-     * Move to the next file
543
-     * @link https://php.net/manual/en/filesystemiterator.next.php
544
-     * @return void
545
-     */
546
-    public function next() {}
547
-
548
-    /**
549
-     * Retrieve the key for the current file
550
-     * @link https://php.net/manual/en/filesystemiterator.key.php
551
-     * @return string the pathname or filename depending on the set flags.
552
-     * See the FilesystemIterator constants.
553
-     */
554
-    public function key() {}
555
-
556
-    /**
557
-     * The current file
558
-     * @link https://php.net/manual/en/filesystemiterator.current.php
559
-     * @return string|SplFileInfo|self The filename, file information, or $this depending on the set flags.
560
-     * See the FilesystemIterator constants.
561
-     */
562
-    public function current() {}
487
+	/**
488
+	 * Constructs a RecursiveDirectoryIterator
489
+	 * @link https://php.net/manual/en/recursivedirectoryiterator.construct.php
490
+	 * @param string $directory
491
+	 * @param int $flags [optional]
492
+	 * @throws UnexpectedValueException if the path cannot be found or is not a directory.
493
+	 * @since 5.1.2
494
+	 */
495
+	public function __construct(
496
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $directory,
497
+		#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = FilesystemIterator::KEY_AS_PATHNAME|FilesystemIterator::CURRENT_AS_FILEINFO
498
+	) {}
499
+
500
+	/**
501
+	 * Returns whether current entry is a directory and not '.' or '..'
502
+	 * @link https://php.net/manual/en/recursivedirectoryiterator.haschildren.php
503
+	 * @param bool $allowLinks [optional] <p>
504
+	 * </p>
505
+	 * @return bool whether the current entry is a directory, but not '.' or '..'
506
+	 */
507
+	#[TentativeType]
508
+	public function hasChildren(#[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $allowLinks = false): bool {}
509
+
510
+	/**
511
+	 * Returns an iterator for the current entry if it is a directory
512
+	 * @link https://php.net/manual/en/recursivedirectoryiterator.getchildren.php
513
+	 * @return RecursiveDirectoryIterator An iterator for the current entry, if it is a directory.
514
+	 */
515
+	#[TentativeType]
516
+	public function getChildren(): RecursiveDirectoryIterator {}
517
+
518
+	/**
519
+	 * Get sub path
520
+	 * @link https://php.net/manual/en/recursivedirectoryiterator.getsubpath.php
521
+	 * @return string The sub path (sub directory).
522
+	 */
523
+	#[TentativeType]
524
+	public function getSubPath(): string {}
525
+
526
+	/**
527
+	 * Get sub path and name
528
+	 * @link https://php.net/manual/en/recursivedirectoryiterator.getsubpathname.php
529
+	 * @return string The sub path (sub directory) and filename.
530
+	 */
531
+	#[TentativeType]
532
+	public function getSubPathname(): string {}
533
+
534
+	/**
535
+	 * Rewinds back to the beginning
536
+	 * @link https://php.net/manual/en/filesystemiterator.rewind.php
537
+	 * @return void
538
+	 */
539
+	public function rewind() {}
540
+
541
+	/**
542
+	 * Move to the next file
543
+	 * @link https://php.net/manual/en/filesystemiterator.next.php
544
+	 * @return void
545
+	 */
546
+	public function next() {}
547
+
548
+	/**
549
+	 * Retrieve the key for the current file
550
+	 * @link https://php.net/manual/en/filesystemiterator.key.php
551
+	 * @return string the pathname or filename depending on the set flags.
552
+	 * See the FilesystemIterator constants.
553
+	 */
554
+	public function key() {}
555
+
556
+	/**
557
+	 * The current file
558
+	 * @link https://php.net/manual/en/filesystemiterator.current.php
559
+	 * @return string|SplFileInfo|self The filename, file information, or $this depending on the set flags.
560
+	 * See the FilesystemIterator constants.
561
+	 */
562
+	public function current() {}
563 563
 }
564 564
 
565 565
 /**
@@ -569,25 +569,25 @@  discard block
 block discarded – undo
569 569
  */
570 570
 class GlobIterator extends FilesystemIterator implements Countable
571 571
 {
572
-    /**
573
-     * Construct a directory using glob
574
-     * @link https://php.net/manual/en/globiterator.construct.php
575
-     * @param $pattern
576
-     * @param int $flags [optional]
577
-     */
578
-    public function __construct(
579
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $pattern,
580
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = FilesystemIterator::KEY_AS_PATHNAME|FilesystemIterator::CURRENT_AS_FILEINFO
581
-    ) {}
582
-
583
-    /**
584
-     * Get the number of directories and files
585
-     * @link https://php.net/manual/en/globiterator.count.php
586
-     * @return int The number of returned directories and files, as an
587
-     * integer.
588
-     */
589
-    #[TentativeType]
590
-    public function count(): int {}
572
+	/**
573
+	 * Construct a directory using glob
574
+	 * @link https://php.net/manual/en/globiterator.construct.php
575
+	 * @param $pattern
576
+	 * @param int $flags [optional]
577
+	 */
578
+	public function __construct(
579
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $pattern,
580
+		#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = FilesystemIterator::KEY_AS_PATHNAME|FilesystemIterator::CURRENT_AS_FILEINFO
581
+	) {}
582
+
583
+	/**
584
+	 * Get the number of directories and files
585
+	 * @link https://php.net/manual/en/globiterator.count.php
586
+	 * @return int The number of returned directories and files, as an
587
+	 * integer.
588
+	 */
589
+	#[TentativeType]
590
+	public function count(): int {}
591 591
 }
592 592
 
593 593
 /**
@@ -596,427 +596,427 @@  discard block
 block discarded – undo
596 596
  */
597 597
 class SplFileObject extends SplFileInfo implements RecursiveIterator, SeekableIterator
598 598
 {
599
-    /**
600
-     * Drop newlines at the end of a line.
601
-     */
602
-    public const DROP_NEW_LINE = 1;
603
-    /**
604
-     * Read on rewind/next.
605
-     */
606
-    public const READ_AHEAD = 2;
607
-    /**
608
-     * Skip empty lines in the file. This requires the {@see READ_AHEAD} flag to work as expected.
609
-     */
610
-    public const SKIP_EMPTY = 4;
611
-    /**
612
-     * Read lines as CSV rows.
613
-     */
614
-    public const READ_CSV = 8;
615
-
616
-    /**
617
-     * Construct a new file object.
618
-     *
619
-     * @link  https://php.net/manual/en/splfileobject.construct.php
620
-     *
621
-     * @param string $filename The file to open
622
-     * @param string $mode [optional] The mode in which to open the file. See {@see fopen} for a list of allowed modes.
623
-     * @param bool $useIncludePath [optional] Whether to search in the include_path for filename
624
-     * @param resource $context [optional] A valid context resource created with {@see stream_context_create}
625
-     *
626
-     * @throws RuntimeException When the filename cannot be opened
627
-     * @throws LogicException When the filename is a directory
628
-     */
629
-    public function __construct(
630
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $filename,
631
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $mode = 'r',
632
-        #[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $useIncludePath = false,
633
-        $context = null
634
-    ) {}
635
-
636
-    /**
637
-     * Rewind the file to the first line
638
-     * @link https://php.net/manual/en/splfileobject.rewind.php
639
-     * @return void
640
-     */
641
-    #[TentativeType]
642
-    public function rewind(): void {}
643
-
644
-    /**
645
-     * Reached end of file
646
-     * @link https://php.net/manual/en/splfileobject.eof.php
647
-     * @return bool true if file is at EOF, false otherwise.
648
-     */
649
-    #[TentativeType]
650
-    public function eof(): bool {}
651
-
652
-    /**
653
-     * Not at EOF
654
-     * @link https://php.net/manual/en/splfileobject.valid.php
655
-     * @return bool true if not reached EOF, false otherwise.
656
-     */
657
-    #[TentativeType]
658
-    public function valid(): bool {}
659
-
660
-    /**
661
-     * Gets line from file
662
-     * @link https://php.net/manual/en/splfileobject.fgets.php
663
-     * @return string a string containing the next line from the file.
664
-     */
665
-    #[TentativeType]
666
-    public function fgets(): string {}
667
-
668
-    /**
669
-     * Read from file
670
-     * @link https://php.net/manual/en/splfileobject.fread.php
671
-     * @param int $length <p>
672
-     * The number of bytes to read.
673
-     * </p>
674
-     * @return string|false returns the string read from the file or FALSE on failure.
675
-     * @since 5.5.11
676
-     */
677
-    #[TentativeType]
678
-    public function fread(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $length): string|false {}
679
-
680
-    /**
681
-     * Gets line from file and parse as CSV fields
682
-     * @link https://php.net/manual/en/splfileobject.fgetcsv.php
683
-     * @param string $separator [optional] <p>
684
-     * The field delimiter (one character only). Defaults as a comma or the value set using <b>SplFileObject::setCsvControl</b>.
685
-     * </p>
686
-     * @param string $enclosure [optional] <p>
687
-     * The field enclosure character (one character only). Defaults as a double quotation mark or the value set using <b>SplFileObject::setCsvControl</b>.
688
-     * </p>
689
-     * @param string $escape [optional] <p>
690
-     * The escape character (one character only). Defaults as a backslash (\) or the value set using <b>SplFileObject::setCsvControl</b>.
691
-     * </p>
692
-     * @return array|false an indexed array containing the fields read, or false on error.
693
-     * </p>
694
-     * <p>
695
-     * A blank line in a CSV file will be returned as an array
696
-     * comprising a single null field unless using <b>SplFileObject::SKIP_EMPTY | SplFileObject::DROP_NEW_LINE</b>,
697
-     * in which case empty lines are skipped.
698
-     */
699
-    #[TentativeType]
700
-    public function fgetcsv(
701
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $separator = ",",
702
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $enclosure = "\"",
703
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $escape = "\\"
704
-    ): array|false {}
705
-
706
-    /**
707
-     * Write a field array as a CSV line
708
-     * @link https://php.net/manual/en/splfileobject.fputcsv.php
709
-     * @param array $fields An array of values
710
-     * @param string $separator [optional] <p>
711
-     * The field delimiter (one character only). Defaults as a comma or the value set using <b>SplFileObject::setCsvControl</b>.
712
-     * </p>
713
-     * @param string $enclosure [optional] <p>
714
-     * The field enclosure character (one character only). Defaults as a double quotation mark or the value set using <b>SplFileObject::setCsvControl</b>.
715
-     * </p>
716
-     * @param string $escape The optional escape parameter sets the escape character (one character only).
717
-     * @return int|false Returns the length of the written string or FALSE on failure.
718
-     * @since 5.4
719
-     */
720
-    #[TentativeType]
721
-    public function fputcsv(
722
-        array $fields,
723
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $separator = ',',
724
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $enclosure = '"',
725
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $escape = "\\",
726
-        #[PhpStormStubsElementAvailable('8.1')] string $eol = PHP_EOL
727
-    ): int|false {}
728
-
729
-    /**
730
-     * Set the delimiter and enclosure character for CSV
731
-     * @link https://php.net/manual/en/splfileobject.setcsvcontrol.php
732
-     * @param string $separator [optional] <p>
733
-     * The field delimiter (one character only).
734
-     * </p>
735
-     * @param string $enclosure [optional] <p>
736
-     * The field enclosure character (one character only).
737
-     * </p>
738
-     * @param string $escape [optional] <p>
739
-     * The field escape character (one character only).
740
-     * </p>
741
-     * @return void
742
-     */
743
-    #[TentativeType]
744
-    public function setCsvControl(
745
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $separator = ",",
746
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $enclosure = "\"",
747
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $escape = "\\"
748
-    ): void {}
749
-
750
-    /**
751
-     * Get the delimiter and enclosure character for CSV
752
-     * @link https://php.net/manual/en/splfileobject.getcsvcontrol.php
753
-     * @return array an indexed array containing the delimiter and enclosure character.
754
-     */
755
-    #[TentativeType]
756
-    public function getCsvControl(): array {}
757
-
758
-    /**
759
-     * Portable file locking
760
-     * @link https://php.net/manual/en/splfileobject.flock.php
761
-     * @param int $operation <p>
762
-     * <i>operation</i> is one of the following:
763
-     * <b>LOCK_SH</b> to acquire a shared lock (reader).
764
-     * </p>
765
-     * @param int &$wouldBlock [optional] <p>
766
-     * Set to 1 if the lock would block (EWOULDBLOCK errno condition).
767
-     * </p>
768
-     * @return bool true on success or false on failure.
769
-     */
770
-    #[TentativeType]
771
-    public function flock(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $operation, &$wouldBlock = null): bool {}
772
-
773
-    /**
774
-     * Flushes the output to the file
775
-     * @link https://php.net/manual/en/splfileobject.fflush.php
776
-     * @return bool true on success or false on failure.
777
-     */
778
-    #[TentativeType]
779
-    public function fflush(): bool {}
780
-
781
-    /**
782
-     * Return current file position
783
-     * @link https://php.net/manual/en/splfileobject.ftell.php
784
-     * @return int|false the position of the file pointer as an integer, or false on error.
785
-     */
786
-    #[TentativeType]
787
-    public function ftell(): int|false {}
788
-
789
-    /**
790
-     * Seek to a position
791
-     * @link https://php.net/manual/en/splfileobject.fseek.php
792
-     * @param int $offset <p>
793
-     * The offset. A negative value can be used to move backwards through the file which
794
-     * is useful when SEEK_END is used as the <i>whence</i> value.
795
-     * </p>
796
-     * @param int $whence [optional] <p>
797
-     * <i>whence</i> values are:
798
-     * <b>SEEK_SET</b> - Set position equal to <i>offset</i> bytes.
799
-     * <b>SEEK_CUR</b> - Set position to current location plus <i>offset</i>.
800
-     * <b>SEEK_END</b> - Set position to end-of-file plus <i>offset</i>.
801
-     * </p>
802
-     * <p>
803
-     * If <i>whence</i> is not specified, it is assumed to be <b>SEEK_SET</b>.
804
-     * </p>
805
-     * @return int 0 if the seek was successful, -1 otherwise. Note that seeking
806
-     * past EOF is not considered an error.
807
-     */
808
-    #[TentativeType]
809
-    public function fseek(
810
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $offset,
811
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $whence = SEEK_SET
812
-    ): int {}
813
-
814
-    /**
815
-     * Gets character from file
816
-     * @link https://php.net/manual/en/splfileobject.fgetc.php
817
-     * @return string|false a string containing a single character read from the file or false on EOF.
818
-     */
819
-    #[TentativeType]
820
-    public function fgetc(): string|false {}
821
-
822
-    /**
823
-     * Output all remaining data on a file pointer
824
-     * @link https://php.net/manual/en/splfileobject.fpassthru.php
825
-     * @return int the number of characters read from <i>handle</i>
826
-     * and passed through to the output.
827
-     */
828
-    #[TentativeType]
829
-    public function fpassthru(): int {}
830
-
831
-    /**
832
-     * Gets line from file and strip HTML tags
833
-     * @link https://php.net/manual/en/splfileobject.fgetss.php
834
-     * @param string $allowable_tags [optional] <p>
835
-     * You can use the optional third parameter to specify tags which should
836
-     * not be stripped.
837
-     * </p>
838
-     * @return string|false a string containing the next line of the file with HTML and PHP
839
-     * code stripped, or false on error.
840
-     * @removed 8.0
841
-     */
842
-    #[Deprecated(since: '7.3')]
843
-    public function fgetss($allowable_tags = null) {}
844
-
845
-    /**
846
-     * Parses input from file according to a format
847
-     * @link https://php.net/manual/en/splfileobject.fscanf.php
848
-     * @param string $format <p>
849
-     * The specified format as described in the <b>sprintf</b> documentation.
850
-     * </p>
851
-     * @param mixed &...$vars [optional] <p>
852
-     * The optional assigned values.
853
-     * </p>
854
-     * @return array|int If only one parameter is passed to this method, the values parsed will be
855
-     * returned as an array. Otherwise, if optional parameters are passed, the
856
-     * function will return the number of assigned values. The optional
857
-     * parameters must be passed by reference.
858
-     */
859
-    #[TentativeType]
860
-    public function fscanf(
861
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $format,
862
-        #[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] &...$vars
863
-    ): array|int|null {}
864
-
865
-    /**
866
-     * Write to file
867
-     * @link https://php.net/manual/en/splfileobject.fwrite.php
868
-     * @param string $data <p>
869
-     * The string to be written to the file.
870
-     * </p>
871
-     * @param int $length [optional] <p>
872
-     * If the <i>length</i> argument is given, writing will
873
-     * stop after <i>length</i> bytes have been written or
874
-     * the end of <i>string</i> is reached, whichever comes
875
-     * first.
876
-     * </p>
877
-     * @return int|false the number of bytes written, or 0 (false since 7.4) on error.
878
-     */
879
-    #[LanguageLevelTypeAware(['7.4' => 'int|false'], default: 'int')]
880
-    #[TentativeType]
881
-    public function fwrite(
882
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $data,
883
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $length = null
884
-    ): int|false {}
885
-
886
-    /**
887
-     * Gets information about the file
888
-     * @link https://php.net/manual/en/splfileobject.fstat.php
889
-     * @return array an array with the statistics of the file; the format of the array
890
-     * is described in detail on the <b>stat</b> manual page.
891
-     */
892
-    #[TentativeType]
893
-    public function fstat(): array {}
894
-
895
-    /**
896
-     * Truncates the file to a given length
897
-     * @link https://php.net/manual/en/splfileobject.ftruncate.php
898
-     * @param int $size <p>
899
-     * The size to truncate to.
900
-     * </p>
901
-     * <p>
902
-     * If <i>size</i> is larger than the file it is extended with null bytes.
903
-     * </p>
904
-     * <p>
905
-     * If <i>size</i> is smaller than the file, the extra data will be lost.
906
-     * </p>
907
-     * @return bool true on success or false on failure.
908
-     */
909
-    #[TentativeType]
910
-    public function ftruncate(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $size): bool {}
911
-
912
-    /**
913
-     * Retrieve current line of file
914
-     * @link https://php.net/manual/en/splfileobject.current.php
915
-     * @return string|array|false Retrieves the current line of the file. If the <b>SplFileObject::READ_CSV</b> flag is set, this method returns an array containing the current line parsed as CSV data.
916
-     */
917
-    #[TentativeType]
918
-    public function current(): string|array|false {}
919
-
920
-    /**
921
-     * Get line number
922
-     * @link https://php.net/manual/en/splfileobject.key.php
923
-     * @return int the current line number.
924
-     */
925
-    #[TentativeType]
926
-    public function key(): int {}
927
-
928
-    /**
929
-     * Read next line
930
-     * @link https://php.net/manual/en/splfileobject.next.php
931
-     * @return void
932
-     */
933
-    #[TentativeType]
934
-    public function next(): void {}
935
-
936
-    /**
937
-     * Sets flags for the SplFileObject
938
-     * @link https://php.net/manual/en/splfileobject.setflags.php
939
-     * @param int $flags <p>
940
-     * Bit mask of the flags to set. See
941
-     * SplFileObject constants
942
-     * for the available flags.
943
-     * </p>
944
-     * @return void
945
-     */
946
-    #[TentativeType]
947
-    public function setFlags(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags): void {}
948
-
949
-    /**
950
-     * Gets flags for the SplFileObject
951
-     * @link https://php.net/manual/en/splfileobject.getflags.php
952
-     * @return int an integer representing the flags.
953
-     */
954
-    #[TentativeType]
955
-    public function getFlags(): int {}
956
-
957
-    /**
958
-     * Set maximum line length
959
-     * @link https://php.net/manual/en/splfileobject.setmaxlinelen.php
960
-     * @param int $maxLength <p>
961
-     * The maximum length of a line.
962
-     * </p>
963
-     * @return void
964
-     */
965
-    #[TentativeType]
966
-    public function setMaxLineLen(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $maxLength): void {}
967
-
968
-    /**
969
-     * Get maximum line length
970
-     * @link https://php.net/manual/en/splfileobject.getmaxlinelen.php
971
-     * @return int the maximum line length if one has been set with
972
-     * <b>SplFileObject::setMaxLineLen</b>, default is 0.
973
-     */
974
-    #[TentativeType]
975
-    public function getMaxLineLen(): int {}
976
-
977
-    /**
978
-     * SplFileObject does not have children
979
-     * @link https://php.net/manual/en/splfileobject.haschildren.php
980
-     * @return bool false
981
-     * @since 5.1.2
982
-     */
983
-    #[TentativeType]
984
-    public function hasChildren(): bool {}
985
-
986
-    /**
987
-     * No purpose
988
-     * @link https://php.net/manual/en/splfileobject.getchildren.php
989
-     * @return null|RecursiveIterator An SplFileObject does not have children so this method returns NULL.
990
-     */
991
-    #[TentativeType]
992
-    public function getChildren(): ?RecursiveIterator {}
993
-
994
-    /**
995
-     * Seek to specified line
996
-     * @link https://php.net/manual/en/splfileobject.seek.php
997
-     * @param int $line <p>
998
-     * The zero-based line number to seek to.
999
-     * </p>
1000
-     * @return void
1001
-     */
1002
-    #[TentativeType]
1003
-    public function seek(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $line): void {}
1004
-
1005
-    /**
1006
-     * Alias of <b>SplFileObject::fgets</b>
1007
-     * @link https://php.net/manual/en/splfileobject.getcurrentline.php
1008
-     * @return string Returns a string containing the next line from the file.
1009
-     * @since 5.1.2
1010
-     */
1011
-    #[TentativeType]
1012
-    public function getCurrentLine(): string {}
1013
-
1014
-    /**
1015
-     * Alias of <b>SplFileObject::current</b>
1016
-     * @link https://php.net/manual/en/splfileobject.tostring.php
1017
-     */
1018
-    #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')]
1019
-    public function __toString() {}
599
+	/**
600
+	 * Drop newlines at the end of a line.
601
+	 */
602
+	public const DROP_NEW_LINE = 1;
603
+	/**
604
+	 * Read on rewind/next.
605
+	 */
606
+	public const READ_AHEAD = 2;
607
+	/**
608
+	 * Skip empty lines in the file. This requires the {@see READ_AHEAD} flag to work as expected.
609
+	 */
610
+	public const SKIP_EMPTY = 4;
611
+	/**
612
+	 * Read lines as CSV rows.
613
+	 */
614
+	public const READ_CSV = 8;
615
+
616
+	/**
617
+	 * Construct a new file object.
618
+	 *
619
+	 * @link  https://php.net/manual/en/splfileobject.construct.php
620
+	 *
621
+	 * @param string $filename The file to open
622
+	 * @param string $mode [optional] The mode in which to open the file. See {@see fopen} for a list of allowed modes.
623
+	 * @param bool $useIncludePath [optional] Whether to search in the include_path for filename
624
+	 * @param resource $context [optional] A valid context resource created with {@see stream_context_create}
625
+	 *
626
+	 * @throws RuntimeException When the filename cannot be opened
627
+	 * @throws LogicException When the filename is a directory
628
+	 */
629
+	public function __construct(
630
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $filename,
631
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $mode = 'r',
632
+		#[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $useIncludePath = false,
633
+		$context = null
634
+	) {}
635
+
636
+	/**
637
+	 * Rewind the file to the first line
638
+	 * @link https://php.net/manual/en/splfileobject.rewind.php
639
+	 * @return void
640
+	 */
641
+	#[TentativeType]
642
+	public function rewind(): void {}
643
+
644
+	/**
645
+	 * Reached end of file
646
+	 * @link https://php.net/manual/en/splfileobject.eof.php
647
+	 * @return bool true if file is at EOF, false otherwise.
648
+	 */
649
+	#[TentativeType]
650
+	public function eof(): bool {}
651
+
652
+	/**
653
+	 * Not at EOF
654
+	 * @link https://php.net/manual/en/splfileobject.valid.php
655
+	 * @return bool true if not reached EOF, false otherwise.
656
+	 */
657
+	#[TentativeType]
658
+	public function valid(): bool {}
659
+
660
+	/**
661
+	 * Gets line from file
662
+	 * @link https://php.net/manual/en/splfileobject.fgets.php
663
+	 * @return string a string containing the next line from the file.
664
+	 */
665
+	#[TentativeType]
666
+	public function fgets(): string {}
667
+
668
+	/**
669
+	 * Read from file
670
+	 * @link https://php.net/manual/en/splfileobject.fread.php
671
+	 * @param int $length <p>
672
+	 * The number of bytes to read.
673
+	 * </p>
674
+	 * @return string|false returns the string read from the file or FALSE on failure.
675
+	 * @since 5.5.11
676
+	 */
677
+	#[TentativeType]
678
+	public function fread(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $length): string|false {}
679
+
680
+	/**
681
+	 * Gets line from file and parse as CSV fields
682
+	 * @link https://php.net/manual/en/splfileobject.fgetcsv.php
683
+	 * @param string $separator [optional] <p>
684
+	 * The field delimiter (one character only). Defaults as a comma or the value set using <b>SplFileObject::setCsvControl</b>.
685
+	 * </p>
686
+	 * @param string $enclosure [optional] <p>
687
+	 * The field enclosure character (one character only). Defaults as a double quotation mark or the value set using <b>SplFileObject::setCsvControl</b>.
688
+	 * </p>
689
+	 * @param string $escape [optional] <p>
690
+	 * The escape character (one character only). Defaults as a backslash (\) or the value set using <b>SplFileObject::setCsvControl</b>.
691
+	 * </p>
692
+	 * @return array|false an indexed array containing the fields read, or false on error.
693
+	 * </p>
694
+	 * <p>
695
+	 * A blank line in a CSV file will be returned as an array
696
+	 * comprising a single null field unless using <b>SplFileObject::SKIP_EMPTY | SplFileObject::DROP_NEW_LINE</b>,
697
+	 * in which case empty lines are skipped.
698
+	 */
699
+	#[TentativeType]
700
+	public function fgetcsv(
701
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $separator = ",",
702
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $enclosure = "\"",
703
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $escape = "\\"
704
+	): array|false {}
705
+
706
+	/**
707
+	 * Write a field array as a CSV line
708
+	 * @link https://php.net/manual/en/splfileobject.fputcsv.php
709
+	 * @param array $fields An array of values
710
+	 * @param string $separator [optional] <p>
711
+	 * The field delimiter (one character only). Defaults as a comma or the value set using <b>SplFileObject::setCsvControl</b>.
712
+	 * </p>
713
+	 * @param string $enclosure [optional] <p>
714
+	 * The field enclosure character (one character only). Defaults as a double quotation mark or the value set using <b>SplFileObject::setCsvControl</b>.
715
+	 * </p>
716
+	 * @param string $escape The optional escape parameter sets the escape character (one character only).
717
+	 * @return int|false Returns the length of the written string or FALSE on failure.
718
+	 * @since 5.4
719
+	 */
720
+	#[TentativeType]
721
+	public function fputcsv(
722
+		array $fields,
723
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $separator = ',',
724
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $enclosure = '"',
725
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $escape = "\\",
726
+		#[PhpStormStubsElementAvailable('8.1')] string $eol = PHP_EOL
727
+	): int|false {}
728
+
729
+	/**
730
+	 * Set the delimiter and enclosure character for CSV
731
+	 * @link https://php.net/manual/en/splfileobject.setcsvcontrol.php
732
+	 * @param string $separator [optional] <p>
733
+	 * The field delimiter (one character only).
734
+	 * </p>
735
+	 * @param string $enclosure [optional] <p>
736
+	 * The field enclosure character (one character only).
737
+	 * </p>
738
+	 * @param string $escape [optional] <p>
739
+	 * The field escape character (one character only).
740
+	 * </p>
741
+	 * @return void
742
+	 */
743
+	#[TentativeType]
744
+	public function setCsvControl(
745
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $separator = ",",
746
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $enclosure = "\"",
747
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $escape = "\\"
748
+	): void {}
749
+
750
+	/**
751
+	 * Get the delimiter and enclosure character for CSV
752
+	 * @link https://php.net/manual/en/splfileobject.getcsvcontrol.php
753
+	 * @return array an indexed array containing the delimiter and enclosure character.
754
+	 */
755
+	#[TentativeType]
756
+	public function getCsvControl(): array {}
757
+
758
+	/**
759
+	 * Portable file locking
760
+	 * @link https://php.net/manual/en/splfileobject.flock.php
761
+	 * @param int $operation <p>
762
+	 * <i>operation</i> is one of the following:
763
+	 * <b>LOCK_SH</b> to acquire a shared lock (reader).
764
+	 * </p>
765
+	 * @param int &$wouldBlock [optional] <p>
766
+	 * Set to 1 if the lock would block (EWOULDBLOCK errno condition).
767
+	 * </p>
768
+	 * @return bool true on success or false on failure.
769
+	 */
770
+	#[TentativeType]
771
+	public function flock(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $operation, &$wouldBlock = null): bool {}
772
+
773
+	/**
774
+	 * Flushes the output to the file
775
+	 * @link https://php.net/manual/en/splfileobject.fflush.php
776
+	 * @return bool true on success or false on failure.
777
+	 */
778
+	#[TentativeType]
779
+	public function fflush(): bool {}
780
+
781
+	/**
782
+	 * Return current file position
783
+	 * @link https://php.net/manual/en/splfileobject.ftell.php
784
+	 * @return int|false the position of the file pointer as an integer, or false on error.
785
+	 */
786
+	#[TentativeType]
787
+	public function ftell(): int|false {}
788
+
789
+	/**
790
+	 * Seek to a position
791
+	 * @link https://php.net/manual/en/splfileobject.fseek.php
792
+	 * @param int $offset <p>
793
+	 * The offset. A negative value can be used to move backwards through the file which
794
+	 * is useful when SEEK_END is used as the <i>whence</i> value.
795
+	 * </p>
796
+	 * @param int $whence [optional] <p>
797
+	 * <i>whence</i> values are:
798
+	 * <b>SEEK_SET</b> - Set position equal to <i>offset</i> bytes.
799
+	 * <b>SEEK_CUR</b> - Set position to current location plus <i>offset</i>.
800
+	 * <b>SEEK_END</b> - Set position to end-of-file plus <i>offset</i>.
801
+	 * </p>
802
+	 * <p>
803
+	 * If <i>whence</i> is not specified, it is assumed to be <b>SEEK_SET</b>.
804
+	 * </p>
805
+	 * @return int 0 if the seek was successful, -1 otherwise. Note that seeking
806
+	 * past EOF is not considered an error.
807
+	 */
808
+	#[TentativeType]
809
+	public function fseek(
810
+		#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $offset,
811
+		#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $whence = SEEK_SET
812
+	): int {}
813
+
814
+	/**
815
+	 * Gets character from file
816
+	 * @link https://php.net/manual/en/splfileobject.fgetc.php
817
+	 * @return string|false a string containing a single character read from the file or false on EOF.
818
+	 */
819
+	#[TentativeType]
820
+	public function fgetc(): string|false {}
821
+
822
+	/**
823
+	 * Output all remaining data on a file pointer
824
+	 * @link https://php.net/manual/en/splfileobject.fpassthru.php
825
+	 * @return int the number of characters read from <i>handle</i>
826
+	 * and passed through to the output.
827
+	 */
828
+	#[TentativeType]
829
+	public function fpassthru(): int {}
830
+
831
+	/**
832
+	 * Gets line from file and strip HTML tags
833
+	 * @link https://php.net/manual/en/splfileobject.fgetss.php
834
+	 * @param string $allowable_tags [optional] <p>
835
+	 * You can use the optional third parameter to specify tags which should
836
+	 * not be stripped.
837
+	 * </p>
838
+	 * @return string|false a string containing the next line of the file with HTML and PHP
839
+	 * code stripped, or false on error.
840
+	 * @removed 8.0
841
+	 */
842
+	#[Deprecated(since: '7.3')]
843
+	public function fgetss($allowable_tags = null) {}
844
+
845
+	/**
846
+	 * Parses input from file according to a format
847
+	 * @link https://php.net/manual/en/splfileobject.fscanf.php
848
+	 * @param string $format <p>
849
+	 * The specified format as described in the <b>sprintf</b> documentation.
850
+	 * </p>
851
+	 * @param mixed &...$vars [optional] <p>
852
+	 * The optional assigned values.
853
+	 * </p>
854
+	 * @return array|int If only one parameter is passed to this method, the values parsed will be
855
+	 * returned as an array. Otherwise, if optional parameters are passed, the
856
+	 * function will return the number of assigned values. The optional
857
+	 * parameters must be passed by reference.
858
+	 */
859
+	#[TentativeType]
860
+	public function fscanf(
861
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $format,
862
+		#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] &...$vars
863
+	): array|int|null {}
864
+
865
+	/**
866
+	 * Write to file
867
+	 * @link https://php.net/manual/en/splfileobject.fwrite.php
868
+	 * @param string $data <p>
869
+	 * The string to be written to the file.
870
+	 * </p>
871
+	 * @param int $length [optional] <p>
872
+	 * If the <i>length</i> argument is given, writing will
873
+	 * stop after <i>length</i> bytes have been written or
874
+	 * the end of <i>string</i> is reached, whichever comes
875
+	 * first.
876
+	 * </p>
877
+	 * @return int|false the number of bytes written, or 0 (false since 7.4) on error.
878
+	 */
879
+	#[LanguageLevelTypeAware(['7.4' => 'int|false'], default: 'int')]
880
+	#[TentativeType]
881
+	public function fwrite(
882
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $data,
883
+		#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $length = null
884
+	): int|false {}
885
+
886
+	/**
887
+	 * Gets information about the file
888
+	 * @link https://php.net/manual/en/splfileobject.fstat.php
889
+	 * @return array an array with the statistics of the file; the format of the array
890
+	 * is described in detail on the <b>stat</b> manual page.
891
+	 */
892
+	#[TentativeType]
893
+	public function fstat(): array {}
894
+
895
+	/**
896
+	 * Truncates the file to a given length
897
+	 * @link https://php.net/manual/en/splfileobject.ftruncate.php
898
+	 * @param int $size <p>
899
+	 * The size to truncate to.
900
+	 * </p>
901
+	 * <p>
902
+	 * If <i>size</i> is larger than the file it is extended with null bytes.
903
+	 * </p>
904
+	 * <p>
905
+	 * If <i>size</i> is smaller than the file, the extra data will be lost.
906
+	 * </p>
907
+	 * @return bool true on success or false on failure.
908
+	 */
909
+	#[TentativeType]
910
+	public function ftruncate(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $size): bool {}
911
+
912
+	/**
913
+	 * Retrieve current line of file
914
+	 * @link https://php.net/manual/en/splfileobject.current.php
915
+	 * @return string|array|false Retrieves the current line of the file. If the <b>SplFileObject::READ_CSV</b> flag is set, this method returns an array containing the current line parsed as CSV data.
916
+	 */
917
+	#[TentativeType]
918
+	public function current(): string|array|false {}
919
+
920
+	/**
921
+	 * Get line number
922
+	 * @link https://php.net/manual/en/splfileobject.key.php
923
+	 * @return int the current line number.
924
+	 */
925
+	#[TentativeType]
926
+	public function key(): int {}
927
+
928
+	/**
929
+	 * Read next line
930
+	 * @link https://php.net/manual/en/splfileobject.next.php
931
+	 * @return void
932
+	 */
933
+	#[TentativeType]
934
+	public function next(): void {}
935
+
936
+	/**
937
+	 * Sets flags for the SplFileObject
938
+	 * @link https://php.net/manual/en/splfileobject.setflags.php
939
+	 * @param int $flags <p>
940
+	 * Bit mask of the flags to set. See
941
+	 * SplFileObject constants
942
+	 * for the available flags.
943
+	 * </p>
944
+	 * @return void
945
+	 */
946
+	#[TentativeType]
947
+	public function setFlags(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags): void {}
948
+
949
+	/**
950
+	 * Gets flags for the SplFileObject
951
+	 * @link https://php.net/manual/en/splfileobject.getflags.php
952
+	 * @return int an integer representing the flags.
953
+	 */
954
+	#[TentativeType]
955
+	public function getFlags(): int {}
956
+
957
+	/**
958
+	 * Set maximum line length
959
+	 * @link https://php.net/manual/en/splfileobject.setmaxlinelen.php
960
+	 * @param int $maxLength <p>
961
+	 * The maximum length of a line.
962
+	 * </p>
963
+	 * @return void
964
+	 */
965
+	#[TentativeType]
966
+	public function setMaxLineLen(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $maxLength): void {}
967
+
968
+	/**
969
+	 * Get maximum line length
970
+	 * @link https://php.net/manual/en/splfileobject.getmaxlinelen.php
971
+	 * @return int the maximum line length if one has been set with
972
+	 * <b>SplFileObject::setMaxLineLen</b>, default is 0.
973
+	 */
974
+	#[TentativeType]
975
+	public function getMaxLineLen(): int {}
976
+
977
+	/**
978
+	 * SplFileObject does not have children
979
+	 * @link https://php.net/manual/en/splfileobject.haschildren.php
980
+	 * @return bool false
981
+	 * @since 5.1.2
982
+	 */
983
+	#[TentativeType]
984
+	public function hasChildren(): bool {}
985
+
986
+	/**
987
+	 * No purpose
988
+	 * @link https://php.net/manual/en/splfileobject.getchildren.php
989
+	 * @return null|RecursiveIterator An SplFileObject does not have children so this method returns NULL.
990
+	 */
991
+	#[TentativeType]
992
+	public function getChildren(): ?RecursiveIterator {}
993
+
994
+	/**
995
+	 * Seek to specified line
996
+	 * @link https://php.net/manual/en/splfileobject.seek.php
997
+	 * @param int $line <p>
998
+	 * The zero-based line number to seek to.
999
+	 * </p>
1000
+	 * @return void
1001
+	 */
1002
+	#[TentativeType]
1003
+	public function seek(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $line): void {}
1004
+
1005
+	/**
1006
+	 * Alias of <b>SplFileObject::fgets</b>
1007
+	 * @link https://php.net/manual/en/splfileobject.getcurrentline.php
1008
+	 * @return string Returns a string containing the next line from the file.
1009
+	 * @since 5.1.2
1010
+	 */
1011
+	#[TentativeType]
1012
+	public function getCurrentLine(): string {}
1013
+
1014
+	/**
1015
+	 * Alias of <b>SplFileObject::current</b>
1016
+	 * @link https://php.net/manual/en/splfileobject.tostring.php
1017
+	 */
1018
+	#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')]
1019
+	public function __toString() {}
1020 1020
 }
1021 1021
 
1022 1022
 /**
@@ -1025,14 +1025,14 @@  discard block
 block discarded – undo
1025 1025
  */
1026 1026
 class SplTempFileObject extends SplFileObject
1027 1027
 {
1028
-    /**
1029
-     * Construct a new temporary file object
1030
-     * @link https://php.net/manual/en/spltempfileobject.construct.php
1031
-     * @param int $maxMemory [optional]
1032
-     * @throws RuntimeException if an error occurs.
1033
-     * @since 5.1.2
1034
-     */
1035
-    public function __construct(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $maxMemory = 2097152) {}
1028
+	/**
1029
+	 * Construct a new temporary file object
1030
+	 * @link https://php.net/manual/en/spltempfileobject.construct.php
1031
+	 * @param int $maxMemory [optional]
1032
+	 * @throws RuntimeException if an error occurs.
1033
+	 * @since 5.1.2
1034
+	 */
1035
+	public function __construct(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $maxMemory = 2097152) {}
1036 1036
 }
1037 1037
 
1038 1038
 /**
@@ -1041,250 +1041,250 @@  discard block
 block discarded – undo
1041 1041
  */
1042 1042
 class SplDoublyLinkedList implements Iterator, Countable, ArrayAccess, Serializable
1043 1043
 {
1044
-    public const IT_MODE_LIFO = 2;
1045
-    public const IT_MODE_FIFO = 0;
1046
-    public const IT_MODE_DELETE = 1;
1047
-    public const IT_MODE_KEEP = 0;
1048
-
1049
-    /**
1050
-     * Add/insert a new value at the specified index
1051
-     * @param mixed $index The index where the new value is to be inserted.
1052
-     * @param mixed $value The new value for the index.
1053
-     * @return void
1054
-     * @link https://php.net/spldoublylinkedlist.add
1055
-     * @since 5.5
1056
-     */
1057
-    #[TentativeType]
1058
-    public function add(
1059
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $index,
1060
-        #[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $value
1061
-    ): void {}
1062
-
1063
-    /**
1064
-     * Pops a node from the end of the doubly linked list
1065
-     * @link https://php.net/manual/en/spldoublylinkedlist.pop.php
1066
-     * @return mixed The value of the popped node.
1067
-     */
1068
-    #[TentativeType]
1069
-    public function pop(): mixed {}
1070
-
1071
-    /**
1072
-     * Shifts a node from the beginning of the doubly linked list
1073
-     * @link https://php.net/manual/en/spldoublylinkedlist.shift.php
1074
-     * @return mixed The value of the shifted node.
1075
-     */
1076
-    #[TentativeType]
1077
-    public function shift(): mixed {}
1078
-
1079
-    /**
1080
-     * Pushes an element at the end of the doubly linked list
1081
-     * @link https://php.net/manual/en/spldoublylinkedlist.push.php
1082
-     * @param mixed $value <p>
1083
-     * The value to push.
1084
-     * </p>
1085
-     * @return void
1086
-     */
1087
-    #[TentativeType]
1088
-    public function push(#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $value): void {}
1089
-
1090
-    /**
1091
-     * Prepends the doubly linked list with an element
1092
-     * @link https://php.net/manual/en/spldoublylinkedlist.unshift.php
1093
-     * @param mixed $value <p>
1094
-     * The value to unshift.
1095
-     * </p>
1096
-     * @return void
1097
-     */
1098
-    #[TentativeType]
1099
-    public function unshift(#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $value): void {}
1100
-
1101
-    /**
1102
-     * Peeks at the node from the end of the doubly linked list
1103
-     * @link https://php.net/manual/en/spldoublylinkedlist.top.php
1104
-     * @return mixed The value of the last node.
1105
-     */
1106
-    #[TentativeType]
1107
-    public function top(): mixed {}
1108
-
1109
-    /**
1110
-     * Peeks at the node from the beginning of the doubly linked list
1111
-     * @link https://php.net/manual/en/spldoublylinkedlist.bottom.php
1112
-     * @return mixed The value of the first node.
1113
-     */
1114
-    #[TentativeType]
1115
-    public function bottom(): mixed {}
1116
-
1117
-    /**
1118
-     * Counts the number of elements in the doubly linked list.
1119
-     * @link https://php.net/manual/en/spldoublylinkedlist.count.php
1120
-     * @return int the number of elements in the doubly linked list.
1121
-     */
1122
-    #[TentativeType]
1123
-    public function count(): int {}
1124
-
1125
-    /**
1126
-     * Checks whether the doubly linked list is empty.
1127
-     * @link https://php.net/manual/en/spldoublylinkedlist.isempty.php
1128
-     * @return bool whether the doubly linked list is empty.
1129
-     */
1130
-    #[TentativeType]
1131
-    public function isEmpty(): bool {}
1132
-
1133
-    /**
1134
-     * Sets the mode of iteration
1135
-     * @link https://php.net/manual/en/spldoublylinkedlist.setiteratormode.php
1136
-     * @param int $mode <p>
1137
-     * There are two orthogonal sets of modes that can be set:
1138
-     * </p>
1139
-     * The direction of the iteration (either one or the other):
1140
-     * <b>SplDoublyLinkedList::IT_MODE_LIFO</b> (Stack style)
1141
-     * @return int
1142
-     */
1143
-    #[TentativeType]
1144
-    public function setIteratorMode(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $mode): int {}
1145
-
1146
-    /**
1147
-     * Returns the mode of iteration
1148
-     * @link https://php.net/manual/en/spldoublylinkedlist.getiteratormode.php
1149
-     * @return int the different modes and flags that affect the iteration.
1150
-     */
1151
-    #[TentativeType]
1152
-    public function getIteratorMode(): int {}
1153
-
1154
-    /**
1155
-     * Returns whether the requested $index exists
1156
-     * @link https://php.net/manual/en/spldoublylinkedlist.offsetexists.php
1157
-     * @param mixed $index <p>
1158
-     * The index being checked.
1159
-     * </p>
1160
-     * @return bool true if the requested <i>index</i> exists, otherwise false
1161
-     */
1162
-    #[TentativeType]
1163
-    public function offsetExists($index): bool {}
1164
-
1165
-    /**
1166
-     * Returns the value at the specified $index
1167
-     * @link https://php.net/manual/en/spldoublylinkedlist.offsetget.php
1168
-     * @param mixed $index <p>
1169
-     * The index with the value.
1170
-     * </p>
1171
-     * @return mixed The value at the specified <i>index</i>.
1172
-     */
1173
-    #[TentativeType]
1174
-    public function offsetGet($index): mixed {}
1175
-
1176
-    /**
1177
-     * Sets the value at the specified $index to $newval
1178
-     * @link https://php.net/manual/en/spldoublylinkedlist.offsetset.php
1179
-     * @param mixed $index <p>
1180
-     * The index being set.
1181
-     * </p>
1182
-     * @param mixed $value <p>
1183
-     * The new value for the <i>index</i>.
1184
-     * </p>
1185
-     * @return void
1186
-     */
1187
-    #[TentativeType]
1188
-    public function offsetSet($index, #[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $value): void {}
1189
-
1190
-    /**
1191
-     * Unsets the value at the specified $index
1192
-     * @link https://php.net/manual/en/spldoublylinkedlist.offsetunset.php
1193
-     * @param mixed $index <p>
1194
-     * The index being unset.
1195
-     * </p>
1196
-     * @return void
1197
-     */
1198
-    #[TentativeType]
1199
-    public function offsetUnset($index): void {}
1200
-
1201
-    /**
1202
-     * Rewind iterator back to the start
1203
-     * @link https://php.net/manual/en/spldoublylinkedlist.rewind.php
1204
-     * @return void
1205
-     */
1206
-    #[TentativeType]
1207
-    public function rewind(): void {}
1208
-
1209
-    /**
1210
-     * Return current array entry
1211
-     * @link https://php.net/manual/en/spldoublylinkedlist.current.php
1212
-     * @return mixed The current node value.
1213
-     */
1214
-    #[TentativeType]
1215
-    public function current(): mixed {}
1216
-
1217
-    /**
1218
-     * Return current node index
1219
-     * @link https://php.net/manual/en/spldoublylinkedlist.key.php
1220
-     * @return string|float|int|bool|null The current node index.
1221
-     */
1222
-    #[TentativeType]
1223
-    public function key(): int {}
1224
-
1225
-    /**
1226
-     * Move to next entry
1227
-     * @link https://php.net/manual/en/spldoublylinkedlist.next.php
1228
-     * @return void
1229
-     */
1230
-    #[TentativeType]
1231
-    public function next(): void {}
1232
-
1233
-    /**
1234
-     * Move to previous entry
1235
-     * @link https://php.net/manual/en/spldoublylinkedlist.prev.php
1236
-     * @return void
1237
-     */
1238
-    #[TentativeType]
1239
-    public function prev(): void {}
1240
-
1241
-    /**
1242
-     * Check whether the doubly linked list contains more nodes
1243
-     * @link https://php.net/manual/en/spldoublylinkedlist.valid.php
1244
-     * @return bool true if the doubly linked list contains any more nodes, false otherwise.
1245
-     */
1246
-    #[TentativeType]
1247
-    public function valid(): bool {}
1248
-
1249
-    /**
1250
-     * Unserializes the storage
1251
-     * @link https://php.net/manual/en/spldoublylinkedlist.serialize.php
1252
-     * @param string $data The serialized string.
1253
-     * @return void
1254
-     * @since 5.4
1255
-     */
1256
-    #[TentativeType]
1257
-    public function unserialize(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $data): void {}
1258
-
1259
-    /**
1260
-     * Serializes the storage
1261
-     * @link https://php.net/manual/en/spldoublylinkedlist.unserialize.php
1262
-     * @return string The serialized string.
1263
-     * @since 5.4
1264
-     */
1265
-    #[TentativeType]
1266
-    public function serialize(): string {}
1267
-
1268
-    /**
1269
-     * @return array
1270
-     * @since 7.4
1271
-     */
1272
-    #[TentativeType]
1273
-    public function __debugInfo(): array {}
1274
-
1275
-    /**
1276
-     * @return array
1277
-     * @since 7.4
1278
-     */
1279
-    #[TentativeType]
1280
-    public function __serialize(): array {}
1281
-
1282
-    /**
1283
-     * @param array $data
1284
-     * @since 7.4
1285
-     */
1286
-    #[TentativeType]
1287
-    public function __unserialize(array $data): void {}
1044
+	public const IT_MODE_LIFO = 2;
1045
+	public const IT_MODE_FIFO = 0;
1046
+	public const IT_MODE_DELETE = 1;
1047
+	public const IT_MODE_KEEP = 0;
1048
+
1049
+	/**
1050
+	 * Add/insert a new value at the specified index
1051
+	 * @param mixed $index The index where the new value is to be inserted.
1052
+	 * @param mixed $value The new value for the index.
1053
+	 * @return void
1054
+	 * @link https://php.net/spldoublylinkedlist.add
1055
+	 * @since 5.5
1056
+	 */
1057
+	#[TentativeType]
1058
+	public function add(
1059
+		#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $index,
1060
+		#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $value
1061
+	): void {}
1062
+
1063
+	/**
1064
+	 * Pops a node from the end of the doubly linked list
1065
+	 * @link https://php.net/manual/en/spldoublylinkedlist.pop.php
1066
+	 * @return mixed The value of the popped node.
1067
+	 */
1068
+	#[TentativeType]
1069
+	public function pop(): mixed {}
1070
+
1071
+	/**
1072
+	 * Shifts a node from the beginning of the doubly linked list
1073
+	 * @link https://php.net/manual/en/spldoublylinkedlist.shift.php
1074
+	 * @return mixed The value of the shifted node.
1075
+	 */
1076
+	#[TentativeType]
1077
+	public function shift(): mixed {}
1078
+
1079
+	/**
1080
+	 * Pushes an element at the end of the doubly linked list
1081
+	 * @link https://php.net/manual/en/spldoublylinkedlist.push.php
1082
+	 * @param mixed $value <p>
1083
+	 * The value to push.
1084
+	 * </p>
1085
+	 * @return void
1086
+	 */
1087
+	#[TentativeType]
1088
+	public function push(#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $value): void {}
1089
+
1090
+	/**
1091
+	 * Prepends the doubly linked list with an element
1092
+	 * @link https://php.net/manual/en/spldoublylinkedlist.unshift.php
1093
+	 * @param mixed $value <p>
1094
+	 * The value to unshift.
1095
+	 * </p>
1096
+	 * @return void
1097
+	 */
1098
+	#[TentativeType]
1099
+	public function unshift(#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $value): void {}
1100
+
1101
+	/**
1102
+	 * Peeks at the node from the end of the doubly linked list
1103
+	 * @link https://php.net/manual/en/spldoublylinkedlist.top.php
1104
+	 * @return mixed The value of the last node.
1105
+	 */
1106
+	#[TentativeType]
1107
+	public function top(): mixed {}
1108
+
1109
+	/**
1110
+	 * Peeks at the node from the beginning of the doubly linked list
1111
+	 * @link https://php.net/manual/en/spldoublylinkedlist.bottom.php
1112
+	 * @return mixed The value of the first node.
1113
+	 */
1114
+	#[TentativeType]
1115
+	public function bottom(): mixed {}
1116
+
1117
+	/**
1118
+	 * Counts the number of elements in the doubly linked list.
1119
+	 * @link https://php.net/manual/en/spldoublylinkedlist.count.php
1120
+	 * @return int the number of elements in the doubly linked list.
1121
+	 */
1122
+	#[TentativeType]
1123
+	public function count(): int {}
1124
+
1125
+	/**
1126
+	 * Checks whether the doubly linked list is empty.
1127
+	 * @link https://php.net/manual/en/spldoublylinkedlist.isempty.php
1128
+	 * @return bool whether the doubly linked list is empty.
1129
+	 */
1130
+	#[TentativeType]
1131
+	public function isEmpty(): bool {}
1132
+
1133
+	/**
1134
+	 * Sets the mode of iteration
1135
+	 * @link https://php.net/manual/en/spldoublylinkedlist.setiteratormode.php
1136
+	 * @param int $mode <p>
1137
+	 * There are two orthogonal sets of modes that can be set:
1138
+	 * </p>
1139
+	 * The direction of the iteration (either one or the other):
1140
+	 * <b>SplDoublyLinkedList::IT_MODE_LIFO</b> (Stack style)
1141
+	 * @return int
1142
+	 */
1143
+	#[TentativeType]
1144
+	public function setIteratorMode(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $mode): int {}
1145
+
1146
+	/**
1147
+	 * Returns the mode of iteration
1148
+	 * @link https://php.net/manual/en/spldoublylinkedlist.getiteratormode.php
1149
+	 * @return int the different modes and flags that affect the iteration.
1150
+	 */
1151
+	#[TentativeType]
1152
+	public function getIteratorMode(): int {}
1153
+
1154
+	/**
1155
+	 * Returns whether the requested $index exists
1156
+	 * @link https://php.net/manual/en/spldoublylinkedlist.offsetexists.php
1157
+	 * @param mixed $index <p>
1158
+	 * The index being checked.
1159
+	 * </p>
1160
+	 * @return bool true if the requested <i>index</i> exists, otherwise false
1161
+	 */
1162
+	#[TentativeType]
1163
+	public function offsetExists($index): bool {}
1164
+
1165
+	/**
1166
+	 * Returns the value at the specified $index
1167
+	 * @link https://php.net/manual/en/spldoublylinkedlist.offsetget.php
1168
+	 * @param mixed $index <p>
1169
+	 * The index with the value.
1170
+	 * </p>
1171
+	 * @return mixed The value at the specified <i>index</i>.
1172
+	 */
1173
+	#[TentativeType]
1174
+	public function offsetGet($index): mixed {}
1175
+
1176
+	/**
1177
+	 * Sets the value at the specified $index to $newval
1178
+	 * @link https://php.net/manual/en/spldoublylinkedlist.offsetset.php
1179
+	 * @param mixed $index <p>
1180
+	 * The index being set.
1181
+	 * </p>
1182
+	 * @param mixed $value <p>
1183
+	 * The new value for the <i>index</i>.
1184
+	 * </p>
1185
+	 * @return void
1186
+	 */
1187
+	#[TentativeType]
1188
+	public function offsetSet($index, #[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $value): void {}
1189
+
1190
+	/**
1191
+	 * Unsets the value at the specified $index
1192
+	 * @link https://php.net/manual/en/spldoublylinkedlist.offsetunset.php
1193
+	 * @param mixed $index <p>
1194
+	 * The index being unset.
1195
+	 * </p>
1196
+	 * @return void
1197
+	 */
1198
+	#[TentativeType]
1199
+	public function offsetUnset($index): void {}
1200
+
1201
+	/**
1202
+	 * Rewind iterator back to the start
1203
+	 * @link https://php.net/manual/en/spldoublylinkedlist.rewind.php
1204
+	 * @return void
1205
+	 */
1206
+	#[TentativeType]
1207
+	public function rewind(): void {}
1208
+
1209
+	/**
1210
+	 * Return current array entry
1211
+	 * @link https://php.net/manual/en/spldoublylinkedlist.current.php
1212
+	 * @return mixed The current node value.
1213
+	 */
1214
+	#[TentativeType]
1215
+	public function current(): mixed {}
1216
+
1217
+	/**
1218
+	 * Return current node index
1219
+	 * @link https://php.net/manual/en/spldoublylinkedlist.key.php
1220
+	 * @return string|float|int|bool|null The current node index.
1221
+	 */
1222
+	#[TentativeType]
1223
+	public function key(): int {}
1224
+
1225
+	/**
1226
+	 * Move to next entry
1227
+	 * @link https://php.net/manual/en/spldoublylinkedlist.next.php
1228
+	 * @return void
1229
+	 */
1230
+	#[TentativeType]
1231
+	public function next(): void {}
1232
+
1233
+	/**
1234
+	 * Move to previous entry
1235
+	 * @link https://php.net/manual/en/spldoublylinkedlist.prev.php
1236
+	 * @return void
1237
+	 */
1238
+	#[TentativeType]
1239
+	public function prev(): void {}
1240
+
1241
+	/**
1242
+	 * Check whether the doubly linked list contains more nodes
1243
+	 * @link https://php.net/manual/en/spldoublylinkedlist.valid.php
1244
+	 * @return bool true if the doubly linked list contains any more nodes, false otherwise.
1245
+	 */
1246
+	#[TentativeType]
1247
+	public function valid(): bool {}
1248
+
1249
+	/**
1250
+	 * Unserializes the storage
1251
+	 * @link https://php.net/manual/en/spldoublylinkedlist.serialize.php
1252
+	 * @param string $data The serialized string.
1253
+	 * @return void
1254
+	 * @since 5.4
1255
+	 */
1256
+	#[TentativeType]
1257
+	public function unserialize(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $data): void {}
1258
+
1259
+	/**
1260
+	 * Serializes the storage
1261
+	 * @link https://php.net/manual/en/spldoublylinkedlist.unserialize.php
1262
+	 * @return string The serialized string.
1263
+	 * @since 5.4
1264
+	 */
1265
+	#[TentativeType]
1266
+	public function serialize(): string {}
1267
+
1268
+	/**
1269
+	 * @return array
1270
+	 * @since 7.4
1271
+	 */
1272
+	#[TentativeType]
1273
+	public function __debugInfo(): array {}
1274
+
1275
+	/**
1276
+	 * @return array
1277
+	 * @since 7.4
1278
+	 */
1279
+	#[TentativeType]
1280
+	public function __serialize(): array {}
1281
+
1282
+	/**
1283
+	 * @param array $data
1284
+	 * @since 7.4
1285
+	 */
1286
+	#[TentativeType]
1287
+	public function __unserialize(array $data): void {}
1288 1288
 }
1289 1289
 
1290 1290
 /**
@@ -1293,36 +1293,36 @@  discard block
 block discarded – undo
1293 1293
  */
1294 1294
 class SplQueue extends SplDoublyLinkedList
1295 1295
 {
1296
-    /**
1297
-     * Adds an element to the queue.
1298
-     * @link https://php.net/manual/en/splqueue.enqueue.php
1299
-     * @param mixed $value <p>
1300
-     * The value to enqueue.
1301
-     * </p>
1302
-     * @return void
1303
-     */
1304
-    #[TentativeType]
1305
-    public function enqueue(#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $value): void {}
1306
-
1307
-    /**
1308
-     * Dequeues a node from the queue
1309
-     * @link https://php.net/manual/en/splqueue.dequeue.php
1310
-     * @return mixed The value of the dequeued node.
1311
-     */
1312
-    #[TentativeType]
1313
-    public function dequeue(): mixed {}
1314
-
1315
-    /**
1316
-     * Sets the mode of iteration
1317
-     * @link https://php.net/manual/en/spldoublylinkedlist.setiteratormode.php
1318
-     * @param int $mode <p>
1319
-     * There are two orthogonal sets of modes that can be set:
1320
-     * </p>
1321
-     * The direction of the iteration (either one or the other):
1322
-     * <b>SplDoublyLinkedList::IT_MODE_LIFO</b> (Stack style)
1323
-     * @return void
1324
-     */
1325
-    public function setIteratorMode($mode) {}
1296
+	/**
1297
+	 * Adds an element to the queue.
1298
+	 * @link https://php.net/manual/en/splqueue.enqueue.php
1299
+	 * @param mixed $value <p>
1300
+	 * The value to enqueue.
1301
+	 * </p>
1302
+	 * @return void
1303
+	 */
1304
+	#[TentativeType]
1305
+	public function enqueue(#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $value): void {}
1306
+
1307
+	/**
1308
+	 * Dequeues a node from the queue
1309
+	 * @link https://php.net/manual/en/splqueue.dequeue.php
1310
+	 * @return mixed The value of the dequeued node.
1311
+	 */
1312
+	#[TentativeType]
1313
+	public function dequeue(): mixed {}
1314
+
1315
+	/**
1316
+	 * Sets the mode of iteration
1317
+	 * @link https://php.net/manual/en/spldoublylinkedlist.setiteratormode.php
1318
+	 * @param int $mode <p>
1319
+	 * There are two orthogonal sets of modes that can be set:
1320
+	 * </p>
1321
+	 * The direction of the iteration (either one or the other):
1322
+	 * <b>SplDoublyLinkedList::IT_MODE_LIFO</b> (Stack style)
1323
+	 * @return void
1324
+	 */
1325
+	public function setIteratorMode($mode) {}
1326 1326
 }
1327 1327
 
1328 1328
 /**
@@ -1331,17 +1331,17 @@  discard block
 block discarded – undo
1331 1331
  */
1332 1332
 class SplStack extends SplDoublyLinkedList
1333 1333
 {
1334
-    /**
1335
-     * Sets the mode of iteration
1336
-     * @link https://php.net/manual/en/spldoublylinkedlist.setiteratormode.php
1337
-     * @param int $mode <p>
1338
-     * There are two orthogonal sets of modes that can be set:
1339
-     * </p>
1340
-     * The direction of the iteration (either one or the other):
1341
-     * <b>SplDoublyLinkedList::IT_MODE_LIFO</b> (Stack style)
1342
-     * @return void
1343
-     */
1344
-    public function setIteratorMode($mode) {}
1334
+	/**
1335
+	 * Sets the mode of iteration
1336
+	 * @link https://php.net/manual/en/spldoublylinkedlist.setiteratormode.php
1337
+	 * @param int $mode <p>
1338
+	 * There are two orthogonal sets of modes that can be set:
1339
+	 * </p>
1340
+	 * The direction of the iteration (either one or the other):
1341
+	 * <b>SplDoublyLinkedList::IT_MODE_LIFO</b> (Stack style)
1342
+	 * @return void
1343
+	 */
1344
+	public function setIteratorMode($mode) {}
1345 1345
 }
1346 1346
 
1347 1347
 /**
@@ -1350,125 +1350,125 @@  discard block
 block discarded – undo
1350 1350
  */
1351 1351
 abstract class SplHeap implements Iterator, Countable
1352 1352
 {
1353
-    /**
1354
-     * Extracts a node from top of the heap and sift up.
1355
-     * @link https://php.net/manual/en/splheap.extract.php
1356
-     * @return mixed The value of the extracted node.
1357
-     */
1358
-    #[TentativeType]
1359
-    public function extract(): mixed {}
1360
-
1361
-    /**
1362
-     * Inserts an element in the heap by sifting it up.
1363
-     * @link https://php.net/manual/en/splheap.insert.php
1364
-     * @param mixed $value <p>
1365
-     * The value to insert.
1366
-     * </p>
1367
-     * @return bool
1368
-     */
1369
-    #[TentativeType]
1370
-    public function insert(#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $value): bool {}
1371
-
1372
-    /**
1373
-     * Peeks at the node from the top of the heap
1374
-     * @link https://php.net/manual/en/splheap.top.php
1375
-     * @return mixed The value of the node on the top.
1376
-     */
1377
-    #[TentativeType]
1378
-    public function top(): mixed {}
1379
-
1380
-    /**
1381
-     * Counts the number of elements in the heap.
1382
-     * @link https://php.net/manual/en/splheap.count.php
1383
-     * @return int the number of elements in the heap.
1384
-     */
1385
-    #[TentativeType]
1386
-    public function count(): int {}
1387
-
1388
-    /**
1389
-     * Checks whether the heap is empty.
1390
-     * @link https://php.net/manual/en/splheap.isempty.php
1391
-     * @return bool whether the heap is empty.
1392
-     */
1393
-    #[TentativeType]
1394
-    public function isEmpty(): bool {}
1395
-
1396
-    /**
1397
-     * Rewind iterator back to the start (no-op)
1398
-     * @link https://php.net/manual/en/splheap.rewind.php
1399
-     * @return void
1400
-     */
1401
-    #[TentativeType]
1402
-    public function rewind(): void {}
1403
-
1404
-    /**
1405
-     * Return current node pointed by the iterator
1406
-     * @link https://php.net/manual/en/splheap.current.php
1407
-     * @return mixed The current node value.
1408
-     */
1409
-    #[TentativeType]
1410
-    public function current(): mixed {}
1411
-
1412
-    /**
1413
-     * Return current node index
1414
-     * @link https://php.net/manual/en/splheap.key.php
1415
-     * @return int The current node index.
1416
-     */
1417
-    #[TentativeType]
1418
-    public function key(): int {}
1419
-
1420
-    /**
1421
-     * Move to the next node
1422
-     * @link https://php.net/manual/en/splheap.next.php
1423
-     * @return void
1424
-     */
1425
-    #[TentativeType]
1426
-    public function next(): void {}
1427
-
1428
-    /**
1429
-     * Check whether the heap contains more nodes
1430
-     * @link https://php.net/manual/en/splheap.valid.php
1431
-     * @return bool true if the heap contains any more nodes, false otherwise.
1432
-     */
1433
-    #[TentativeType]
1434
-    public function valid(): bool {}
1435
-
1436
-    /**
1437
-     * Recover from the corrupted state and allow further actions on the heap.
1438
-     * @link https://php.net/manual/en/splheap.recoverfromcorruption.php
1439
-     * @return bool
1440
-     */
1441
-    #[TentativeType]
1442
-    public function recoverFromCorruption(): bool {}
1443
-
1444
-    /**
1445
-     * Compare elements in order to place them correctly in the heap while sifting up.
1446
-     * @link https://php.net/manual/en/splheap.compare.php
1447
-     * @param mixed $value1 <p>
1448
-     * The value of the first node being compared.
1449
-     * </p>
1450
-     * @param mixed $value2 <p>
1451
-     * The value of the second node being compared.
1452
-     * </p>
1453
-     * @return int Result of the comparison, positive integer if <i>value1</i> is greater than <i>value2</i>, 0 if they are equal, negative integer otherwise.
1454
-     * </p>
1455
-     * <p>
1456
-     * Having multiple elements with the same value in a Heap is not recommended. They will end up in an arbitrary relative position.
1457
-     */
1458
-    abstract protected function compare($value1, $value2);
1459
-
1460
-    /**
1461
-     * @return bool
1462
-     */
1463
-    #[TentativeType]
1464
-    public function isCorrupted(): bool {}
1465
-
1466
-    /**
1467
-     * @return array
1468
-     * @since 7.4
1469
-     */
1470
-    #[TentativeType]
1471
-    public function __debugInfo(): array {}
1353
+	/**
1354
+	 * Extracts a node from top of the heap and sift up.
1355
+	 * @link https://php.net/manual/en/splheap.extract.php
1356
+	 * @return mixed The value of the extracted node.
1357
+	 */
1358
+	#[TentativeType]
1359
+	public function extract(): mixed {}
1360
+
1361
+	/**
1362
+	 * Inserts an element in the heap by sifting it up.
1363
+	 * @link https://php.net/manual/en/splheap.insert.php
1364
+	 * @param mixed $value <p>
1365
+	 * The value to insert.
1366
+	 * </p>
1367
+	 * @return bool
1368
+	 */
1369
+	#[TentativeType]
1370
+	public function insert(#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $value): bool {}
1371
+
1372
+	/**
1373
+	 * Peeks at the node from the top of the heap
1374
+	 * @link https://php.net/manual/en/splheap.top.php
1375
+	 * @return mixed The value of the node on the top.
1376
+	 */
1377
+	#[TentativeType]
1378
+	public function top(): mixed {}
1379
+
1380
+	/**
1381
+	 * Counts the number of elements in the heap.
1382
+	 * @link https://php.net/manual/en/splheap.count.php
1383
+	 * @return int the number of elements in the heap.
1384
+	 */
1385
+	#[TentativeType]
1386
+	public function count(): int {}
1387
+
1388
+	/**
1389
+	 * Checks whether the heap is empty.
1390
+	 * @link https://php.net/manual/en/splheap.isempty.php
1391
+	 * @return bool whether the heap is empty.
1392
+	 */
1393
+	#[TentativeType]
1394
+	public function isEmpty(): bool {}
1395
+
1396
+	/**
1397
+	 * Rewind iterator back to the start (no-op)
1398
+	 * @link https://php.net/manual/en/splheap.rewind.php
1399
+	 * @return void
1400
+	 */
1401
+	#[TentativeType]
1402
+	public function rewind(): void {}
1403
+
1404
+	/**
1405
+	 * Return current node pointed by the iterator
1406
+	 * @link https://php.net/manual/en/splheap.current.php
1407
+	 * @return mixed The current node value.
1408
+	 */
1409
+	#[TentativeType]
1410
+	public function current(): mixed {}
1411
+
1412
+	/**
1413
+	 * Return current node index
1414
+	 * @link https://php.net/manual/en/splheap.key.php
1415
+	 * @return int The current node index.
1416
+	 */
1417
+	#[TentativeType]
1418
+	public function key(): int {}
1419
+
1420
+	/**
1421
+	 * Move to the next node
1422
+	 * @link https://php.net/manual/en/splheap.next.php
1423
+	 * @return void
1424
+	 */
1425
+	#[TentativeType]
1426
+	public function next(): void {}
1427
+
1428
+	/**
1429
+	 * Check whether the heap contains more nodes
1430
+	 * @link https://php.net/manual/en/splheap.valid.php
1431
+	 * @return bool true if the heap contains any more nodes, false otherwise.
1432
+	 */
1433
+	#[TentativeType]
1434
+	public function valid(): bool {}
1435
+
1436
+	/**
1437
+	 * Recover from the corrupted state and allow further actions on the heap.
1438
+	 * @link https://php.net/manual/en/splheap.recoverfromcorruption.php
1439
+	 * @return bool
1440
+	 */
1441
+	#[TentativeType]
1442
+	public function recoverFromCorruption(): bool {}
1443
+
1444
+	/**
1445
+	 * Compare elements in order to place them correctly in the heap while sifting up.
1446
+	 * @link https://php.net/manual/en/splheap.compare.php
1447
+	 * @param mixed $value1 <p>
1448
+	 * The value of the first node being compared.
1449
+	 * </p>
1450
+	 * @param mixed $value2 <p>
1451
+	 * The value of the second node being compared.
1452
+	 * </p>
1453
+	 * @return int Result of the comparison, positive integer if <i>value1</i> is greater than <i>value2</i>, 0 if they are equal, negative integer otherwise.
1454
+	 * </p>
1455
+	 * <p>
1456
+	 * Having multiple elements with the same value in a Heap is not recommended. They will end up in an arbitrary relative position.
1457
+	 */
1458
+	abstract protected function compare($value1, $value2);
1459
+
1460
+	/**
1461
+	 * @return bool
1462
+	 */
1463
+	#[TentativeType]
1464
+	public function isCorrupted(): bool {}
1465
+
1466
+	/**
1467
+	 * @return array
1468
+	 * @since 7.4
1469
+	 */
1470
+	#[TentativeType]
1471
+	public function __debugInfo(): array {}
1472 1472
 }
1473 1473
 
1474 1474
 /**
@@ -1477,105 +1477,105 @@  discard block
 block discarded – undo
1477 1477
  */
1478 1478
 class SplMinHeap extends SplHeap
1479 1479
 {
1480
-    /**
1481
-     * Compare elements in order to place them correctly in the heap while sifting up.
1482
-     * @link https://php.net/manual/en/splminheap.compare.php
1483
-     * @param mixed $value1 <p>
1484
-     * The value of the first node being compared.
1485
-     * </p>
1486
-     * @param mixed $value2 <p>
1487
-     * The value of the second node being compared.
1488
-     * </p>
1489
-     * @return void Result of the comparison, positive integer if <i>value1</i> is lower than <i>value2</i>, 0 if they are equal, negative integer otherwise.
1490
-     * </p>
1491
-     * <p>
1492
-     * Having multiple elements with the same value in a Heap is not recommended. They will end up in an arbitrary relative position.
1493
-     */
1494
-    #[TentativeType]
1495
-    protected function compare(
1496
-        #[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $value1,
1497
-        #[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $value2
1498
-    ): int {}
1499
-
1500
-    /**
1501
-     * Extracts a node from top of the heap and sift up.
1502
-     * @link https://php.net/manual/en/splheap.extract.php
1503
-     * @return mixed The value of the extracted node.
1504
-     */
1505
-    public function extract() {}
1506
-
1507
-    /**
1508
-     * Inserts an element in the heap by sifting it up.
1509
-     * @link https://php.net/manual/en/splheap.insert.php
1510
-     * @param mixed $value <p>
1511
-     * The value to insert.
1512
-     * </p>
1513
-     * @return void
1514
-     */
1515
-    public function insert($value) {}
1516
-
1517
-    /**
1518
-     * Peeks at the node from the top of the heap
1519
-     * @link https://php.net/manual/en/splheap.top.php
1520
-     * @return mixed The value of the node on the top.
1521
-     */
1522
-    public function top() {}
1523
-
1524
-    /**
1525
-     * Counts the number of elements in the heap.
1526
-     * @link https://php.net/manual/en/splheap.count.php
1527
-     * @return int the number of elements in the heap.
1528
-     */
1529
-    public function count() {}
1530
-
1531
-    /**
1532
-     * Checks whether the heap is empty.
1533
-     * @link https://php.net/manual/en/splheap.isempty.php
1534
-     * @return bool whether the heap is empty.
1535
-     */
1536
-    public function isEmpty() {}
1537
-
1538
-    /**
1539
-     * Rewind iterator back to the start (no-op)
1540
-     * @link https://php.net/manual/en/splheap.rewind.php
1541
-     * @return void
1542
-     */
1543
-    public function rewind() {}
1544
-
1545
-    /**
1546
-     * Return current node pointed by the iterator
1547
-     * @link https://php.net/manual/en/splheap.current.php
1548
-     * @return mixed The current node value.
1549
-     */
1550
-    public function current() {}
1551
-
1552
-    /**
1553
-     * Return current node index
1554
-     * @link https://php.net/manual/en/splheap.key.php
1555
-     * @return int The current node index.
1556
-     */
1557
-    public function key() {}
1558
-
1559
-    /**
1560
-     * Move to the next node
1561
-     * @link https://php.net/manual/en/splheap.next.php
1562
-     * @return void
1563
-     */
1564
-    public function next() {}
1565
-
1566
-    /**
1567
-     * Check whether the heap contains more nodes
1568
-     * @link https://php.net/manual/en/splheap.valid.php
1569
-     * @return bool true if the heap contains any more nodes, false otherwise.
1570
-     */
1571
-    public function valid() {}
1572
-
1573
-    /**
1574
-     * Recover from the corrupted state and allow further actions on the heap.
1575
-     * @link https://php.net/manual/en/splheap.recoverfromcorruption.php
1576
-     * @return void
1577
-     */
1578
-    public function recoverFromCorruption() {}
1480
+	/**
1481
+	 * Compare elements in order to place them correctly in the heap while sifting up.
1482
+	 * @link https://php.net/manual/en/splminheap.compare.php
1483
+	 * @param mixed $value1 <p>
1484
+	 * The value of the first node being compared.
1485
+	 * </p>
1486
+	 * @param mixed $value2 <p>
1487
+	 * The value of the second node being compared.
1488
+	 * </p>
1489
+	 * @return void Result of the comparison, positive integer if <i>value1</i> is lower than <i>value2</i>, 0 if they are equal, negative integer otherwise.
1490
+	 * </p>
1491
+	 * <p>
1492
+	 * Having multiple elements with the same value in a Heap is not recommended. They will end up in an arbitrary relative position.
1493
+	 */
1494
+	#[TentativeType]
1495
+	protected function compare(
1496
+		#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $value1,
1497
+		#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $value2
1498
+	): int {}
1499
+
1500
+	/**
1501
+	 * Extracts a node from top of the heap and sift up.
1502
+	 * @link https://php.net/manual/en/splheap.extract.php
1503
+	 * @return mixed The value of the extracted node.
1504
+	 */
1505
+	public function extract() {}
1506
+
1507
+	/**
1508
+	 * Inserts an element in the heap by sifting it up.
1509
+	 * @link https://php.net/manual/en/splheap.insert.php
1510
+	 * @param mixed $value <p>
1511
+	 * The value to insert.
1512
+	 * </p>
1513
+	 * @return void
1514
+	 */
1515
+	public function insert($value) {}
1516
+
1517
+	/**
1518
+	 * Peeks at the node from the top of the heap
1519
+	 * @link https://php.net/manual/en/splheap.top.php
1520
+	 * @return mixed The value of the node on the top.
1521
+	 */
1522
+	public function top() {}
1523
+
1524
+	/**
1525
+	 * Counts the number of elements in the heap.
1526
+	 * @link https://php.net/manual/en/splheap.count.php
1527
+	 * @return int the number of elements in the heap.
1528
+	 */
1529
+	public function count() {}
1530
+
1531
+	/**
1532
+	 * Checks whether the heap is empty.
1533
+	 * @link https://php.net/manual/en/splheap.isempty.php
1534
+	 * @return bool whether the heap is empty.
1535
+	 */
1536
+	public function isEmpty() {}
1537
+
1538
+	/**
1539
+	 * Rewind iterator back to the start (no-op)
1540
+	 * @link https://php.net/manual/en/splheap.rewind.php
1541
+	 * @return void
1542
+	 */
1543
+	public function rewind() {}
1544
+
1545
+	/**
1546
+	 * Return current node pointed by the iterator
1547
+	 * @link https://php.net/manual/en/splheap.current.php
1548
+	 * @return mixed The current node value.
1549
+	 */
1550
+	public function current() {}
1551
+
1552
+	/**
1553
+	 * Return current node index
1554
+	 * @link https://php.net/manual/en/splheap.key.php
1555
+	 * @return int The current node index.
1556
+	 */
1557
+	public function key() {}
1558
+
1559
+	/**
1560
+	 * Move to the next node
1561
+	 * @link https://php.net/manual/en/splheap.next.php
1562
+	 * @return void
1563
+	 */
1564
+	public function next() {}
1565
+
1566
+	/**
1567
+	 * Check whether the heap contains more nodes
1568
+	 * @link https://php.net/manual/en/splheap.valid.php
1569
+	 * @return bool true if the heap contains any more nodes, false otherwise.
1570
+	 */
1571
+	public function valid() {}
1572
+
1573
+	/**
1574
+	 * Recover from the corrupted state and allow further actions on the heap.
1575
+	 * @link https://php.net/manual/en/splheap.recoverfromcorruption.php
1576
+	 * @return void
1577
+	 */
1578
+	public function recoverFromCorruption() {}
1579 1579
 }
1580 1580
 
1581 1581
 /**
@@ -1584,25 +1584,25 @@  discard block
 block discarded – undo
1584 1584
  */
1585 1585
 class SplMaxHeap extends SplHeap
1586 1586
 {
1587
-    /**
1588
-     * Compare elements in order to place them correctly in the heap while sifting up.
1589
-     * @link https://php.net/manual/en/splmaxheap.compare.php
1590
-     * @param mixed $value1 <p>
1591
-     * The value of the first node being compared.
1592
-     * </p>
1593
-     * @param mixed $value2 <p>
1594
-     * The value of the second node being compared.
1595
-     * </p>
1596
-     * @return void Result of the comparison, positive integer if <i>value1</i> is greater than <i>value2</i>, 0 if they are equal, negative integer otherwise.
1597
-     * </p>
1598
-     * <p>
1599
-     * Having multiple elements with the same value in a Heap is not recommended. They will end up in an arbitrary relative position.
1600
-     */
1601
-    #[TentativeType]
1602
-    protected function compare(
1603
-        #[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $value1,
1604
-        #[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $value2
1605
-    ): int {}
1587
+	/**
1588
+	 * Compare elements in order to place them correctly in the heap while sifting up.
1589
+	 * @link https://php.net/manual/en/splmaxheap.compare.php
1590
+	 * @param mixed $value1 <p>
1591
+	 * The value of the first node being compared.
1592
+	 * </p>
1593
+	 * @param mixed $value2 <p>
1594
+	 * The value of the second node being compared.
1595
+	 * </p>
1596
+	 * @return void Result of the comparison, positive integer if <i>value1</i> is greater than <i>value2</i>, 0 if they are equal, negative integer otherwise.
1597
+	 * </p>
1598
+	 * <p>
1599
+	 * Having multiple elements with the same value in a Heap is not recommended. They will end up in an arbitrary relative position.
1600
+	 */
1601
+	#[TentativeType]
1602
+	protected function compare(
1603
+		#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $value1,
1604
+		#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $value2
1605
+	): int {}
1606 1606
 }
1607 1607
 
1608 1608
 /**
@@ -1612,163 +1612,163 @@  discard block
 block discarded – undo
1612 1612
  */
1613 1613
 class SplPriorityQueue implements Iterator, Countable
1614 1614
 {
1615
-    public const EXTR_BOTH = 3;
1616
-    public const EXTR_PRIORITY = 2;
1617
-    public const EXTR_DATA = 1;
1618
-
1619
-    /**
1620
-     * Construct a new SplPriorityQueue object
1621
-     * @link https://www.php.net/manual/en/splpriorityqueue.construct.php
1622
-     */
1623
-    public function __construct() {}
1624
-
1625
-    /**
1626
-     * Compare priorities in order to place elements correctly in the heap while sifting up.
1627
-     * @link https://php.net/manual/en/splpriorityqueue.compare.php
1628
-     * @param mixed $priority1 <p>
1629
-     * The priority of the first node being compared.
1630
-     * </p>
1631
-     * @param mixed $priority2 <p>
1632
-     * The priority of the second node being compared.
1633
-     * </p>
1634
-     * @return int Result of the comparison, positive integer if <i>priority1</i> is greater than <i>priority2</i>, 0 if they are equal, negative integer otherwise.
1635
-     * </p>
1636
-     * <p>
1637
-     * Multiple elements with the same priority will get dequeued in no particular order.
1638
-     */
1639
-    #[TentativeType]
1640
-    public function compare(
1641
-        #[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $priority1,
1642
-        #[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $priority2
1643
-    ): int {}
1644
-
1645
-    /**
1646
-     * Inserts an element in the queue by sifting it up.
1647
-     * @link https://php.net/manual/en/splpriorityqueue.insert.php
1648
-     * @param mixed $value <p>
1649
-     * The value to insert.
1650
-     * </p>
1651
-     * @param mixed $priority <p>
1652
-     * The associated priority.
1653
-     * </p>
1654
-     * @return true
1655
-     */
1656
-    public function insert(
1657
-        #[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $value,
1658
-        #[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $priority
1659
-    ) {}
1660
-
1661
-    /**
1662
-     * Sets the mode of extraction
1663
-     * @link https://php.net/manual/en/splpriorityqueue.setextractflags.php
1664
-     * @param int $flags <p>
1665
-     * Defines what is extracted by <b>SplPriorityQueue::current</b>,
1666
-     * <b>SplPriorityQueue::top</b> and
1667
-     * <b>SplPriorityQueue::extract</b>.
1668
-     * </p>
1669
-     * <b>SplPriorityQueue::EXTR_DATA</b> (0x00000001): Extract the data
1670
-     * @return int
1671
-     */
1672
-    #[TentativeType]
1673
-    public function setExtractFlags(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags): int {}
1674
-
1675
-    /**
1676
-     * Peeks at the node from the top of the queue
1677
-     * @link https://php.net/manual/en/splpriorityqueue.top.php
1678
-     * @return mixed The value or priority (or both) of the top node, depending on the extract flag.
1679
-     */
1680
-    #[TentativeType]
1681
-    public function top(): mixed {}
1682
-
1683
-    /**
1684
-     * Extracts a node from top of the heap and sift up.
1685
-     * @link https://php.net/manual/en/splpriorityqueue.extract.php
1686
-     * @return mixed The value or priority (or both) of the extracted node, depending on the extract flag.
1687
-     */
1688
-    #[TentativeType]
1689
-    public function extract(): mixed {}
1690
-
1691
-    /**
1692
-     * Counts the number of elements in the queue.
1693
-     * @link https://php.net/manual/en/splpriorityqueue.count.php
1694
-     * @return int the number of elements in the queue.
1695
-     */
1696
-    #[TentativeType]
1697
-    public function count(): int {}
1698
-
1699
-    /**
1700
-     * Checks whether the queue is empty.
1701
-     * @link https://php.net/manual/en/splpriorityqueue.isempty.php
1702
-     * @return bool whether the queue is empty.
1703
-     */
1704
-    #[TentativeType]
1705
-    public function isEmpty(): bool {}
1706
-
1707
-    /**
1708
-     * Rewind iterator back to the start (no-op)
1709
-     * @link https://php.net/manual/en/splpriorityqueue.rewind.php
1710
-     * @return void
1711
-     */
1712
-    #[TentativeType]
1713
-    public function rewind(): void {}
1714
-
1715
-    /**
1716
-     * Return current node pointed by the iterator
1717
-     * @link https://php.net/manual/en/splpriorityqueue.current.php
1718
-     * @return mixed The value or priority (or both) of the current node, depending on the extract flag.
1719
-     */
1720
-    #[TentativeType]
1721
-    public function current(): mixed {}
1722
-
1723
-    /**
1724
-     * Return current node index
1725
-     * @link https://php.net/manual/en/splpriorityqueue.key.php
1726
-     * @return int The current node index.
1727
-     */
1728
-    #[TentativeType]
1729
-    public function key(): int {}
1730
-
1731
-    /**
1732
-     * Move to the next node
1733
-     * @link https://php.net/manual/en/splpriorityqueue.next.php
1734
-     * @return void
1735
-     */
1736
-    #[TentativeType]
1737
-    public function next(): void {}
1738
-
1739
-    /**
1740
-     * Check whether the queue contains more nodes
1741
-     * @link https://php.net/manual/en/splpriorityqueue.valid.php
1742
-     * @return bool true if the queue contains any more nodes, false otherwise.
1743
-     */
1744
-    #[TentativeType]
1745
-    public function valid(): bool {}
1746
-
1747
-    /**
1748
-     * Recover from the corrupted state and allow further actions on the queue.
1749
-     * @link https://php.net/manual/en/splpriorityqueue.recoverfromcorruption.php
1750
-     * @return void
1751
-     */
1752
-    public function recoverFromCorruption() {}
1753
-
1754
-    /**
1755
-     * @return bool
1756
-     */
1757
-    #[TentativeType]
1758
-    public function isCorrupted(): bool {}
1759
-
1760
-    /**
1761
-     * @return int
1762
-     */
1763
-    #[TentativeType]
1764
-    public function getExtractFlags(): int {}
1765
-
1766
-    /**
1767
-     * @return array
1768
-     * @since 7.4
1769
-     */
1770
-    #[TentativeType]
1771
-    public function __debugInfo(): array {}
1615
+	public const EXTR_BOTH = 3;
1616
+	public const EXTR_PRIORITY = 2;
1617
+	public const EXTR_DATA = 1;
1618
+
1619
+	/**
1620
+	 * Construct a new SplPriorityQueue object
1621
+	 * @link https://www.php.net/manual/en/splpriorityqueue.construct.php
1622
+	 */
1623
+	public function __construct() {}
1624
+
1625
+	/**
1626
+	 * Compare priorities in order to place elements correctly in the heap while sifting up.
1627
+	 * @link https://php.net/manual/en/splpriorityqueue.compare.php
1628
+	 * @param mixed $priority1 <p>
1629
+	 * The priority of the first node being compared.
1630
+	 * </p>
1631
+	 * @param mixed $priority2 <p>
1632
+	 * The priority of the second node being compared.
1633
+	 * </p>
1634
+	 * @return int Result of the comparison, positive integer if <i>priority1</i> is greater than <i>priority2</i>, 0 if they are equal, negative integer otherwise.
1635
+	 * </p>
1636
+	 * <p>
1637
+	 * Multiple elements with the same priority will get dequeued in no particular order.
1638
+	 */
1639
+	#[TentativeType]
1640
+	public function compare(
1641
+		#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $priority1,
1642
+		#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $priority2
1643
+	): int {}
1644
+
1645
+	/**
1646
+	 * Inserts an element in the queue by sifting it up.
1647
+	 * @link https://php.net/manual/en/splpriorityqueue.insert.php
1648
+	 * @param mixed $value <p>
1649
+	 * The value to insert.
1650
+	 * </p>
1651
+	 * @param mixed $priority <p>
1652
+	 * The associated priority.
1653
+	 * </p>
1654
+	 * @return true
1655
+	 */
1656
+	public function insert(
1657
+		#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $value,
1658
+		#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $priority
1659
+	) {}
1660
+
1661
+	/**
1662
+	 * Sets the mode of extraction
1663
+	 * @link https://php.net/manual/en/splpriorityqueue.setextractflags.php
1664
+	 * @param int $flags <p>
1665
+	 * Defines what is extracted by <b>SplPriorityQueue::current</b>,
1666
+	 * <b>SplPriorityQueue::top</b> and
1667
+	 * <b>SplPriorityQueue::extract</b>.
1668
+	 * </p>
1669
+	 * <b>SplPriorityQueue::EXTR_DATA</b> (0x00000001): Extract the data
1670
+	 * @return int
1671
+	 */
1672
+	#[TentativeType]
1673
+	public function setExtractFlags(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags): int {}
1674
+
1675
+	/**
1676
+	 * Peeks at the node from the top of the queue
1677
+	 * @link https://php.net/manual/en/splpriorityqueue.top.php
1678
+	 * @return mixed The value or priority (or both) of the top node, depending on the extract flag.
1679
+	 */
1680
+	#[TentativeType]
1681
+	public function top(): mixed {}
1682
+
1683
+	/**
1684
+	 * Extracts a node from top of the heap and sift up.
1685
+	 * @link https://php.net/manual/en/splpriorityqueue.extract.php
1686
+	 * @return mixed The value or priority (or both) of the extracted node, depending on the extract flag.
1687
+	 */
1688
+	#[TentativeType]
1689
+	public function extract(): mixed {}
1690
+
1691
+	/**
1692
+	 * Counts the number of elements in the queue.
1693
+	 * @link https://php.net/manual/en/splpriorityqueue.count.php
1694
+	 * @return int the number of elements in the queue.
1695
+	 */
1696
+	#[TentativeType]
1697
+	public function count(): int {}
1698
+
1699
+	/**
1700
+	 * Checks whether the queue is empty.
1701
+	 * @link https://php.net/manual/en/splpriorityqueue.isempty.php
1702
+	 * @return bool whether the queue is empty.
1703
+	 */
1704
+	#[TentativeType]
1705
+	public function isEmpty(): bool {}
1706
+
1707
+	/**
1708
+	 * Rewind iterator back to the start (no-op)
1709
+	 * @link https://php.net/manual/en/splpriorityqueue.rewind.php
1710
+	 * @return void
1711
+	 */
1712
+	#[TentativeType]
1713
+	public function rewind(): void {}
1714
+
1715
+	/**
1716
+	 * Return current node pointed by the iterator
1717
+	 * @link https://php.net/manual/en/splpriorityqueue.current.php
1718
+	 * @return mixed The value or priority (or both) of the current node, depending on the extract flag.
1719
+	 */
1720
+	#[TentativeType]
1721
+	public function current(): mixed {}
1722
+
1723
+	/**
1724
+	 * Return current node index
1725
+	 * @link https://php.net/manual/en/splpriorityqueue.key.php
1726
+	 * @return int The current node index.
1727
+	 */
1728
+	#[TentativeType]
1729
+	public function key(): int {}
1730
+
1731
+	/**
1732
+	 * Move to the next node
1733
+	 * @link https://php.net/manual/en/splpriorityqueue.next.php
1734
+	 * @return void
1735
+	 */
1736
+	#[TentativeType]
1737
+	public function next(): void {}
1738
+
1739
+	/**
1740
+	 * Check whether the queue contains more nodes
1741
+	 * @link https://php.net/manual/en/splpriorityqueue.valid.php
1742
+	 * @return bool true if the queue contains any more nodes, false otherwise.
1743
+	 */
1744
+	#[TentativeType]
1745
+	public function valid(): bool {}
1746
+
1747
+	/**
1748
+	 * Recover from the corrupted state and allow further actions on the queue.
1749
+	 * @link https://php.net/manual/en/splpriorityqueue.recoverfromcorruption.php
1750
+	 * @return void
1751
+	 */
1752
+	public function recoverFromCorruption() {}
1753
+
1754
+	/**
1755
+	 * @return bool
1756
+	 */
1757
+	#[TentativeType]
1758
+	public function isCorrupted(): bool {}
1759
+
1760
+	/**
1761
+	 * @return int
1762
+	 */
1763
+	#[TentativeType]
1764
+	public function getExtractFlags(): int {}
1765
+
1766
+	/**
1767
+	 * @return array
1768
+	 * @since 7.4
1769
+	 */
1770
+	#[TentativeType]
1771
+	public function __debugInfo(): array {}
1772 1772
 }
1773 1773
 
1774 1774
 /**
@@ -1781,157 +1781,157 @@  discard block
 block discarded – undo
1781 1781
  */
1782 1782
 class SplFixedArray implements Iterator, ArrayAccess, Countable, IteratorAggregate, JsonSerializable
1783 1783
 {
1784
-    /**
1785
-     * Constructs a new fixed array
1786
-     * @link https://php.net/manual/en/splfixedarray.construct.php
1787
-     * @param int $size [optional]
1788
-     */
1789
-    public function __construct(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $size = 0) {}
1790
-
1791
-    /**
1792
-     * Returns the size of the array
1793
-     * @link https://php.net/manual/en/splfixedarray.count.php
1794
-     * @return int the size of the array.
1795
-     */
1796
-    #[TentativeType]
1797
-    public function count(): int {}
1798
-
1799
-    /**
1800
-     * Returns a PHP array from the fixed array
1801
-     * @link https://php.net/manual/en/splfixedarray.toarray.php
1802
-     * @return array a PHP array, similar to the fixed array.
1803
-     */
1804
-    #[TentativeType]
1805
-    public function toArray(): array {}
1806
-
1807
-    /**
1808
-     * Import a PHP array in a <b>SplFixedArray</b> instance
1809
-     * @link https://php.net/manual/en/splfixedarray.fromarray.php
1810
-     * @param array $array <p>
1811
-     * The array to import.
1812
-     * </p>
1813
-     * @param bool $preserveKeys [optional] <p>
1814
-     * Try to save the numeric indexes used in the original array.
1815
-     * </p>
1816
-     * @return SplFixedArray an instance of <b>SplFixedArray</b>
1817
-     * containing the array content.
1818
-     */
1819
-    #[TentativeType]
1820
-    public static function fromArray(
1821
-        #[LanguageLevelTypeAware(['8.0' => 'array'], default: '')] $array,
1822
-        #[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $preserveKeys = true
1823
-    ): SplFixedArray {}
1824
-
1825
-    /**
1826
-     * Gets the size of the array
1827
-     * @link https://php.net/manual/en/splfixedarray.getsize.php
1828
-     * @return int the size of the array, as an integer.
1829
-     */
1830
-    #[TentativeType]
1831
-    public function getSize(): int {}
1832
-
1833
-    /**
1834
-     * Change the size of an array
1835
-     * @link https://php.net/manual/en/splfixedarray.setsize.php
1836
-     * @param int $size <p>
1837
-     * The new array size.
1838
-     * </p>
1839
-     * @return bool
1840
-     */
1841
-    public function setSize(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $size) {}
1842
-
1843
-    /**
1844
-     * Returns whether the requested index exists
1845
-     * @link https://php.net/manual/en/splfixedarray.offsetexists.php
1846
-     * @param int $index <p>
1847
-     * The index being checked.
1848
-     * </p>
1849
-     * @return bool true if the requested <i>index</i> exists, otherwise false
1850
-     */
1851
-    #[TentativeType]
1852
-    public function offsetExists($index): bool {}
1853
-
1854
-    /**
1855
-     * Returns the value at the specified index
1856
-     * @link https://php.net/manual/en/splfixedarray.offsetget.php
1857
-     * @param int $index <p>
1858
-     * The index with the value.
1859
-     * </p>
1860
-     * @return mixed The value at the specified <i>index</i>.
1861
-     */
1862
-    #[TentativeType]
1863
-    public function offsetGet($index): mixed {}
1864
-
1865
-    /**
1866
-     * Sets a new value at a specified index
1867
-     * @link https://php.net/manual/en/splfixedarray.offsetset.php
1868
-     * @param int $index <p>
1869
-     * The index being set.
1870
-     * </p>
1871
-     * @param mixed $value <p>
1872
-     * The new value for the <i>index</i>.
1873
-     * </p>
1874
-     * @return void
1875
-     */
1876
-    #[TentativeType]
1877
-    public function offsetSet($index, #[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $value): void {}
1878
-
1879
-    /**
1880
-     * Unsets the value at the specified $index
1881
-     * @link https://php.net/manual/en/splfixedarray.offsetunset.php
1882
-     * @param int $index <p>
1883
-     * The index being unset.
1884
-     * </p>
1885
-     * @return void
1886
-     */
1887
-    #[TentativeType]
1888
-    public function offsetUnset($index): void {}
1889
-
1890
-    /**
1891
-     * Rewind iterator back to the start
1892
-     * @link https://php.net/manual/en/splfixedarray.rewind.php
1893
-     * @return void
1894
-     */
1895
-    public function rewind() {}
1896
-
1897
-    /**
1898
-     * Return current array entry
1899
-     * @link https://php.net/manual/en/splfixedarray.current.php
1900
-     * @return mixed The current element value.
1901
-     */
1902
-    public function current() {}
1903
-
1904
-    /**
1905
-     * Return current array index
1906
-     * @link https://php.net/manual/en/splfixedarray.key.php
1907
-     * @return int The current array index.
1908
-     */
1909
-    public function key() {}
1910
-
1911
-    /**
1912
-     * Move to next entry
1913
-     * @link https://php.net/manual/en/splfixedarray.next.php
1914
-     * @return void
1915
-     */
1916
-    public function next() {}
1917
-
1918
-    /**
1919
-     * Check whether the array contains more elements
1920
-     * @link https://php.net/manual/en/splfixedarray.valid.php
1921
-     * @return bool true if the array contains any more elements, false otherwise.
1922
-     */
1923
-    #[TentativeType]
1924
-    public function valid(): bool {}
1925
-
1926
-    #[TentativeType]
1927
-    public function __wakeup(): void {}
1928
-
1929
-    /**
1930
-     * @return Traversable
1931
-     */
1932
-    public function getIterator(): Iterator {}
1933
-
1934
-    public function jsonSerialize(): array {}
1784
+	/**
1785
+	 * Constructs a new fixed array
1786
+	 * @link https://php.net/manual/en/splfixedarray.construct.php
1787
+	 * @param int $size [optional]
1788
+	 */
1789
+	public function __construct(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $size = 0) {}
1790
+
1791
+	/**
1792
+	 * Returns the size of the array
1793
+	 * @link https://php.net/manual/en/splfixedarray.count.php
1794
+	 * @return int the size of the array.
1795
+	 */
1796
+	#[TentativeType]
1797
+	public function count(): int {}
1798
+
1799
+	/**
1800
+	 * Returns a PHP array from the fixed array
1801
+	 * @link https://php.net/manual/en/splfixedarray.toarray.php
1802
+	 * @return array a PHP array, similar to the fixed array.
1803
+	 */
1804
+	#[TentativeType]
1805
+	public function toArray(): array {}
1806
+
1807
+	/**
1808
+	 * Import a PHP array in a <b>SplFixedArray</b> instance
1809
+	 * @link https://php.net/manual/en/splfixedarray.fromarray.php
1810
+	 * @param array $array <p>
1811
+	 * The array to import.
1812
+	 * </p>
1813
+	 * @param bool $preserveKeys [optional] <p>
1814
+	 * Try to save the numeric indexes used in the original array.
1815
+	 * </p>
1816
+	 * @return SplFixedArray an instance of <b>SplFixedArray</b>
1817
+	 * containing the array content.
1818
+	 */
1819
+	#[TentativeType]
1820
+	public static function fromArray(
1821
+		#[LanguageLevelTypeAware(['8.0' => 'array'], default: '')] $array,
1822
+		#[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $preserveKeys = true
1823
+	): SplFixedArray {}
1824
+
1825
+	/**
1826
+	 * Gets the size of the array
1827
+	 * @link https://php.net/manual/en/splfixedarray.getsize.php
1828
+	 * @return int the size of the array, as an integer.
1829
+	 */
1830
+	#[TentativeType]
1831
+	public function getSize(): int {}
1832
+
1833
+	/**
1834
+	 * Change the size of an array
1835
+	 * @link https://php.net/manual/en/splfixedarray.setsize.php
1836
+	 * @param int $size <p>
1837
+	 * The new array size.
1838
+	 * </p>
1839
+	 * @return bool
1840
+	 */
1841
+	public function setSize(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $size) {}
1842
+
1843
+	/**
1844
+	 * Returns whether the requested index exists
1845
+	 * @link https://php.net/manual/en/splfixedarray.offsetexists.php
1846
+	 * @param int $index <p>
1847
+	 * The index being checked.
1848
+	 * </p>
1849
+	 * @return bool true if the requested <i>index</i> exists, otherwise false
1850
+	 */
1851
+	#[TentativeType]
1852
+	public function offsetExists($index): bool {}
1853
+
1854
+	/**
1855
+	 * Returns the value at the specified index
1856
+	 * @link https://php.net/manual/en/splfixedarray.offsetget.php
1857
+	 * @param int $index <p>
1858
+	 * The index with the value.
1859
+	 * </p>
1860
+	 * @return mixed The value at the specified <i>index</i>.
1861
+	 */
1862
+	#[TentativeType]
1863
+	public function offsetGet($index): mixed {}
1864
+
1865
+	/**
1866
+	 * Sets a new value at a specified index
1867
+	 * @link https://php.net/manual/en/splfixedarray.offsetset.php
1868
+	 * @param int $index <p>
1869
+	 * The index being set.
1870
+	 * </p>
1871
+	 * @param mixed $value <p>
1872
+	 * The new value for the <i>index</i>.
1873
+	 * </p>
1874
+	 * @return void
1875
+	 */
1876
+	#[TentativeType]
1877
+	public function offsetSet($index, #[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $value): void {}
1878
+
1879
+	/**
1880
+	 * Unsets the value at the specified $index
1881
+	 * @link https://php.net/manual/en/splfixedarray.offsetunset.php
1882
+	 * @param int $index <p>
1883
+	 * The index being unset.
1884
+	 * </p>
1885
+	 * @return void
1886
+	 */
1887
+	#[TentativeType]
1888
+	public function offsetUnset($index): void {}
1889
+
1890
+	/**
1891
+	 * Rewind iterator back to the start
1892
+	 * @link https://php.net/manual/en/splfixedarray.rewind.php
1893
+	 * @return void
1894
+	 */
1895
+	public function rewind() {}
1896
+
1897
+	/**
1898
+	 * Return current array entry
1899
+	 * @link https://php.net/manual/en/splfixedarray.current.php
1900
+	 * @return mixed The current element value.
1901
+	 */
1902
+	public function current() {}
1903
+
1904
+	/**
1905
+	 * Return current array index
1906
+	 * @link https://php.net/manual/en/splfixedarray.key.php
1907
+	 * @return int The current array index.
1908
+	 */
1909
+	public function key() {}
1910
+
1911
+	/**
1912
+	 * Move to next entry
1913
+	 * @link https://php.net/manual/en/splfixedarray.next.php
1914
+	 * @return void
1915
+	 */
1916
+	public function next() {}
1917
+
1918
+	/**
1919
+	 * Check whether the array contains more elements
1920
+	 * @link https://php.net/manual/en/splfixedarray.valid.php
1921
+	 * @return bool true if the array contains any more elements, false otherwise.
1922
+	 */
1923
+	#[TentativeType]
1924
+	public function valid(): bool {}
1925
+
1926
+	#[TentativeType]
1927
+	public function __wakeup(): void {}
1928
+
1929
+	/**
1930
+	 * @return Traversable
1931
+	 */
1932
+	public function getIterator(): Iterator {}
1933
+
1934
+	public function jsonSerialize(): array {}
1935 1935
 }
1936 1936
 
1937 1937
 /**
@@ -1941,16 +1941,16 @@  discard block
 block discarded – undo
1941 1941
  */
1942 1942
 interface SplObserver
1943 1943
 {
1944
-    /**
1945
-     * Receive update from subject
1946
-     * @link https://php.net/manual/en/splobserver.update.php
1947
-     * @param SplSubject $subject <p>
1948
-     * The <b>SplSubject</b> notifying the observer of an update.
1949
-     * </p>
1950
-     * @return void
1951
-     */
1952
-    #[TentativeType]
1953
-    public function update(SplSubject $subject): void;
1944
+	/**
1945
+	 * Receive update from subject
1946
+	 * @link https://php.net/manual/en/splobserver.update.php
1947
+	 * @param SplSubject $subject <p>
1948
+	 * The <b>SplSubject</b> notifying the observer of an update.
1949
+	 * </p>
1950
+	 * @return void
1951
+	 */
1952
+	#[TentativeType]
1953
+	public function update(SplSubject $subject): void;
1954 1954
 }
1955 1955
 
1956 1956
 /**
@@ -1960,35 +1960,35 @@  discard block
 block discarded – undo
1960 1960
  */
1961 1961
 interface SplSubject
1962 1962
 {
1963
-    /**
1964
-     * Attach an SplObserver
1965
-     * @link https://php.net/manual/en/splsubject.attach.php
1966
-     * @param SplObserver $observer <p>
1967
-     * The <b>SplObserver</b> to attach.
1968
-     * </p>
1969
-     * @return void
1970
-     */
1971
-    #[TentativeType]
1972
-    public function attach(SplObserver $observer): void;
1973
-
1974
-    /**
1975
-     * Detach an observer
1976
-     * @link https://php.net/manual/en/splsubject.detach.php
1977
-     * @param SplObserver $observer <p>
1978
-     * The <b>SplObserver</b> to detach.
1979
-     * </p>
1980
-     * @return void
1981
-     */
1982
-    #[TentativeType]
1983
-    public function detach(SplObserver $observer): void;
1984
-
1985
-    /**
1986
-     * Notify an observer
1987
-     * @link https://php.net/manual/en/splsubject.notify.php
1988
-     * @return void
1989
-     */
1990
-    #[TentativeType]
1991
-    public function notify(): void;
1963
+	/**
1964
+	 * Attach an SplObserver
1965
+	 * @link https://php.net/manual/en/splsubject.attach.php
1966
+	 * @param SplObserver $observer <p>
1967
+	 * The <b>SplObserver</b> to attach.
1968
+	 * </p>
1969
+	 * @return void
1970
+	 */
1971
+	#[TentativeType]
1972
+	public function attach(SplObserver $observer): void;
1973
+
1974
+	/**
1975
+	 * Detach an observer
1976
+	 * @link https://php.net/manual/en/splsubject.detach.php
1977
+	 * @param SplObserver $observer <p>
1978
+	 * The <b>SplObserver</b> to detach.
1979
+	 * </p>
1980
+	 * @return void
1981
+	 */
1982
+	#[TentativeType]
1983
+	public function detach(SplObserver $observer): void;
1984
+
1985
+	/**
1986
+	 * Notify an observer
1987
+	 * @link https://php.net/manual/en/splsubject.notify.php
1988
+	 * @return void
1989
+	 */
1990
+	#[TentativeType]
1991
+	public function notify(): void;
1992 1992
 }
1993 1993
 
1994 1994
 /**
@@ -1999,251 +1999,251 @@  discard block
 block discarded – undo
1999 1999
  */
2000 2000
 class SplObjectStorage implements Countable, Iterator, Serializable, ArrayAccess
2001 2001
 {
2002
-    /**
2003
-     * Adds an object in the storage
2004
-     * @link https://php.net/manual/en/splobjectstorage.attach.php
2005
-     * @param object $object <p>
2006
-     * The object to add.
2007
-     * </p>
2008
-     * @param mixed $info [optional] <p>
2009
-     * The data to associate with the object.
2010
-     * </p>
2011
-     * @return void
2012
-     */
2013
-    #[TentativeType]
2014
-    public function attach(
2015
-        #[LanguageLevelTypeAware(['8.0' => 'object'], default: '')] $object,
2016
-        #[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $info = null
2017
-    ): void {}
2018
-
2019
-    /**
2020
-     * Removes an object from the storage
2021
-     * @link https://php.net/manual/en/splobjectstorage.detach.php
2022
-     * @param object $object <p>
2023
-     * The object to remove.
2024
-     * </p>
2025
-     * @return void
2026
-     */
2027
-    #[TentativeType]
2028
-    public function detach(#[LanguageLevelTypeAware(['8.0' => 'object'], default: '')] $object): void {}
2029
-
2030
-    /**
2031
-     * Checks if the storage contains a specific object
2032
-     * @link https://php.net/manual/en/splobjectstorage.contains.php
2033
-     * @param object $object <p>
2034
-     * The object to look for.
2035
-     * </p>
2036
-     * @return bool true if the object is in the storage, false otherwise.
2037
-     */
2038
-    #[TentativeType]
2039
-    public function contains(#[LanguageLevelTypeAware(['8.0' => 'object'], default: '')] $object): bool {}
2040
-
2041
-    /**
2042
-     * Adds all objects from another storage
2043
-     * @link https://php.net/manual/en/splobjectstorage.addall.php
2044
-     * @param SplObjectStorage $storage <p>
2045
-     * The storage you want to import.
2046
-     * </p>
2047
-     * @return int
2048
-     */
2049
-    #[TentativeType]
2050
-    public function addAll(#[LanguageLevelTypeAware(['8.0' => 'SplObjectStorage'], default: '')] $storage): int {}
2051
-
2052
-    /**
2053
-     * Removes objects contained in another storage from the current storage
2054
-     * @link https://php.net/manual/en/splobjectstorage.removeall.php
2055
-     * @param SplObjectStorage $storage <p>
2056
-     * The storage containing the elements to remove.
2057
-     * </p>
2058
-     * @return int
2059
-     */
2060
-    #[TentativeType]
2061
-    public function removeAll(#[LanguageLevelTypeAware(['8.0' => 'SplObjectStorage'], default: '')] $storage): int {}
2062
-
2063
-    /**
2064
-     * Removes all objects except for those contained in another storage from the current storage
2065
-     * @link https://php.net/manual/en/splobjectstorage.removeallexcept.php
2066
-     * @param SplObjectStorage $storage <p>
2067
-     * The storage containing the elements to retain in the current storage.
2068
-     * </p>
2069
-     * @return int
2070
-     * @since 5.3.6
2071
-     */
2072
-    #[TentativeType]
2073
-    public function removeAllExcept(#[LanguageLevelTypeAware(['8.0' => 'SplObjectStorage'], default: '')] $storage): int {}
2074
-
2075
-    /**
2076
-     * Returns the data associated with the current iterator entry
2077
-     * @link https://php.net/manual/en/splobjectstorage.getinfo.php
2078
-     * @return mixed The data associated with the current iterator position.
2079
-     */
2080
-    #[TentativeType]
2081
-    public function getInfo(): mixed {}
2082
-
2083
-    /**
2084
-     * Sets the data associated with the current iterator entry
2085
-     * @link https://php.net/manual/en/splobjectstorage.setinfo.php
2086
-     * @param mixed $info <p>
2087
-     * The data to associate with the current iterator entry.
2088
-     * </p>
2089
-     * @return void
2090
-     */
2091
-    #[TentativeType]
2092
-    public function setInfo(#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $info): void {}
2093
-
2094
-    /**
2095
-     * Returns the number of objects in the storage
2096
-     * @link https://php.net/manual/en/splobjectstorage.count.php
2097
-     * @param int $mode [optional]
2098
-     * @return int The number of objects in the storage.
2099
-     */
2100
-    #[TentativeType]
2101
-    public function count(#[PhpStormStubsElementAvailable(from: '8.0')] int $mode = COUNT_NORMAL): int {}
2102
-
2103
-    /**
2104
-     * Rewind the iterator to the first storage element
2105
-     * @link https://php.net/manual/en/splobjectstorage.rewind.php
2106
-     * @return void
2107
-     */
2108
-    #[TentativeType]
2109
-    public function rewind(): void {}
2110
-
2111
-    /**
2112
-     * Returns if the current iterator entry is valid
2113
-     * @link https://php.net/manual/en/splobjectstorage.valid.php
2114
-     * @return bool true if the iterator entry is valid, false otherwise.
2115
-     */
2116
-    #[TentativeType]
2117
-    public function valid(): bool {}
2118
-
2119
-    /**
2120
-     * Returns the index at which the iterator currently is
2121
-     * @link https://php.net/manual/en/splobjectstorage.key.php
2122
-     * @return int The index corresponding to the position of the iterator.
2123
-     */
2124
-    #[TentativeType]
2125
-    public function key(): int {}
2126
-
2127
-    /**
2128
-     * Returns the current storage entry
2129
-     * @link https://php.net/manual/en/splobjectstorage.current.php
2130
-     * @return object The object at the current iterator position.
2131
-     */
2132
-    #[TentativeType]
2133
-    public function current(): object {}
2134
-
2135
-    /**
2136
-     * Move to the next entry
2137
-     * @link https://php.net/manual/en/splobjectstorage.next.php
2138
-     * @return void
2139
-     */
2140
-    #[TentativeType]
2141
-    public function next(): void {}
2142
-
2143
-    /**
2144
-     * Unserializes a storage from its string representation
2145
-     * @link https://php.net/manual/en/splobjectstorage.unserialize.php
2146
-     * @param string $data <p>
2147
-     * The serialized representation of a storage.
2148
-     * </p>
2149
-     * @return void
2150
-     * @since 5.2.2
2151
-     */
2152
-    #[TentativeType]
2153
-    public function unserialize(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $data): void {}
2154
-
2155
-    /**
2156
-     * Serializes the storage
2157
-     * @link https://php.net/manual/en/splobjectstorage.serialize.php
2158
-     * @return string A string representing the storage.
2159
-     * @since 5.2.2
2160
-     */
2161
-    #[TentativeType]
2162
-    public function serialize(): string {}
2163
-
2164
-    /**
2165
-     * Checks whether an object exists in the storage
2166
-     * @link https://php.net/manual/en/splobjectstorage.offsetexists.php
2167
-     * @param object $object <p>
2168
-     * The object to look for.
2169
-     * </p>
2170
-     * @return bool true if the object exists in the storage,
2171
-     * and false otherwise.
2172
-     */
2173
-    #[TentativeType]
2174
-    public function offsetExists($object): bool {}
2175
-
2176
-    /**
2177
-     * Associates data to an object in the storage
2178
-     * @link https://php.net/manual/en/splobjectstorage.offsetset.php
2179
-     * @param object $object <p>
2180
-     * The object to associate data with.
2181
-     * </p>
2182
-     * @param mixed $info [optional] <p>
2183
-     * The data to associate with the object.
2184
-     * </p>
2185
-     * @return void
2186
-     */
2187
-    #[TentativeType]
2188
-    public function offsetSet(
2189
-        #[LanguageLevelTypeAware(['8.1' => 'mixed'], default: '')] $object,
2190
-        #[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $info = null
2191
-    ): void {}
2192
-
2193
-    /**
2194
-     * Removes an object from the storage
2195
-     * @link https://php.net/manual/en/splobjectstorage.offsetunset.php
2196
-     * @param object $object <p>
2197
-     * The object to remove.
2198
-     * </p>
2199
-     * @return void
2200
-     */
2201
-    #[TentativeType]
2202
-    public function offsetUnset($object): void {}
2203
-
2204
-    /**
2205
-     * Returns the data associated with an <type>object</type>
2206
-     * @link https://php.net/manual/en/splobjectstorage.offsetget.php
2207
-     * @param object $object <p>
2208
-     * The object to look for.
2209
-     * </p>
2210
-     * @return mixed The data previously associated with the object in the storage.
2211
-     */
2212
-    #[TentativeType]
2213
-    public function offsetGet($object): mixed {}
2214
-
2215
-    /**
2216
-     * Calculate a unique identifier for the contained objects
2217
-     * @link https://php.net/manual/en/splobjectstorage.gethash.php
2218
-     * @param object $object <p>
2219
-     * object whose identifier is to be calculated.
2220
-     * </p>
2221
-     * @return string A string with the calculated identifier.
2222
-     * @since 5.4
2223
-     */
2224
-    #[TentativeType]
2225
-    public function getHash(#[LanguageLevelTypeAware(['8.0' => 'object'], default: '')] $object): string {}
2226
-
2227
-    /**
2228
-     * @return array
2229
-     * @since 7.4
2230
-     */
2231
-    #[TentativeType]
2232
-    public function __serialize(): array {}
2233
-
2234
-    /**
2235
-     * @param array $data
2236
-     * @since 7.4
2237
-     */
2238
-    #[TentativeType]
2239
-    public function __unserialize(array $data): void {}
2240
-
2241
-    /**
2242
-     * @return array
2243
-     * @since 7.4
2244
-     */
2245
-    #[TentativeType]
2246
-    public function __debugInfo(): array {}
2002
+	/**
2003
+	 * Adds an object in the storage
2004
+	 * @link https://php.net/manual/en/splobjectstorage.attach.php
2005
+	 * @param object $object <p>
2006
+	 * The object to add.
2007
+	 * </p>
2008
+	 * @param mixed $info [optional] <p>
2009
+	 * The data to associate with the object.
2010
+	 * </p>
2011
+	 * @return void
2012
+	 */
2013
+	#[TentativeType]
2014
+	public function attach(
2015
+		#[LanguageLevelTypeAware(['8.0' => 'object'], default: '')] $object,
2016
+		#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $info = null
2017
+	): void {}
2018
+
2019
+	/**
2020
+	 * Removes an object from the storage
2021
+	 * @link https://php.net/manual/en/splobjectstorage.detach.php
2022
+	 * @param object $object <p>
2023
+	 * The object to remove.
2024
+	 * </p>
2025
+	 * @return void
2026
+	 */
2027
+	#[TentativeType]
2028
+	public function detach(#[LanguageLevelTypeAware(['8.0' => 'object'], default: '')] $object): void {}
2029
+
2030
+	/**
2031
+	 * Checks if the storage contains a specific object
2032
+	 * @link https://php.net/manual/en/splobjectstorage.contains.php
2033
+	 * @param object $object <p>
2034
+	 * The object to look for.
2035
+	 * </p>
2036
+	 * @return bool true if the object is in the storage, false otherwise.
2037
+	 */
2038
+	#[TentativeType]
2039
+	public function contains(#[LanguageLevelTypeAware(['8.0' => 'object'], default: '')] $object): bool {}
2040
+
2041
+	/**
2042
+	 * Adds all objects from another storage
2043
+	 * @link https://php.net/manual/en/splobjectstorage.addall.php
2044
+	 * @param SplObjectStorage $storage <p>
2045
+	 * The storage you want to import.
2046
+	 * </p>
2047
+	 * @return int
2048
+	 */
2049
+	#[TentativeType]
2050
+	public function addAll(#[LanguageLevelTypeAware(['8.0' => 'SplObjectStorage'], default: '')] $storage): int {}
2051
+
2052
+	/**
2053
+	 * Removes objects contained in another storage from the current storage
2054
+	 * @link https://php.net/manual/en/splobjectstorage.removeall.php
2055
+	 * @param SplObjectStorage $storage <p>
2056
+	 * The storage containing the elements to remove.
2057
+	 * </p>
2058
+	 * @return int
2059
+	 */
2060
+	#[TentativeType]
2061
+	public function removeAll(#[LanguageLevelTypeAware(['8.0' => 'SplObjectStorage'], default: '')] $storage): int {}
2062
+
2063
+	/**
2064
+	 * Removes all objects except for those contained in another storage from the current storage
2065
+	 * @link https://php.net/manual/en/splobjectstorage.removeallexcept.php
2066
+	 * @param SplObjectStorage $storage <p>
2067
+	 * The storage containing the elements to retain in the current storage.
2068
+	 * </p>
2069
+	 * @return int
2070
+	 * @since 5.3.6
2071
+	 */
2072
+	#[TentativeType]
2073
+	public function removeAllExcept(#[LanguageLevelTypeAware(['8.0' => 'SplObjectStorage'], default: '')] $storage): int {}
2074
+
2075
+	/**
2076
+	 * Returns the data associated with the current iterator entry
2077
+	 * @link https://php.net/manual/en/splobjectstorage.getinfo.php
2078
+	 * @return mixed The data associated with the current iterator position.
2079
+	 */
2080
+	#[TentativeType]
2081
+	public function getInfo(): mixed {}
2082
+
2083
+	/**
2084
+	 * Sets the data associated with the current iterator entry
2085
+	 * @link https://php.net/manual/en/splobjectstorage.setinfo.php
2086
+	 * @param mixed $info <p>
2087
+	 * The data to associate with the current iterator entry.
2088
+	 * </p>
2089
+	 * @return void
2090
+	 */
2091
+	#[TentativeType]
2092
+	public function setInfo(#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $info): void {}
2093
+
2094
+	/**
2095
+	 * Returns the number of objects in the storage
2096
+	 * @link https://php.net/manual/en/splobjectstorage.count.php
2097
+	 * @param int $mode [optional]
2098
+	 * @return int The number of objects in the storage.
2099
+	 */
2100
+	#[TentativeType]
2101
+	public function count(#[PhpStormStubsElementAvailable(from: '8.0')] int $mode = COUNT_NORMAL): int {}
2102
+
2103
+	/**
2104
+	 * Rewind the iterator to the first storage element
2105
+	 * @link https://php.net/manual/en/splobjectstorage.rewind.php
2106
+	 * @return void
2107
+	 */
2108
+	#[TentativeType]
2109
+	public function rewind(): void {}
2110
+
2111
+	/**
2112
+	 * Returns if the current iterator entry is valid
2113
+	 * @link https://php.net/manual/en/splobjectstorage.valid.php
2114
+	 * @return bool true if the iterator entry is valid, false otherwise.
2115
+	 */
2116
+	#[TentativeType]
2117
+	public function valid(): bool {}
2118
+
2119
+	/**
2120
+	 * Returns the index at which the iterator currently is
2121
+	 * @link https://php.net/manual/en/splobjectstorage.key.php
2122
+	 * @return int The index corresponding to the position of the iterator.
2123
+	 */
2124
+	#[TentativeType]
2125
+	public function key(): int {}
2126
+
2127
+	/**
2128
+	 * Returns the current storage entry
2129
+	 * @link https://php.net/manual/en/splobjectstorage.current.php
2130
+	 * @return object The object at the current iterator position.
2131
+	 */
2132
+	#[TentativeType]
2133
+	public function current(): object {}
2134
+
2135
+	/**
2136
+	 * Move to the next entry
2137
+	 * @link https://php.net/manual/en/splobjectstorage.next.php
2138
+	 * @return void
2139
+	 */
2140
+	#[TentativeType]
2141
+	public function next(): void {}
2142
+
2143
+	/**
2144
+	 * Unserializes a storage from its string representation
2145
+	 * @link https://php.net/manual/en/splobjectstorage.unserialize.php
2146
+	 * @param string $data <p>
2147
+	 * The serialized representation of a storage.
2148
+	 * </p>
2149
+	 * @return void
2150
+	 * @since 5.2.2
2151
+	 */
2152
+	#[TentativeType]
2153
+	public function unserialize(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $data): void {}
2154
+
2155
+	/**
2156
+	 * Serializes the storage
2157
+	 * @link https://php.net/manual/en/splobjectstorage.serialize.php
2158
+	 * @return string A string representing the storage.
2159
+	 * @since 5.2.2
2160
+	 */
2161
+	#[TentativeType]
2162
+	public function serialize(): string {}
2163
+
2164
+	/**
2165
+	 * Checks whether an object exists in the storage
2166
+	 * @link https://php.net/manual/en/splobjectstorage.offsetexists.php
2167
+	 * @param object $object <p>
2168
+	 * The object to look for.
2169
+	 * </p>
2170
+	 * @return bool true if the object exists in the storage,
2171
+	 * and false otherwise.
2172
+	 */
2173
+	#[TentativeType]
2174
+	public function offsetExists($object): bool {}
2175
+
2176
+	/**
2177
+	 * Associates data to an object in the storage
2178
+	 * @link https://php.net/manual/en/splobjectstorage.offsetset.php
2179
+	 * @param object $object <p>
2180
+	 * The object to associate data with.
2181
+	 * </p>
2182
+	 * @param mixed $info [optional] <p>
2183
+	 * The data to associate with the object.
2184
+	 * </p>
2185
+	 * @return void
2186
+	 */
2187
+	#[TentativeType]
2188
+	public function offsetSet(
2189
+		#[LanguageLevelTypeAware(['8.1' => 'mixed'], default: '')] $object,
2190
+		#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $info = null
2191
+	): void {}
2192
+
2193
+	/**
2194
+	 * Removes an object from the storage
2195
+	 * @link https://php.net/manual/en/splobjectstorage.offsetunset.php
2196
+	 * @param object $object <p>
2197
+	 * The object to remove.
2198
+	 * </p>
2199
+	 * @return void
2200
+	 */
2201
+	#[TentativeType]
2202
+	public function offsetUnset($object): void {}
2203
+
2204
+	/**
2205
+	 * Returns the data associated with an <type>object</type>
2206
+	 * @link https://php.net/manual/en/splobjectstorage.offsetget.php
2207
+	 * @param object $object <p>
2208
+	 * The object to look for.
2209
+	 * </p>
2210
+	 * @return mixed The data previously associated with the object in the storage.
2211
+	 */
2212
+	#[TentativeType]
2213
+	public function offsetGet($object): mixed {}
2214
+
2215
+	/**
2216
+	 * Calculate a unique identifier for the contained objects
2217
+	 * @link https://php.net/manual/en/splobjectstorage.gethash.php
2218
+	 * @param object $object <p>
2219
+	 * object whose identifier is to be calculated.
2220
+	 * </p>
2221
+	 * @return string A string with the calculated identifier.
2222
+	 * @since 5.4
2223
+	 */
2224
+	#[TentativeType]
2225
+	public function getHash(#[LanguageLevelTypeAware(['8.0' => 'object'], default: '')] $object): string {}
2226
+
2227
+	/**
2228
+	 * @return array
2229
+	 * @since 7.4
2230
+	 */
2231
+	#[TentativeType]
2232
+	public function __serialize(): array {}
2233
+
2234
+	/**
2235
+	 * @param array $data
2236
+	 * @since 7.4
2237
+	 */
2238
+	#[TentativeType]
2239
+	public function __unserialize(array $data): void {}
2240
+
2241
+	/**
2242
+	 * @return array
2243
+	 * @since 7.4
2244
+	 */
2245
+	#[TentativeType]
2246
+	public function __debugInfo(): array {}
2247 2247
 }
2248 2248
 
2249 2249
 /**
@@ -2252,132 +2252,132 @@  discard block
 block discarded – undo
2252 2252
  */
2253 2253
 class MultipleIterator implements Iterator
2254 2254
 {
2255
-    public const MIT_NEED_ANY = 0;
2256
-    public const MIT_NEED_ALL = 1;
2257
-    public const MIT_KEYS_NUMERIC = 0;
2258
-    public const MIT_KEYS_ASSOC = 2;
2259
-
2260
-    /**
2261
-     * Constructs a new MultipleIterator
2262
-     * @link https://php.net/manual/en/multipleiterator.construct.php
2263
-     * @param int $flags [optional] Defaults to MultipleIterator::MIT_NEED_ALL | MultipleIterator::MIT_KEYS_NUMERIC
2264
-     */
2265
-    public function __construct(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = MultipleIterator::MIT_NEED_ALL|MultipleIterator::MIT_KEYS_NUMERIC) {}
2266
-
2267
-    /**
2268
-     * Gets the flag information
2269
-     * @link https://php.net/manual/en/multipleiterator.getflags.php
2270
-     * @return int Information about the flags, as an integer.
2271
-     */
2272
-    #[TentativeType]
2273
-    public function getFlags(): int {}
2274
-
2275
-    /**
2276
-     * Sets flags
2277
-     * @link https://php.net/manual/en/multipleiterator.setflags.php
2278
-     * @param int $flags <p>
2279
-     * The flags to set, according to the
2280
-     * Flag Constants
2281
-     * </p>
2282
-     * @return void
2283
-     */
2284
-    #[TentativeType]
2285
-    public function setFlags(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags): void {}
2286
-
2287
-    /**
2288
-     * Attaches iterator information
2289
-     * @link https://php.net/manual/en/multipleiterator.attachiterator.php
2290
-     * @param Iterator $iterator <p>
2291
-     * The new iterator to attach.
2292
-     * </p>
2293
-     * @param int|string|null $info [optional] <p>
2294
-     * The associative information for the Iterator, which must be an
2295
-     * integer, a string, or null.
2296
-     * </p>
2297
-     * @return void Description...
2298
-     */
2299
-    #[TentativeType]
2300
-    public function attachIterator(Iterator $iterator, #[LanguageLevelTypeAware(['8.0' => 'int|string|null'], default: '')] $info = null): void {}
2301
-
2302
-    /**
2303
-     * Detaches an iterator
2304
-     * @link https://php.net/manual/en/multipleiterator.detachiterator.php
2305
-     * @param Iterator $iterator <p>
2306
-     * The iterator to detach.
2307
-     * </p>
2308
-     * @return void
2309
-     */
2310
-    #[TentativeType]
2311
-    public function detachIterator(Iterator $iterator): void {}
2312
-
2313
-    /**
2314
-     * Checks if an iterator is attached
2315
-     * @link https://php.net/manual/en/multipleiterator.containsiterator.php
2316
-     * @param Iterator $iterator <p>
2317
-     * The iterator to check.
2318
-     * </p>
2319
-     * @return bool true on success or false on failure.
2320
-     */
2321
-    #[TentativeType]
2322
-    public function containsIterator(Iterator $iterator): bool {}
2323
-
2324
-    /**
2325
-     * Gets the number of attached iterator instances
2326
-     * @link https://php.net/manual/en/multipleiterator.countiterators.php
2327
-     * @return int The number of attached iterator instances (as an integer).
2328
-     */
2329
-    #[TentativeType]
2330
-    public function countIterators(): int {}
2331
-
2332
-    /**
2333
-     * Rewinds all attached iterator instances
2334
-     * @link https://php.net/manual/en/multipleiterator.rewind.php
2335
-     * @return void
2336
-     */
2337
-    #[TentativeType]
2338
-    public function rewind(): void {}
2339
-
2340
-    /**
2341
-     * Checks the validity of sub iterators
2342
-     * @link https://php.net/manual/en/multipleiterator.valid.php
2343
-     * @return bool true if one or all sub iterators are valid depending on flags,
2344
-     * otherwise false
2345
-     */
2346
-    #[TentativeType]
2347
-    public function valid(): bool {}
2348
-
2349
-    /**
2350
-     * Gets the registered iterator instances
2351
-     * @link https://php.net/manual/en/multipleiterator.key.php
2352
-     * @return array An array of all registered iterator instances,
2353
-     * or false if no sub iterator is attached.
2354
-     */
2355
-    #[TentativeType]
2356
-    public function key(): array {}
2357
-
2358
-    /**
2359
-     * Gets the registered iterator instances
2360
-     * @link https://php.net/manual/en/multipleiterator.current.php
2361
-     * @return array An array containing the current values of each attached iterator,
2362
-     * or false if no iterators are attached.
2363
-     * @throws RuntimeException if mode MIT_NEED_ALL is set and at least one attached iterator is not valid.
2364
-     * @throws InvalidArgumentException if a key is NULL and MIT_KEYS_ASSOC is set.
2365
-     */
2366
-    #[TentativeType]
2367
-    public function current(): array {}
2368
-
2369
-    /**
2370
-     * Moves all attached iterator instances forward
2371
-     * @link https://php.net/manual/en/multipleiterator.next.php
2372
-     * @return void
2373
-     */
2374
-    #[TentativeType]
2375
-    public function next(): void {}
2376
-
2377
-    /**
2378
-     * @return array
2379
-     * @since 7.4
2380
-     */
2381
-    #[TentativeType]
2382
-    public function __debugInfo(): array {}
2255
+	public const MIT_NEED_ANY = 0;
2256
+	public const MIT_NEED_ALL = 1;
2257
+	public const MIT_KEYS_NUMERIC = 0;
2258
+	public const MIT_KEYS_ASSOC = 2;
2259
+
2260
+	/**
2261
+	 * Constructs a new MultipleIterator
2262
+	 * @link https://php.net/manual/en/multipleiterator.construct.php
2263
+	 * @param int $flags [optional] Defaults to MultipleIterator::MIT_NEED_ALL | MultipleIterator::MIT_KEYS_NUMERIC
2264
+	 */
2265
+	public function __construct(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = MultipleIterator::MIT_NEED_ALL|MultipleIterator::MIT_KEYS_NUMERIC) {}
2266
+
2267
+	/**
2268
+	 * Gets the flag information
2269
+	 * @link https://php.net/manual/en/multipleiterator.getflags.php
2270
+	 * @return int Information about the flags, as an integer.
2271
+	 */
2272
+	#[TentativeType]
2273
+	public function getFlags(): int {}
2274
+
2275
+	/**
2276
+	 * Sets flags
2277
+	 * @link https://php.net/manual/en/multipleiterator.setflags.php
2278
+	 * @param int $flags <p>
2279
+	 * The flags to set, according to the
2280
+	 * Flag Constants
2281
+	 * </p>
2282
+	 * @return void
2283
+	 */
2284
+	#[TentativeType]
2285
+	public function setFlags(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags): void {}
2286
+
2287
+	/**
2288
+	 * Attaches iterator information
2289
+	 * @link https://php.net/manual/en/multipleiterator.attachiterator.php
2290
+	 * @param Iterator $iterator <p>
2291
+	 * The new iterator to attach.
2292
+	 * </p>
2293
+	 * @param int|string|null $info [optional] <p>
2294
+	 * The associative information for the Iterator, which must be an
2295
+	 * integer, a string, or null.
2296
+	 * </p>
2297
+	 * @return void Description...
2298
+	 */
2299
+	#[TentativeType]
2300
+	public function attachIterator(Iterator $iterator, #[LanguageLevelTypeAware(['8.0' => 'int|string|null'], default: '')] $info = null): void {}
2301
+
2302
+	/**
2303
+	 * Detaches an iterator
2304
+	 * @link https://php.net/manual/en/multipleiterator.detachiterator.php
2305
+	 * @param Iterator $iterator <p>
2306
+	 * The iterator to detach.
2307
+	 * </p>
2308
+	 * @return void
2309
+	 */
2310
+	#[TentativeType]
2311
+	public function detachIterator(Iterator $iterator): void {}
2312
+
2313
+	/**
2314
+	 * Checks if an iterator is attached
2315
+	 * @link https://php.net/manual/en/multipleiterator.containsiterator.php
2316
+	 * @param Iterator $iterator <p>
2317
+	 * The iterator to check.
2318
+	 * </p>
2319
+	 * @return bool true on success or false on failure.
2320
+	 */
2321
+	#[TentativeType]
2322
+	public function containsIterator(Iterator $iterator): bool {}
2323
+
2324
+	/**
2325
+	 * Gets the number of attached iterator instances
2326
+	 * @link https://php.net/manual/en/multipleiterator.countiterators.php
2327
+	 * @return int The number of attached iterator instances (as an integer).
2328
+	 */
2329
+	#[TentativeType]
2330
+	public function countIterators(): int {}
2331
+
2332
+	/**
2333
+	 * Rewinds all attached iterator instances
2334
+	 * @link https://php.net/manual/en/multipleiterator.rewind.php
2335
+	 * @return void
2336
+	 */
2337
+	#[TentativeType]
2338
+	public function rewind(): void {}
2339
+
2340
+	/**
2341
+	 * Checks the validity of sub iterators
2342
+	 * @link https://php.net/manual/en/multipleiterator.valid.php
2343
+	 * @return bool true if one or all sub iterators are valid depending on flags,
2344
+	 * otherwise false
2345
+	 */
2346
+	#[TentativeType]
2347
+	public function valid(): bool {}
2348
+
2349
+	/**
2350
+	 * Gets the registered iterator instances
2351
+	 * @link https://php.net/manual/en/multipleiterator.key.php
2352
+	 * @return array An array of all registered iterator instances,
2353
+	 * or false if no sub iterator is attached.
2354
+	 */
2355
+	#[TentativeType]
2356
+	public function key(): array {}
2357
+
2358
+	/**
2359
+	 * Gets the registered iterator instances
2360
+	 * @link https://php.net/manual/en/multipleiterator.current.php
2361
+	 * @return array An array containing the current values of each attached iterator,
2362
+	 * or false if no iterators are attached.
2363
+	 * @throws RuntimeException if mode MIT_NEED_ALL is set and at least one attached iterator is not valid.
2364
+	 * @throws InvalidArgumentException if a key is NULL and MIT_KEYS_ASSOC is set.
2365
+	 */
2366
+	#[TentativeType]
2367
+	public function current(): array {}
2368
+
2369
+	/**
2370
+	 * Moves all attached iterator instances forward
2371
+	 * @link https://php.net/manual/en/multipleiterator.next.php
2372
+	 * @return void
2373
+	 */
2374
+	#[TentativeType]
2375
+	public function next(): void {}
2376
+
2377
+	/**
2378
+	 * @return array
2379
+	 * @since 7.4
2380
+	 */
2381
+	#[TentativeType]
2382
+	public function __debugInfo(): array {}
2383 2383
 }
Please login to merge, or discard this patch.
Spacing   +35 added lines, -35 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
      * @since 5.1.2
78 78
      */
79 79
     #[TentativeType]
80
-    public function getPerms(): int|false {}
80
+    public function getPerms(): int | false {}
81 81
 
82 82
     /**
83 83
      * Gets the inode for the file
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
      * @since 5.1.2
87 87
      */
88 88
     #[TentativeType]
89
-    public function getInode(): int|false {}
89
+    public function getInode(): int | false {}
90 90
 
91 91
     /**
92 92
      * Gets file size
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
      * @since 5.1.2
96 96
      */
97 97
     #[TentativeType]
98
-    public function getSize(): int|false {}
98
+    public function getSize(): int | false {}
99 99
 
100 100
     /**
101 101
      * Gets the owner of the file
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
      * @since 5.1.2
105 105
      */
106 106
     #[TentativeType]
107
-    public function getOwner(): int|false {}
107
+    public function getOwner(): int | false {}
108 108
 
109 109
     /**
110 110
      * Gets the file group
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
      * @since 5.1.2
114 114
      */
115 115
     #[TentativeType]
116
-    public function getGroup(): int|false {}
116
+    public function getGroup(): int | false {}
117 117
 
118 118
     /**
119 119
      * Gets last access time of the file
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
      * @since 5.1.2
123 123
      */
124 124
     #[TentativeType]
125
-    public function getATime(): int|false {}
125
+    public function getATime(): int | false {}
126 126
 
127 127
     /**
128 128
      * Gets the last modified time
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
      * @since 5.1.2
132 132
      */
133 133
     #[TentativeType]
134
-    public function getMTime(): int|false {}
134
+    public function getMTime(): int | false {}
135 135
 
136 136
     /**
137 137
      * Gets the inode change time
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
      * @since 5.1.2
141 141
      */
142 142
     #[TentativeType]
143
-    public function getCTime(): int|false {}
143
+    public function getCTime(): int | false {}
144 144
 
145 145
     /**
146 146
      * Gets file type
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
      * @since 5.1.2
152 152
      */
153 153
     #[TentativeType]
154
-    public function getType(): string|false {}
154
+    public function getType(): string | false {}
155 155
 
156 156
     /**
157 157
      * Tells if the entry is writable
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
      * @since 5.2.2
215 215
      */
216 216
     #[TentativeType]
217
-    public function getLinkTarget(): string|false {}
217
+    public function getLinkTarget(): string | false {}
218 218
 
219 219
     /**
220 220
      * Gets absolute path to file
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
      * @since 5.2.2
224 224
      */
225 225
     #[TentativeType]
226
-    public function getRealPath(): string|false {}
226
+    public function getRealPath(): string | false {}
227 227
 
228 228
     /**
229 229
      * Gets an SplFileInfo object for the file
@@ -266,8 +266,8 @@  discard block
 block discarded – undo
266 266
      */
267 267
     #[TentativeType]
268 268
     public function openFile(
269
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $mode = 'r',
270
-        #[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $useIncludePath = false,
269
+        #[LanguageLevelTypeAware(['8.0' => 'string'], default : '')] $mode = 'r',
270
+        #[LanguageLevelTypeAware(['8.0' => 'bool'], default : '')] $useIncludePath = false,
271 271
         $context = null
272 272
     ): SplFileObject {}
273 273
 
@@ -281,7 +281,7 @@  discard block
 block discarded – undo
281 281
      * @since 5.1.2
282 282
      */
283 283
     #[TentativeType]
284
-    public function setFileClass(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $class = SplFileObject::class): void {}
284
+    public function setFileClass(#[LanguageLevelTypeAware(['8.0' => 'string'], default : '')] $class = SplFileObject::class): void {}
285 285
 
286 286
     /**
287 287
      * Sets the class used with getFileInfo and getPathInfo
@@ -293,7 +293,7 @@  discard block
 block discarded – undo
293 293
      * @since 5.1.2
294 294
      */
295 295
     #[TentativeType]
296
-    public function setInfoClass(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $class = SplFileInfo::class): void {}
296
+    public function setInfoClass(#[LanguageLevelTypeAware(['8.0' => 'string'], default : '')] $class = SplFileInfo::class): void {}
297 297
 
298 298
     /**
299 299
      * Returns the path to the file as a string
@@ -301,7 +301,7 @@  discard block
 block discarded – undo
301 301
      * @return string the path to the file.
302 302
      * @since 5.1.2
303 303
      */
304
-    #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')]
304
+    #[LanguageLevelTypeAware(['8.0' => 'string'], default : '')]
305 305
     public function __toString() {}
306 306
 
307 307
     #[TentativeType]
@@ -331,7 +331,7 @@  discard block
 block discarded – undo
331 331
      * @throws UnexpectedValueException if the path cannot be opened.
332 332
      * @throws RuntimeException if the path is an empty string.
333 333
      */
334
-    public function __construct(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $directory) {}
334
+    public function __construct(#[LanguageLevelTypeAware(['8.0' => 'string'], default : '')] $directory) {}
335 335
 
336 336
     /**
337 337
      * Determine if current DirectoryIterator item is '.' or '..'
@@ -389,7 +389,7 @@  discard block
 block discarded – undo
389 389
      * @return void
390 390
      */
391 391
     #[TentativeType]
392
-    public function seek(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $offset): void {}
392
+    public function seek(#[LanguageLevelTypeAware(['8.0' => 'int'], default : '')] $offset): void {}
393 393
 }
394 394
 
395 395
 /**
@@ -420,7 +420,7 @@  discard block
 block discarded – undo
420 420
      */
421 421
     public function __construct(
422 422
         #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $directory,
423
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = FilesystemIterator::KEY_AS_PATHNAME|FilesystemIterator::CURRENT_AS_FILEINFO|FilesystemIterator::SKIP_DOTS
423
+        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = FilesystemIterator::KEY_AS_PATHNAME | FilesystemIterator::CURRENT_AS_FILEINFO | FilesystemIterator::SKIP_DOTS
424 424
     ) {}
425 425
 
426 426
     /**
@@ -454,7 +454,7 @@  discard block
 block discarded – undo
454 454
      * See the FilesystemIterator constants.
455 455
      */
456 456
     #[TentativeType]
457
-    public function current(): SplFileInfo|FilesystemIterator|string {}
457
+    public function current(): SplFileInfo | FilesystemIterator | string {}
458 458
 
459 459
     /**
460 460
      * Get the handling flags
@@ -494,7 +494,7 @@  discard block
 block discarded – undo
494 494
      */
495 495
     public function __construct(
496 496
         #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $directory,
497
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = FilesystemIterator::KEY_AS_PATHNAME|FilesystemIterator::CURRENT_AS_FILEINFO
497
+        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = FilesystemIterator::KEY_AS_PATHNAME | FilesystemIterator::CURRENT_AS_FILEINFO
498 498
     ) {}
499 499
 
500 500
     /**
@@ -577,7 +577,7 @@  discard block
 block discarded – undo
577 577
      */
578 578
     public function __construct(
579 579
         #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $pattern,
580
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = FilesystemIterator::KEY_AS_PATHNAME|FilesystemIterator::CURRENT_AS_FILEINFO
580
+        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = FilesystemIterator::KEY_AS_PATHNAME | FilesystemIterator::CURRENT_AS_FILEINFO
581 581
     ) {}
582 582
 
583 583
     /**
@@ -675,7 +675,7 @@  discard block
 block discarded – undo
675 675
      * @since 5.5.11
676 676
      */
677 677
     #[TentativeType]
678
-    public function fread(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $length): string|false {}
678
+    public function fread(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $length): string | false {}
679 679
 
680 680
     /**
681 681
      * Gets line from file and parse as CSV fields
@@ -701,7 +701,7 @@  discard block
 block discarded – undo
701 701
         #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $separator = ",",
702 702
         #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $enclosure = "\"",
703 703
         #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $escape = "\\"
704
-    ): array|false {}
704
+    ): array | false {}
705 705
 
706 706
     /**
707 707
      * Write a field array as a CSV line
@@ -724,7 +724,7 @@  discard block
 block discarded – undo
724 724
         #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $enclosure = '"',
725 725
         #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $escape = "\\",
726 726
         #[PhpStormStubsElementAvailable('8.1')] string $eol = PHP_EOL
727
-    ): int|false {}
727
+    ): int | false {}
728 728
 
729 729
     /**
730 730
      * Set the delimiter and enclosure character for CSV
@@ -784,7 +784,7 @@  discard block
 block discarded – undo
784 784
      * @return int|false the position of the file pointer as an integer, or false on error.
785 785
      */
786 786
     #[TentativeType]
787
-    public function ftell(): int|false {}
787
+    public function ftell(): int | false {}
788 788
 
789 789
     /**
790 790
      * Seek to a position
@@ -817,7 +817,7 @@  discard block
 block discarded – undo
817 817
      * @return string|false a string containing a single character read from the file or false on EOF.
818 818
      */
819 819
     #[TentativeType]
820
-    public function fgetc(): string|false {}
820
+    public function fgetc(): string | false {}
821 821
 
822 822
     /**
823 823
      * Output all remaining data on a file pointer
@@ -859,8 +859,8 @@  discard block
 block discarded – undo
859 859
     #[TentativeType]
860 860
     public function fscanf(
861 861
         #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $format,
862
-        #[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] &...$vars
863
-    ): array|int|null {}
862
+        #[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] & ...$vars
863
+    ): array | int | null {}
864 864
 
865 865
     /**
866 866
      * Write to file
@@ -881,7 +881,7 @@  discard block
 block discarded – undo
881 881
     public function fwrite(
882 882
         #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $data,
883 883
         #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $length = null
884
-    ): int|false {}
884
+    ): int | false {}
885 885
 
886 886
     /**
887 887
      * Gets information about the file
@@ -915,7 +915,7 @@  discard block
 block discarded – undo
915 915
      * @return string|array|false Retrieves the current line of the file. If the <b>SplFileObject::READ_CSV</b> flag is set, this method returns an array containing the current line parsed as CSV data.
916 916
      */
917 917
     #[TentativeType]
918
-    public function current(): string|array|false {}
918
+    public function current(): string | array | false {}
919 919
 
920 920
     /**
921 921
      * Get line number
@@ -1000,7 +1000,7 @@  discard block
 block discarded – undo
1000 1000
      * @return void
1001 1001
      */
1002 1002
     #[TentativeType]
1003
-    public function seek(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $line): void {}
1003
+    public function seek(#[LanguageLevelTypeAware(['8.0' => 'int'], default : '')] $line): void {}
1004 1004
 
1005 1005
     /**
1006 1006
      * Alias of <b>SplFileObject::fgets</b>
@@ -1015,7 +1015,7 @@  discard block
 block discarded – undo
1015 1015
      * Alias of <b>SplFileObject::current</b>
1016 1016
      * @link https://php.net/manual/en/splfileobject.tostring.php
1017 1017
      */
1018
-    #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')]
1018
+    #[LanguageLevelTypeAware(['8.0' => 'string'], default : '')]
1019 1019
     public function __toString() {}
1020 1020
 }
1021 1021
 
@@ -1032,7 +1032,7 @@  discard block
 block discarded – undo
1032 1032
      * @throws RuntimeException if an error occurs.
1033 1033
      * @since 5.1.2
1034 1034
      */
1035
-    public function __construct(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $maxMemory = 2097152) {}
1035
+    public function __construct(#[LanguageLevelTypeAware(['8.0' => 'int'], default : '')] $maxMemory = 2097152) {}
1036 1036
 }
1037 1037
 
1038 1038
 /**
@@ -2262,7 +2262,7 @@  discard block
 block discarded – undo
2262 2262
      * @link https://php.net/manual/en/multipleiterator.construct.php
2263 2263
      * @param int $flags [optional] Defaults to MultipleIterator::MIT_NEED_ALL | MultipleIterator::MIT_KEYS_NUMERIC
2264 2264
      */
2265
-    public function __construct(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = MultipleIterator::MIT_NEED_ALL|MultipleIterator::MIT_KEYS_NUMERIC) {}
2265
+    public function __construct(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = MultipleIterator::MIT_NEED_ALL | MultipleIterator::MIT_KEYS_NUMERIC) {}
2266 2266
 
2267 2267
     /**
2268 2268
      * Gets the flag information
Please login to merge, or discard this patch.
Braces   +13 added lines, -26 removed lines patch added patch discarded remove patch
@@ -11,8 +11,7 @@  discard block
 block discarded – undo
11 11
  * information for an individual file.
12 12
  * @link https://php.net/manual/en/class.splfileinfo.php
13 13
  */
14
-class SplFileInfo implements Stringable
15
-{
14
+class SplFileInfo implements Stringable {
16 15
     /**
17 16
      * Construct a new SplFileInfo object
18 17
      * @link https://php.net/manual/en/splfileinfo.construct.php
@@ -322,8 +321,7 @@  discard block
 block discarded – undo
322 321
  * the contents of filesystem directories.
323 322
  * @link https://php.net/manual/en/class.directoryiterator.php
324 323
  */
325
-class DirectoryIterator extends SplFileInfo implements SeekableIterator
326
-{
324
+class DirectoryIterator extends SplFileInfo implements SeekableIterator {
327 325
     /**
328 326
      * Constructs a new directory iterator from a path
329 327
      * @link https://php.net/manual/en/directoryiterator.construct.php
@@ -396,8 +394,7 @@  discard block
 block discarded – undo
396 394
  * The Filesystem iterator
397 395
  * @link https://php.net/manual/en/class.filesystemiterator.php
398 396
  */
399
-class FilesystemIterator extends DirectoryIterator
400
-{
397
+class FilesystemIterator extends DirectoryIterator {
401 398
     public const CURRENT_MODE_MASK = 240;
402 399
     public const CURRENT_AS_PATHNAME = 32;
403 400
     public const CURRENT_AS_FILEINFO = 0;
@@ -482,8 +479,7 @@  discard block
 block discarded – undo
482 479
  * an interface for iterating recursively over filesystem directories.
483 480
  * @link https://php.net/manual/en/class.recursivedirectoryiterator.php
484 481
  */
485
-class RecursiveDirectoryIterator extends FilesystemIterator implements RecursiveIterator
486
-{
482
+class RecursiveDirectoryIterator extends FilesystemIterator implements RecursiveIterator {
487 483
     /**
488 484
      * Constructs a RecursiveDirectoryIterator
489 485
      * @link https://php.net/manual/en/recursivedirectoryiterator.construct.php
@@ -567,8 +563,7 @@  discard block
 block discarded – undo
567 563
  * <b>glob</b>.
568 564
  * @link https://php.net/manual/en/class.globiterator.php
569 565
  */
570
-class GlobIterator extends FilesystemIterator implements Countable
571
-{
566
+class GlobIterator extends FilesystemIterator implements Countable {
572 567
     /**
573 568
      * Construct a directory using glob
574 569
      * @link https://php.net/manual/en/globiterator.construct.php
@@ -1023,8 +1018,7 @@  discard block
 block discarded – undo
1023 1018
  * The SplTempFileObject class offers an object oriented interface for a temporary file.
1024 1019
  * @link https://php.net/manual/en/class.spltempfileobject.php
1025 1020
  */
1026
-class SplTempFileObject extends SplFileObject
1027
-{
1021
+class SplTempFileObject extends SplFileObject {
1028 1022
     /**
1029 1023
      * Construct a new temporary file object
1030 1024
      * @link https://php.net/manual/en/spltempfileobject.construct.php
@@ -1291,8 +1285,7 @@  discard block
 block discarded – undo
1291 1285
  * The SplQueue class provides the main functionalities of a queue implemented using a doubly linked list.
1292 1286
  * @link https://php.net/manual/en/class.splqueue.php
1293 1287
  */
1294
-class SplQueue extends SplDoublyLinkedList
1295
-{
1288
+class SplQueue extends SplDoublyLinkedList {
1296 1289
     /**
1297 1290
      * Adds an element to the queue.
1298 1291
      * @link https://php.net/manual/en/splqueue.enqueue.php
@@ -1329,8 +1322,7 @@  discard block
 block discarded – undo
1329 1322
  * The SplStack class provides the main functionalities of a stack implemented using a doubly linked list.
1330 1323
  * @link https://php.net/manual/en/class.splstack.php
1331 1324
  */
1332
-class SplStack extends SplDoublyLinkedList
1333
-{
1325
+class SplStack extends SplDoublyLinkedList {
1334 1326
     /**
1335 1327
      * Sets the mode of iteration
1336 1328
      * @link https://php.net/manual/en/spldoublylinkedlist.setiteratormode.php
@@ -1475,8 +1467,7 @@  discard block
 block discarded – undo
1475 1467
  * The SplMinHeap class provides the main functionalities of a heap, keeping the minimum on the top.
1476 1468
  * @link https://php.net/manual/en/class.splminheap.php
1477 1469
  */
1478
-class SplMinHeap extends SplHeap
1479
-{
1470
+class SplMinHeap extends SplHeap {
1480 1471
     /**
1481 1472
      * Compare elements in order to place them correctly in the heap while sifting up.
1482 1473
      * @link https://php.net/manual/en/splminheap.compare.php
@@ -1582,8 +1573,7 @@  discard block
 block discarded – undo
1582 1573
  * The SplMaxHeap class provides the main functionalities of a heap, keeping the maximum on the top.
1583 1574
  * @link https://php.net/manual/en/class.splmaxheap.php
1584 1575
  */
1585
-class SplMaxHeap extends SplHeap
1586
-{
1576
+class SplMaxHeap extends SplHeap {
1587 1577
     /**
1588 1578
      * Compare elements in order to place them correctly in the heap while sifting up.
1589 1579
      * @link https://php.net/manual/en/splmaxheap.compare.php
@@ -1939,8 +1929,7 @@  discard block
 block discarded – undo
1939 1929
  * <b>SplSubject</b> to implement the Observer Design Pattern.
1940 1930
  * @link https://php.net/manual/en/class.splobserver.php
1941 1931
  */
1942
-interface SplObserver
1943
-{
1932
+interface SplObserver {
1944 1933
     /**
1945 1934
      * Receive update from subject
1946 1935
      * @link https://php.net/manual/en/splobserver.update.php
@@ -1958,8 +1947,7 @@  discard block
 block discarded – undo
1958 1947
  * <b>SplObserver</b> to implement the Observer Design Pattern.
1959 1948
  * @link https://php.net/manual/en/class.splsubject.php
1960 1949
  */
1961
-interface SplSubject
1962
-{
1950
+interface SplSubject {
1963 1951
     /**
1964 1952
      * Attach an SplObserver
1965 1953
      * @link https://php.net/manual/en/splsubject.attach.php
@@ -2250,8 +2238,7 @@  discard block
 block discarded – undo
2250 2238
  * An Iterator that sequentially iterates over all attached iterators
2251 2239
  * @link https://php.net/manual/en/class.multipleiterator.php
2252 2240
  */
2253
-class MultipleIterator implements Iterator
2254
-{
2241
+class MultipleIterator implements Iterator {
2255 2242
     public const MIT_NEED_ANY = 0;
2256 2243
     public const MIT_NEED_ALL = 1;
2257 2244
     public const MIT_KEYS_NUMERIC = 0;
Please login to merge, or discard this patch.
vendor-bin/php-scoper/vendor/jetbrains/phpstorm-stubs/SPL/SPL_f.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
  * If no function is registered the return value will be an empty array.
81 81
  * @since 5.1.2
82 82
  */
83
-#[LanguageLevelTypeAware(["8.0" => "array"], default: "array|false")]
83
+#[LanguageLevelTypeAware(["8.0" => "array"], default : "array|false")]
84 84
 function spl_autoload_functions() {}
85 85
 
86 86
 /**
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
  * @return string[]|false An array on success, or false on error.
109 109
  */
110 110
 #[Pure]
111
-function class_parents($object_or_class, bool $autoload = true): array|false {}
111
+function class_parents($object_or_class, bool $autoload = true): array | false {}
112 112
 
113 113
 /**
114 114
  * Return the interfaces which are implemented by the given class
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
  * @return string[]|false An array on success, or false on error.
125 125
  */
126 126
 #[Pure]
127
-function class_implements($object_or_class, bool $autoload = true): array|false {}
127
+function class_implements($object_or_class, bool $autoload = true): array | false {}
128 128
 
129 129
 /**
130 130
  * Return hash id for given object
@@ -190,7 +190,7 @@  discard block
 block discarded – undo
190 190
  * @see get_declared_traits()
191 191
  * @since 5.4
192 192
  */
193
-function class_uses($object_or_class, bool $autoload = true): array|false {}
193
+function class_uses($object_or_class, bool $autoload = true): array | false {}
194 194
 
195 195
 /**
196 196
  * return the integer object handle for given object
Please login to merge, or discard this patch.
php-scoper/vendor/jetbrains/phpstorm-stubs/libvirt-php/libvirt-php.php 1 patch
Spacing   +32 added lines, -32 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
 /* Network constants */
102 102
 const VIR_NETWORKS_ACTIVE = 1;
103 103
 const VIR_NETWORKS_INACTIVE = 2;
104
-const VIR_NETWORKS_ALL = VIR_NETWORKS_ACTIVE|VIR_NETWORKS_INACTIVE;
104
+const VIR_NETWORKS_ALL = VIR_NETWORKS_ACTIVE | VIR_NETWORKS_INACTIVE;
105 105
 const VIR_CONNECT_LIST_NETWORKS_INACTIVE = 1;
106 106
 const VIR_CONNECT_LIST_NETWORKS_ACTIVE = 2;
107 107
 const VIR_CONNECT_LIST_NETWORKS_PERSISTENT = 4;
@@ -318,7 +318,7 @@  discard block
 block discarded – undo
318 318
  * @return array|false assoc array with statistics or false on error
319 319
  * @since 0.5.1(-1)
320 320
  */
321
-function libvirt_connect_get_all_domain_stats($conn, int $stats = 0, int $flags = 0): array|false {}
321
+function libvirt_connect_get_all_domain_stats($conn, int $stats = 0, int $flags = 0): array | false {}
322 322
 
323 323
 /**
324 324
  * Function is used to get the capabilities information from the connection
@@ -352,7 +352,7 @@  discard block
 block discarded – undo
352 352
  * @return string|false hostname of the host node or FALSE for error
353 353
  * @since 0.4.1(-1)
354 354
  */
355
-function libvirt_connect_get_hostname($conn): string|false {}
355
+function libvirt_connect_get_hostname($conn): string | false {}
356 356
 
357 357
 /**
358 358
  * Function is used to get the information about the hypervisor on the connection identified by the connection pointer
@@ -383,7 +383,7 @@  discard block
 block discarded – undo
383 383
  * @return int|false number of VCPUs available per VM on the connection or FALSE for error
384 384
  * @since 0.4.1(-2)
385 385
  */
386
-function libvirt_connect_get_maxvcpus($conn): int|false {}
386
+function libvirt_connect_get_maxvcpus($conn): int | false {}
387 387
 
388 388
 /**
389 389
  * Function is used to get NIC models for requested connection/architecture
@@ -418,7 +418,7 @@  discard block
 block discarded – undo
418 418
  * @return string|false XML description of system information from the connection or FALSE for error
419 419
  * @since 0.4.1(-2)
420 420
  */
421
-function libvirt_connect_get_sysinfo($conn): string|false {}
421
+function libvirt_connect_get_sysinfo($conn): string | false {}
422 422
 
423 423
 /**
424 424
  * Function is used to get the connection URI. This is useful to check the hypervisor type of host machine
@@ -427,7 +427,7 @@  discard block
 block discarded – undo
427 427
  * @return string|false connection URI string or FALSE for error
428 428
  * @since 0.4.1(-1)
429 429
  */
430
-function libvirt_connect_get_uri($conn): string|false {}
430
+function libvirt_connect_get_uri($conn): string | false {}
431 431
 
432 432
 /* Domain functions */
433 433
 
@@ -658,7 +658,7 @@  discard block
 block discarded – undo
658 658
  * @return array|false list of domain disk devices
659 659
  * @since 0.4.4
660 660
  */
661
-function libvirt_domain_get_disk_devices($res): array|false {}
661
+function libvirt_domain_get_disk_devices($res): array | false {}
662 662
 
663 663
 /**
664 664
  * Function is used to get the domain's ID, applicable to running guests only
@@ -682,7 +682,7 @@  discard block
 block discarded – undo
682 682
  * @return array|false list of domain interface devices
683 683
  * @since 0.4.4
684 684
  */
685
-function libvirt_domain_get_interface_devices($res): array|false {}
685
+function libvirt_domain_get_interface_devices($res): array | false {}
686 686
 
687 687
 /**
688 688
  * Function is used get job information for the domain
@@ -701,7 +701,7 @@  discard block
 block discarded – undo
701 701
  * @return string|null|false metadata string, NULL on error or FALSE on API not supported
702 702
  * @since 0.4.9
703 703
  */
704
-function libvirt_domain_get_metadata($res, int $type, string $uri, int $flags = 0): string|null|false {}
704
+function libvirt_domain_get_metadata($res, int $type, string $uri, int $flags = 0): string | null | false {}
705 705
 
706 706
 /**
707 707
  * Function is used to get domain name from it's resource
@@ -736,7 +736,7 @@  discard block
 block discarded – undo
736 736
  * @return array|false array of height and width on success, FALSE otherwise
737 737
  * @since 0.4.2
738 738
  */
739
-function libvirt_domain_get_screen_dimensions($res, string $server): array|false {}
739
+function libvirt_domain_get_screen_dimensions($res, string $server): array | false {}
740 740
 
741 741
 /**
742 742
  * Function uses gvnccapture (if available) to get the screenshot of the running domain
@@ -792,7 +792,7 @@  discard block
 block discarded – undo
792 792
  *                     the virDomainInterface structure, false on error
793 793
  * @since 0.5.5
794 794
  */
795
-function libvirt_domain_interface_addresses($res, int $source): array|false {}
795
+function libvirt_domain_interface_addresses($res, int $source): array | false {}
796 796
 
797 797
 /**
798 798
  * Function is used to get the domain's interface stats
@@ -943,14 +943,14 @@  discard block
 block discarded – undo
943 943
  * @return resource a new domain resource
944 944
  * @since 0.4.5
945 945
  */
946
-function libvirt_domain_new($conn, string $name, string|null|false $arch, int $memMB, int $maxmemMB, int $vcpus, string $iso_image, array $disks, array $networks, int $flags = 0) {}
946
+function libvirt_domain_new($conn, string $name, string | null | false $arch, int $memMB, int $maxmemMB, int $vcpus, string $iso_image, array $disks, array $networks, int $flags = 0) {}
947 947
 
948 948
 /**
949 949
  * Function is used to get the VNC server location for the newly created domain (newly started installation)
950 950
  * @return string|null a VNC server for a newly created domain resource (if any)
951 951
  * @since 0.4.5
952 952
  */
953
-function libvirt_domain_new_get_vnc(): string|null {}
953
+function libvirt_domain_new_get_vnc(): string | null {}
954 954
 
955 955
 /**
956 956
  * Function is used to add the NIC card to the virtual machine using set of API functions to make it as simple
@@ -985,7 +985,7 @@  discard block
 block discarded – undo
985 985
  * @return string|false String on success and FALSE on error
986 986
  * @since 0.5.2(-1)
987 987
  */
988
-function libvirt_domain_qemu_agent_command($res, string $cmd, $timeout = -1, int $flags = 0): string|false {}
988
+function libvirt_domain_qemu_agent_command($res, string $cmd, $timeout = -1, int $flags = 0): string | false {}
989 989
 
990 990
 /**
991 991
  * Function is used to reboot the domain identified by it's resource
@@ -1151,7 +1151,7 @@  discard block
 block discarded – undo
1151 1151
  * @return string|false libvirt domain XML, FALSE on error
1152 1152
  * @since 0.5.3
1153 1153
  */
1154
-function libvirt_domain_xml_from_native($conn, string $format, string $config_data): string|false {}
1154
+function libvirt_domain_xml_from_native($conn, string $format, string $config_data): string | false {}
1155 1155
 
1156 1156
 /**
1157 1157
  * Function is used to convert libvirt domain XML to native configuration
@@ -1161,7 +1161,7 @@  discard block
 block discarded – undo
1161 1161
  * @return string|false contents of the native data file, FALSE on error
1162 1162
  * @since 0.5.3
1163 1163
  */
1164
-function libvirt_domain_xml_to_native($conn, string $format, string $xml_data): string|false {}
1164
+function libvirt_domain_xml_to_native($conn, string $format, string $xml_data): string | false {}
1165 1165
 
1166 1166
 /**
1167 1167
  * Function is used to get the result of xPath expression that's run against the domain
@@ -1223,7 +1223,7 @@  discard block
 block discarded – undo
1223 1223
  * @return array libvirt network resources array for the connection
1224 1224
  * @since 0.5.3
1225 1225
  */
1226
-function libvirt_list_all_networks($conn, int $flags = VIR_CONNECT_LIST_NETWORKS_ACTIVE|VIR_CONNECT_LIST_NETWORKS_INACTIVE): array {}
1226
+function libvirt_list_all_networks($conn, int $flags = VIR_CONNECT_LIST_NETWORKS_ACTIVE | VIR_CONNECT_LIST_NETWORKS_INACTIVE): array {}
1227 1227
 
1228 1228
 /**
1229 1229
  * Function is used to list networks on the connection
@@ -1259,7 +1259,7 @@  discard block
 block discarded – undo
1259 1259
  * @return int|false 1 when active, 0 when inactive, FALSE on error
1260 1260
  * @since 0.4.1(-1)
1261 1261
  */
1262
-function libvirt_network_get_active($res): int|false {}
1262
+function libvirt_network_get_active($res): int | false {}
1263 1263
 
1264 1264
 /**
1265 1265
  * Function is getting the autostart value for the network
@@ -1291,7 +1291,7 @@  discard block
 block discarded – undo
1291 1291
  * @return string|false network name string or FALSE on failure
1292 1292
  * @since 0.5.3
1293 1293
  */
1294
-function libvirt_network_get_name($res): string|false {}
1294
+function libvirt_network_get_name($res): string | false {}
1295 1295
 
1296 1296
 /**
1297 1297
  * Function is used to get network's UUID in binary format
@@ -1299,7 +1299,7 @@  discard block
 block discarded – undo
1299 1299
  * @return string|false network UUID in binary format or FALSE on failure
1300 1300
  * @since 0.5.3
1301 1301
  */
1302
-function libvirt_network_get_uuid($res): string|false {}
1302
+function libvirt_network_get_uuid($res): string | false {}
1303 1303
 
1304 1304
 /**
1305 1305
  * Function is used to get network's UUID in string format
@@ -1307,7 +1307,7 @@  discard block
 block discarded – undo
1307 1307
  * @return string|false network UUID string or FALSE on failure
1308 1308
  * @since 0.5.3
1309 1309
  */
1310
-function libvirt_network_get_uuid_string($res): string|false {}
1310
+function libvirt_network_get_uuid_string($res): string | false {}
1311 1311
 
1312 1312
 /**
1313 1313
  * Function is used to get the XML description for the network
@@ -1316,7 +1316,7 @@  discard block
 block discarded – undo
1316 1316
  * @return string|false network XML string or result of xPath expression
1317 1317
  * @since 0.4.1(-1)
1318 1318
  */
1319
-function libvirt_network_get_xml_desc($res, ?string $xpath): string|false {}
1319
+function libvirt_network_get_xml_desc($res, ?string $xpath): string | false {}
1320 1320
 
1321 1321
 /**
1322 1322
  * Function is used to set the activity state of the network
@@ -1355,7 +1355,7 @@  discard block
 block discarded – undo
1355 1355
  *                     cpu number and total number of CPUs on node or FALSE for error
1356 1356
  * @since 0.4.6
1357 1357
  */
1358
-function libvirt_node_get_cpu_stats($conn, int $cpunr = VIR_NODE_CPU_STATS_ALL_CPUS): array|false {}
1358
+function libvirt_node_get_cpu_stats($conn, int $cpunr = VIR_NODE_CPU_STATS_ALL_CPUS): array | false {}
1359 1359
 
1360 1360
 /**
1361 1361
  * Function is used to get the CPU stats for each CPU on the host node
@@ -1365,7 +1365,7 @@  discard block
 block discarded – undo
1365 1365
  *                           cpu number and total number of CPUs on node or FALSE for error
1366 1366
  * @since 0.4.6
1367 1367
  */
1368
-function libvirt_node_get_cpu_stats_for_each_cpu($conn, int $time = 0): array|false {}
1368
+function libvirt_node_get_cpu_stats_for_each_cpu($conn, int $time = 0): array | false {}
1369 1369
 
1370 1370
 /**
1371 1371
  * Function is used to get free memory available on the node
@@ -1373,7 +1373,7 @@  discard block
 block discarded – undo
1373 1373
  * @return string|false The available free memory in bytes as string or FALSE for error
1374 1374
  * @since 0.5.3
1375 1375
  */
1376
-function libvirt_node_get_free_memory($conn): string|false {}
1376
+function libvirt_node_get_free_memory($conn): string | false {}
1377 1377
 
1378 1378
 /**
1379 1379
  * Function is used to get the information about host node, mainly total memory installed,
@@ -1382,7 +1382,7 @@  discard block
 block discarded – undo
1382 1382
  * @return array|false array of node information or FALSE for error
1383 1383
  * @since 0.4.1(-1)
1384 1384
  */
1385
-function libvirt_node_get_info($conn): array|false {}
1385
+function libvirt_node_get_info($conn): array | false {}
1386 1386
 
1387 1387
 /**
1388 1388
  * Function is used to get the memory stats per node
@@ -1470,7 +1470,7 @@  discard block
 block discarded – undo
1470 1470
  * @return string|false nwfilter name string or FALSE on failure
1471 1471
  * @since 0.5.4
1472 1472
  */
1473
-function libvirt_nwfilter_get_name($res): string|false {}
1473
+function libvirt_nwfilter_get_name($res): string | false {}
1474 1474
 
1475 1475
 /**
1476 1476
  * Function is used to get nwfilter's UUID in binary format
@@ -1478,7 +1478,7 @@  discard block
 block discarded – undo
1478 1478
  * @return string|false nwfilter UUID in binary format or FALSE on failure
1479 1479
  * @since 0.5.3
1480 1480
  */
1481
-function libvirt_nwfilter_get_uuid($res): string|false {}
1481
+function libvirt_nwfilter_get_uuid($res): string | false {}
1482 1482
 
1483 1483
 /**
1484 1484
  * Function is used to get nwfilter's UUID in string format
@@ -1486,7 +1486,7 @@  discard block
 block discarded – undo
1486 1486
  * @return string|false nwfilter UUID string or FALSE on failure
1487 1487
  * @since 0.5.4
1488 1488
  */
1489
-function libvirt_nwfilter_get_uuid_string($res): string|false {}
1489
+function libvirt_nwfilter_get_uuid_string($res): string | false {}
1490 1490
 
1491 1491
 /**
1492 1492
  * Function is used to lookup for nwfilter identified by UUID string
@@ -1545,7 +1545,7 @@  discard block
 block discarded – undo
1545 1545
  * @param string $path string of path where to look for the ISO images
1546 1546
  * @return array|false ISO image array on success, FALSE otherwise
1547 1547
  */
1548
-function libvirt_get_iso_images(string $path): array|false {}
1548
+function libvirt_get_iso_images(string $path): array | false {}
1549 1549
 
1550 1550
 /**
1551 1551
  * This function is used to get the last error coming either from libvirt or the PHP extension itself
@@ -1585,7 +1585,7 @@  discard block
 block discarded – undo
1585 1585
  * @return string|false hostname of the host node or FALSE for error
1586 1586
  * @since 0.4.2
1587 1587
  */
1588
-function libvirt_image_create($conn, string $name, int $size, string $format): string|false {}
1588
+function libvirt_image_create($conn, string $name, int $size, string $format): string | false {}
1589 1589
 
1590 1590
 /**
1591 1591
  * Function is used to create the image of desired name, size and format.
@@ -1595,7 +1595,7 @@  discard block
 block discarded – undo
1595 1595
  * @return string|false hostname of the host node or FALSE for error
1596 1596
  * @since 0.4.2
1597 1597
  */
1598
-function libvirt_image_remove($conn, string $image): string|false {}
1598
+function libvirt_image_remove($conn, string $image): string | false {}
1599 1599
 
1600 1600
 /**
1601 1601
  * Function to set the log file for the libvirt module instance
Please login to merge, or discard this patch.