Completed
Push — master ( 1ca1ca...0681a2 )
by Rafael
06:37 queued 01:17
created
src/Log.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -10,9 +10,9 @@
 block discarded – undo
10 10
   private function __construct() {
11 11
 
12 12
     $this->oLogger = new \Monolog\Logger("PHPUtils");
13
-    $this->oLogger->pushHandler( new \Monolog\Handler\StreamHandler("/tmp/PHPUtils.log") );
14
-    $this->oLogger->pushHandler( new \Monolog\Handler\ChromePHPHandler() );
15
-    $this->oLogger->pushHandler( new \Monolog\Handler\FirePHPHandler() );
13
+    $this->oLogger->pushHandler(new \Monolog\Handler\StreamHandler("/tmp/PHPUtils.log"));
14
+    $this->oLogger->pushHandler(new \Monolog\Handler\ChromePHPHandler());
15
+    $this->oLogger->pushHandler(new \Monolog\Handler\FirePHPHandler());
16 16
   }
17 17
 
18 18
   public function log() {}
Please login to merge, or discard this patch.
src/ArrayDebugger.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     return call_user_func_array('parent::__construct', func_get_args()); 
20 20
   }
21 21
 
22
-  public function sendLog($type, $key, $value = null, array $backtrace ) {
22
+  public function sendLog($type, $key, $value = null, array $backtrace) {
23 23
 
24 24
     $logger           = $this->logger;
25 25
     $retorno['type']  = $type;  
Please login to merge, or discard this patch.
tests/ArrayDebuggerTest.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
 
16 16
     $array = new ArrayDebugger($this->base);
17 17
 
18
-    $array->setLogger(function($retorno)  {
18
+    $array->setLogger(function($retorno) {
19 19
       $this->assertEquals($retorno['type'], ArrayDebugger::TYPE_GET);
20 20
     });
21 21
 
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
 
42 42
     $array = new ArrayDebugger($this->base);
43 43
 
44
-    $array->setLogger(function($retorno)  {
44
+    $array->setLogger(function($retorno) {
45 45
       $this->assertEquals($retorno['type'], ArrayDebugger::TYPE_SET);
46 46
     });
47 47
 
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
 
68 68
     $array = new ArrayDebugger($this->base);
69 69
 
70
-    $array->setLogger(function($retorno)  {
70
+    $array->setLogger(function($retorno) {
71 71
       $this->assertEquals($retorno['type'], ArrayDebugger::TYPE_EXISTS);
72 72
     });
73 73
 
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
 
96 96
     $array = new ArrayDebugger($this->base);
97 97
 
98
-    $array->setLogger(function($retorno)  {
98
+    $array->setLogger(function($retorno) {
99 99
       $this->assertEquals($retorno['type'], ArrayDebugger::TYPE_UNSET);
100 100
     });
101 101
 
Please login to merge, or discard this patch.