forked from tigitz/php-spellchecker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.7.4.neon
56 lines (46 loc) · 2.67 KB
/
phpstan.7.4.neon
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
includes:
- phpstan.base.neon
parameters:
ignoreErrors:
# php 8.1 code
-
message: "#^Function pspell_config_create is unsafe to use\\. It can return FALSE instead of throwing an exception\\. Please add 'use function Safe\\\\pspell_config_create;' at the beginning of the file to use the variant provided by the 'thecodingmachine/safe' library\\.$#"
count: 1
path: src/Spellchecker/PHPPspell.php
-
message: "#^Function pspell_config_ignore is unsafe to use\\. It can return FALSE instead of throwing an exception\\. Please add 'use function Safe\\\\pspell_config_ignore;' at the beginning of the file to use the variant provided by the 'thecodingmachine/safe' library\\.$#"
count: 1
path: src/Spellchecker/PHPPspell.php
-
message: "#^Function pspell_config_mode is unsafe to use\\. It can return FALSE instead of throwing an exception\\. Please add 'use function Safe\\\\pspell_config_mode;' at the beginning of the file to use the variant provided by the 'thecodingmachine/safe' library\\.$#"
count: 1
path: src/Spellchecker/PHPPspell.php
-
message: "#^Function pspell_new_config is unsafe to use\\. It can return FALSE instead of throwing an exception\\. Please add 'use function Safe\\\\pspell_new_config;' at the beginning of the file to use the variant provided by the 'thecodingmachine/safe' library\\.$#"
count: 1
path: src/Spellchecker/PHPPspell.php
-
message: "#^Parameter \\#1 \\$conf of function pspell_config_ignore expects int, int\\|false given\\.$#"
count: 1
path: src/Spellchecker/PHPPspell.php
-
message: "#^Parameter \\#1 \\$conf of function pspell_config_mode expects int, int\\|false given\\.$#"
count: 1
path: src/Spellchecker/PHPPspell.php
-
message: "#^Parameter \\#1 \\$config of function pspell_new_config expects int, int\\|false given\\.$#"
count: 1
path: src/Spellchecker/PHPPspell.php
-
message: "#^Parameter \\#1 \\$pspell of function pspell_check expects int, int\\|false given\\.$#"
count: 1
path: src/Spellchecker/PHPPspell.php
-
message: "#^Parameter \\#1 \\$pspell of function pspell_suggest expects int, int\\|false given\\.$#"
count: 1
path: src/Spellchecker/PHPPspell.php
# preg_match_all can be null in php >8
-
message: "#^Casting to int something that's already int\\.$#"
count: 1
path: src/Utils/LineAndOffset.php