Passed
Push — develop ( 71b03c...334703 )
by Brent
32:34 queued 24:49
created
src/Pageon/Html/Meta/Meta.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -68,6 +68,9 @@  discard block
 block discarded – undo
68 68
         return $this;
69 69
     }
70 70
 
71
+    /**
72
+     * @param string $content
73
+     */
71 74
     public function itemprop(string $name, ?string $content) : Meta {
72 75
         if (!$content) {
73 76
             return $this;
@@ -79,6 +82,9 @@  discard block
 block discarded – undo
79 82
         return $this;
80 83
     }
81 84
 
85
+    /**
86
+     * @param string $content
87
+     */
82 88
     public function property(string $property, ?string $content) : Meta {
83 89
         if (!$content) {
84 90
             return $this;
Please login to merge, or discard this patch.
src/Stitcher/Variable/MarkdownVariable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     {
27 27
         $contents = File::read($this->unparsed);
28 28
 
29
-        if (! $contents) {
29
+        if (!$contents) {
30 30
             throw InvalidConfiguration::fileNotFound($this->unparsed);
31 31
         }
32 32
 
Please login to merge, or discard this patch.
src/Stitcher/Renderer/RendererFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
 
37 37
     private function setTwigRule(): void
38 38
     {
39
-        $this->setRule(TwigRenderer::class, function ($value) {
39
+        $this->setRule(TwigRenderer::class, function($value) {
40 40
             if ($value === 'twig') {
41 41
                 return TwigRenderer::make($this->templateDirectory);
42 42
             }
Please login to merge, or discard this patch.
src/Stitcher/Renderer/TwigRenderer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
     {
13 13
         $fs = new Filesystem();
14 14
 
15
-        if (! $fs->exists($templateDirectory)) {
15
+        if (!$fs->exists($templateDirectory)) {
16 16
             $fs->mkdir($templateDirectory);
17 17
         }
18 18
 
Please login to merge, or discard this patch.
src/Stitcher/File.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
     {
28 28
         $path = self::path($path);
29 29
 
30
-        if (! file_exists(self::path($path))) {
30
+        if (!file_exists(self::path($path))) {
31 31
             return null;
32 32
         }
33 33
 
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
 
39 39
     public static function write(string $path, $content = null): void
40 40
     {
41
-        if (! self::$fs) {
41
+        if (!self::$fs) {
42 42
             self::$fs = new Filesystem();
43 43
         }
44 44
 
Please login to merge, or discard this patch.
src/Pageon/Config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
         foreach ($configurationFiles as $configurationFile) {
68 68
             $loadedFileConfiguration = require $configurationFile;
69 69
 
70
-            if (! is_array($loadedFileConfiguration)) {
70
+            if (!is_array($loadedFileConfiguration)) {
71 71
                 continue;
72 72
             }
73 73
 
Please login to merge, or discard this patch.
src/Stitcher/App.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@
 block discarded – undo
155 155
     {
156 156
         $routeFile = File::path('src/routes.php');
157 157
 
158
-        if (! file_exists($routeFile)) {
158
+        if (!file_exists($routeFile)) {
159 159
             return;
160 160
         }
161 161
 
Please login to merge, or discard this patch.
src/Stitcher/Application/Server.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
 
44 44
     protected function getRequest(): Request
45 45
     {
46
-        if (! $this->request) {
46
+        if (!$this->request) {
47 47
             $this->request = ServerRequest::fromGlobals();
48 48
         }
49 49
 
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
 
62 62
     protected function handleDynamicRoute(): ?Response
63 63
     {
64
-        if (! $this->router) {
64
+        if (!$this->router) {
65 65
             return null;
66 66
         }
67 67
 
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
         try {
74 74
             $response = $this->handleStaticRoute();
75 75
 
76
-            if (! $response) {
76
+            if (!$response) {
77 77
                 $response = $this->handleDynamicRoute();
78 78
             }
79 79
         } catch (StitcherException $e) {
Please login to merge, or discard this patch.
src/Stitcher/Page/Adapter/FilterAdapter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
         array $adapterConfiguration,
20 20
         VariableParser $variableParser
21 21
     ) {
22
-        if (! $this->isValidConfiguration($adapterConfiguration)) {
22
+        if (!$this->isValidConfiguration($adapterConfiguration)) {
23 23
             throw InvalidConfiguration::invalidAdapterConfiguration('filter', '`field`: `filter`');
24 24
         }
25 25
 
Please login to merge, or discard this patch.