Completed
Push — prototype ( 9dff07...0f98b2 )
by Peter
02:59
created
library/WebinoAppLib/Event/DispatchEvent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
         }
78 78
 
79 79
         $_response = $this->getResponse();
80
-        $_response->setContent($_response->getContent() . $this->normalizeResponseContent($response));
80
+        $_response->setContent($_response->getContent().$this->normalizeResponseContent($response));
81 81
         return $this;
82 82
     }
83 83
 
Please login to merge, or discard this patch.
library/WebinoAppLib/Service/Console.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -639,7 +639,7 @@
 block discarded – undo
639 639
      */
640 640
     public function sp($count = 1)
641 641
     {
642
-        for ($i=0; $i < $count; $i++) {
642
+        for ($i = 0; $i < $count; $i++) {
643 643
             $this->engine->inline(' ');
644 644
         }
645 645
         return $this;
Please login to merge, or discard this patch.
library/WebinoHtmlLib/Html/AbstractHtml.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
         $styleData = [];
87 87
 
88 88
         if (!empty($this->attribs['style'])) {
89
-            call_user_func(function () use (&$styleData) {
89
+            call_user_func(function() use (&$styleData) {
90 90
                 foreach (explode(';', $this->attribs['style']) as $pair) {
91 91
                     list($name, $value) = explode(':', $pair);
92 92
                     $styleData[trim($name)] = trim($value);
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
 
109 109
         $stylePairs = [];
110 110
         foreach ($styleData as $name => $value) {
111
-            $stylePairs[] = $name . ': ' . $value;
111
+            $stylePairs[] = $name.': '.$value;
112 112
         }
113 113
 
114 114
         $this->setAttribute('style', join('; ', $stylePairs));
Please login to merge, or discard this patch.
library/WebinoHtmlLib/Html/HeightStyleTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      */
25 25
     public function setHeight($height, $units = 'px')
26 26
     {
27
-        $this->setStyle(['height' => $height . $units]);
27
+        $this->setStyle(['height' => $height.$units]);
28 28
         return $this;
29 29
     }
30 30
 }
Please login to merge, or discard this patch.
library/WebinoExamplesLib/Html/ConsolePreview.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,12 +30,12 @@
 block discarded – undo
30 30
                 'position' => 'absolute',
31 31
                 'left' => '1px',
32 32
                 'top' => '1px',
33
-                'margin' => 0 ,
33
+                'margin' => 0,
34 34
                 'padding' => '8px',
35 35
                 'background' => 'white',
36 36
             ]);
37 37
 
38
-        parent::__construct(new Html\Html($label . new Html\Img($imgSrc)));
38
+        parent::__construct(new Html\Html($label.new Html\Img($imgSrc)));
39 39
 
40 40
         $this->setStyle([
41 41
             'position'   => 'relative',
Please login to merge, or discard this patch.
examples/simple/public/console-checkboxes/index.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
 use WebinoExamplesLib\Html\ConsolePreview;
14 14
 use WebinoHtmlLib\Html;
15 15
 
16
-require __DIR__ . '/../../vendor/autoload.php';
16
+require __DIR__.'/../../vendor/autoload.php';
17 17
 
18 18
 class MyConsoleCommand extends AbstractConsoleCommand
19 19
 {
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
 
45 45
 $app = Webino::application($config)->bootstrap();
46 46
 
47
-$app->bind(DefaultRoute::class, function (RouteEvent $event) {
47
+$app->bind(DefaultRoute::class, function(RouteEvent $event) {
48 48
     $event->setResponse([
49 49
         new Html\Text('Use Command Line Interface!'),
50 50
         new ConsolePreview('preview.gif'),
Please login to merge, or discard this patch.
examples/simple/public/service-factory-config-override/index.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
 use WebinoAppLib\Response\Content\SourcePreview;
11 11
 use WebinoAppLib\Router\DefaultRoute;
12 12
 
13
-require __DIR__ . '/../../vendor/autoload.php';
13
+require __DIR__.'/../../vendor/autoload.php';
14 14
 
15 15
 /**
16 16
  * Example service dependency
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
 
71 71
 $app = Webino::application($config)->bootstrap();
72 72
 
73
-$app->bind(DefaultRoute::class, function (RouteEvent $event) {
73
+$app->bind(DefaultRoute::class, function(RouteEvent $event) {
74 74
     /**
75 75
      * Obtaining service
76 76
      * instance.
Please login to merge, or discard this patch.
examples/simple/public/console-radio-assoc/index.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
 use WebinoExamplesLib\Html\ConsolePreview;
14 14
 use WebinoHtmlLib\Html;
15 15
 
16
-require __DIR__ . '/../../vendor/autoload.php';
16
+require __DIR__.'/../../vendor/autoload.php';
17 17
 
18 18
 class MyConsoleCommand extends AbstractConsoleCommand
19 19
 {
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
 
45 45
 $app = Webino::application($config)->bootstrap();
46 46
 
47
-$app->bind(DefaultRoute::class, function (RouteEvent $event) {
47
+$app->bind(DefaultRoute::class, function(RouteEvent $event) {
48 48
     $event->setResponse([
49 49
         new Html\Text('Use Command Line Interface!'),
50 50
         new ConsolePreview('preview.gif'),
Please login to merge, or discard this patch.
examples/simple/public/console-input-default/index.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
 use WebinoExamplesLib\Html\ConsolePreview;
14 14
 use WebinoHtmlLib\Html;
15 15
 
16
-require __DIR__ . '/../../vendor/autoload.php';
16
+require __DIR__.'/../../vendor/autoload.php';
17 17
 
18 18
 class MyConsoleCommand extends AbstractConsoleCommand
19 19
 {
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
 
45 45
 $app = Webino::application($config)->bootstrap();
46 46
 
47
-$app->bind(DefaultRoute::class, function (RouteEvent $event) {
47
+$app->bind(DefaultRoute::class, function(RouteEvent $event) {
48 48
     $event->setResponse([
49 49
         new Html\Text('Use Command Line Interface!'),
50 50
         new ConsolePreview('preview.gif'),
Please login to merge, or discard this patch.