Skip to content

Commit d275150

Browse files
Merge branch '4.4' into 5.1
* 4.4: Enable "native_constant_invocation" CS rule Make AbstractPhpFileCacheWarmer public
2 parents 9ff5951 + dd05a18 commit d275150

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Tests/OptionsResolverTest.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ function (OptionsResolver $resolver) {
555555
},
556556
['foo' => 'baz'],
557557
[
558-
'type' => E_USER_DEPRECATED,
558+
'type' => \E_USER_DEPRECATED,
559559
'message' => 'Since vendor/package 1.1: The option "foo" is deprecated.',
560560
],
561561
1,
@@ -573,7 +573,7 @@ function (OptionsResolver $resolver) {
573573
},
574574
['foo' => 'baz'],
575575
[
576-
'type' => E_USER_DEPRECATED,
576+
'type' => \E_USER_DEPRECATED,
577577
'message' => 'Since vendor/package 1.1: The option "foo" is deprecated, use "bar" option instead.',
578578
],
579579
2,
@@ -593,7 +593,7 @@ function (OptionsResolver $resolver) {
593593
},
594594
[],
595595
[
596-
'type' => E_USER_DEPRECATED,
596+
'type' => \E_USER_DEPRECATED,
597597
'message' => 'Since vendor/package 1.1: The option "foo" is deprecated.',
598598
],
599599
1,
@@ -615,7 +615,7 @@ function (OptionsResolver $resolver) {
615615
},
616616
['foo' => new \stdClass()],
617617
[
618-
'type' => E_USER_DEPRECATED,
618+
'type' => \E_USER_DEPRECATED,
619619
'message' => 'Since vendor/package 1.1: Passing an instance of "stdClass" to option "foo" is deprecated, pass its FQCN instead.',
620620
],
621621
1,
@@ -651,7 +651,7 @@ function (OptionsResolver $resolver) {
651651
},
652652
['foo' => null], // It triggers a deprecation
653653
[
654-
'type' => E_USER_DEPRECATED,
654+
'type' => \E_USER_DEPRECATED,
655655
'message' => 'Since vendor/package 1.1: Passing a value different than true or false is deprecated.',
656656
],
657657
1,
@@ -687,7 +687,7 @@ function (OptionsResolver $resolver) {
687687
},
688688
['widget' => 'single_text', 'date_format' => 2],
689689
[
690-
'type' => E_USER_DEPRECATED,
690+
'type' => \E_USER_DEPRECATED,
691691
'message' => 'Since vendor/package 1.1: Using the "date_format" option when the "widget" option is set to "single_text" is deprecated.',
692692
],
693693
1,
@@ -713,7 +713,7 @@ function (OptionsResolver $resolver) {
713713
},
714714
['foo' => 'baz'], // It triggers a deprecation
715715
[
716-
'type' => E_USER_DEPRECATED,
716+
'type' => \E_USER_DEPRECATED,
717717
'message' => 'Since vendor/package 1.1: The option "foo" is deprecated.',
718718
],
719719
4,

0 commit comments

Comments
 (0)