Skip to content

Commit

Permalink
chore: allow phpunit 10
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris8934 committed Dec 8, 2023
1 parent 18c12b1 commit 7525ef8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@
"symfony/framework-bundle": "^5.4 || ^6.3 || ^7.0"
},
"require-dev": {
"phpspec/prophecy": "^1.17",
"phpunit/phpunit": "^9.6",
"phpspec/prophecy": "^1.8",
"phpspec/prophecy-phpunit": "^2.0",
"phpunit/phpunit": "^9.6 || ^10.4",
"symfony/dotenv": "^5.4 || ^6.3 || ^7.0",
"symfony/phpunit-bridge": "^5.4 || ^6.3 || ^7.0",
"symfony/yaml": "^5.4 || ^6.3 || ^7.0"
Expand Down
3 changes: 3 additions & 0 deletions tests/Controller/CalendarControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,15 @@
use PHPUnit\Framework\TestCase;
use Prophecy\Argument;
use Prophecy\Prophecy\ObjectProphecy;
use Prophecy\PhpUnit\ProphecyTrait;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;

class CalendarControllerTest extends TestCase
{
use ProphecyTrait;

private ObjectProphecy|CalendarEvent $calendarEvent;
private Event|ObjectProphecy $event;
private ObjectProphecy|EventDispatcherInterface $eventDispatcher;
Expand Down

0 comments on commit 7525ef8

Please sign in to comment.