Skip to content

Commit ebf5165

Browse files
committed
Update stubs
1 parent 0306b63 commit ebf5165

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

stubs/ext/intl/spoofchecker/Spoofchecker.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ public function setChecks(int $checks)
152152
public function setRestrictionLevel(int $level)
153153
{
154154
}
155+
#endif
155156
#[\Since('8.4')]
156157
public function setAllowedChars(string $pattern, int $patternOptions = 0): void
157158
{
@@ -177,6 +178,7 @@ public function setAllowedChars(string $pattern, int $patternOptions = 0): void
177178
/** @cvalue USPOOF_CHAR_LIMIT */
178179
#[\Since('8.4')]
179180
public const int CHAR_LIMIT = UNKNOWN;
181+
#if U_ICU_VERSION_MAJOR_NUM >= 53
180182
/** @cvalue USPOOF_ASCII */
181183
#[\Since('8.4')]
182184
public const int ASCII = UNKNOWN;
@@ -198,6 +200,7 @@ public function setAllowedChars(string $pattern, int $patternOptions = 0): void
198200
/** @cvalue USPOOF_MIXED_NUMBERS */
199201
#[\Since('8.4')]
200202
public const int MIXED_NUMBERS = UNKNOWN;
203+
#endif
201204
#if U_ICU_VERSION_MAJOR_NUM >= 62
202205
/** @cvalue USPOOF_HIDDEN_OVERLAY */
203206
#[\Since('8.4')]

0 commit comments

Comments
 (0)