Test Failed
Push — feature-laravel-5.4 ( 89a18e...6715ec )
by Kirill
04:11
created
app/Providers/DateTimeServiceProvider.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\Providers;
12 12
 
Please login to merge, or discard this patch.
app/Providers/EnumsServiceProvider.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\Providers;
12 12
 
Please login to merge, or discard this patch.
app/Providers/NavigationServiceProvider.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\Providers;
11 11
 
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
      */
26 26
     public function boot(): void
27 27
     {
28
-        $this->app->singleton(NavMatcher::class, function (Container $app) {
28
+        $this->app->singleton(NavMatcher::class, function(Container $app) {
29 29
             $route = $this->route($app->make(Router::class));
30 30
 
31 31
             return new NavMatcher($route);
Please login to merge, or discard this patch.
app/Providers/ColorGeneratorServiceProvider.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\Providers;
12 12
 
Please login to merge, or discard this patch.
app/Providers/AppServiceProvider.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\Providers;
12 12
 
Please login to merge, or discard this patch.
app/Models/DocsPage/SlugObserver.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
4 4
  * For the full copyright and license information, please view the LICENSE
5 5
  * file that was distributed with this source code.
6 6
  */
7
-declare(strict_types=1);
7
+declare(strict_types = 1);
8 8
 
9 9
 namespace App\Models\DocsPage;
10 10
 
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
      */
22 22
     public function saving(DocsPage $page): void
23 23
     {
24
-        if (! $page->slug) {
24
+        if (!$page->slug) {
25 25
             $page->slug = Str::slug($page->title);
26 26
         }
27 27
     }
Please login to merge, or discard this patch.
app/Console/Commands/ArticlesImport.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
     }
107 107
 
108 108
     /**
109
-     * @return \Generator|Article[]
109
+     * @return \Generator
110 110
      */
111 111
     private function getLatestBotArticles(): \Generator
112 112
     {
Please login to merge, or discard this 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\Console\Commands;
11 11
 
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
     private function getLatestBotArticles(): \Generator
112 112
     {
113 113
         $bots = Bot::query()
114
-            ->with(['articles' => function (MorphMany $relation) {
114
+            ->with(['articles' => function(MorphMany $relation) {
115 115
                 return $relation->latest('published_at')->take(1);
116 116
             }])
117 117
             ->get();
Please login to merge, or discard this patch.
app/Models/DocsPage/ContentObserver.php 2 patches
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\DocsPage;
11 11
 
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 namespace App\Models\DocsPage;
11 11
 
12 12
 use App\Models\DocsPage;
13
-
14 13
 use Service\ContentRenderer\Anchors\Parser;
15 14
 use Service\ContentRenderer\RenderersRepository;
16 15
 use Service\ContentRenderer\Anchors\ProcessedBody;
Please login to merge, or discard this patch.
app/Jobs/UploadAvatarProcess.php 1 patch
Spacing   +5 added lines, -5 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\Jobs;
12 12
 
@@ -56,14 +56,14 @@  discard block
 block discarded – undo
56 56
      */
57 57
     public function handle(ImageManager $manager, Storage $fs, LoggerInterface $logger): void
58 58
     {
59
-        $fulfilled = function (string $path) use ($logger) {
59
+        $fulfilled = function(string $path) use ($logger) {
60 60
             $this->user->avatar = $path;
61 61
             $this->user->save();
62 62
 
63
-            $logger->info('Queue: Update avatar for user ' . $this->user->name);
63
+            $logger->info('Queue: Update avatar for user '.$this->user->name);
64 64
         };
65 65
 
66
-        $rejected = function (\Throwable $error) use ($logger) {
66
+        $rejected = function(\Throwable $error) use ($logger) {
67 67
             $logger->error($error);
68 68
         };
69 69
 
@@ -79,6 +79,6 @@  discard block
 block discarded – undo
79 79
      */
80 80
     public static function avatarPathname(): string
81 81
     {
82
-        return resource_path('images/avatars/' . random_int(1, 4));
82
+        return resource_path('images/avatars/'.random_int(1, 4));
83 83
     }
84 84
 }
Please login to merge, or discard this patch.