csvxml/phpstan-baseline.neon

157 lines
5.7 KiB
Plaintext
Raw Normal View History

2022-11-17 19:13:13 +01:00
parameters:
ignoreErrors:
-
message: "#^Class MDInvalidNodaLinkException is neither abstract nor final\\.$#"
2022-11-17 19:13:13 +01:00
count: 1
path: classes/MDAllowedValueSets/exceptions/MDInvalidNodaLinkException.php
2022-11-17 19:13:13 +01:00
-
message: "#^Class \"MDInvalidNodaLinkLcshIdIsGeneralLoc\" is not allowed to extend \"MDInvalidNodaLinkException\"\\.$#"
2022-11-17 19:13:13 +01:00
count: 1
path: classes/MDAllowedValueSets/exceptions/MDInvalidNodaLinkLcshIdIsGeneralLoc.php
2022-11-17 19:13:13 +01:00
-
message: "#^Class \"MDInvalidNodaLinkLocIdIsSh\" is not allowed to extend \"MDInvalidNodaLinkException\"\\.$#"
2022-11-17 19:13:13 +01:00
count: 1
path: classes/MDAllowedValueSets/exceptions/MDInvalidNodaLinkLocIdIsSh.php
-
message: "#^Match arm comparison between \\$this\\(MDCopyrightCollective\\)&MDCopyrightCollective\\:\\:vg_bildkunst and MDCopyrightCollective\\:\\:vg_bildkunst is always true\\.$#"
count: 3
path: classes/MDAllowedValueSets/src/enums/MDCopyrightCollective.php
2022-11-17 19:13:13 +01:00
-
message: "#^Match expression does not handle remaining values\\: MDMeasurementType\\:\\:height_frame\\|MDMeasurementType\\:\\:height_image_size\\|MDMeasurementType\\:\\:height_sheet_size\\|MDMeasurementType\\:\\:height_socle\\|MDMeasurementType\\:\\:length_frame\\|MDMeasurementType\\:\\:length_image_size\\|MDMeasurementType\\:\\:length_sheet_size\\|MDMeasurementType\\:\\:length_socle\\|MDMeasurementType\\:\\:width_frame\\|MDMeasurementType\\:\\:width_image_size\\|MDMeasurementType\\:\\:width_sheet_size\\|MDMeasurementType\\:\\:width_socle$#"
2022-11-17 19:13:13 +01:00
count: 1
path: classes/MDAllowedValueSets/src/enums/MDMeasurementType.php
2022-11-17 19:13:13 +01:00
-
message: "#^Class MDInvalidNodaLink is neither abstract nor final\\.$#"
count: 1
path: classes/MDErrorReporter/exceptions/updates/MDInvalidNodaLink.php
-
message: "#^Strict comparison using \\=\\=\\= between '35CA0E31F6F44FB5' and null will always evaluate to false\\.$#"
count: 1
path: classes/MDMailer/src/MDMailerHelper.php
-
message: "#^Calling file_get_contents\\(\\) is forbidden, use MD_STD\\:\\:file_get_contents\\(\\) instead\\.$#"
count: 1
2022-11-17 19:13:13 +01:00
path: classes/MDTlLoader/src/MDTlLoader.php
-
message: "#^Calling json_encode\\(\\) is forbidden, use MD_STD\\:\\:json_encode\\(\\) instead\\.$#"
2022-11-17 19:13:13 +01:00
count: 1
path: classes/MDTlLoader/src/MDTlLoader.php
-
message: "#^Calling mkdir\\(\\) is forbidden, use MD_STD\\:\\:mkdir\\(\\) instead\\.$#"
2022-11-17 19:13:13 +01:00
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
2022-11-17 19:13:13 +01:00
-
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\\.$#"
2022-11-17 19:13:13 +01:00
count: 1
path: classes/MD_STD/src/MD_STD.php
-
message: "#^Calling json_encode\\(\\) is forbidden, use MD_STD\\:\\:json_encode\\(\\) instead\\.$#"
2022-11-17 19:13:13 +01:00
count: 2
path: classes/MD_STD/src/MD_STD.php
-
message: "#^Calling levenshtein\\(\\) is forbidden, use MD_STD\\:\\:levenshtein\\(\\) instead\\.$#"
2022-11-17 19:13:13 +01:00
count: 1
path: classes/MD_STD/src/MD_STD.php
-
message: "#^Calling mkdir\\(\\) is forbidden, use MD_STD\\:\\:mkdir\\(\\) instead\\.$#"
2022-11-17 19:13:13 +01:00
count: 1
path: classes/MD_STD/src/MD_STD.php
-
message: "#^Calling realpath\\(\\) is forbidden, use MD_STD\\:\\:realpath\\(\\) instead\\.$#"
2022-11-17 19:13:13 +01:00
count: 1
path: classes/MD_STD/src/MD_STD.php
-
message: "#^Calling scandir\\(\\) is forbidden, use MD_STD\\:\\:scandir\\(\\) instead\\.$#"
2022-11-17 19:13:13 +01:00
count: 1
path: classes/MD_STD/src/MD_STD.php
-
message: "#^Calling unlink\\(\\) is forbidden, use MD_STD\\:\\:unlink\\(\\) instead\\.$#"
2022-11-17 19:13:13 +01:00
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: "#^Calling move_uploaded_file\\(\\) is forbidden, use MD_STD_IN\\:\\:move_uploaded_file\\(\\) instead\\.$#"
2022-11-17 19:13:13 +01:00
count: 1
path: classes/MD_STD/src/MD_STD_IN.php
2022-11-17 19:13:13 +01:00
-
message: "#^Variable \\$output in empty\\(\\) always exists and is not falsy\\.$#"
2022-11-17 19:13:13 +01:00
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: 2
2022-11-17 19:13:13 +01:00
path: classes/MD_STD/src/MD_STD_SEC.php
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 1
path: classes/MD_STD/tests/MD_STD_IN_Test.php
-
message: "#^Calling scandir\\(\\) is forbidden, use MD_STD\\:\\:scandir\\(\\) instead\\.$#"
count: 1
path: classes/MD_STD/tests/MD_STD_Test.php
-
message: "#^Access to undefined constant MDErrorReporter\\:\\:MD_ERROR_KNOWN\\.$#"
count: 1
path: functions/functions.php
-
message: "#^Cannot access constant MD_ERROR_KNOWN on MDErrorReporter\\.$#"
count: 2
path: functions/functions.php
2022-11-17 19:13:13 +01:00
-
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