Completed
Push — prototype ( 9dff07...0f98b2 )
by Peter
02:59
created
examples/simple/public/config-log-custom/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,1 +1,1 @@
 block discarded – undo
1
-<?php require __DIR__ . '/../logger-custom/index.php';
1
+<?php require __DIR__.'/../logger-custom/index.php';
Please login to merge, or discard this patch.
examples/simple/public/modules-dependencies/index.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
 use WebinoAppLib\Response\Content\SourcePreview;
13 13
 use WebinoAppLib\Router\DefaultRoute;
14 14
 
15
-require __DIR__ . '/../../vendor/autoload.php';
15
+require __DIR__.'/../../vendor/autoload.php';
16 16
 
17 17
 /**
18 18
  * Custom base module
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
          * Binding to default route
48 48
          * from the custom module.
49 49
          */
50
-        $app->bind(DefaultRoute::class, function (RouteEvent $event) {
50
+        $app->bind(DefaultRoute::class, function(RouteEvent $event) {
51 51
             /**
52 52
              * Obtaining custom
53 53
              * module service.
Please login to merge, or discard this patch.
examples/simple/public/config-service-factory/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,1 +1,1 @@
 block discarded – undo
1
-<?php require __DIR__ . '/../service-factory-config/index.php';
1
+<?php require __DIR__.'/../service-factory-config/index.php';
Please login to merge, or discard this patch.
examples/simple/public/mail-config-TODO/index.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
 use WebinoConfigLib\Feature\SmtpMailer;
12 12
 use WebinoConfigLib\Feature\Route;
13 13
 
14
-require __DIR__ . '/../../vendor/autoload.php';
14
+require __DIR__.'/../../vendor/autoload.php';
15 15
 
16 16
 $config = Webino::config([
17 17
     /**
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
 
30 30
 $app = Webino::application($config)->bootstrap();
31 31
 
32
-$app->bind(DefaultRoute::class, function (RouteEvent $event) {
32
+$app->bind(DefaultRoute::class, function(RouteEvent $event) {
33 33
 
34 34
     // TODO message config
35 35
     $event->getApp()->mail()->getMessage()->setFrom('[email protected]');
Please login to merge, or discard this patch.
examples/simple/public/service-factory-object/index.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
 use WebinoAppLib\Response\Content\SourcePreview;
12 12
 use WebinoAppLib\Router\DefaultRoute;
13 13
 
14
-require __DIR__ . '/../../vendor/autoload.php';
14
+require __DIR__.'/../../vendor/autoload.php';
15 15
 
16 16
 /**
17 17
  * Custom service
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
  */
49 49
 $app->set(MyService::class, new MyServiceFactory);
50 50
 
51
-$app->bind(DefaultRoute::class, function (RouteEvent $event) {
51
+$app->bind(DefaultRoute::class, function(RouteEvent $event) {
52 52
     /**
53 53
      * Obtaining service
54 54
      * instance.
Please login to merge, or discard this patch.
examples/simple/public/view-component-counter-ajax/index.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
 use WebinoViewLib\Feature\CommonView;
16 16
 use WebinoViewLib\Feature\NodeView;
17 17
 
18
-require __DIR__ . '/../../vendor/autoload.php';
18
+require __DIR__.'/../../vendor/autoload.php';
19 19
 
20 20
 /**
21 21
  * Custom view component
@@ -54,11 +54,11 @@  discard block
 block discarded – undo
54 54
         $event->getNode('display')
55 55
             ->setValue($this->getState()->count);
56 56
 
57
-        $this->onStateChange('plus', function () {
57
+        $this->onStateChange('plus', function() {
58 58
             $this->getState()->count++;
59 59
         });
60 60
 
61
-        $this->onStateChange('minus', function () {
61
+        $this->onStateChange('minus', function() {
62 62
             $this->getState()->count--;
63 63
         });
64 64
     }
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
 
81 81
 $app = Webino::application($config)->bootstrap();
82 82
 
83
-$app->bind(DefaultRoute::class, function (RouteEvent $event) {
83
+$app->bind(DefaultRoute::class, function(RouteEvent $event) {
84 84
     $event->setResponse(new ViewResponse);
85 85
 });
86 86
 
Please login to merge, or discard this patch.
examples/skeleton-application/config/application.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
 //    new ConfigFeature\ConfigCacheEnabled,
36 36
     new AppFeature\FilesystemCache,
37 37
 
38
-    ['responseText' => 'Random: ' . rand(9, 9999)],
38
+    ['responseText' => 'Random: '.rand(9, 9999)],
39 39
 
40 40
     new AppFeature\CoreListener(MyCoreListener::class),
41 41
 
Please login to merge, or discard this patch.
library/WebinoAppLib/Service/Bootstrap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      */
43 43
     private function getCacheKey()
44 44
     {
45
-        return $this::CACHE_KEY . '_' . $this->cacheKey;
45
+        return $this::CACHE_KEY.'_'.$this->cacheKey;
46 46
     }
47 47
 
48 48
     /**
Please login to merge, or discard this patch.
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.