diff --git a/tests/Config/Parser/MetadataParser/TypeGuesser/DoctrineTypeGuesserTest.php b/tests/Config/Parser/MetadataParser/TypeGuesser/DoctrineTypeGuesserTest.php index b67a632ba..86fc1f856 100644 --- a/tests/Config/Parser/MetadataParser/TypeGuesser/DoctrineTypeGuesserTest.php +++ b/tests/Config/Parser/MetadataParser/TypeGuesser/DoctrineTypeGuesserTest.php @@ -12,6 +12,7 @@ class DoctrineTypeGuesserTest extends TestCase { + // @phpstan-ignore-next-line protected $property; public function testGuessError(): void @@ -20,6 +21,7 @@ public function testGuessError(): void $docBlockGuesser = new DoctrineTypeGuesser(new ClassesTypesMap()); try { + // @phpstan-ignore-next-line $docBlockGuesser->guessType($refClass, $refClass); } catch (Exception $e) { $this->assertInstanceOf(TypeGuessingException::class, $e); diff --git a/tests/Config/Parser/fixtures/annotations/Type/Lightsaber.php b/tests/Config/Parser/fixtures/annotations/Type/Lightsaber.php index 7945ba5a4..90d24b0b7 100644 --- a/tests/Config/Parser/fixtures/annotations/Type/Lightsaber.php +++ b/tests/Config/Parser/fixtures/annotations/Type/Lightsaber.php @@ -19,6 +19,7 @@ class Lightsaber * @GQL\Field */ #[GQL\Field] + // @phpstan-ignore-next-line protected $color; /** @@ -26,6 +27,7 @@ class Lightsaber * @GQL\Field */ #[GQL\Field] + // @phpstan-ignore-next-line protected $text; /** @@ -33,6 +35,7 @@ class Lightsaber * @GQL\Field */ #[GQL\Field] + // @phpstan-ignore-next-line protected $string; /** @@ -98,6 +101,7 @@ class Lightsaber * @GQL\Field */ #[GQL\Field] + // @phpstan-ignore-next-line protected $float; /** @@ -105,6 +109,7 @@ class Lightsaber * @GQL\Field */ #[GQL\Field] + // @phpstan-ignore-next-line protected $decimal; /** @@ -112,6 +117,7 @@ class Lightsaber * @GQL\Field */ #[GQL\Field] + // @phpstan-ignore-next-line protected $bool; /** @@ -119,5 +125,6 @@ class Lightsaber * @GQL\Field */ #[GQL\Field] + // @phpstan-ignore-next-line protected $boolean; }