summaryrefslogtreecommitdiff
path: root/ext/intl/spoofchecker/spoofchecker.stub.php
blob: a1e49480456fcc2c086ac7be6f579c787465daaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php

/** @generate-class-entries */

class Spoofchecker
{
    public function __construct() {}

    /**
     * @param int $errorCode
     * @return bool
     */
    public function isSuspicious(string $string, &$errorCode = null) {}

    /**
     * @param int $errorCode
     * @return bool
     */
    public function areConfusable(string $string1, string $string2, &$errorCode = null) {}

    /** @return void */
    public function setAllowedLocales(string $locales) {}

    /** @return void */
    public function setChecks(int $checks) {}

#if U_ICU_VERSION_MAJOR_NUM >= 58
    /** @return void */
    public function setRestrictionLevel(int $level) {}
#endif
}