Test Failed
Push — feature-laravel-5.4 ( edfc13...468b78 )
by Kirill
03:20
created
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/Console/Commands/GitHubDocsImport.php 1 patch
Spacing   +3 added lines, -3 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
 
@@ -50,10 +50,10 @@  discard block
 block discarded – undo
50 50
         $exists = $this->getDocsCurrentState(...$config->values());
51 51
 
52 52
         $files = $manager->findFiles(...$config->values())
53
-            ->reject(function (DocsStatus $status) use ($exists) {
53
+            ->reject(function(DocsStatus $status) use ($exists) {
54 54
                 return $exists->where('github_hash', $status->getHash())->first();
55 55
             })
56
-            ->each(function (DocsStatus $status) use ($config, $manager) {
56
+            ->each(function(DocsStatus $status) use ($config, $manager) {
57 57
                 $args = $config->values();
58 58
                 $args[] = $status->getPath();
59 59
 
Please login to merge, or discard this patch.