csvxml/phpstan-baseline.neon

142 lines
4.6 KiB
Plaintext
Raw Normal View History

2022-11-17 19:13:13 +01:00
parameters:
ignoreErrors:
-
message: "#^Calling file_get_contents\\(\\) is forbidden, use MD_STD\\:\\:file_get_contents\\(\\) instead$#"
count: 1
path: classes/MDTlLoader/src/MDTlLoader.php
-
message: "#^Calling json_encode\\(\\) is forbidden, use MD_STD\\:\\:json_encode\\(\\) instead$#"
count: 1
path: classes/MDTlLoader/src/MDTlLoader.php
-
message: "#^Calling mkdir\\(\\) is forbidden, use MD_STD\\:\\:mkdir\\(\\) instead$#"
count: 1
path: classes/MDTlLoader/src/MDTlLoader.php
-
message: "#^Method Redis\\:\\:connect\\(\\) invoked with 7 parameters, 1\\-6 required\\.$#"
count: 1
path: classes/MDTlLoader/src/MDTlLoader.php
-
message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#"
count: 3
path: classes/MDTlLoader/src/MDTlLoader.php
-
message: "#^Strict comparison using \\!\\=\\= between string and false will always evaluate to true\\.$#"
count: 1
path: classes/MDTlLoader/src/MDTlLoader.php
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 1
path: classes/MDTlLoader/src/MDTlLoader.php
-
message: "#^Variable variables are not allowed\\.$#"
count: 3
path: classes/MDTlLoader/src/MDTlLoader.php
-
message: "#^Calling file_get_contents\\(\\) is forbidden, use MD_STD\\:\\:file_get_contents\\(\\) instead$#"
count: 1
path: classes/MD_STD/src/MD_STD.php
-
message: "#^Calling json_encode\\(\\) is forbidden, use MD_STD\\:\\:json_encode\\(\\) instead$#"
count: 2
path: classes/MD_STD/src/MD_STD.php
-
message: "#^Calling levenshtein\\(\\) is forbidden, use MD_STD\\:\\:levenshtein\\(\\) instead$#"
count: 1
path: classes/MD_STD/src/MD_STD.php
-
message: "#^Calling mkdir\\(\\) is forbidden, use MD_STD\\:\\:mkdir\\(\\) instead$#"
count: 1
path: classes/MD_STD/src/MD_STD.php
-
message: "#^Calling realpath\\(\\) is forbidden, use MD_STD\\:\\:realpath\\(\\) instead$#"
count: 1
path: classes/MD_STD/src/MD_STD.php
-
message: "#^Calling scandir\\(\\) is forbidden, use MD_STD\\:\\:scandir\\(\\) instead$#"
count: 1
path: classes/MD_STD/src/MD_STD.php
-
message: "#^Calling unlink\\(\\) is forbidden, use MD_STD\\:\\:unlink\\(\\) instead$#"
count: 1
path: classes/MD_STD/src/MD_STD.php
-
message: "#^Method MD_STD\\:\\:get_user_lang\\(\\) should return non\\-empty\\-string but returns string\\.$#"
count: 1
path: classes/MD_STD/src/MD_STD.php
-
message: "#^Method MD_STD\\:\\:scandir\\(\\) should return array\\<non\\-empty\\-string\\> but returns list\\<string\\>\\.$#"
count: 1
path: classes/MD_STD/src/MD_STD.php
-
message: "#^Parameter \\#3 \\$value of function curl_setopt expects resource, resource\\|false given\\.$#"
count: 1
path: classes/MD_STD/src/MD_STD.php
-
message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#"
count: 1
path: classes/MD_STD/src/MD_STD.php
-
message: "#^Access to static property \\$redis_pw on an unknown class MD_CONF\\.$#"
count: 1
path: classes/MD_STD/src/MD_STD_CACHE.php
-
message: "#^Method MD_STD_CACHE\\:\\:serve_page_through_redis_cache\\(\\) has parameter \\$redis with a nullable type declaration\\.$#"
count: 1
path: classes/MD_STD/src/MD_STD_CACHE.php
-
message: "#^Method MD_STD_CACHE\\:\\:serve_page_through_redis_cache\\(\\) has parameter \\$redis with null as default value\\.$#"
count: 1
path: classes/MD_STD/src/MD_STD_CACHE.php
-
message: "#^Method Redis\\:\\:connect\\(\\) invoked with 7 parameters, 1\\-6 required\\.$#"
count: 1
path: classes/MD_STD/src/MD_STD_CACHE.php
-
message: "#^Strict comparison using \\!\\=\\= between string and false will always evaluate to true\\.$#"
count: 1
path: classes/MD_STD/src/MD_STD_CACHE.php
-
message: "#^Calling move_uploaded_file\\(\\) is forbidden, use MD_STD_IN\\:\\:move_uploaded_file\\(\\) instead$#"
count: 1
path: classes/MD_STD/src/MD_STD_IN.php
-
message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#"
count: 4
path: classes/MD_STD/src/MD_STD_SEC.php
-
message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertTrue\\(\\) with true and non\\-falsy\\-string will always evaluate to true\\.$#"
count: 1
path: tests/CsvxmlAvailableFieldsTest.php
-
message: "#^Instanceof between FieldEntry and FieldEntry will always evaluate to true\\.$#"
count: 1
path: tests/CsvxmlAvailableFieldsTest.php