Skip to content

Commit 54a7c32

Browse files
committed
Fix deprecate message
1 parent 98aa27a commit 54a7c32

File tree

75 files changed

+733
-733
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+733
-733
lines changed

ext/mbstring/mbstring.stub.php

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @var string
88
* @cvalue php_mb_oniguruma_version
99
*/
10-
#[\Deprecated(since: '8.6', message: "Oniguruma functions support ends PHP 9.0")]
10+
#[\Deprecated(since: '8.6', message: "because the underlying library is no longer maintained")]
1111
const MB_ONIGURUMA_VERSION = UNKNOWN;
1212
#endif
1313

@@ -198,73 +198,73 @@ function mb_str_pad(string $string, int $length, string $pad_string = " ", int $
198198

199199
#ifdef HAVE_MBREGEX
200200
/** @refcount 1 */
201-
#[\Deprecated(since: '8.6', message: "Oniguruma functions support ends PHP 9.0")]
201+
#[\Deprecated(since: '8.6', message: "because the underlying library is no longer maintained")]
202202
function mb_regex_encoding(?string $encoding = null): string|bool {}
203203

204204
/** @param array $matches */
205-
#[\Deprecated(since: '8.6', message: "Oniguruma functions support ends PHP 9.0")]
205+
#[\Deprecated(since: '8.6', message: "because the underlying library is no longer maintained")]
206206
function mb_ereg(string $pattern, string $string, &$matches = null): bool {}
207207

208208
/** @param array $matches */
209-
#[\Deprecated(since: '8.6', message: "Oniguruma functions support ends PHP 9.0")]
209+
#[\Deprecated(since: '8.6', message: "because the underlying library is no longer maintained")]
210210
function mb_eregi(string $pattern, string $string, &$matches = null): bool {}
211211

212212
/** @refcount 1 */
213-
#[\Deprecated(since: '8.6', message: "Oniguruma functions support ends PHP 9.0")]
213+
#[\Deprecated(since: '8.6', message: "because the underlying library is no longer maintained")]
214214
function mb_ereg_replace(string $pattern, string $replacement, string $string, ?string $options = null): string|false|null {}
215215

216216
/** @refcount 1 */
217-
#[\Deprecated(since: '8.6', message: "Oniguruma functions support ends PHP 9.0")]
217+
#[\Deprecated(since: '8.6', message: "because the underlying library is no longer maintained")]
218218
function mb_eregi_replace(string $pattern, string $replacement, string $string, ?string $options = null): string|false|null {}
219219

220220
/** @refcount 1 */
221-
#[\Deprecated(since: '8.6', message: "Oniguruma functions support ends PHP 9.0")]
221+
#[\Deprecated(since: '8.6', message: "because the underlying library is no longer maintained")]
222222
function mb_ereg_replace_callback(string $pattern, callable $callback, string $string, ?string $options = null): string|false|null {}
223223

224224
/**
225225
* @return array<int, string>|false
226226
* @refcount 1
227227
*/
228-
#[\Deprecated(since: '8.6', message: "Oniguruma functions support ends PHP 9.0")]
228+
#[\Deprecated(since: '8.6', message: "because the underlying library is no longer maintained")]
229229
function mb_split(string $pattern, string $string, int $limit = -1): array|false {}
230230

231-
#[\Deprecated(since: '8.6', message: "Oniguruma functions support ends PHP 9.0")]
231+
#[\Deprecated(since: '8.6', message: "because the underlying library is no longer maintained")]
232232
function mb_ereg_match(string $pattern, string $string, ?string $options = null): bool {}
233233

234-
#[\Deprecated(since: '8.6', message: "Oniguruma functions support ends PHP 9.0")]
234+
#[\Deprecated(since: '8.6', message: "because the underlying library is no longer maintained")]
235235
function mb_ereg_search(?string $pattern = null, ?string $options = null): bool {}
236236

237237
/**
238238
* @return array<int, int>|false
239239
* @refcount 1
240240
*/
241-
#[\Deprecated(since: '8.6', message: "Oniguruma functions support ends PHP 9.0")]
241+
#[\Deprecated(since: '8.6', message: "because the underlying library is no longer maintained")]
242242
function mb_ereg_search_pos(?string $pattern = null, ?string $options = null): array|false {}
243243

244244
/**
245245
* @return array<int|string, string|false>|false
246246
* @refcount 1
247247
*/
248-
#[\Deprecated(since: '8.6', message: "Oniguruma functions support ends PHP 9.0")]
248+
#[\Deprecated(since: '8.6', message: "because the underlying library is no longer maintained")]
249249
function mb_ereg_search_regs(?string $pattern = null, ?string $options = null): array|false {}
250250

251-
#[\Deprecated(since: '8.6', message: "Oniguruma functions support ends PHP 9.0")]
251+
#[\Deprecated(since: '8.6', message: "because the underlying library is no longer maintained")]
252252
function mb_ereg_search_init(string $string, ?string $pattern = null, ?string $options = null): bool {}
253253

254254
/**
255255
* @return array<int|string, string|false>|false
256256
* @refcount 1
257257
*/
258-
#[\Deprecated(since: '8.6', message: "Oniguruma functions support ends PHP 9.0")]
258+
#[\Deprecated(since: '8.6', message: "because the underlying library is no longer maintained")]
259259
function mb_ereg_search_getregs(): array|false {}
260260

261-
#[\Deprecated(since: '8.6', message: "Oniguruma functions support ends PHP 9.0")]
261+
#[\Deprecated(since: '8.6', message: "because the underlying library is no longer maintained")]
262262
function mb_ereg_search_getpos(): int {}
263263

264-
#[\Deprecated(since: '8.6', message: "Oniguruma functions support ends PHP 9.0")]
264+
#[\Deprecated(since: '8.6', message: "because the underlying library is no longer maintained")]
265265
function mb_ereg_search_setpos(int $offset): bool {}
266266

267267
/** @refcount 1 */
268-
#[\Deprecated(since: '8.6', message: "Oniguruma functions support ends PHP 9.0")]
268+
#[\Deprecated(since: '8.6', message: "because the underlying library is no longer maintained")]
269269
function mb_regex_set_options(?string $options = null): string {}
270270
#endif

0 commit comments

Comments
 (0)