------ -------------------------------------------------------------------------------------------------------------------------------------- Line site_notice/tests/src/Unit/SiteNoticeBlockTest.php ------ -------------------------------------------------------------------------------------------------------------------------------------- 80 Call to method PHPUnit\Framework\Assert::assertIsArray() with array will always evaluate to true. method.alreadyNarrowedType Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your phpstan .neon. ------ -------------------------------------------------------------------------------------------------------------------------------------- [ERROR] Found 1 error Failed to execute command `phpstan`: exit status 1 83