Completed
Push — prototype ( 9dff07...0f98b2 )
by Peter
02:59
created
examples/simple/public/logger-filters-regex/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 WebinoExamplesLib\Html\FieldSetScrollBox;
11 11
 use WebinoConfigLib\Feature\Log;
12 12
 
13
-require __DIR__ . '/../../vendor/autoload.php';
13
+require __DIR__.'/../../vendor/autoload.php';
14 14
 
15 15
 /**
16 16
  * Example logs
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
 $app->log()->alert('Test alert log message!');
42 42
 $app->log()->emergency('Test emergency log message!');
43 43
 
44
-$app->bind(DefaultRoute::class, function (RouteEvent $event) {
44
+$app->bind(DefaultRoute::class, function(RouteEvent $event) {
45 45
     /**
46 46
      * Obtaining log
47 47
      * files contents.
Please login to merge, or discard this patch.
examples/simple/public/console-progress-manually/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-json/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
 {
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
 
54 54
 $app = Webino::application($config)->bootstrap();
55 55
 
56
-$app->bind(DefaultRoute::class, function (RouteEvent $event) {
56
+$app->bind(DefaultRoute::class, function(RouteEvent $event) {
57 57
     $event->setResponse([
58 58
         new Html\Text('Use Command Line Interface!'),
59 59
         new ConsolePreview('preview.jpg'),
Please login to merge, or discard this patch.
examples/simple/public/console-input/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/events-bind-app-bootstrap-config/index.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
 use WebinoAppLib\Router\DefaultRoute;
12 12
 use WebinoEventLib\AbstractListener;
13 13
 
14
-require __DIR__ . '/../../vendor/autoload.php';
14
+require __DIR__.'/../../vendor/autoload.php';
15 15
 
16 16
 /**
17 17
  * Custom listener
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
          * Binding to
27 27
          * app bootstrap.
28 28
          */
29
-        $this->listen(AppEvent::BOOTSTRAP, function (AppEvent $event) {
29
+        $this->listen(AppEvent::BOOTSTRAP, function(AppEvent $event) {
30 30
             $event->getApp()->set($this::RESPONSE_TEXT, 'Hello Webino!');
31 31
         });
32 32
     }
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
 
43 43
 $app = Webino::application($config)->bootstrap();
44 44
 
45
-$app->bind(DefaultRoute::class, function (RouteEvent $event) {
45
+$app->bind(DefaultRoute::class, function(RouteEvent $event) {
46 46
     $event->setResponse([
47 47
         $event->getApp()->get(MyListener::RESPONSE_TEXT),
48 48
         new SourcePreview(__FILE__),
Please login to merge, or discard this patch.
examples/simple/public/console-radio/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-table/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
 {
@@ -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([
85 85
         new Html\Text('Use Command Line Interface!'),
86 86
         (new ConsolePreview('preview.jpg'))->setHeight(400),
Please login to merge, or discard this patch.
examples/simple/public/console-password/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/view-credits/index.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
 use WebinoViewLib\Feature\CommonView;
19 19
 use WebinoViewLib\Feature\NodeView;
20 20
 
21
-require __DIR__ . '/../../vendor/autoload.php';
21
+require __DIR__.'/../../vendor/autoload.php';
22 22
 
23 23
 class CreditsComponent extends AbstractViewComponent implements OnDispatchInterface
24 24
 {
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
 
133 133
 $app = Webino::application($config)->bootstrap();
134 134
 
135
-$app->bind(DefaultRoute::class, function (RouteEvent $event) {
135
+$app->bind(DefaultRoute::class, function(RouteEvent $event) {
136 136
     $event->setResponse(new ViewResponse);
137 137
 });
138 138
 
Please login to merge, or discard this patch.