Skip to content

Commit 002511e

Browse files
committed
Fix since for enchant
1 parent 435db30 commit 002511e

File tree

6 files changed

+21
-21
lines changed

6 files changed

+21
-21
lines changed

ext/enchant/enchant.stub.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ final class EnchantDictionary
4040

4141
function enchant_broker_init(): EnchantBroker|false {}
4242

43-
#[\Deprecated(since: '8.1', message: 'as EnchantBroker objects are freed automatically')]
43+
#[\Deprecated(since: '8.0', message: 'as EnchantBroker objects are freed automatically')]
4444
function enchant_broker_free(EnchantBroker $broker): bool {}
4545

4646
function enchant_broker_get_error(EnchantBroker $broker): string|false {}
4747

48-
#[\Deprecated(since: '8.1')]
48+
#[\Deprecated(since: '8.0')]
4949
function enchant_broker_set_dict_path(EnchantBroker $broker, int $type, string $path): bool {}
5050

51-
#[\Deprecated(since: '8.1')]
51+
#[\Deprecated(since: '8.0')]
5252
function enchant_broker_get_dict_path(EnchantBroker $broker, int $type): string|false {}
5353

5454
/**
@@ -61,7 +61,7 @@ function enchant_broker_request_dict(EnchantBroker $broker, string $tag): Enchan
6161

6262
function enchant_broker_request_pwl_dict(EnchantBroker $broker, string $filename): EnchantDictionary|false {}
6363

64-
#[\Deprecated(since: '8.1', message: 'as EnchantDictionary objects are freed automatically')]
64+
#[\Deprecated(since: '8.0', message: 'as EnchantDictionary objects are freed automatically')]
6565
function enchant_broker_free_dict(EnchantDictionary $dictionary): bool {}
6666

6767
function enchant_broker_dict_exists(EnchantBroker $broker, string $tag): bool {}
@@ -90,7 +90,7 @@ function enchant_dict_add(EnchantDictionary $dictionary, string $word): void {}
9090
/**
9191
* @alias enchant_dict_add
9292
*/
93-
#[\Deprecated(since: '8.1', message: 'use enchant_dict_add() instead')]
93+
#[\Deprecated(since: '8.0', message: 'use enchant_dict_add() instead')]
9494
function enchant_dict_add_to_personal(EnchantDictionary $dictionary, string $word): void {}
9595

9696
function enchant_dict_add_to_session(EnchantDictionary $dictionary, string $word): void {}
@@ -100,7 +100,7 @@ function enchant_dict_is_added(EnchantDictionary $dictionary, string $word): boo
100100
/**
101101
* @alias enchant_dict_is_added
102102
*/
103-
#[\Deprecated(since: '8.1', message: 'use enchant_dict_is_added() instead')]
103+
#[\Deprecated(since: '8.0', message: 'use enchant_dict_is_added() instead')]
104104
function enchant_dict_is_in_session(EnchantDictionary $dictionary, string $word): bool {}
105105

106106
function enchant_dict_store_replacement(EnchantDictionary $dictionary, string $misspelled, string $correct): void {}

ext/enchant/enchant_arginfo.h

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ext/enchant/tests/broker_free.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ echo "OK\n";
2323
--EXPECTF--
2424
OK
2525

26-
Deprecated: Function enchant_broker_free() is deprecated since 8.1, as EnchantBroker objects are freed automatically in %s
26+
Deprecated: Function enchant_broker_free() is deprecated since 8.0, as EnchantBroker objects are freed automatically in %s
2727
OK

ext/enchant/tests/broker_free_dict.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@ OK
5050
OK
5151
NULL
5252

53-
Deprecated: Function enchant_broker_free_dict() is deprecated since 8.1, as EnchantDictionary objects are freed automatically in %s
53+
Deprecated: Function enchant_broker_free_dict() is deprecated since 8.0, as EnchantDictionary objects are freed automatically in %s
5454
OK
5555
OK

ext/enchant/tests/bug53070.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ var_dump(enchant_broker_get_dict_path($broker, ENCHANT_ISPELL));
1616
--EXPECTF--
1717
Deprecated: Constant ENCHANT_MYSPELL is deprecated in %s
1818

19-
Deprecated: Function enchant_broker_get_dict_path() is deprecated since 8.1 in %s
19+
Deprecated: Function enchant_broker_get_dict_path() is deprecated since 8.0 in %s
2020

2121
Warning: enchant_broker_get_dict_path(): dict_path not set in %s on line %d
2222
bool(false)
2323

2424
Deprecated: Constant ENCHANT_ISPELL is deprecated in %s
2525

26-
Deprecated: Function enchant_broker_get_dict_path() is deprecated since 8.1 in %s
26+
Deprecated: Function enchant_broker_get_dict_path() is deprecated since 8.0 in %s
2727

2828
Warning: enchant_broker_get_dict_path(): dict_path not set in %s on line %d
2929
bool(false)

ext/enchant/tests/enchant_broker_set_dict_path.phpt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,13 @@ if (is_object($broker)) {
5151
--EXPECTF--
5252
OK
5353

54-
Deprecated: Function enchant_broker_set_dict_path() is deprecated since 8.1 in %s
54+
Deprecated: Function enchant_broker_set_dict_path() is deprecated since 8.0 in %s
5555
OK
5656

57-
Deprecated: Function enchant_broker_set_dict_path() is deprecated since 8.1 in %s
57+
Deprecated: Function enchant_broker_set_dict_path() is deprecated since 8.0 in %s
5858
OK
5959

60-
Deprecated: Function enchant_broker_get_dict_path() is deprecated since 8.1 in %s
60+
Deprecated: Function enchant_broker_get_dict_path() is deprecated since 8.0 in %s
6161

62-
Deprecated: Function enchant_broker_get_dict_path() is deprecated since 8.1 in %s
62+
Deprecated: Function enchant_broker_get_dict_path() is deprecated since 8.0 in %s
6363
OK

0 commit comments

Comments
 (0)