@@ -38,7 +38,7 @@ public function testGetDefaultNull()
3838
3939 public function testGetDefaultThrowsOnNoConfiguredValue ()
4040 {
41- $ this ->expectException (' Symfony\Component\OptionsResolver\Exception\NoConfigurationException ' );
41+ $ this ->expectException (\ Symfony \Component \OptionsResolver \Exception \NoConfigurationException::class );
4242 $ this ->expectExceptionMessage ('No default value was set for the "foo" option. ' );
4343 $ resolver = new OptionsResolver ();
4444 $ resolver ->setDefined ($ option = 'foo ' );
@@ -49,7 +49,7 @@ public function testGetDefaultThrowsOnNoConfiguredValue()
4949
5050 public function testGetDefaultThrowsOnNotDefinedOption ()
5151 {
52- $ this ->expectException (' Symfony\Component\OptionsResolver\Exception\UndefinedOptionsException ' );
52+ $ this ->expectException (\ Symfony \Component \OptionsResolver \Exception \UndefinedOptionsException::class );
5353 $ this ->expectExceptionMessage ('The option "foo" does not exist. ' );
5454 $ resolver = new OptionsResolver ();
5555
@@ -69,7 +69,7 @@ public function testGetLazyClosures()
6969
7070 public function testGetLazyClosuresThrowsOnNoConfiguredValue ()
7171 {
72- $ this ->expectException (' Symfony\Component\OptionsResolver\Exception\NoConfigurationException ' );
72+ $ this ->expectException (\ Symfony \Component \OptionsResolver \Exception \NoConfigurationException::class );
7373 $ this ->expectExceptionMessage ('No lazy closures were set for the "foo" option. ' );
7474 $ resolver = new OptionsResolver ();
7575 $ resolver ->setDefined ($ option = 'foo ' );
@@ -80,7 +80,7 @@ public function testGetLazyClosuresThrowsOnNoConfiguredValue()
8080
8181 public function testGetLazyClosuresThrowsOnNotDefinedOption ()
8282 {
83- $ this ->expectException (' Symfony\Component\OptionsResolver\Exception\UndefinedOptionsException ' );
83+ $ this ->expectException (\ Symfony \Component \OptionsResolver \Exception \UndefinedOptionsException::class );
8484 $ this ->expectExceptionMessage ('The option "foo" does not exist. ' );
8585 $ resolver = new OptionsResolver ();
8686
@@ -100,7 +100,7 @@ public function testGetAllowedTypes()
100100
101101 public function testGetAllowedTypesThrowsOnNoConfiguredValue ()
102102 {
103- $ this ->expectException (' Symfony\Component\OptionsResolver\Exception\NoConfigurationException ' );
103+ $ this ->expectException (\ Symfony \Component \OptionsResolver \Exception \NoConfigurationException::class );
104104 $ this ->expectExceptionMessage ('No allowed types were set for the "foo" option. ' );
105105 $ resolver = new OptionsResolver ();
106106 $ resolver ->setDefined ($ option = 'foo ' );
@@ -111,7 +111,7 @@ public function testGetAllowedTypesThrowsOnNoConfiguredValue()
111111
112112 public function testGetAllowedTypesThrowsOnNotDefinedOption ()
113113 {
114- $ this ->expectException (' Symfony\Component\OptionsResolver\Exception\UndefinedOptionsException ' );
114+ $ this ->expectException (\ Symfony \Component \OptionsResolver \Exception \UndefinedOptionsException::class );
115115 $ this ->expectExceptionMessage ('The option "foo" does not exist. ' );
116116 $ resolver = new OptionsResolver ();
117117
@@ -131,7 +131,7 @@ public function testGetAllowedValues()
131131
132132 public function testGetAllowedValuesThrowsOnNoConfiguredValue ()
133133 {
134- $ this ->expectException (' Symfony\Component\OptionsResolver\Exception\NoConfigurationException ' );
134+ $ this ->expectException (\ Symfony \Component \OptionsResolver \Exception \NoConfigurationException::class );
135135 $ this ->expectExceptionMessage ('No allowed values were set for the "foo" option. ' );
136136 $ resolver = new OptionsResolver ();
137137 $ resolver ->setDefined ($ option = 'foo ' );
@@ -142,7 +142,7 @@ public function testGetAllowedValuesThrowsOnNoConfiguredValue()
142142
143143 public function testGetAllowedValuesThrowsOnNotDefinedOption ()
144144 {
145- $ this ->expectException (' Symfony\Component\OptionsResolver\Exception\UndefinedOptionsException ' );
145+ $ this ->expectException (\ Symfony \Component \OptionsResolver \Exception \UndefinedOptionsException::class );
146146 $ this ->expectExceptionMessage ('The option "foo" does not exist. ' );
147147 $ resolver = new OptionsResolver ();
148148
@@ -162,7 +162,7 @@ public function testGetNormalizer()
162162
163163 public function testGetNormalizerThrowsOnNoConfiguredValue ()
164164 {
165- $ this ->expectException (' Symfony\Component\OptionsResolver\Exception\NoConfigurationException ' );
165+ $ this ->expectException (\ Symfony \Component \OptionsResolver \Exception \NoConfigurationException::class );
166166 $ this ->expectExceptionMessage ('No normalizer was set for the "foo" option. ' );
167167 $ resolver = new OptionsResolver ();
168168 $ resolver ->setDefined ($ option = 'foo ' );
@@ -173,7 +173,7 @@ public function testGetNormalizerThrowsOnNoConfiguredValue()
173173
174174 public function testGetNormalizerThrowsOnNotDefinedOption ()
175175 {
176- $ this ->expectException (' Symfony\Component\OptionsResolver\Exception\UndefinedOptionsException ' );
176+ $ this ->expectException (\ Symfony \Component \OptionsResolver \Exception \UndefinedOptionsException::class );
177177 $ this ->expectExceptionMessage ('The option "foo" does not exist. ' );
178178 $ resolver = new OptionsResolver ();
179179
@@ -194,7 +194,7 @@ public function testGetNormalizers()
194194
195195 public function testGetNormalizersThrowsOnNoConfiguredValue ()
196196 {
197- $ this ->expectException (' Symfony\Component\OptionsResolver\Exception\NoConfigurationException ' );
197+ $ this ->expectException (\ Symfony \Component \OptionsResolver \Exception \NoConfigurationException::class );
198198 $ this ->expectExceptionMessage ('No normalizer was set for the "foo" option. ' );
199199 $ resolver = new OptionsResolver ();
200200 $ resolver ->setDefined ('foo ' );
@@ -205,7 +205,7 @@ public function testGetNormalizersThrowsOnNoConfiguredValue()
205205
206206 public function testGetNormalizersThrowsOnNotDefinedOption ()
207207 {
208- $ this ->expectException (' Symfony\Component\OptionsResolver\Exception\UndefinedOptionsException ' );
208+ $ this ->expectException (\ Symfony \Component \OptionsResolver \Exception \UndefinedOptionsException::class );
209209 $ this ->expectExceptionMessage ('The option "foo" does not exist. ' );
210210 $ resolver = new OptionsResolver ();
211211
@@ -235,7 +235,7 @@ public function testGetClosureDeprecationMessage()
235235
236236 public function testGetDeprecationMessageThrowsOnNoConfiguredValue ()
237237 {
238- $ this ->expectException (' Symfony\Component\OptionsResolver\Exception\NoConfigurationException ' );
238+ $ this ->expectException (\ Symfony \Component \OptionsResolver \Exception \NoConfigurationException::class );
239239 $ this ->expectExceptionMessage ('No deprecation was set for the "foo" option. ' );
240240 $ resolver = new OptionsResolver ();
241241 $ resolver ->setDefined ('foo ' );
@@ -246,7 +246,7 @@ public function testGetDeprecationMessageThrowsOnNoConfiguredValue()
246246
247247 public function testGetDeprecationMessageThrowsOnNotDefinedOption ()
248248 {
249- $ this ->expectException (' Symfony\Component\OptionsResolver\Exception\UndefinedOptionsException ' );
249+ $ this ->expectException (\ Symfony \Component \OptionsResolver \Exception \UndefinedOptionsException::class );
250250 $ this ->expectExceptionMessage ('The option "foo" does not exist. ' );
251251 $ resolver = new OptionsResolver ();
252252
0 commit comments