Test Failed
Pull Request — feature-laravel-5.4 (#50)
by Kirill
06:20 queued 03:13
created
app/Services/ImageUploader/Resolvers/GravatarResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace App\Services\ImageUploader\Resolvers;
11 11
 
Please login to merge, or discard this patch.
app/Services/ImageUploader/Support/ImageUploaderEvents.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace App\Services\ImageUploader\Support;
11 11
 
Please login to merge, or discard this patch.
app/Services/ImageUploader/ImageUploader.php 2 patches
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -172,7 +172,7 @@
 block discarded – undo
172 172
     private function removeTemporaryFileOrFail(string $temporaryFilename): bool
173 173
     {
174 174
         if (! $this->removeTemporaryFile($temporaryFilename)) {
175
-            throw new FileException("Can not remove temporary file ${temporaryFilename}.");
175
+            throw new FileException("Can not remove temporary file ${temporaryfilename}.");
176 176
         }
177 177
 
178 178
         return true;
Please login to merge, or discard this patch.
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@  discard block
 block discarded – undo
6 6
  * For the full copyright and license information, please view the LICENSE
7 7
  * file that was distributed with this source code.
8 8
  */
9
-declare(strict_types=1);
9
+declare(strict_types = 1);
10 10
 
11 11
 namespace App\Services\ImageUploader;
12 12
 
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
      * @param  int|null                                    $height
67 67
      * @return $this|AvatarUploader|ImageUploaderInterface
68 68
      */
69
-    public function withSize(?int $width, ?int $height): ImageUploaderInterface
69
+    public function withSize(? int $width, ? int $height) : ImageUploaderInterface
70 70
     {
71 71
         [$this->width, $this->height] = [$width, $height];
72 72
 
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
      */
110 110
     private function getStorageFilename(): string
111 111
     {
112
-        return storage_path(static::TEMP_PATH . '/' . $this->createRandomName());
112
+        return storage_path(static::TEMP_PATH.'/'.$this->createRandomName());
113 113
     }
114 114
 
115 115
     /**
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
      */
118 118
     private function createRandomName(): string
119 119
     {
120
-        return md5(random_int(0, PHP_INT_MAX) . microtime());
120
+        return md5(random_int(0, PHP_INT_MAX).microtime());
121 121
     }
122 122
 
123 123
     /**
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
 
145 145
         $this->fireBefore($image);
146 146
 
147
-        $image->resize($this->width, null, function (Constraint $constraint) {
147
+        $image->resize($this->width, null, function(Constraint $constraint) {
148 148
             $constraint->aspectRatio();
149 149
             $constraint->upsize();
150 150
         });
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
      */
168 168
     private function removeTemporaryFileOrFail(string $temporaryFilename): bool
169 169
     {
170
-        if (! $this->removeTemporaryFile($temporaryFilename)) {
170
+        if (!$this->removeTemporaryFile($temporaryFilename)) {
171 171
             throw new FileException("Can not remove temporary file ${temporaryFilename}.");
172 172
         }
173 173
 
@@ -180,6 +180,6 @@  discard block
 block discarded – undo
180 180
      */
181 181
     private function removeTemporaryFile(string $temporaryFilename): bool
182 182
     {
183
-        return @unlink($temporaryFilename) || ! is_file($temporaryFilename);
183
+        return @unlink($temporaryFilename) || !is_file($temporaryFilename);
184 184
     }
185 185
 }
Please login to merge, or discard this patch.
app/Console/Kernel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
  * For the full copyright and license information, please view the LICENSE
7 7
  * file that was distributed with this source code.
8 8
  */
9
-declare(strict_types=1);
9
+declare(strict_types = 1);
10 10
 
11 11
 namespace App\Console;
12 12
 
Please login to merge, or discard this patch.
app/GraphQL/Queries/TagsQuery.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
  * For the full copyright and license information, please view the LICENSE
7 7
  * file that was distributed with this source code.
8 8
  */
9
-declare(strict_types=1);
9
+declare(strict_types = 1);
10 10
 
11 11
 namespace App\GraphQL\Queries;
12 12
 
Please login to merge, or discard this patch.
app/GraphQL/Queries/Support/QueryLimit.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
  * For the full copyright and license information, please view the LICENSE
7 7
  * file that was distributed with this source code.
8 8
  */
9
-declare(strict_types=1);
9
+declare(strict_types = 1);
10 10
 
11 11
 namespace App\GraphQL\Queries\Support;
12 12
 
Please login to merge, or discard this patch.
app/GraphQL/Serializers/UserSerializer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
  * For the full copyright and license information, please view the LICENSE
7 7
  * file that was distributed with this source code.
8 8
  */
9
-declare(strict_types=1);
9
+declare(strict_types = 1);
10 10
 
11 11
 namespace App\GraphQL\Serializers;
12 12
 
Please login to merge, or discard this patch.
app/GraphQL/Serializers/AbstractSerializer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@  discard block
 block discarded – undo
6 6
  * For the full copyright and license information, please view the LICENSE
7 7
  * file that was distributed with this source code.
8 8
  */
9
-declare(strict_types=1);
9
+declare(strict_types = 1);
10 10
 
11 11
 namespace App\GraphQL\Serializers;
12 12
 
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
      */
44 44
     public static function map(): \Closure
45 45
     {
46
-        return function (Model $model) {
46
+        return function(Model $model) {
47 47
             return static::serialize($model);
48 48
         };
49 49
     }
Please login to merge, or discard this patch.
app/GraphQL/Kernel/EnumInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace App\GraphQL\Kernel;
11 11
 
Please login to merge, or discard this patch.