Skip to content

Commit

Permalink
DEP Use PHPUnit 11
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Sep 9, 2024
1 parent 8546766 commit 8dff702
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"guzzlehttp/guzzle": "^7"
},
"require-dev": {
"phpunit/phpunit": "^9.6",
"phpunit/phpunit": "^11.3",
"squizlabs/php_codesniffer": "^3",
"silverstripe/standards": "^1",
"phpstan/extension-installer": "^1.3"
Expand Down
6 changes: 3 additions & 3 deletions tests/EnvironmentCheckerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function testOnlyLogsWithErrors()

$logger = $this->getMockBuilder(Logger::class)
->disableOriginalConstructor()
->setMethods(['log'])
->onlyMethods(['log'])
->getMock();

$logger->expects($this->never())->method('log');
Expand All @@ -55,7 +55,7 @@ public function testLogsWithWarnings()

$logger = $this->getMockBuilder(Logger::class)
->disableOriginalConstructor()
->setMethods(['log'])
->onlyMethods(['log'])
->getMock();

$logger->expects($this->once())
Expand All @@ -80,7 +80,7 @@ public function testLogsWithErrors()

$logger = $this->getMockBuilder(Logger::class)
->disableOriginalConstructor()
->setMethods(['log'])
->onlyMethods(['log'])
->getMock();

$logger->expects($this->once())
Expand Down

0 comments on commit 8dff702

Please sign in to comment.