Skip to content

Commit

Permalink
fixup! chore: bump psr/log to ^2
Browse files Browse the repository at this point in the history
  • Loading branch information
st3iny committed Aug 12, 2024
1 parent 6d06761 commit 3527389
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 3 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"youthweb/urllinker": "^2.0"
},
"require-dev": {
"beste/psr-testlogger": "^1.0",
"psalm/phar": "^5.25.0",
"roave/security-advisories": "dev-master"
},
Expand Down
65 changes: 64 additions & 1 deletion composer.lock

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

4 changes: 2 additions & 2 deletions tests/Unit/Listener/MoveJunkListenerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
use OCA\Mail\Exception\ServiceException;
use OCA\Mail\Listener\MoveJunkListener;
use Psr\Log\LoggerInterface;
use Psr\Log\Test\TestLogger;
use Beste\Psr\Log\TestLogger;

class MoveJunkListenerTest extends TestCase {
private IMailManager $mailManager;
Expand All @@ -29,7 +29,7 @@ protected function setUp(): void {
parent::setUp();

$this->mailManager = $this->createMock(IMailManager::class);
$this->logger = new TestLogger();
$this->logger = TestLogger::create();

$this->listener = new MoveJunkListener(
$this->mailManager,
Expand Down

0 comments on commit 3527389

Please sign in to comment.