diff --git a/tests/Unit/Parsing/UnexpectedEOFExceptionTest.php b/tests/Unit/Parsing/UnexpectedEOFExceptionTest.php index b3c2ffcc..e430e94c 100644 --- a/tests/Unit/Parsing/UnexpectedEOFExceptionTest.php +++ b/tests/Unit/Parsing/UnexpectedEOFExceptionTest.php @@ -85,7 +85,7 @@ public function messageForInvalidMatchTypeRefersToTokenNotFound(): void $expected = 'tea'; $found = 'coffee'; - // @phpstan-ignore-next-line argument.type We're explicitly testing with an invalid value here. + // @phpstan-ignore argument.type (We're explicitly testing with an invalid value here.) $exception = new UnexpectedEOFException($expected, $found, 'coding'); $expectedMessage = 'Token “' . $expected . '” (coding) not found. Got “' . $found . '”.'; diff --git a/tests/Unit/Parsing/UnexpectedTokenExceptionTest.php b/tests/Unit/Parsing/UnexpectedTokenExceptionTest.php index 6adb3d7e..fbb45bf9 100644 --- a/tests/Unit/Parsing/UnexpectedTokenExceptionTest.php +++ b/tests/Unit/Parsing/UnexpectedTokenExceptionTest.php @@ -85,7 +85,7 @@ public function messageForInvalidMatchTypeRefersToTokenNotFound(): void $expected = 'tea'; $found = 'coffee'; - // @phpstan-ignore-next-line argument.type We're explicitly testing with an invalid value here. + // @phpstan-ignore argument.type (We're explicitly testing with an invalid value here.) $exception = new UnexpectedTokenException($expected, $found, 'coding'); $expectedMessage = 'Token “' . $expected . '” (coding) not found. Got “' . $found . '”.';