@@ -35,7 +35,7 @@ class PropertyAccessDecoratorTest extends TestCase
3535
3636 protected function setUp (): void
3737 {
38- $ this ->decoratedFactory = $ this ->getMockBuilder (' Symfony\Component\Form\ChoiceList\Factory\ChoiceListFactoryInterface ' )->getMock ();
38+ $ this ->decoratedFactory = $ this ->getMockBuilder (\ Symfony \Component \Form \ChoiceList \Factory \ChoiceListFactoryInterface::class )->getMock ();
3939 $ this ->factory = new PropertyAccessDecorator ($ this ->decoratedFactory );
4040 }
4141
@@ -110,7 +110,7 @@ public function testCreateFromChoicesFilterPropertyPathInstance()
110110
111111 public function testCreateFromLoaderPropertyPath ()
112112 {
113- $ loader = $ this ->getMockBuilder (' Symfony\Component\Form\ChoiceList\Loader\ChoiceLoaderInterface ' )->getMock ();
113+ $ loader = $ this ->getMockBuilder (\ Symfony \Component \Form \ChoiceList \Loader \ChoiceLoaderInterface::class )->getMock ();
114114
115115 $ this ->decoratedFactory ->expects ($ this ->once ())
116116 ->method ('createListFromLoader ' )
@@ -160,7 +160,7 @@ public function testCreateFromChoicesAssumeNullIfValuePropertyPathUnreadable()
160160 // https://github.com/symfony/symfony/issues/5494
161161 public function testCreateFromChoiceLoaderAssumeNullIfValuePropertyPathUnreadable ()
162162 {
163- $ loader = $ this ->getMockBuilder (' Symfony\Component\Form\ChoiceList\Loader\ChoiceLoaderInterface ' )->getMock ();
163+ $ loader = $ this ->getMockBuilder (\ Symfony \Component \Form \ChoiceList \Loader \ChoiceLoaderInterface::class )->getMock ();
164164
165165 $ this ->decoratedFactory ->expects ($ this ->once ())
166166 ->method ('createListFromLoader ' )
@@ -174,7 +174,7 @@ public function testCreateFromChoiceLoaderAssumeNullIfValuePropertyPathUnreadabl
174174
175175 public function testCreateFromLoaderPropertyPathInstance ()
176176 {
177- $ loader = $ this ->getMockBuilder (' Symfony\Component\Form\ChoiceList\Loader\ChoiceLoaderInterface ' )->getMock ();
177+ $ loader = $ this ->getMockBuilder (\ Symfony \Component \Form \ChoiceList \Loader \ChoiceLoaderInterface::class )->getMock ();
178178
179179 $ this ->decoratedFactory ->expects ($ this ->once ())
180180 ->method ('createListFromLoader ' )
@@ -188,7 +188,7 @@ public function testCreateFromLoaderPropertyPathInstance()
188188
189189 public function testCreateViewPreferredChoicesAsPropertyPath ()
190190 {
191- $ list = $ this ->getMockBuilder (' Symfony\Component\Form\ChoiceList\ChoiceListInterface ' )->getMock ();
191+ $ list = $ this ->getMockBuilder (\ Symfony \Component \Form \ChoiceList \ChoiceListInterface::class )->getMock ();
192192
193193 $ this ->decoratedFactory ->expects ($ this ->once ())
194194 ->method ('createView ' )
@@ -202,7 +202,7 @@ public function testCreateViewPreferredChoicesAsPropertyPath()
202202
203203 public function testCreateViewPreferredChoicesAsPropertyPathInstance ()
204204 {
205- $ list = $ this ->getMockBuilder (' Symfony\Component\Form\ChoiceList\ChoiceListInterface ' )->getMock ();
205+ $ list = $ this ->getMockBuilder (\ Symfony \Component \Form \ChoiceList \ChoiceListInterface::class )->getMock ();
206206
207207 $ this ->decoratedFactory ->expects ($ this ->once ())
208208 ->method ('createView ' )
@@ -217,7 +217,7 @@ public function testCreateViewPreferredChoicesAsPropertyPathInstance()
217217 // https://github.com/symfony/symfony/issues/5494
218218 public function testCreateViewAssumeNullIfPreferredChoicesPropertyPathUnreadable ()
219219 {
220- $ list = $ this ->getMockBuilder (' Symfony\Component\Form\ChoiceList\ChoiceListInterface ' )->getMock ();
220+ $ list = $ this ->getMockBuilder (\ Symfony \Component \Form \ChoiceList \ChoiceListInterface::class )->getMock ();
221221
222222 $ this ->decoratedFactory ->expects ($ this ->once ())
223223 ->method ('createView ' )
@@ -231,7 +231,7 @@ public function testCreateViewAssumeNullIfPreferredChoicesPropertyPathUnreadable
231231
232232 public function testCreateViewLabelsAsPropertyPath ()
233233 {
234- $ list = $ this ->getMockBuilder (' Symfony\Component\Form\ChoiceList\ChoiceListInterface ' )->getMock ();
234+ $ list = $ this ->getMockBuilder (\ Symfony \Component \Form \ChoiceList \ChoiceListInterface::class )->getMock ();
235235
236236 $ this ->decoratedFactory ->expects ($ this ->once ())
237237 ->method ('createView ' )
@@ -245,7 +245,7 @@ public function testCreateViewLabelsAsPropertyPath()
245245
246246 public function testCreateViewLabelsAsPropertyPathInstance ()
247247 {
248- $ list = $ this ->getMockBuilder (' Symfony\Component\Form\ChoiceList\ChoiceListInterface ' )->getMock ();
248+ $ list = $ this ->getMockBuilder (\ Symfony \Component \Form \ChoiceList \ChoiceListInterface::class )->getMock ();
249249
250250 $ this ->decoratedFactory ->expects ($ this ->once ())
251251 ->method ('createView ' )
@@ -259,7 +259,7 @@ public function testCreateViewLabelsAsPropertyPathInstance()
259259
260260 public function testCreateViewIndicesAsPropertyPath ()
261261 {
262- $ list = $ this ->getMockBuilder (' Symfony\Component\Form\ChoiceList\ChoiceListInterface ' )->getMock ();
262+ $ list = $ this ->getMockBuilder (\ Symfony \Component \Form \ChoiceList \ChoiceListInterface::class )->getMock ();
263263
264264 $ this ->decoratedFactory ->expects ($ this ->once ())
265265 ->method ('createView ' )
@@ -273,7 +273,7 @@ public function testCreateViewIndicesAsPropertyPath()
273273
274274 public function testCreateViewIndicesAsPropertyPathInstance ()
275275 {
276- $ list = $ this ->getMockBuilder (' Symfony\Component\Form\ChoiceList\ChoiceListInterface ' )->getMock ();
276+ $ list = $ this ->getMockBuilder (\ Symfony \Component \Form \ChoiceList \ChoiceListInterface::class )->getMock ();
277277
278278 $ this ->decoratedFactory ->expects ($ this ->once ())
279279 ->method ('createView ' )
@@ -287,7 +287,7 @@ public function testCreateViewIndicesAsPropertyPathInstance()
287287
288288 public function testCreateViewGroupsAsPropertyPath ()
289289 {
290- $ list = $ this ->getMockBuilder (' Symfony\Component\Form\ChoiceList\ChoiceListInterface ' )->getMock ();
290+ $ list = $ this ->getMockBuilder (\ Symfony \Component \Form \ChoiceList \ChoiceListInterface::class )->getMock ();
291291
292292 $ this ->decoratedFactory ->expects ($ this ->once ())
293293 ->method ('createView ' )
@@ -301,7 +301,7 @@ public function testCreateViewGroupsAsPropertyPath()
301301
302302 public function testCreateViewGroupsAsPropertyPathInstance ()
303303 {
304- $ list = $ this ->getMockBuilder (' Symfony\Component\Form\ChoiceList\ChoiceListInterface ' )->getMock ();
304+ $ list = $ this ->getMockBuilder (\ Symfony \Component \Form \ChoiceList \ChoiceListInterface::class )->getMock ();
305305
306306 $ this ->decoratedFactory ->expects ($ this ->once ())
307307 ->method ('createView ' )
@@ -316,7 +316,7 @@ public function testCreateViewGroupsAsPropertyPathInstance()
316316 // https://github.com/symfony/symfony/issues/5494
317317 public function testCreateViewAssumeNullIfGroupsPropertyPathUnreadable ()
318318 {
319- $ list = $ this ->getMockBuilder (' Symfony\Component\Form\ChoiceList\ChoiceListInterface ' )->getMock ();
319+ $ list = $ this ->getMockBuilder (\ Symfony \Component \Form \ChoiceList \ChoiceListInterface::class )->getMock ();
320320
321321 $ this ->decoratedFactory ->expects ($ this ->once ())
322322 ->method ('createView ' )
@@ -330,7 +330,7 @@ public function testCreateViewAssumeNullIfGroupsPropertyPathUnreadable()
330330
331331 public function testCreateViewAttrAsPropertyPath ()
332332 {
333- $ list = $ this ->getMockBuilder (' Symfony\Component\Form\ChoiceList\ChoiceListInterface ' )->getMock ();
333+ $ list = $ this ->getMockBuilder (\ Symfony \Component \Form \ChoiceList \ChoiceListInterface::class )->getMock ();
334334
335335 $ this ->decoratedFactory ->expects ($ this ->once ())
336336 ->method ('createView ' )
@@ -344,7 +344,7 @@ public function testCreateViewAttrAsPropertyPath()
344344
345345 public function testCreateViewAttrAsPropertyPathInstance ()
346346 {
347- $ list = $ this ->getMockBuilder (' Symfony\Component\Form\ChoiceList\ChoiceListInterface ' )->getMock ();
347+ $ list = $ this ->getMockBuilder (\ Symfony \Component \Form \ChoiceList \ChoiceListInterface::class )->getMock ();
348348
349349 $ this ->decoratedFactory ->expects ($ this ->once ())
350350 ->method ('createView ' )
0 commit comments