A free, self-hostable news aggregator…
CI fix warnings (#6780)
Alexandre Alapetiteaefac3efb9fa
diff --git a/composer.json b/composer.jsonindex 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.lockindex 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.phpindex 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$/',