Skip to content

Commit bfe12ab

Browse files
committed
Update stubs
1 parent b3a6da9 commit bfe12ab

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

Diff for: stubs/ext/intl/spoofchecker/Spoofchecker.php

+19
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ public function setChecks(int $checks)
4444
public function setRestrictionLevel(int $level)
4545
{
4646
}
47+
#endif
48+
#[\Since('8.4')]
49+
public function setAllowedChars(string $pattern, int $patternOptions = 0): void
50+
{
51+
}
4752
/**
4853
* @var int
4954
* @cvalue USPOOF_SINGLE_SCRIPT_CONFUSABLE
@@ -200,4 +205,18 @@ public function setRestrictionLevel(int $level)
200205
/** @cvalue USPOOF_HIDDEN_OVERLAY */
201206
#[\Since('8.4')]
202207
public const int HIDDEN_OVERLAY = UNKNOWN;
208+
#endif
209+
/** @cvalue USET_IGNORE_SPACE */
210+
#[\Since('8.4')]
211+
public const int IGNORE_SPACE = UNKNOWN;
212+
/** @cvalue USET_CASE_INSENSITIVE */
213+
#[\Since('8.4')]
214+
public const int CASE_INSENSITIVE = UNKNOWN;
215+
/** @cvalue USET_ADD_CASE_MAPPINGS */
216+
#[\Since('8.4')]
217+
public const int ADD_CASE_MAPPINGS = UNKNOWN;
218+
#if U_ICU_VERSION_MAJOR_NUM >= 73
219+
/** @cvalue USET_SIMPLE_CASE_INSENSITIVE */
220+
#[\Since('8.4')]
221+
public const int SIMPLE_CASE_INSENSITIVE = UNKNOWN;
203222
}

0 commit comments

Comments
 (0)