Skip to content

Commit

Permalink
adjust phpunit version for cake 5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
LordSimal committed Jan 11, 2024
1 parent 7a44fd7 commit 38551db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"require-dev": {
"cakephp/authorization": "^3.0",
"cakephp/cakephp-codesniffer": "^5.0",
"phpunit/phpunit": "^10.1.0"
"phpunit/phpunit": "^10.5.5"
},
"autoload": {
"psr-4": {
Expand Down
3 changes: 3 additions & 0 deletions tests/TestCase/Panel/DeprecationsPanelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
use Cake\Event\Event;
use Cake\TestSuite\TestCase;
use DebugKit\Panel\DeprecationsPanel;
use PHPUnit\Framework\Attributes\WithoutErrorHandler;

use function Cake\Core\deprecationWarning;

Check failure on line 22 in tests/TestCase/Panel/DeprecationsPanelTest.php

View workflow job for this annotation

GitHub Actions / cs-stan / Coding Standard & Static Analysis

Expected 0 lines between different types of use statement, found 1.

/**
Expand Down Expand Up @@ -53,6 +55,7 @@ public function setUp(): void
}
}

#[WithoutErrorHandler]
public function testShutdown()
{
$event = new Event('Panel.shutdown');
Expand Down

0 comments on commit 38551db

Please sign in to comment.