1<?php
2
3/** @generate-class-entries */
4
5/** @not-serializable */
6class Spoofchecker
7{
8    /**
9     * @var int
10     * @cvalue USPOOF_SINGLE_SCRIPT_CONFUSABLE
11     */
12    public const SINGLE_SCRIPT_CONFUSABLE = UNKNOWN;
13    /**
14     * @var int
15     * @cvalue USPOOF_MIXED_SCRIPT_CONFUSABLE
16     */
17    public const MIXED_SCRIPT_CONFUSABLE = UNKNOWN;
18    /**
19     * @var int
20     * @cvalue USPOOF_WHOLE_SCRIPT_CONFUSABLE
21     */
22    public const WHOLE_SCRIPT_CONFUSABLE = UNKNOWN;
23    /**
24     * @var int
25     * @cvalue USPOOF_ANY_CASE
26     */
27    public const ANY_CASE = UNKNOWN;
28    /**
29     * @var int
30     * @cvalue USPOOF_SINGLE_SCRIPT
31     */
32    public const SINGLE_SCRIPT = UNKNOWN;
33    /**
34     * @var int
35     * @cvalue USPOOF_INVISIBLE
36     */
37    public const INVISIBLE = UNKNOWN;
38    /**
39     * @var int
40     * @cvalue USPOOF_CHAR_LIMIT
41     */
42    public const CHAR_LIMIT = UNKNOWN;
43#if U_ICU_VERSION_MAJOR_NUM >= 58
44    /**
45     * @var int
46     * @cvalue USPOOF_ASCII
47     */
48    public const ASCII = UNKNOWN;
49    /**
50     * @var int
51     * @cvalue USPOOF_HIGHLY_RESTRICTIVE
52     */
53    public const HIGHLY_RESTRICTIVE = UNKNOWN;
54    /**
55     * @var int
56     * @cvalue USPOOF_MODERATELY_RESTRICTIVE
57     */
58    public const MODERATELY_RESTRICTIVE = UNKNOWN;
59    /**
60     * @var int
61     * @cvalue USPOOF_MINIMALLY_RESTRICTIVE
62     */
63    public const MINIMALLY_RESTRICTIVE = UNKNOWN;
64    /**
65     * @var int
66     * @cvalue USPOOF_UNRESTRICTIVE
67     */
68    public const UNRESTRICTIVE = UNKNOWN;
69    /**
70     * @var int
71     * @cvalue USPOOF_SINGLE_SCRIPT_RESTRICTIVE
72     */
73    public const SINGLE_SCRIPT_RESTRICTIVE = UNKNOWN;
74    /**
75     * @var int
76     * @cvalue USPOOF_MIXED_NUMBERS
77     */
78    public const MIXED_NUMBERS = UNKNOWN;
79#endif
80#if U_ICU_VERSION_MAJOR_NUM >= 62
81    /**
82     * @var int
83     * @cvalue USPOOF_HIDDEN_OVERLAY
84     */
85    public const HIDDEN_OVERLAY = UNKNOWN;
86#endif
87
88    public function __construct() {}
89
90    /**
91     * @param int $errorCode
92     * @tentative-return-type
93     */
94    public function isSuspicious(string $string, &$errorCode = null): bool {}
95
96    /**
97     * @param int $errorCode
98     * @tentative-return-type
99     */
100    public function areConfusable(string $string1, string $string2, &$errorCode = null): bool {}
101
102    /** @tentative-return-type */
103    public function setAllowedLocales(string $locales): void {}
104
105    /** @tentative-return-type */
106    public function setChecks(int $checks): void {}
107
108#if U_ICU_VERSION_MAJOR_NUM >= 58
109    /** @tentative-return-type */
110    public function setRestrictionLevel(int $level): void {}
111#endif
112}
113