File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change 12
12
namespace Symfony \Component \String \Tests ;
13
13
14
14
use PHPUnit \Framework \TestCase ;
15
- use Symfony \Component \ErrorHandler \ErrorHandler ;
16
15
use Symfony \Component \String \LazyString ;
17
16
18
17
class LazyStringTest extends TestCase
@@ -34,8 +33,6 @@ public function testLazyString()
34
33
*/
35
34
public function testReturnTypeError ()
36
35
{
37
- ErrorHandler::register ();
38
-
39
36
$ s = LazyString::fromCallable (fn () => []);
40
37
41
38
$ this ->expectException (\TypeError::class);
Original file line number Diff line number Diff line change 23
23
"symfony/polyfill-mbstring" : " ~1.0"
24
24
},
25
25
"require-dev" : {
26
- "symfony/error-handler" : " ^5.4|^6.0|^7.0" ,
27
- "symfony/intl" : " ^6.2|^7.0" ,
28
26
"symfony/http-client" : " ^5.4|^6.0|^7.0" ,
27
+ "symfony/intl" : " ^6.2|^7.0" ,
29
28
"symfony/translation-contracts" : " ^2.5|^3.0" ,
30
29
"symfony/var-exporter" : " ^5.4|^6.0|^7.0"
31
30
},
You can’t perform that action at this time.
0 commit comments