Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/Unit/Parsing/UnexpectedEOFExceptionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 . '”.';
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/Parsing/UnexpectedTokenExceptionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 . '”.';
Expand Down