Passed
Branch master (b71f3a)
by Brickoo
03:33
created
src/IoC/Resolver/DefinitionResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@
 block discarded – undo
114 114
                 self::TYPE_CLASS => (is_string($dependency) && class_exists($dependency)),
115 115
                 self::TYPE_UNSUPPORTED => true
116 116
             ],
117
-            function($value) {return $value === true;}
117
+            function($value) {return $value === true; }
118 118
         );
119 119
 
120 120
         $types = array_keys($matchingTypes);
Please login to merge, or discard this patch.
src/Routing/Route/RoutePathRegexGenerator.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -118,8 +118,7 @@
 block discarded – undo
118 118
         return str_replace(
119 119
             sprintf($template[self::TEMPLATE_REPLACE_KEY], $parameterName),
120 120
             ($route->hasDefaultValue($parameterName) ?
121
-                sprintf($template[self::TEMPLATE_OPTIONAL_KEY], $parameterName, $route->getRule($parameterName)) :
122
-                sprintf($template[self::TEMPLATE_REQUIRED_KEY], $parameterName, $route->getRule($parameterName))
121
+                sprintf($template[self::TEMPLATE_OPTIONAL_KEY], $parameterName, $route->getRule($parameterName)) : sprintf($template[self::TEMPLATE_REQUIRED_KEY], $parameterName, $route->getRule($parameterName))
123 122
             ),
124 123
             $routePath
125 124
         );
Please login to merge, or discard this patch.
src/Http/HttpStatusCode.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -78,15 +78,15 @@
 block discarded – undo
78 78
     const CODE_HTTP_VERSION_NOT_SUPPORTED = 505;
79 79
 
80 80
             /**
81
-     * Holds the corresponding status code phrases.
82
-     * 1xx: Informational - Request received, continuing process
83
-     * 2xx: Success - The action was successfully received, understood, and accepted
84
-     * 3xx: Redirection - Further action must be taken in order to complete the request
85
-     * 4xx: Client Error - The request contains bad syntax or cannot be fulfilled
86
-     * 5xx: Server Error - The server failed to fulfill an apparently valid request
87
-     * @link http://tools.ietf.org/html/rfc2616#page-40
88
-     * @var array
89
-     */
81
+             * Holds the corresponding status code phrases.
82
+             * 1xx: Informational - Request received, continuing process
83
+             * 2xx: Success - The action was successfully received, understood, and accepted
84
+             * 3xx: Redirection - Further action must be taken in order to complete the request
85
+             * 4xx: Client Error - The request contains bad syntax or cannot be fulfilled
86
+             * 5xx: Server Error - The server failed to fulfill an apparently valid request
87
+             * @link http://tools.ietf.org/html/rfc2616#page-40
88
+             * @var array
89
+             */
90 90
     protected $statusPhrases = [
91 91
         self::CODE_CONTINUE => "Continue",
92 92
         self::CODE_SWITCHING_PROTOCOLS => "Switching Protocols",
Please login to merge, or discard this patch.
src/Http/HttpRequest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -132,4 +132,4 @@
 block discarded – undo
132 132
         return $request;
133 133
     }
134 134
 
135
- }
135
+    }
Please login to merge, or discard this patch.
src/Http/Uri.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -135,4 +135,4 @@
 block discarded – undo
135 135
         return  $uriParts.$this->getPath().$queryString.$fragment;
136 136
     }
137 137
 
138
- }
138
+    }
Please login to merge, or discard this patch.