Completed
Push — master ( 6e2258...071df3 )
by arto
02:13
created
example/local/parse_detail_only.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
 function dumpSectionIfThereIsSomeContent(array $lines, $name)
35 35
 {
36 36
     if (!empty($lines)) {
37
-        echo '==== ' . $name .' ====' . PHP_EOL;
37
+        echo '==== ' . $name . ' ====' . PHP_EOL;
38 38
         echo PHP_EOL;
39 39
 
40 40
         dumpArray($lines);
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
 $parserBuilderFactory       = new \Net\Bazzline\Component\ApacheServerStatusParser\Service\Builder\ParserBuilderFactory();
55 55
 $storageBuilder             = new \Net\Bazzline\Component\ApacheServerStatusParser\Service\Builder\LocalStorageBuilder();
56 56
 
57
-$parserBuilder  = $parserBuilderFactory->create();
57
+$parserBuilder = $parserBuilderFactory->create();
58 58
 //end of dependencies
59 59
 
60 60
 //begin of business logic
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
 $storageBuilder->selectParseModeDetailOnlyUpfront();
65 65
 $storageBuilder->build();
66 66
 
67
-$listOfNameToElapsedTime['fetching']    = PHP_Timer::secondsToTimeString(
67
+$listOfNameToElapsedTime['fetching'] = PHP_Timer::secondsToTimeString(
68 68
     PHP_Timer::stop()
69 69
 );
70 70
 
Please login to merge, or discard this patch.
example/remote/parse_detail_only.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
 function dumpSectionIfThereIsSomeContent(array $lines, $name)
35 35
 {
36 36
     if (!empty($lines)) {
37
-        echo '==== ' . $name .' ====' . PHP_EOL;
37
+        echo '==== ' . $name . ' ====' . PHP_EOL;
38 38
         echo PHP_EOL;
39 39
 
40 40
         dumpArray($lines);
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
     : 'http://testdata.bazzline.net/apache_server_status/index.html'
55 55
 );
56 56
 
57
-$parserBuilder  = $parserBuilderFactory->create();
57
+$parserBuilder = $parserBuilderFactory->create();
58 58
 //end of dependencies
59 59
 
60 60
 //begin of business logic
@@ -64,11 +64,11 @@  discard block
 block discarded – undo
64 64
 $storageBuilder->selectParseModeDetailOnlyUpfront();
65 65
 $storageBuilder->build();
66 66
 
67
-$listOfNameToElapsedTime['fetching']    = PHP_Timer::secondsToTimeString(
67
+$listOfNameToElapsedTime['fetching'] = PHP_Timer::secondsToTimeString(
68 68
     PHP_Timer::stop()
69 69
 );
70 70
 
71
-$storage    = $storageBuilder->andGetStorageAfterTheBuild();
71
+$storage = $storageBuilder->andGetStorageAfterTheBuild();
72 72
 
73 73
 dumpSectionIfThereIsSomeContent($storage->getListOfDetail(), 'Detail');
74 74
 
Please login to merge, or discard this patch.
example/remote/parse_all.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
 function dumpSectionIfThereIsSomeContent(array $lines, $name)
35 35
 {
36 36
     if (!empty($lines)) {
37
-        echo '==== ' . $name .' ====' . PHP_EOL;
37
+        echo '==== ' . $name . ' ====' . PHP_EOL;
38 38
         echo PHP_EOL;
39 39
 
40 40
         dumpArray($lines);
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
         : 'http://testdata.bazzline.net/apache_server_status/index.html'
55 55
 );
56 56
 
57
-$parserBuilder  = $parserBuilderFactory->create();
57
+$parserBuilder = $parserBuilderFactory->create();
58 58
 //end of dependencies
59 59
 
60 60
 //begin of business logic
@@ -64,11 +64,11 @@  discard block
 block discarded – undo
64 64
 $storageBuilder->selectParseModeAllUpfront();
65 65
 $storageBuilder->build();
66 66
 
67
-$listOfNameToElapsedTime['fetching']    = PHP_Timer::secondsToTimeString(
67
+$listOfNameToElapsedTime['fetching'] = PHP_Timer::secondsToTimeString(
68 68
     PHP_Timer::stop()
69 69
 );
70 70
 
71
-$storage    = $storageBuilder->andGetStorageAfterTheBuild();
71
+$storage = $storageBuilder->andGetStorageAfterTheBuild();
72 72
 
73 73
 dumpSectionIfThereIsSomeContent($storage->getListOfInformation(), 'Information');
74 74
 dumpSectionIfThereIsSomeContent($storage->getListOfDetail(), 'Detail');
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
 $parserBuilder->setStorageUpfront($storage);
81 81
 $parserBuilder->build();
82 82
 
83
-$listOfNameToElapsedTime['parsing']    = PHP_Timer::secondsToTimeString(
83
+$listOfNameToElapsedTime['parsing'] = PHP_Timer::secondsToTimeString(
84 84
     PHP_Timer::stop()
85 85
 );
86 86
 
Please login to merge, or discard this patch.