Test Setup Failed
Push — master ( 0d3cb5...60ebed )
by Alexander
01:07 queued 27s
created
example/console/config/bootstrap.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
 
14 14
 Yii::$container->set(
15 15
     'Indigerd\Repository\Example\Domain\TableGateway\ArticleTableGateway',
16
-    function () {
16
+    function() {
17 17
         return new \Indigerd\Repository\Example\Domain\TableGateway\ArticleTableGateway(
18 18
             Yii::$app->db,
19 19
             new \Indigerd\Repository\Query\SqlQueryFactory(),
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
 
25 25
 Yii::$container->set(
26 26
     'Indigerd\Repository\Example\Domain\Repository\ArticleRepository',
27
-    function () {
27
+    function() {
28 28
         return new \Indigerd\Repository\Example\Domain\Repository\ArticleRepository(
29 29
             Yii::$container->get('Indigerd\Repository\Example\Domain\TableGateway\ArticleTableGateway'),
30 30
             Yii::$container->get('Indigerd\Hydrator\Hydrator'),
Please login to merge, or discard this patch.
src/RepositoryInterface.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
         int $limit = 0,
28 28
         int $offset = 0,
29 29
         array $with = []
30
-    ): array ;
30
+    ): array;
31 31
 
32 32
     /**
33 33
      * @param string $expression
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
      * @param array $data
76 76
      * @return object
77 77
      */
78
-    public function create(array $data= []): object;
78
+    public function create(array $data = []): object;
79 79
 
80 80
     /**
81 81
      * @param object $entity
Please login to merge, or discard this patch.
src/TableGateway/SqlTableGateway.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
         return $this->getSchema($this->collectionName)->primaryKey;
42 42
     }
43 43
 
44
-    protected function normalizeFields(array $fields =[]): array
44
+    protected function normalizeFields(array $fields = []): array
45 45
     {
46 46
         $result = [];
47 47
         foreach ($fields as $name=>$value) {
Please login to merge, or discard this patch.
src/Rest/RestRepository.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -273,10 +273,10 @@
 block discarded – undo
273 273
         return $e->getResponse()->getBody()->getContents();
274 274
     }
275 275
     
276
-     /**
277
-     * @param array $response
278
-     * @return array
279
-     */
276
+        /**
277
+         * @param array $response
278
+         * @return array
279
+         */
280 280
     public function generateHeaders(array $response): array
281 281
     {
282 282
         $headers = [];
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
      * @param array $data
152 152
      * @return object
153 153
      */
154
-    public function create(array $data= []): object
154
+    public function create(array $data = []): object
155 155
     {
156 156
         throw new \RuntimeException('Not implemented');
157 157
     }
@@ -290,7 +290,7 @@  discard block
 block discarded – undo
290 290
 
291 291
     private function addXRequestIdHeader(): void
292 292
     {
293
-        if (!array_key_exists('X-Request-Id',$this->headers)) {
293
+        if (!array_key_exists('X-Request-Id', $this->headers)) {
294 294
             $this->addHeader('X-Request-Id', uniqid($this->uniqidPrefix, true));
295 295
         }
296 296
     }
Please login to merge, or discard this patch.