]> granicus.if.org Git - php/commitdiff
Note to UPGRADING about Spoofchecker::setRestrictionLevel()
authorAnatol Belski <ab@php.net>
Thu, 2 Nov 2017 12:34:58 +0000 (13:34 +0100)
committerAnatol Belski <ab@php.net>
Thu, 2 Nov 2017 12:34:58 +0000 (13:34 +0100)
UPGRADING

index 3cca4334851e904cd695149f220b24ef621a8d1e..7aa446b1f33c20c0ff00e1a6adeb7463d2a10cf1 100644 (file)
--- a/UPGRADING
+++ b/UPGRADING
@@ -75,6 +75,19 @@ Date:
   . Added the DateTime::createFromImmutable() method, which mirrors
     DateTimeImmutable::createFromMutable().
 
+Intl:
+  . Added void Spoofchecker::setRestrictionLevel(int $level) method, available
+    when linked with ICU >= 58.1. Levels are represented as class constants
+    - Spoofchecker::ASCII
+    - Spoofchecker::HIGHLY_RESTRICTIVE
+    - Spoofchecker::MODERATELY_RESTRICTIVE
+    - Spoofchecker::MINIMALLY_RESTRICTIVE
+    - Spoofchecker::UNRESTRICTIVE
+    - Spoofchecker::SINGLE_SCRIPT_RESTRICTIVE
+    For the detailed documentation on the restriction levels, see
+    URestrictionLevel under
+    http://icu-project.org/apiref/icu4c/uspoof_8h.html
+
 ========================================
 7. New Classes and Interfaces
 ========================================