CI fix warnings (#6780)

This commit is contained in:
Alexandre Alapetite
2024-09-06 10:18:51 +02:00
committed by GitHub
parent 1a552bd60e
commit aefac3efb9
3 changed files with 10 additions and 10 deletions

View File

@@ -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",

10
composer.lock generated
View File

@@ -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",

View File

@@ -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$/',