Test Failed
Push — feature-laravel-5.4 ( 91d9b6...3f0a47 )
by Kirill
04:00
created
app/Services/GitHub/DocsCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 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\Services\GitHub;
10 10
 
Please login to merge, or discard this patch.
app/Services/GitHub/DocsManagerInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 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\Services\GitHub;
10 10
 
Please login to merge, or discard this patch.
app/Services/GitHub/GitHubConfigRepository.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\Services\GitHub;
10 10
 
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
     public function __construct(Repository $original)
23 23
     {
24 24
         $connection = $original->get('docs.default');
25
-        $config = $original->get('docs.connections.' . $connection);
25
+        $config = $original->get('docs.connections.'.$connection);
26 26
 
27 27
         parent::__construct(array_merge($config, [
28 28
 
Please login to merge, or discard this patch.
app/Services/GitHub/GitHubDocsManager.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\Services\GitHub;
10 10
 
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
         $info = $this->getRepoFilesInfo($org, $repo, $branch);
47 47
 
48 48
         foreach ($info as $page) {
49
-            if (! isset($page['path'], $page['download_url'])) {
49
+            if (!isset($page['path'], $page['download_url'])) {
50 50
                 throw new \RuntimeException('Import failed: "path" or "download_url" arguments required.');
51 51
             }
52 52
 
Please login to merge, or discard this patch.
app/Models/Article/ContentObserver.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
 
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
      */
40 40
     public function saving(Article $article): void
41 41
     {
42
-        if ($article->content_rendered && ! $article->content_source) {
42
+        if ($article->content_rendered && !$article->content_source) {
43 43
             return;
44 44
         }
45 45
 
Please login to merge, or discard this patch.
app/Models/Docs/VersionObserver.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\Docs;
10 10
 
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
      */
23 23
     public function saving(Docs $docs): void
24 24
     {
25
-        if (! $docs->version) {
25
+        if (!$docs->version) {
26 26
             $docs->version = $this->getLatestAvailableVersion();
27 27
         }
28 28
     }
Please login to merge, or discard this patch.
app/Models/Docs.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;
10 10
 
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
     public function getNav(...$level): Collection
60 60
     {
61 61
         return $this->nav->whereIn('level', $level)
62
-            ->map(function (array $data) {
62
+            ->map(function(array $data) {
63 63
                 return (object) $data;
64 64
             });
65 65
     }
Please login to merge, or discard this patch.
app/Views/Composers/NavComposer.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\Views\Composers;
12 12
 
Please login to merge, or discard this patch.
app/Http/Controllers/DocsController.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\Http\Controllers;
12 12
 
Please login to merge, or discard this patch.