Skip to content

Commit

Permalink
Fixing sniffer issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandre-T committed Aug 8, 2024
1 parent 6c3da7d commit 18e1ac1
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@
*/
class SpatialTypeExceptionInterfaceTest extends TestCase
{
/**
* Exception provider.
*
* @return \Generator<string, array{0: class-string<\Exception>}, null, void>
*/
public static function exceptionProvider(): \Generator
{
yield 'BadMethodCallException' => [BadMethodCallException::class];
Expand All @@ -66,6 +71,9 @@ public static function exceptionProvider(): \Generator
yield 'RangeException' => [RangeException::class];
}

// phpcs:disable Squiz.Commenting.FunctionComment.IncorrectTypeHint
// phpcs:disable Squiz.Commenting.FunctionComment.MissingParamComment

/**
* Let's check that each exception thrown by the library can be caught with the SpatialTypeExceptionInterface.
*
Expand Down

0 comments on commit 18e1ac1

Please sign in to comment.