File tree Expand file tree Collapse file tree 3 files changed +21
-1
lines changed
Bundle/FrameworkBundle/Tests/DependencyInjection Expand file tree Collapse file tree 3 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -583,6 +583,23 @@ diff --git a/src/Symfony/Component/VarDumper/Dumper/DataDumperInterface.php b/sr
583
583
- public function dump(Data $data);
584
584
+ public function dump(Data $data): ?string;
585
585
}
586
+ diff --git a/src/Symfony/Component/VarExporter/Tests/ProxyHelperTest.php b/src/Symfony/Component/VarExporter/Tests/ProxyHelperTest.php
587
+ --- a/src/Symfony/Component/VarExporter/Tests/ProxyHelperTest.php
588
+ +++ b/src/Symfony/Component/VarExporter/Tests/ProxyHelperTest.php
589
+ @@ -172,5 +172,5 @@ class ProxyHelperTest extends TestCase
590
+ {
591
+ yield 'not type hinted __unserialize method' => [new class() {
592
+ - public function __unserialize($array)
593
+ + public function __unserialize($array): void
594
+ {
595
+ }
596
+ @@ -192,5 +192,5 @@ class ProxyHelperTest extends TestCase
597
+
598
+ yield 'type hinted __unserialize method' => [new class() {
599
+ - public function __unserialize(array $array)
600
+ + public function __unserialize(array $array): void
601
+ {
602
+ }
586
603
diff --git a/src/Symfony/Contracts/Translation/LocaleAwareInterface.php b/src/Symfony/Contracts/Translation/LocaleAwareInterface.php
587
604
--- a/src/Symfony/Contracts/Translation/LocaleAwareInterface.php
588
605
+++ b/src/Symfony/Contracts/Translation/LocaleAwareInterface.php
Original file line number Diff line number Diff line change @@ -573,6 +573,7 @@ public function testSerializerJsonDetailedErrorMessagesEnabledWhenDefaultContext
573
573
$ processor = new Processor ();
574
574
$ config = $ processor ->processConfiguration (new Configuration (true ), [
575
575
[
576
+ 'http_method_override ' => false ,
576
577
'serializer ' => [
577
578
'default_context ' => [
578
579
'foo ' => 'bar ' ,
@@ -589,6 +590,7 @@ public function testSerializerJsonDetailedErrorMessagesInDefaultContextCanBeDisa
589
590
$ processor = new Processor ();
590
591
$ config = $ processor ->processConfiguration (new Configuration (true ), [
591
592
[
593
+ 'http_method_override ' => false ,
592
594
'serializer ' => [
593
595
'default_context ' => [
594
596
'foo ' => 'bar ' ,
@@ -606,6 +608,7 @@ public function testSerializerJsonDetailedErrorMessagesInDefaultContextCanBeDisa
606
608
$ processor = new Processor ();
607
609
$ config = $ processor ->processConfiguration (new Configuration (true ), [
608
610
[
611
+ 'http_method_override ' => false ,
609
612
'serializer ' => [
610
613
'default_context ' => [
611
614
'foo ' => 'bar ' ,
Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ public function __construct(
182
182
) {
183
183
if (\PHP_VERSION_ID < 80400 ) {
184
184
$ this ->levels [\E_STRICT ] = 'Runtime Notice ' ;
185
- $ this ->loggers [\E_STRICT ] = [null , LogLevel::WARNING ];
185
+ $ this ->loggers [\E_STRICT ] = [null , LogLevel::ERROR ];
186
186
}
187
187
188
188
if ($ bootstrappingLogger ) {
You can’t perform that action at this time.
0 commit comments