@@ -38,7 +38,7 @@ public function testGetDefaultNull()
38
38
39
39
public function testGetDefaultThrowsOnNoConfiguredValue ()
40
40
{
41
- $ this ->expectException (' Symfony\Component\OptionsResolver\Exception\NoConfigurationException ' );
41
+ $ this ->expectException (\ Symfony \Component \OptionsResolver \Exception \NoConfigurationException::class );
42
42
$ this ->expectExceptionMessage ('No default value was set for the "foo" option. ' );
43
43
$ resolver = new OptionsResolver ();
44
44
$ resolver ->setDefined ($ option = 'foo ' );
@@ -49,7 +49,7 @@ public function testGetDefaultThrowsOnNoConfiguredValue()
49
49
50
50
public function testGetDefaultThrowsOnNotDefinedOption ()
51
51
{
52
- $ this ->expectException (' Symfony\Component\OptionsResolver\Exception\UndefinedOptionsException ' );
52
+ $ this ->expectException (\ Symfony \Component \OptionsResolver \Exception \UndefinedOptionsException::class );
53
53
$ this ->expectExceptionMessage ('The option "foo" does not exist. ' );
54
54
$ resolver = new OptionsResolver ();
55
55
@@ -69,7 +69,7 @@ public function testGetLazyClosures()
69
69
70
70
public function testGetLazyClosuresThrowsOnNoConfiguredValue ()
71
71
{
72
- $ this ->expectException (' Symfony\Component\OptionsResolver\Exception\NoConfigurationException ' );
72
+ $ this ->expectException (\ Symfony \Component \OptionsResolver \Exception \NoConfigurationException::class );
73
73
$ this ->expectExceptionMessage ('No lazy closures were set for the "foo" option. ' );
74
74
$ resolver = new OptionsResolver ();
75
75
$ resolver ->setDefined ($ option = 'foo ' );
@@ -80,7 +80,7 @@ public function testGetLazyClosuresThrowsOnNoConfiguredValue()
80
80
81
81
public function testGetLazyClosuresThrowsOnNotDefinedOption ()
82
82
{
83
- $ this ->expectException (' Symfony\Component\OptionsResolver\Exception\UndefinedOptionsException ' );
83
+ $ this ->expectException (\ Symfony \Component \OptionsResolver \Exception \UndefinedOptionsException::class );
84
84
$ this ->expectExceptionMessage ('The option "foo" does not exist. ' );
85
85
$ resolver = new OptionsResolver ();
86
86
@@ -100,7 +100,7 @@ public function testGetAllowedTypes()
100
100
101
101
public function testGetAllowedTypesThrowsOnNoConfiguredValue ()
102
102
{
103
- $ this ->expectException (' Symfony\Component\OptionsResolver\Exception\NoConfigurationException ' );
103
+ $ this ->expectException (\ Symfony \Component \OptionsResolver \Exception \NoConfigurationException::class );
104
104
$ this ->expectExceptionMessage ('No allowed types were set for the "foo" option. ' );
105
105
$ resolver = new OptionsResolver ();
106
106
$ resolver ->setDefined ($ option = 'foo ' );
@@ -111,7 +111,7 @@ public function testGetAllowedTypesThrowsOnNoConfiguredValue()
111
111
112
112
public function testGetAllowedTypesThrowsOnNotDefinedOption ()
113
113
{
114
- $ this ->expectException (' Symfony\Component\OptionsResolver\Exception\UndefinedOptionsException ' );
114
+ $ this ->expectException (\ Symfony \Component \OptionsResolver \Exception \UndefinedOptionsException::class );
115
115
$ this ->expectExceptionMessage ('The option "foo" does not exist. ' );
116
116
$ resolver = new OptionsResolver ();
117
117
@@ -131,7 +131,7 @@ public function testGetAllowedValues()
131
131
132
132
public function testGetAllowedValuesThrowsOnNoConfiguredValue ()
133
133
{
134
- $ this ->expectException (' Symfony\Component\OptionsResolver\Exception\NoConfigurationException ' );
134
+ $ this ->expectException (\ Symfony \Component \OptionsResolver \Exception \NoConfigurationException::class );
135
135
$ this ->expectExceptionMessage ('No allowed values were set for the "foo" option. ' );
136
136
$ resolver = new OptionsResolver ();
137
137
$ resolver ->setDefined ($ option = 'foo ' );
@@ -142,7 +142,7 @@ public function testGetAllowedValuesThrowsOnNoConfiguredValue()
142
142
143
143
public function testGetAllowedValuesThrowsOnNotDefinedOption ()
144
144
{
145
- $ this ->expectException (' Symfony\Component\OptionsResolver\Exception\UndefinedOptionsException ' );
145
+ $ this ->expectException (\ Symfony \Component \OptionsResolver \Exception \UndefinedOptionsException::class );
146
146
$ this ->expectExceptionMessage ('The option "foo" does not exist. ' );
147
147
$ resolver = new OptionsResolver ();
148
148
@@ -162,7 +162,7 @@ public function testGetNormalizer()
162
162
163
163
public function testGetNormalizerThrowsOnNoConfiguredValue ()
164
164
{
165
- $ this ->expectException (' Symfony\Component\OptionsResolver\Exception\NoConfigurationException ' );
165
+ $ this ->expectException (\ Symfony \Component \OptionsResolver \Exception \NoConfigurationException::class );
166
166
$ this ->expectExceptionMessage ('No normalizer was set for the "foo" option. ' );
167
167
$ resolver = new OptionsResolver ();
168
168
$ resolver ->setDefined ($ option = 'foo ' );
@@ -173,7 +173,7 @@ public function testGetNormalizerThrowsOnNoConfiguredValue()
173
173
174
174
public function testGetNormalizerThrowsOnNotDefinedOption ()
175
175
{
176
- $ this ->expectException (' Symfony\Component\OptionsResolver\Exception\UndefinedOptionsException ' );
176
+ $ this ->expectException (\ Symfony \Component \OptionsResolver \Exception \UndefinedOptionsException::class );
177
177
$ this ->expectExceptionMessage ('The option "foo" does not exist. ' );
178
178
$ resolver = new OptionsResolver ();
179
179
@@ -194,7 +194,7 @@ public function testGetNormalizers()
194
194
195
195
public function testGetNormalizersThrowsOnNoConfiguredValue ()
196
196
{
197
- $ this ->expectException (' Symfony\Component\OptionsResolver\Exception\NoConfigurationException ' );
197
+ $ this ->expectException (\ Symfony \Component \OptionsResolver \Exception \NoConfigurationException::class );
198
198
$ this ->expectExceptionMessage ('No normalizer was set for the "foo" option. ' );
199
199
$ resolver = new OptionsResolver ();
200
200
$ resolver ->setDefined ('foo ' );
@@ -205,7 +205,7 @@ public function testGetNormalizersThrowsOnNoConfiguredValue()
205
205
206
206
public function testGetNormalizersThrowsOnNotDefinedOption ()
207
207
{
208
- $ this ->expectException (' Symfony\Component\OptionsResolver\Exception\UndefinedOptionsException ' );
208
+ $ this ->expectException (\ Symfony \Component \OptionsResolver \Exception \UndefinedOptionsException::class );
209
209
$ this ->expectExceptionMessage ('The option "foo" does not exist. ' );
210
210
$ resolver = new OptionsResolver ();
211
211
@@ -235,7 +235,7 @@ public function testGetClosureDeprecationMessage()
235
235
236
236
public function testGetDeprecationMessageThrowsOnNoConfiguredValue ()
237
237
{
238
- $ this ->expectException (' Symfony\Component\OptionsResolver\Exception\NoConfigurationException ' );
238
+ $ this ->expectException (\ Symfony \Component \OptionsResolver \Exception \NoConfigurationException::class );
239
239
$ this ->expectExceptionMessage ('No deprecation was set for the "foo" option. ' );
240
240
$ resolver = new OptionsResolver ();
241
241
$ resolver ->setDefined ('foo ' );
@@ -246,7 +246,7 @@ public function testGetDeprecationMessageThrowsOnNoConfiguredValue()
246
246
247
247
public function testGetDeprecationMessageThrowsOnNotDefinedOption ()
248
248
{
249
- $ this ->expectException (' Symfony\Component\OptionsResolver\Exception\UndefinedOptionsException ' );
249
+ $ this ->expectException (\ Symfony \Component \OptionsResolver \Exception \UndefinedOptionsException::class );
250
250
$ this ->expectExceptionMessage ('The option "foo" does not exist. ' );
251
251
$ resolver = new OptionsResolver ();
252
252
0 commit comments