Skip to content

Commit 2343a88

Browse files
Allow PHPunit > 9
Co-authored-by: Christopher Georg <christopher.georg@sr-travel.de>
1 parent 3fdb122 commit 2343a88

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"league/flysystem-sftp-v3": "^2.0 || ^3.0",
4343
"league/flysystem-azure-blob-storage": "^3.0",
4444
"phpstan/phpstan": "^1.10",
45-
"phpunit/phpunit": "^9.6.17",
45+
"phpunit/phpunit": "^9.6.29 || ^10.5.58 || ^11.5.43 || ^12.4.2",
4646
"royvoetman/flysystem-gitlab-storage": "^2.0 || ^3.0",
4747
"symfony/asset": "^5.4 || ^6.0 || ^7.0",
4848
"symfony/browser-kit": "^5.4 || ^6.0 || ^7.0",

tests/bootstrap.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
declare(strict_types=1);
44

5+
use Symfony\Component\ErrorHandler\ErrorHandler;
6+
7+
ErrorHandler::register(null, false);
8+
59
if (!($loader = @include __DIR__ . '/../vendor/autoload.php')) {
610
echo <<<'EOT'
711
You need to install the project dependencies using Composer:

0 commit comments

Comments
 (0)