Test Failed
Push — feature-laravel-5.4 ( 1c0ad8...11ab58 )
by Kirill
04:08
created
app/Models/Article/SlugObserver.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\Models\Article;
12 12
 
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
      */
24 24
     public function creating(Article $article)
25 25
     {
26
-        $article->slug = Str::slug($article->title) . '-' . ($this->getElementsLastId() + 1);
26
+        $article->slug = Str::slug($article->title).'-'.($this->getElementsLastId() + 1);
27 27
     }
28 28
 
29 29
     /**
Please login to merge, or discard this patch.
app/Models/Tag.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\Models;
12 12
 
Please login to merge, or discard this patch.
app/Models/User/EmailConfirmationObserver.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@  discard block
 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\Models\User;
11 11
 
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
      */
39 39
     public function created(User $user)
40 40
     {
41
-        if (! $user->is_confirmed) {
41
+        if (!$user->is_confirmed) {
42 42
             $confirmation = new ConfirmEmailNotification($user, $this->jwt);
43 43
 
44 44
             $user->notify($confirmation);
Please login to merge, or discard this patch.
app/Models/User/AvatarUploaderObserver.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\Models\User;
11 11
 
Please login to merge, or discard this patch.
app/Models/Tag/ColorObserver.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\Models\Tag;
12 12
 
Please login to merge, or discard this patch.
app/Services/ColorGenerator.php 1 patch
Spacing   +4 added lines, -4 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;
12 12
 
@@ -22,9 +22,9 @@  discard block
 block discarded – undo
22 22
      */
23 23
     public function make(bool $withPrefix = true): string
24 24
     {
25
-        return ($withPrefix ? '#' : '') .
26
-            strtolower(sprintf('%02X', $this->createDarkColor())) .
27
-            strtolower(sprintf('%02X', $this->createDarkColor())) .
25
+        return ($withPrefix ? '#' : '').
26
+            strtolower(sprintf('%02X', $this->createDarkColor())).
27
+            strtolower(sprintf('%02X', $this->createDarkColor())).
28 28
             strtolower(sprintf('%02X', $this->createDarkColor()));
29 29
     }
30 30
 
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.