diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 2eb699536a..c2a8cbc280 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -16475,11 +16475,6 @@ parameters: count: 1 path: tests/unit/PluginsTest.php - - - message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Properties\\\\\\\\Options\\\\\\\\OptionsPropertyGroup' and PhpMyAdmin\\\\Properties\\\\Options\\\\OptionsPropertyGroup&PHPUnit\\\\Framework\\\\MockObject\\\\MockObject will always evaluate to true\\.$#" - count: 1 - path: tests/unit/Properties/Options/OptionsPropertyGroupTest.php - - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$settings \\(array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\) does not accept array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\.$#" count: 1 diff --git a/tests/unit/Properties/Options/OptionsPropertyGroupTest.php b/tests/unit/Properties/Options/OptionsPropertyGroupTest.php index 5aacc0553f..d64cec60df 100644 --- a/tests/unit/Properties/Options/OptionsPropertyGroupTest.php +++ b/tests/unit/Properties/Options/OptionsPropertyGroupTest.php @@ -67,14 +67,6 @@ class OptionsPropertyGroupTest extends AbstractTestCase ); } - public function testGetGroup(): void - { - self::assertInstanceOf( - OptionsPropertyGroup::class, - $this->stub->getGroup(), - ); - } - public function testGetProperties(): void { $propertyItem = new BoolPropertyItem();