Test Failed
Push — feature-laravel-5.4 ( dbda8c...02b5b6 )
by Kirill
03:30
created
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/Services/ContentRenderer/ContentHeadersRenderer.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\Services\ContentRenderer;
11 11
 
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
     {
61 61
         $this->links = [];
62 62
 
63
-        $this->content = preg_replace_callback('/<(h\d+)>(.*?)<\/h\d+>/isu', function ($data) {
63
+        $this->content = preg_replace_callback('/<(h\d+)>(.*?)<\/h\d+>/isu', function($data) {
64 64
             list($data, $tag, $header) = $data;
65 65
             $id = Str::slug($header);
66 66
 
Please login to merge, or discard this patch.
app/Services/NavMatcher.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;
10 10
 
@@ -63,6 +63,6 @@  discard block
 block discarded – undo
63 63
      */
64 64
     private function isMatched(string $needle): bool
65 65
     {
66
-        return Str::startsWith($this->route->getName(), $needle . '.');
66
+        return Str::startsWith($this->route->getName(), $needle.'.');
67 67
     }
68 68
 }
69 69
\ No newline at end of file
Please login to merge, or discard this patch.
app/Providers/AppServiceProvider.php 1 patch
Spacing   +3 added lines, -3 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\Providers;
12 12
 
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
      */
51 51
     public function boot(): void
52 52
     {
53
-        $this->app->singleton(NavMatcher::class, function (Container $app) {
53
+        $this->app->singleton(NavMatcher::class, function(Container $app) {
54 54
             $route = $app->make(Router::class)->current();
55 55
 
56 56
             return new NavMatcher($route);
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
 
77 77
     private function registerGuzzleClient(): void
78 78
     {
79
-        $this->app->singleton(Guzzle::class, function () {
79
+        $this->app->singleton(Guzzle::class, function() {
80 80
             return new Guzzle();
81 81
         });
82 82
 
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.