diff --git a/phpunit.xml.dist b/phpunit.xml.dist index eb03d3f..a03aff3 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,24 +1,17 @@ - - - tests - - - - src - - - - - - - + + + + + + + + + tests + + + + src + + diff --git a/tests/StatelessCSRFTest.php b/tests/StatelessCSRFTest.php index 8e73a34..b2b6a96 100644 --- a/tests/StatelessCSRFTest.php +++ b/tests/StatelessCSRFTest.php @@ -40,7 +40,7 @@ public function testValidateToken(string $key, string $value, string $id): void $instance->validate($id, $result, time()); } - public function getValidationDataSet(): array { + public static function getValidationDataSet(): array { return [ ['foo', 'bar', 'id'], ['foo', 'foo', 'foo'],