Completed
Push — prototype ( 3bfdd7...aec713 )
by Peter
07:47
created
examples/simple/public/events-bind-app-dispatch/index.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -5,9 +5,7 @@
 block discarded – undo
5 5
  */
6 6
 
7 7
 use WebinoAppLib\Event\AppEvent;
8
-use WebinoAppLib\Event\RouteEvent;
9 8
 use WebinoAppLib\Response\Content\SourcePreview;
10
-use WebinoAppLib\Router\DefaultRoute;
11 9
 
12 10
 require __DIR__ . '/../../vendor/autoload.php';
13 11
 
Please login to merge, or discard this patch.
examples/simple/public/route-bind-invokable-class/index.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use WebinoAppLib\Event\RouteEvent;
8 8
 use WebinoAppLib\Response\Content\SourcePreview;
9 9
 use WebinoAppLib\Router\DefaultRoute;
10
-use Zend\ModuleManager\Listener\AbstractListener;
11 10
 
12 11
 require __DIR__ . '/../../vendor/autoload.php';
13 12
 
Please login to merge, or discard this patch.
examples/simple/public/service-factory-config-invokable/index.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
  */
6 6
 
7 7
 use WebinoAppLib\Event\RouteEvent;
8
-use WebinoAppLib\Factory\AbstractFactory;
9 8
 use WebinoAppLib\Feature\Service;
10 9
 use WebinoAppLib\Response\Content\SourcePreview;
11 10
 use WebinoAppLib\Router\DefaultRoute;
Please login to merge, or discard this patch.
library/WebinoViewLib/Component/ComponentStateTrait.php 1 patch
Unused Use Statements   -9 removed lines patch added patch discarded remove patch
@@ -2,19 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace WebinoViewLib\Component;
4 4
 
5
-use WebinoAppLib\Event\AppEvent;
6 5
 use WebinoAppLib\Event\DispatchEvent;
7
-use WebinoAppLib\Feature\HttpListener;
8 6
 use WebinoAppLib\Service\Initializer\RoutingAwareTrait;
9
-use WebinoConfigLib\Feature\FeatureInterface;
10
-use WebinoDomLib\Dom\Config\SpecConfigAggregateInterface;
11 7
 use WebinoDomLib\Dom\NodeInterface;
12 8
 use WebinoDomLib\Event\RenderEvent;
13
-use WebinoEventLib\ListenerAggregateTrait;
14
-use WebinoViewLib\Feature\NodeView;
15
-use WebinoViewLib\Feature\ViewListener;
16
-use Zend\EventManager\ListenerAggregateInterface;
17
-use Zend\Stdlib\CallbackHandler;
18 9
 
19 10
 /**
20 11
  * Class ComponentStateTrait
Please login to merge, or discard this patch.
examples/simple/public/console-table/index.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -32,19 +32,19 @@
 block discarded – undo
32 32
 
33 33
         $data = [
34 34
             [
35
-              'Walter White',
36
-              'Father',
37
-              'Teacher',
35
+                'Walter White',
36
+                'Father',
37
+                'Teacher',
38 38
             ],
39 39
             [
40
-              'Skyler White',
41
-              'Mother',
42
-              'Accountant',
40
+                'Skyler White',
41
+                'Mother',
42
+                'Accountant',
43 43
             ],
44 44
             [
45
-              'Walter White Jr.',
46
-              'Son',
47
-              'Student',
45
+                'Walter White Jr.',
46
+                'Son',
47
+                'Student',
48 48
             ],
49 49
         ];
50 50
 
Please login to merge, or discard this patch.
examples/skeleton-application/dispatch.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -333,10 +333,10 @@
 block discarded – undo
333 333
         // todo configurable locators
334 334
         $table = $doc->locate('table');
335 335
         $table->locate('thead th')
336
-              ->loop(array_keys(current($data)), function (\WebinoDomLib\Dom\NodeList $node, $data) {
337
-                  // TODO emit event
338
-                  $node->setValue($data);
339
-              });
336
+                ->loop(array_keys(current($data)), function (\WebinoDomLib\Dom\NodeList $node, $data) {
337
+                    // TODO emit event
338
+                    $node->setValue($data);
339
+                });
340 340
 
341 341
         $table->locate('tbody tr')
342 342
             ->loop($data, function (\WebinoDomLib\Dom\NodeList $node, $data) {
Please login to merge, or discard this patch.
examples/simple/public/route-bind-invokable-object/index.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use WebinoAppLib\Event\RouteEvent;
8 8
 use WebinoAppLib\Response\Content\SourcePreview;
9 9
 use WebinoAppLib\Router\DefaultRoute;
10
-use Zend\ModuleManager\Listener\AbstractListener;
11 10
 
12 11
 require __DIR__ . '/../../vendor/autoload.php';
13 12
 
Please login to merge, or discard this patch.
examples/simple/public/logger-aware-custom/index.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -10,8 +10,6 @@
 block discarded – undo
10 10
 use WebinoAppLib\Response\Content\SourcePreview;
11 11
 use WebinoAppLib\Router\DefaultRoute;
12 12
 use WebinoExamplesLib\Html\FieldSetScrollBox;
13
-use WebinoHtmlLib\Html;
14
-use WebinoExamplesLib\Html\ScrollBox;
15 13
 use WebinoConfigLib\Feature\Log;
16 14
 use WebinoConfigLib\Feature\Logger;
17 15
 use WebinoLogLib\LoggerAwareInterface;
Please login to merge, or discard this patch.
examples/simple/public/service-factory-class-invokable/index.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
  * Webino Example
5 5
  */
6 6
 
7
-use WebinoAppLib\Application\CoreConfig;
8 7
 use WebinoAppLib\Event\RouteEvent;
9 8
 use WebinoAppLib\Feature\Service;
10 9
 use WebinoAppLib\Response\Content\SourcePreview;
Please login to merge, or discard this patch.