Completed
Push — prototype ( d6018b...942ea2 )
by Peter
03:41
created
library/WebinoAppLib/Application/Traits/ServicesTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@
 block discarded – undo
112 112
      */
113 113
     private function setService($service)
114 114
     {
115
-        call_user_func([$this, 'set' . $service], $this->services->get($service), false);
115
+        call_user_func([$this, 'set'.$service], $this->services->get($service), false);
116 116
     }
117 117
 
118 118
     /**
Please login to merge, or discard this patch.
library/WebinoAppLib/Application/Traits/ConfigTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@
 block discarded – undo
104 104
      */
105 105
     public function onConfig(callable $callback)
106 106
     {
107
-        $this->bind(AppEvent::CONFIGURE, function (AppEvent $event) use ($callback) {
107
+        $this->bind(AppEvent::CONFIGURE, function(AppEvent $event) use ($callback) {
108 108
             $event->getApp()->setConfig(call_user_func($callback));
109 109
         });
110 110
     }
Please login to merge, or discard this patch.
library/WebinoAppLib/Application/AbstractBaseApplication.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
 
26 26
         return $this->internalBootstrap(
27 27
             $this->getServices()->get($this::BOOTSTRAP),
28
-            function () {
28
+            function() {
29 29
                 $this->emit(AppEvent::BOOTSTRAP, $this);
30 30
             }
31 31
         );
Please login to merge, or discard this patch.
library/WebinoAppLib/Module/AbstractModule.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
         $modules = $app->get(Modules::class);
20 20
         $modules->loadModules($this->getDependencies());
21 21
 
22
-        $app->onConfig(function () {
22
+        $app->onConfig(function() {
23 23
             return $this->getConfig();
24 24
         });
25 25
 
Please login to merge, or discard this patch.
library/WebinoAppLib/Listener/AbstractRoutingListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
         $routeEvent->setEventParam(AbstractRouteEvent::ROUTE_MATCH, $routeMatch);
44 44
 
45 45
         // binding to a route match to emit matched route event
46
-        $app->bind(AbstractRouteEvent::MATCH, function (AbstractRouteEvent $event) use ($app, $routeMatch) {
46
+        $app->bind(AbstractRouteEvent::MATCH, function(AbstractRouteEvent $event) use ($app, $routeMatch) {
47 47
             $routeEvent = clone $event;
48 48
             $routeEvent->setName($routeMatch->getMatchedRouteName());
49 49
 
Please login to merge, or discard this patch.
library/WebinoAppLib/Includes/Pipe.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,5 +10,5 @@
 block discarded – undo
10 10
     /**
11 11
      * Path to the public asynchronous pipe file
12 12
      */
13
-    const FILE = __DIR__ . '/../../../inc/pipe.php';
13
+    const FILE = __DIR__.'/../../../inc/pipe.php';
14 14
 }
Please login to merge, or discard this patch.
library/WebinoAppLib/Includes/Index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,5 +10,5 @@
 block discarded – undo
10 10
     /**
11 11
      * Path to the public entry point file
12 12
      */
13
-    const FILE = __DIR__ . '/../../../inc/index.php';
13
+    const FILE = __DIR__.'/../../../inc/index.php';
14 14
 }
Please login to merge, or discard this patch.
library/WebinoAppLib/Response/Content/SourcePreview.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     public function __toString()
29 29
     {
30 30
         return sprintf(
31
-            file_get_contents(__DIR__ . '/resources/source-preview.html'),
31
+            file_get_contents(__DIR__.'/resources/source-preview.html'),
32 32
             highlight_file($this->path, true)
33 33
         );
34 34
     }
Please login to merge, or discard this patch.
library/WebinoAppLib/Response/ViewResponse.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
         $renderer->render($doc, $cfg);
128 128
 
129 129
         // TODO concept
130
-        $app->bind(SendResponseEvent::class, function () use ($doc, $event) {
130
+        $app->bind(SendResponseEvent::class, function() use ($doc, $event) {
131 131
 
132 132
             /** @var \Zend\Http\PhpEnvironment\Request $request */
133 133
             $request = $event->getRequest();
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
                 // TODO exception
160 160
                 throw new \RuntimeException('Required ajax fragment element id');
161 161
             }
162
-            $data['fragments']['#' . $id] = $node->getOuterHtml();
162
+            $data['fragments']['#'.$id] = $node->getOuterHtml();
163 163
         }
164 164
         return $data;
165 165
     }
Please login to merge, or discard this patch.