Test Failed
Push — feature-laravel-5.4 ( 1c0ad8...11ab58 )
by Kirill
04:08
created
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/Console/Commands/GitHubDocsSync.php 1 patch
Spacing   +6 added lines, -6 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
 
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
             $config = $importer->config($repo->importer_config);
56 56
 
57 57
             foreach ($importer->files($config) as $file) {
58
-                $prefix = '[' . $repo->title . ']::' . $file->getRoute();
58
+                $prefix = '['.$repo->title.']::'.$file->getRoute();
59 59
 
60 60
                 /*
61 61
                 |--------------------------------------------------------------------------
@@ -64,8 +64,8 @@  discard block
 block discarded – undo
64 64
                 */
65 65
                 $updateRequired = $repo->pages->where('hash', $file->getHash())->isEmpty();
66 66
 
67
-                if (! $updateRequired) {
68
-                    $this->comment($prefix . ' has no available updates.');
67
+                if (!$updateRequired) {
68
+                    $this->comment($prefix.' has no available updates.');
69 69
                     continue;
70 70
                 }
71 71
 
@@ -76,10 +76,10 @@  discard block
 block discarded – undo
76 76
                 */
77 77
                 $page = $repo->pages->where('identify', $file->getId())->first();
78 78
 
79
-                $message = $prefix . ' found. Updating sources...';
79
+                $message = $prefix.' found. Updating sources...';
80 80
 
81 81
                 if ($page === null) {
82
-                    $message = $prefix . ' not exists. Uploading new...';
82
+                    $message = $prefix.' not exists. Uploading new...';
83 83
                     $page = new DocsPage(['identify' => $file->getId()]);
84 84
                 }
85 85
 
Please login to merge, or discard this patch.
app/Models/User/GravatarSupport.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
 
31 31
     /**
32 32
      * @param string $avatar
33
-     * @return UpdatableAvatar
33
+     * @return GravatarSupport
34 34
      */
35 35
     public function updateAvatar(string $avatar): UpdatableAvatar
36 36
     {
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,11 +56,11 @@  discard block
 block discarded – undo
56 56
      */
57 57
     public function handle(ImageManager $manager, Storage $fs, LoggerInterface $logger): void
58 58
     {
59
-        $fulfilled = function (User $user) use ($logger) {
60
-            $logger->info('Queue: Update avatar for user ' . $user->name);
59
+        $fulfilled = function(User $user) use ($logger) {
60
+            $logger->info('Queue: Update avatar for user '.$user->name);
61 61
         };
62 62
 
63
-        $rejected = function (\Throwable $error) use ($logger) {
63
+        $rejected = function(\Throwable $error) use ($logger) {
64 64
             $logger->error($error);
65 65
         };
66 66
 
@@ -76,6 +76,6 @@  discard block
 block discarded – undo
76 76
      */
77 77
     public static function avatarPathname(): string
78 78
     {
79
-        return resource_path('images/avatars/' . random_int(1, 4));
79
+        return resource_path('images/avatars/'.random_int(1, 4));
80 80
     }
81 81
 }
Please login to merge, or discard this patch.