Passed
Push — master ( b3d8d2...49adaa )
by Waaaaaaaaaa
02:33
created
tests/FrameTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 
23 23
         $frame->setFile(__FILE__);
24 24
         $frame->setPath(__DIR__.'/../tests');
25
-        $this->assertEquals(__DIR__ .'/', $frame->getPath());
25
+        $this->assertEquals(__DIR__.'/', $frame->getPath());
26 26
         $this->assertTrue($frame->hasPath());
27 27
         $this->assertEquals(basename(__FILE__), $frame->getRelativeFilepath());
28 28
     }
Please login to merge, or discard this patch.
src/Traits/Path.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,6 +24,6 @@
 block discarded – undo
24 24
             throw new \InvalidArgumentException('Path does not exist: '.$path);
25 25
         }
26 26
 
27
-        $this->path = $realpath . '/';
27
+        $this->path = $realpath.'/';
28 28
     }
29 29
 }
Please login to merge, or discard this patch.
src/Inspection/Frame.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
         $count = count($value);
114 114
 
115 115
         if ($count > 100) {
116
-            return 'Array of length ' . $count;
116
+            return 'Array of length '.$count;
117 117
         }
118 118
 
119 119
         $types = [];
@@ -129,10 +129,10 @@  discard block
 block discarded – undo
129 129
         }
130 130
 
131 131
         if (count($types) > 3) {
132
-            return 'Mixed Array of length ' . $count;
132
+            return 'Mixed Array of length '.$count;
133 133
         }
134 134
 
135
-        return 'Array<'.implode('|', $types).'> of length ' . $count;
135
+        return 'Array<'.implode('|', $types).'> of length '.$count;
136 136
     }
137 137
 
138 138
     protected function normalise($value): string
Please login to merge, or discard this patch.
src/Payload.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -147,7 +147,7 @@
 block discarded – undo
147 147
         if (\is_string($data) && !\preg_match('//u', $data)) {
148 148
             $data = \preg_replace_callback(
149 149
                 '/[\x80-\xFF]+/',
150
-                function ($m) {
150
+                function($m) {
151 151
                     return \utf8_encode($m[0]);
152 152
                 },
153 153
                 $data
Please login to merge, or discard this patch.
example.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-require __DIR__ . '/vendor/autoload.php';
3
+require __DIR__.'/vendor/autoload.php';
4 4
 
5 5
 $logfile = new Logfile\Logfile('edebc96b-85df-cf14-1487-72fb8ee7a171');
6 6
 $logfile->getSender()->setHost('localhost:8077');
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
 
28 28
 // --------
29 29
 
30
-set_exception_handler(function (Throwable $e) use($logfile, $logger) {
30
+set_exception_handler(function(Throwable $e) use($logfile, $logger) {
31 31
     $logger->error($e->getMessage(), ['exception' => $e]);
32 32
 });
33 33
 
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
 try {
39 39
     $logger->warning('fail coming up...');
40 40
     fail('this');
41
-} catch(ErrorException $e) {
41
+} catch (ErrorException $e) {
42 42
     $logger->error('doh coming up...');
43 43
     throw new RuntimeException('doh!', 0, $e);
44 44
 }
Please login to merge, or discard this patch.