diff options
| author | 2024-09-06 10:18:51 +0200 | |
|---|---|---|
| committer | 2024-09-06 10:18:51 +0200 | |
| commit | aefac3efb9fada806867108c6fd1d36bba156ed8 (patch) | |
| tree | 84e66de91bb008b0041b68e024357ce4fe1cde8a | |
| parent | 1a552bd60eab4a4b940d3896376b599e155d7da0 (diff) | |
CI fix warnings (#6780)
| -rw-r--r-- | composer.json | 2 | ||||
| -rw-r--r-- | composer.lock | 10 | ||||
| -rw-r--r-- | tests/app/Models/SearchTest.php | 8 |
3 files changed, 10 insertions, 10 deletions
diff --git a/composer.json b/composer.json index f2d27bb1a..c92496823 100644 --- a/composer.json +++ b/composer.json @@ -70,7 +70,7 @@ "phpcbf": "phpcbf . -p -s", "phpstan": "phpstan analyse --memory-limit 512M .", "phpstan-next": "phpstan analyse --memory-limit 512M -c phpstan-next.neon .", - "phpunit": "phpunit --bootstrap ./tests/bootstrap.php --display-notices ./tests", + "phpunit": "phpunit --bootstrap ./tests/bootstrap.php --display-notices --display-phpunit-deprecations ./tests", "translations": "cli/manipulate.translation.php -a format", "test": [ "@php-lint", diff --git a/composer.lock b/composer.lock index 6d5f7e045..4a8174047 100644 --- a/composer.lock +++ b/composer.lock @@ -245,16 +245,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.12.1", + "version": "1.12.2", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "d8ed7fffa66de1db0d2972267d8ed1d8fa0fe5a2" + "reference": "0ca1c7bb55fca8fe6448f16fff0f311ccec960a1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/d8ed7fffa66de1db0d2972267d8ed1d8fa0fe5a2", - "reference": "d8ed7fffa66de1db0d2972267d8ed1d8fa0fe5a2", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/0ca1c7bb55fca8fe6448f16fff0f311ccec960a1", + "reference": "0ca1c7bb55fca8fe6448f16fff0f311ccec960a1", "shasum": "" }, "require": { @@ -299,7 +299,7 @@ "type": "github" } ], - "time": "2024-09-03T19:55:22+00:00" + "time": "2024-09-05T16:09:28+00:00" }, { "name": "phpstan/phpstan-phpunit", diff --git a/tests/app/Models/SearchTest.php b/tests/app/Models/SearchTest.php index a25adc160..58eb875e0 100644 --- a/tests/app/Models/SearchTest.php +++ b/tests/app/Models/SearchTest.php @@ -454,7 +454,7 @@ class SearchTest extends PHPUnit\Framework\TestCase { } /** @return array<array<mixed>> */ - public function provideRegexPostreSQL(): array { + public static function provideRegexPostreSQL(): array { return [ [ 'intitle:/^ab$/', @@ -522,7 +522,7 @@ class SearchTest extends PHPUnit\Framework\TestCase { } /** @return array<array<mixed>> */ - public function provideRegexMariaDB(): array { + public static function provideRegexMariaDB(): array { return [ [ 'intitle:/^ab$/', @@ -555,7 +555,7 @@ class SearchTest extends PHPUnit\Framework\TestCase { } /** @return array<array<mixed>> */ - public function provideRegexMySQL(): array { + public static function provideRegexMySQL(): array { return [ [ 'intitle:/^ab$/', @@ -586,7 +586,7 @@ class SearchTest extends PHPUnit\Framework\TestCase { } /** @return array<array<mixed>> */ - public function provideRegexSQLite(): array { + public static function provideRegexSQLite(): array { return [ [ 'intitle:/^ab$/', |
