Test Failed
Push — feature-laravel-5.4 ( 43bafb...e7f3fd )
by Kirill
42:21
created
app/Console/Commands/GitHubDocsSync.php 1 patch
Spacing   +5 added lines, -5 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
 
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
                 |--------------------------------------------------------------------------
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
                 $updateRequired = $repo->pages->where('hash', $file->getHash())->isEmpty();
66 66
 
67 67
                 if (!$updateRequired) {
68
-                    $this->comment($prefix . ' has no available updates.');
68
+                    $this->comment($prefix.' has no available updates.');
69 69
                     continue;
70 70
                 }
71 71
 
@@ -77,10 +77,10 @@  discard block
 block discarded – undo
77 77
                 $page = $repo->pages->where('identify', $file->getId())->first();
78 78
 
79 79
 
80
-                $message = $prefix . ' found. Updating sources...';
80
+                $message = $prefix.' found. Updating sources...';
81 81
 
82 82
                 if ($page === null) {
83
-                    $message = $prefix . ' not exists. Uploading new...';
83
+                    $message = $prefix.' not exists. Uploading new...';
84 84
                     $page    = new DocsPage(['identify' => $file->getId()]);
85 85
                 }
86 86
 
Please login to merge, or discard this patch.