Skip to content

Commit

Permalink
fix phpunit deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
GTony committed Mar 1, 2023
1 parent 56f7b09 commit 560b6c3
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 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": {
"guzzlehttp/guzzle": "7.5.0",
"fluent/logger": "1.0.1",
"phpunit/phpunit": "10.0.13",
"phpunit/phpunit": "10.0.14",
"vimeo/psalm": "5.7.7",
"dealerdirect/phpcodesniffer-composer-installer": "1.0.0",
"phpcompatibility/php-compatibility": "9.3.5",
Expand Down
16 changes: 8 additions & 8 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/LogLevelHelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function test_validateLogLevel_shouldThrowInvalidLogLevelWhenLevelIsUnkno
LogLevelHelper::validateLogLevel('unknown level');
}

public function provideLevels(): array
public static function provideLevels(): array
{
return [
[LogLevel::ALERT, LogLevel::EMERGENCY],
Expand Down
2 changes: 1 addition & 1 deletion tests/LoggerDecoratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function test_shouldNotLogWhenLoggerLevelIsHigherThanMessage($loggerLevel
$this->loggerDecorator->log($levelOfMessage, 'a message');
}

public function provideLowerLogLevels(): array
public static function provideLowerLogLevels(): array
{
return [
[LogLevel::INFO, LogLevel::DEBUG],
Expand Down

0 comments on commit 560b6c3

Please sign in to comment.