Skip to content

Fix GH-10727: Spoofchecker constant updates. #10730

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions UPGRADING
Original file line number Diff line number Diff line change
@@ -143,6 +143,10 @@ PHP 8.3 UPGRADE NOTES
10. New Global Constants
========================================

- Intl:
. MIXED_NUMBERS (Spoofchecker).
. HIDDEN_OVERLAY (Spoofchecker).

- PCNTL:
. SIGINFO

12 changes: 12 additions & 0 deletions ext/intl/spoofchecker/spoofchecker.stub.php
Original file line number Diff line number Diff line change
@@ -71,6 +71,18 @@ class Spoofchecker
* @cvalue USPOOF_SINGLE_SCRIPT_RESTRICTIVE
*/
public const SINGLE_SCRIPT_RESTRICTIVE = UNKNOWN;
/**
* @var int
* @cvalue USPOOF_MIXED_NUMBERS
*/
public const MIXED_NUMBERS = UNKNOWN;
#endif
#if U_ICU_VERSION_MAJOR_NUM >= 62
/**
* @var int
* @cvalue USPOOF_HIDDEN_OVERLAY
*/
public const HIDDEN_OVERLAY = UNKNOWN;
#endif

public function __construct() {}
18 changes: 17 additions & 1 deletion ext/intl/spoofchecker/spoofchecker_arginfo.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.