Test Failed
Push — develop ( 765eb3...589bc7 )
by Daniel
08:32 queued 03:07
created
src/DataFixtures/AbstractFixture.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
         if (!$skipValidation) {
57 57
             $this->validateEntity($entity);
58 58
         }
59
-        $this->flush($manager, new ArrayCollection([ $entity ]));
59
+        $this->flush($manager, new ArrayCollection([$entity]));
60 60
     }
61 61
 
62 62
     protected function flush(ObjectManager $manager, ?ArrayCollection $entities = null): void
Please login to merge, or discard this patch.
src/DataModifier/CollectionModifier.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
         $originalRequest = $requestStack->getCurrentRequest();
38 38
         $dummyRequest = new Request();
39 39
         $dummyRequest->request->set($this->enabledParameterName, true);
40
-        $dummyRequest->attributes->set('_api_pagination', [ $this->itemsPerPageParameterName => $collectionEntity->getPerPage() ]);
40
+        $dummyRequest->attributes->set('_api_pagination', [$this->itemsPerPageParameterName => $collectionEntity->getPerPage()]);
41 41
         $requestStack->push($dummyRequest);
42 42
         $collection = $dataProvider->getCollection($collectionEntity->getResource(), Request::METHOD_GET, $dataProviderContext);
43 43
         $collectionEntity->setCollection($collection);
Please login to merge, or discard this patch.
src/Entity/User/User.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
 
92 92
     public function __construct(
93 93
         string $username = '',
94
-        array $roles = [ 'ROLE_USER' ],
94
+        array $roles = ['ROLE_USER'],
95 95
         string $password = '',
96 96
         bool $enabled = true
97 97
     ) {
Please login to merge, or discard this patch.