Skip to content

Commit 5621f03

Browse files
[PhpUnitBridge] Fix gathering deprecation in phpt
1 parent 2cc5089 commit 5621f03

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

Tests/LazyStringTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
namespace Symfony\Component\String\Tests;
1313

1414
use PHPUnit\Framework\TestCase;
15-
use Symfony\Component\ErrorHandler\ErrorHandler;
1615
use Symfony\Component\String\LazyString;
1716

1817
class LazyStringTest extends TestCase
@@ -34,8 +33,6 @@ public function testLazyString()
3433
*/
3534
public function testReturnTypeError()
3635
{
37-
ErrorHandler::register();
38-
3936
$s = LazyString::fromCallable(fn () => []);
4037

4138
$this->expectException(\TypeError::class);

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,8 @@
2323
"symfony/polyfill-mbstring": "~1.0"
2424
},
2525
"require-dev": {
26-
"symfony/error-handler": "^5.4|^6.0|^7.0",
27-
"symfony/intl": "^6.2|^7.0",
2826
"symfony/http-client": "^5.4|^6.0|^7.0",
27+
"symfony/intl": "^6.2|^7.0",
2928
"symfony/translation-contracts": "^2.5|^3.0",
3029
"symfony/var-exporter": "^5.4|^6.0|^7.0"
3130
},

0 commit comments

Comments
 (0)