Skip to content

Commit d56880f

Browse files
authored
Merge pull request #2042 from greg0ire/3.0.x
Merge 2.17.x up into 3.0.x
2 parents fb84588 + b51c25d commit d56880f

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"phpstan/phpstan": "2.1.1",
5050
"phpstan/phpstan-phpunit": "2.0.3",
5151
"phpstan/phpstan-strict-rules": "^2",
52-
"phpunit/phpunit": "^10.5.53",
52+
"phpunit/phpunit": "^11.5.38",
5353
"psr/log": "^3.0",
5454
"symfony/doctrine-messenger": "^6.4 || ^7.0",
5555
"symfony/expression-language": "^6.4 || ^7.0",

phpunit.xml.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
bootstrap="tests/bootstrap.php"
34
colors="true"
45
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
56
displayDetailsOnTestsThatTriggerDeprecations="true"

tests/bootstrap.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
use Symfony\Component\ErrorHandler\ErrorHandler;
6+
7+
ErrorHandler::register(null, false);

0 commit comments

Comments
 (0)