Skip to content

Commit

Permalink
Make data providers static
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus committed Feb 5, 2024
1 parent b1031f0 commit e0dec17
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"require-dev": {
"doctrine/coding-standard": "^9 || ^12",
"phpstan/phpstan": "^1.3",
"phpunit/phpunit": "^7.5 || ^8.5 || ^9.5",
"phpunit/phpunit": "^7.5 || ^8.5 || ^9.6",
"psalm/plugin-phpunit": "^0.18.3",
"vimeo/psalm": "^4.11 || ^5.21"
},
Expand Down
4 changes: 2 additions & 2 deletions tests/AbstractLexerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function tearDown(): void
/**
* @psalm-return list<array{string, list<Token<string, string|int>>}>
*/
public function dataProvider(): array
public static function dataProvider(): array
{
return [
[
Expand Down Expand Up @@ -175,7 +175,7 @@ public function testGlimpse(string $input, array $expectedTokens): void
/**
* @psalm-return list<array{string, int, string}>
*/
public function inputUntilPositionDataProvider(): array
public static function inputUntilPositionDataProvider(): array
{
return [
['price=10', 5, 'price'],
Expand Down

0 comments on commit e0dec17

Please sign in to comment.