From 107841c0da05ac78881bdb52d8c232769220891b Mon Sep 17 00:00:00 2001 From: Andrew Longosz Date: Wed, 17 Jul 2024 15:46:54 +0200 Subject: [PATCH] [PHPStan] Aligned baseline with the changes --- phpstan-baseline.neon | 175 ------------------------------------------ 1 file changed, 175 deletions(-) diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index ef1b6bb9af..d132c569af 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -10125,41 +10125,6 @@ parameters: count: 1 path: src/lib/FieldType/TextBlock/SearchField.php - - - message: "#^Access to an undefined property Ibexa\\\\Contracts\\\\Core\\\\FieldType\\\\Value\\:\\:\\$text\\.$#" - count: 2 - path: src/lib/FieldType/TextBlock/Type.php - - - - message: "#^Method Ibexa\\\\Core\\\\FieldType\\\\TextBlock\\\\Type\\:\\:checkValueStructure\\(\\) has no return type specified\\.$#" - count: 1 - path: src/lib/FieldType/TextBlock/Type.php - - - - message: "#^PHPDoc tag @param for parameter \\$value with type mixed is not subtype of native type Ibexa\\\\Contracts\\\\Core\\\\FieldType\\\\Value\\.$#" - count: 1 - path: src/lib/FieldType/TextBlock/Type.php - - - - message: "#^Parameter \\#1 \\$string of function mb_substr expects string, string\\|false given\\.$#" - count: 1 - path: src/lib/FieldType/TextBlock/Type.php - - - - message: "#^Access to an undefined property Ibexa\\\\Contracts\\\\Core\\\\FieldType\\\\Value\\:\\:\\$text\\.$#" - count: 2 - path: src/lib/FieldType/TextLine/Type.php - - - - message: "#^Method Ibexa\\\\Core\\\\FieldType\\\\TextLine\\\\Type\\:\\:checkValueStructure\\(\\) has no return type specified\\.$#" - count: 1 - path: src/lib/FieldType/TextLine/Type.php - - - - message: "#^PHPDoc tag @param for parameter \\$value with type mixed is not subtype of native type Ibexa\\\\Contracts\\\\Core\\\\FieldType\\\\Value\\.$#" - count: 1 - path: src/lib/FieldType/TextLine/Type.php - - message: "#^Access to an undefined property Ibexa\\\\Contracts\\\\Core\\\\FieldType\\\\Value\\:\\:\\$time\\.$#" count: 1 @@ -33325,16 +33290,6 @@ parameters: count: 1 path: tests/integration/Core/Repository/FieldType/TextBlockIntegrationTest.php - - - message: "#^Parameter \\#1 \\$text of class Ibexa\\\\Core\\\\FieldType\\\\TextBlock\\\\Value constructor expects string, int given\\.$#" - count: 1 - path: tests/integration/Core/Repository/FieldType/TextBlockIntegrationTest.php - - - - message: "#^Parameter \\#1 \\$text of class Ibexa\\\\Core\\\\FieldType\\\\TextBlock\\\\Value constructor expects string, null given\\.$#" - count: 1 - path: tests/integration/Core/Repository/FieldType/TextBlockIntegrationTest.php - - message: "#^Method Ibexa\\\\Tests\\\\Integration\\\\Core\\\\Repository\\\\FieldType\\\\TextLineIntegrationTest\\:\\:assertCopiedFieldDataLoadedCorrectly\\(\\) has no return type specified\\.$#" count: 1 @@ -33410,16 +33365,6 @@ parameters: count: 1 path: tests/integration/Core/Repository/FieldType/TextLineIntegrationTest.php - - - message: "#^Parameter \\#1 \\$text of class Ibexa\\\\Core\\\\FieldType\\\\TextLine\\\\Value constructor expects string, int given\\.$#" - count: 1 - path: tests/integration/Core/Repository/FieldType/TextLineIntegrationTest.php - - - - message: "#^Parameter \\#1 \\$text of class Ibexa\\\\Core\\\\FieldType\\\\TextLine\\\\Value constructor expects string, null given\\.$#" - count: 1 - path: tests/integration/Core/Repository/FieldType/TextLineIntegrationTest.php - - message: "#^Method Ibexa\\\\Tests\\\\Integration\\\\Core\\\\Repository\\\\FieldType\\\\TimeIntegrationTest\\:\\:assertCopiedFieldDataLoadedCorrectly\\(\\) has no return type specified\\.$#" count: 1 @@ -43845,126 +43790,6 @@ parameters: count: 1 path: tests/lib/FieldType/StringLengthValidatorTest.php - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\FieldType\\\\TextBlockTest\\:\\:getSettingsSchemaExpectation\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/lib/FieldType/TextBlockTest.php - - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\FieldType\\\\TextBlockTest\\:\\:getValidatorConfigurationSchemaExpectation\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/lib/FieldType/TextBlockTest.php - - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\FieldType\\\\TextBlockTest\\:\\:provideDataForGetName\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/lib/FieldType/TextBlockTest.php - - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\FieldType\\\\TextBlockTest\\:\\:provideInValidFieldSettings\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/lib/FieldType/TextBlockTest.php - - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\FieldType\\\\TextBlockTest\\:\\:provideInputForFromHash\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/lib/FieldType/TextBlockTest.php - - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\FieldType\\\\TextBlockTest\\:\\:provideInputForToHash\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/lib/FieldType/TextBlockTest.php - - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\FieldType\\\\TextBlockTest\\:\\:provideInvalidInputForAcceptValue\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/lib/FieldType/TextBlockTest.php - - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\FieldType\\\\TextBlockTest\\:\\:provideValidFieldSettings\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/lib/FieldType/TextBlockTest.php - - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\FieldType\\\\TextBlockTest\\:\\:provideValidInputForAcceptValue\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/lib/FieldType/TextBlockTest.php - - - - message: "#^Parameter \\#1 \\$text of class Ibexa\\\\Core\\\\FieldType\\\\TextBlock\\\\Value constructor expects string, int given\\.$#" - count: 1 - path: tests/lib/FieldType/TextBlockTest.php - - - - message: "#^Parameter \\#1 \\$text of class Ibexa\\\\Core\\\\FieldType\\\\TextBlock\\\\Value constructor expects string, null given\\.$#" - count: 1 - path: tests/lib/FieldType/TextBlockTest.php - - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\FieldType\\\\TextLineTest\\:\\:getSettingsSchemaExpectation\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/lib/FieldType/TextLineTest.php - - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\FieldType\\\\TextLineTest\\:\\:getValidatorConfigurationSchemaExpectation\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/lib/FieldType/TextLineTest.php - - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\FieldType\\\\TextLineTest\\:\\:provideDataForGetName\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/lib/FieldType/TextLineTest.php - - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\FieldType\\\\TextLineTest\\:\\:provideInputForFromHash\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/lib/FieldType/TextLineTest.php - - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\FieldType\\\\TextLineTest\\:\\:provideInputForToHash\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/lib/FieldType/TextLineTest.php - - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\FieldType\\\\TextLineTest\\:\\:provideInvalidDataForValidate\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/lib/FieldType/TextLineTest.php - - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\FieldType\\\\TextLineTest\\:\\:provideInvalidInputForAcceptValue\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/lib/FieldType/TextLineTest.php - - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\FieldType\\\\TextLineTest\\:\\:provideInvalidValidatorConfiguration\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/lib/FieldType/TextLineTest.php - - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\FieldType\\\\TextLineTest\\:\\:provideValidDataForValidate\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/lib/FieldType/TextLineTest.php - - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\FieldType\\\\TextLineTest\\:\\:provideValidInputForAcceptValue\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/lib/FieldType/TextLineTest.php - - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\FieldType\\\\TextLineTest\\:\\:provideValidValidatorConfiguration\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/lib/FieldType/TextLineTest.php - - - - message: "#^Parameter \\#1 \\$text of class Ibexa\\\\Core\\\\FieldType\\\\TextLine\\\\Value constructor expects string, int given\\.$#" - count: 1 - path: tests/lib/FieldType/TextLineTest.php - - - - message: "#^Parameter \\#1 \\$text of class Ibexa\\\\Core\\\\FieldType\\\\TextLine\\\\Value constructor expects string, null given\\.$#" - count: 1 - path: tests/lib/FieldType/TextLineTest.php - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\FieldType\\\\TimeTest\\:\\:getSettingsSchemaExpectation\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1