Skip to content

Commit 560b6c3

Browse files
committed
fix phpunit deprecations
1 parent 56f7b09 commit 560b6c3

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"require-dev": {
3333
"guzzlehttp/guzzle": "7.5.0",
3434
"fluent/logger": "1.0.1",
35-
"phpunit/phpunit": "10.0.13",
35+
"phpunit/phpunit": "10.0.14",
3636
"vimeo/psalm": "5.7.7",
3737
"dealerdirect/phpcodesniffer-composer-installer": "1.0.0",
3838
"phpcompatibility/php-compatibility": "9.3.5",

composer.lock

+8-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/LogLevelHelperTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function test_validateLogLevel_shouldThrowInvalidLogLevelWhenLevelIsUnkno
3131
LogLevelHelper::validateLogLevel('unknown level');
3232
}
3333

34-
public function provideLevels(): array
34+
public static function provideLevels(): array
3535
{
3636
return [
3737
[LogLevel::ALERT, LogLevel::EMERGENCY],

tests/LoggerDecoratorTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function test_shouldNotLogWhenLoggerLevelIsHigherThanMessage($loggerLevel
4545
$this->loggerDecorator->log($levelOfMessage, 'a message');
4646
}
4747

48-
public function provideLowerLogLevels(): array
48+
public static function provideLowerLogLevels(): array
4949
{
5050
return [
5151
[LogLevel::INFO, LogLevel::DEBUG],

0 commit comments

Comments
 (0)