Passed
Push — master ( 47b84a...ae9b8f )
by Alex
02:11
created
Tests/ApplicationUnitTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -207,7 +207,7 @@  discard block
 block discarded – undo
207 207
     {
208 208
         $application = new \Mezon\Application\Application();
209 209
 
210
-        $application->fly = function () {
210
+        $application->fly = function() {
211 211
             return 'OK!';
212 212
         };
213 213
 
@@ -232,7 +232,7 @@  discard block
 block discarded – undo
232 232
         // setup
233 233
         $application = new \Mezon\Application\Application();
234 234
 
235
-        $application->fly = function () {
235
+        $application->fly = function() {
236 236
             return 'OK!';
237 237
         };
238 238
 
Please login to merge, or discard this patch.
Application.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -44,12 +44,12 @@
 block discarded – undo
44 44
         $reflector = new \ReflectionClass(get_class($this));
45 45
         $classPath = dirname($reflector->getFileName());
46 46
 
47
-        if (file_exists($classPath.'/conf/routes.php')) {
48
-            $this->loadRoutesFromConfig($classPath.'/conf/routes.php');
47
+        if (file_exists($classPath . '/conf/routes.php')) {
48
+            $this->loadRoutesFromConfig($classPath . '/conf/routes.php');
49 49
         }
50 50
 
51
-        if (file_exists($classPath.'/conf/routes.json')) {
52
-            $this->loadRoutesFromConfig($classPath.'/conf/routes.json');
51
+        if (file_exists($classPath . '/conf/routes.json')) {
52
+            $this->loadRoutesFromConfig($classPath . '/conf/routes.json');
53 53
         }
54 54
     }
55 55
 
Please login to merge, or discard this patch.