GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Passed
Push — master ( ff51d8...0b78e2 )
by Anton
04:14
created
deps/vendor/ringcentral/psr7/tests/ResponseTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@
 block discarded – undo
148 148
     public function testBodyConsistent()
149 149
     {
150 150
         $r = new Response(200, array(), '0');
151
-        $this->assertEquals('0', (string)$r->getBody());
151
+        $this->assertEquals('0', (string) $r->getBody());
152 152
     }
153 153
 
154 154
 }
Please login to merge, or discard this patch.
deps/vendor/ringcentral/psr7/tests/StreamDecoratorTraitTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
           ->method('read')
37 37
           ->will($this->throwException(new \Exception('foo')));
38 38
         $msg = '';
39
-        set_error_handler(function ($errNo, $str) use (&$msg) {
39
+        set_error_handler(function($errNo, $str) use (&$msg) {
40 40
             $msg = $str;
41 41
         });
42 42
         echo new Str($s);
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
 
47 47
     public function testToString()
48 48
     {
49
-        $this->assertEquals('foo', (string)$this->b);
49
+        $this->assertEquals('foo', (string) $this->b);
50 50
     }
51 51
 
52 52
     public function testHasSize()
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
     {
110 110
         $this->b->seek(0, SEEK_END);
111 111
         $this->b->write('foo');
112
-        $this->assertEquals('foofoo', (string)$this->a);
112
+        $this->assertEquals('foofoo', (string) $this->a);
113 113
     }
114 114
 
115 115
     /**
Please login to merge, or discard this patch.
deps/vendor/ringcentral/psr7/tests/MultipartStreamTest.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -69,19 +69,19 @@  discard block
 block discarded – undo
69 69
     public function testSerializesFiles()
70 70
     {
71 71
         $f1 = Psr7\FnStream::decorate(Psr7\stream_for('foo'), array(
72
-            'getMetadata' => function () {
72
+            'getMetadata' => function() {
73 73
                 return '/foo/bar.txt';
74 74
             }
75 75
         ));
76 76
 
77 77
         $f2 = Psr7\FnStream::decorate(Psr7\stream_for('baz'), array(
78
-            'getMetadata' => function () {
78
+            'getMetadata' => function() {
79 79
                 return '/foo/baz.jpg';
80 80
             }
81 81
         ));
82 82
 
83 83
         $f3 = Psr7\FnStream::decorate(Psr7\stream_for('bar'), array(
84
-            'getMetadata' => function () {
84
+            'getMetadata' => function() {
85 85
                 return '/foo/bar.gif';
86 86
             }
87 87
         ));
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
     public function testSerializesFilesWithCustomHeaders()
131 131
     {
132 132
         $f1 = Psr7\FnStream::decorate(Psr7\stream_for('foo'), array(
133
-            'getMetadata' => function () {
133
+            'getMetadata' => function() {
134 134
                 return '/foo/bar.txt';
135 135
             }
136 136
         ));
@@ -164,13 +164,13 @@  discard block
 block discarded – undo
164 164
     public function testSerializesFilesWithCustomHeadersAndMultipleValues()
165 165
     {
166 166
         $f1 = Psr7\FnStream::decorate(Psr7\stream_for('foo'), array(
167
-            'getMetadata' => function () {
167
+            'getMetadata' => function() {
168 168
                 return '/foo/bar.txt';
169 169
             }
170 170
         ));
171 171
 
172 172
         $f2 = Psr7\FnStream::decorate(Psr7\stream_for('baz'), array(
173
-            'getMetadata' => function () {
173
+            'getMetadata' => function() {
174 174
                 return '/foo/baz.jpg';
175 175
             }
176 176
         ));
Please login to merge, or discard this patch.
deps/vendor/ringcentral/psr7/tests/UriTest.php 1 patch
Spacing   +37 added lines, -37 removed lines patch added patch discarded remove patch
@@ -120,46 +120,46 @@
 block discarded – undo
120 120
     {
121 121
         return array(
122 122
             //[self::RFC3986_BASE, 'g:h',           'g:h'],
123
-            array(self::RFC3986_BASE, 'g',             'http://a/b/c/g'),
124
-            array(self::RFC3986_BASE, './g',           'http://a/b/c/g'),
125
-            array(self::RFC3986_BASE, 'g/',            'http://a/b/c/g/'),
126
-            array(self::RFC3986_BASE, '/g',            'http://a/g'),
123
+            array(self::RFC3986_BASE, 'g', 'http://a/b/c/g'),
124
+            array(self::RFC3986_BASE, './g', 'http://a/b/c/g'),
125
+            array(self::RFC3986_BASE, 'g/', 'http://a/b/c/g/'),
126
+            array(self::RFC3986_BASE, '/g', 'http://a/g'),
127 127
             // Due to 5.4.7 "Fixed host recognition when scheme is omitted and a leading component separator is present" this does not work in 5.3
128 128
             //array(self::RFC3986_BASE, '//g',           'http://g'),
129
-            array(self::RFC3986_BASE, '?y',            'http://a/b/c/d;p?y'),
130
-            array(self::RFC3986_BASE, 'g?y',           'http://a/b/c/g?y'),
131
-            array(self::RFC3986_BASE, '#s',            'http://a/b/c/d;p?q#s'),
132
-            array(self::RFC3986_BASE, 'g#s',           'http://a/b/c/g#s'),
133
-            array(self::RFC3986_BASE, 'g?y#s',         'http://a/b/c/g?y#s'),
134
-            array(self::RFC3986_BASE, ';x',            'http://a/b/c/;x'),
135
-            array(self::RFC3986_BASE, 'g;x',           'http://a/b/c/g;x'),
136
-            array(self::RFC3986_BASE, 'g;x?y#s',       'http://a/b/c/g;x?y#s'),
137
-            array(self::RFC3986_BASE, '',              self::RFC3986_BASE),
138
-            array(self::RFC3986_BASE, '.',             'http://a/b/c/'),
139
-            array(self::RFC3986_BASE, './',            'http://a/b/c/'),
140
-            array(self::RFC3986_BASE, '..',            'http://a/b/'),
141
-            array(self::RFC3986_BASE, '../',           'http://a/b/'),
142
-            array(self::RFC3986_BASE, '../g',          'http://a/b/g'),
143
-            array(self::RFC3986_BASE, '../..',         'http://a/'),
144
-            array(self::RFC3986_BASE, '../../',        'http://a/'),
145
-            array(self::RFC3986_BASE, '../../g',       'http://a/g'),
146
-            array(self::RFC3986_BASE, '../../../g',    'http://a/g'),
129
+            array(self::RFC3986_BASE, '?y', 'http://a/b/c/d;p?y'),
130
+            array(self::RFC3986_BASE, 'g?y', 'http://a/b/c/g?y'),
131
+            array(self::RFC3986_BASE, '#s', 'http://a/b/c/d;p?q#s'),
132
+            array(self::RFC3986_BASE, 'g#s', 'http://a/b/c/g#s'),
133
+            array(self::RFC3986_BASE, 'g?y#s', 'http://a/b/c/g?y#s'),
134
+            array(self::RFC3986_BASE, ';x', 'http://a/b/c/;x'),
135
+            array(self::RFC3986_BASE, 'g;x', 'http://a/b/c/g;x'),
136
+            array(self::RFC3986_BASE, 'g;x?y#s', 'http://a/b/c/g;x?y#s'),
137
+            array(self::RFC3986_BASE, '', self::RFC3986_BASE),
138
+            array(self::RFC3986_BASE, '.', 'http://a/b/c/'),
139
+            array(self::RFC3986_BASE, './', 'http://a/b/c/'),
140
+            array(self::RFC3986_BASE, '..', 'http://a/b/'),
141
+            array(self::RFC3986_BASE, '../', 'http://a/b/'),
142
+            array(self::RFC3986_BASE, '../g', 'http://a/b/g'),
143
+            array(self::RFC3986_BASE, '../..', 'http://a/'),
144
+            array(self::RFC3986_BASE, '../../', 'http://a/'),
145
+            array(self::RFC3986_BASE, '../../g', 'http://a/g'),
146
+            array(self::RFC3986_BASE, '../../../g', 'http://a/g'),
147 147
             array(self::RFC3986_BASE, '../../../../g', 'http://a/g'),
148
-            array(self::RFC3986_BASE, '/./g',          'http://a/g'),
149
-            array(self::RFC3986_BASE, '/../g',         'http://a/g'),
150
-            array(self::RFC3986_BASE, 'g.',            'http://a/b/c/g.'),
151
-            array(self::RFC3986_BASE, '.g',            'http://a/b/c/.g'),
152
-            array(self::RFC3986_BASE, 'g..',           'http://a/b/c/g..'),
153
-            array(self::RFC3986_BASE, '..g',           'http://a/b/c/..g'),
154
-            array(self::RFC3986_BASE, './../g',        'http://a/b/g'),
155
-            array(self::RFC3986_BASE, 'foo////g',      'http://a/b/c/foo////g'),
156
-            array(self::RFC3986_BASE, './g/.',         'http://a/b/c/g/'),
157
-            array(self::RFC3986_BASE, 'g/./h',         'http://a/b/c/g/h'),
158
-            array(self::RFC3986_BASE, 'g/../h',        'http://a/b/c/h'),
159
-            array(self::RFC3986_BASE, 'g;x=1/./y',     'http://a/b/c/g;x=1/y'),
160
-            array(self::RFC3986_BASE, 'g;x=1/../y',    'http://a/b/c/y'),
161
-            array('http://u@a/b/c/d;p?q', '.',         'http://u@a/b/c/'),
162
-            array('http://u:p@a/b/c/d;p?q', '.',       'http://u:p@a/b/c/'),
148
+            array(self::RFC3986_BASE, '/./g', 'http://a/g'),
149
+            array(self::RFC3986_BASE, '/../g', 'http://a/g'),
150
+            array(self::RFC3986_BASE, 'g.', 'http://a/b/c/g.'),
151
+            array(self::RFC3986_BASE, '.g', 'http://a/b/c/.g'),
152
+            array(self::RFC3986_BASE, 'g..', 'http://a/b/c/g..'),
153
+            array(self::RFC3986_BASE, '..g', 'http://a/b/c/..g'),
154
+            array(self::RFC3986_BASE, './../g', 'http://a/b/g'),
155
+            array(self::RFC3986_BASE, 'foo////g', 'http://a/b/c/foo////g'),
156
+            array(self::RFC3986_BASE, './g/.', 'http://a/b/c/g/'),
157
+            array(self::RFC3986_BASE, 'g/./h', 'http://a/b/c/g/h'),
158
+            array(self::RFC3986_BASE, 'g/../h', 'http://a/b/c/h'),
159
+            array(self::RFC3986_BASE, 'g;x=1/./y', 'http://a/b/c/g;x=1/y'),
160
+            array(self::RFC3986_BASE, 'g;x=1/../y', 'http://a/b/c/y'),
161
+            array('http://u@a/b/c/d;p?q', '.', 'http://u@a/b/c/'),
162
+            array('http://u:p@a/b/c/d;p?q', '.', 'http://u:p@a/b/c/'),
163 163
             //[self::RFC3986_BASE, 'http:g',        'http:g'],
164 164
         );
165 165
     }
Please login to merge, or discard this patch.
deps/vendor/ringcentral/psr7/tests/LimitStreamTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -150,8 +150,8 @@
 block discarded – undo
150 150
     public function testReturnsNullIfSizeCannotBeDetermined()
151 151
     {
152 152
         $a = new FnStream(array(
153
-            'getSize' => function () { return null; },
154
-            'tell'    => function () { return 0; },
153
+            'getSize' => function() { return null; },
154
+            'tell'    => function() { return 0; },
155 155
         ));
156 156
         $b = new LimitStream($a);
157 157
         $this->assertNull($b->getSize());
Please login to merge, or discard this patch.
deps/vendor/ringcentral/psr7/tests/CachingStreamTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
     {
65 65
         $baseStream = Psr7\stream_for('testing');
66 66
         $decorated = Psr7\FnStream::decorate($baseStream, array(
67
-            'getSize' => function () { return null; }
67
+            'getSize' => function() { return null; }
68 68
         ));
69 69
         $cached = new CachingStream($decorated);
70 70
         $cached->seek(1, SEEK_END);
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
     public function testSkipsOverwrittenBytes()
110 110
     {
111 111
         $decorated = Psr7\stream_for(
112
-            implode("\n", array_map(function ($n) {
112
+            implode("\n", array_map(function($n) {
113 113
                 return str_pad($n, 4, '0', STR_PAD_LEFT);
114 114
             }, range(0, 25)))
115 115
         );
Please login to merge, or discard this patch.
deps/vendor/ringcentral/psr7/tests/FnStreamTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
     {
24 24
         $self = $this;
25 25
         $s = new FnStream(array(
26
-            'read' => function ($len) use ($self) {
26
+            'read' => function($len) use ($self) {
27 27
                 $self->assertEquals(3, $len);
28 28
                 return 'foo';
29 29
             }
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
     {
37 37
         $called = false;
38 38
         $s = new FnStream(array(
39
-            'close' => function () use (&$called) {
39
+            'close' => function() use (&$called) {
40 40
                 $called = true;
41 41
             }
42 42
         ));
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
         $called = false;
82 82
         $a = Psr7\stream_for('foo');
83 83
         $b = FnStream::decorate($a, array(
84
-            'read' => function ($len) use (&$called, $a) {
84
+            'read' => function($len) use (&$called, $a) {
85 85
                 $called = true;
86 86
                 return $a->read($len);
87 87
             }
Please login to merge, or discard this patch.
deps/vendor/ringcentral/psr7/tests/StreamTest.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -123,20 +123,20 @@
 block discarded – undo
123 123
 
124 124
         $self = $this;
125 125
 
126
-        $throws = function ($fn) use ($stream, $self) {
126
+        $throws = function($fn) use ($stream, $self) {
127 127
             try {
128 128
                 $fn($stream);
129 129
                 $self->fail();
130 130
             } catch (\Exception $e) {}
131 131
         };
132 132
 
133
-        $throws(function ($stream) { $stream->read(10); });
134
-        $throws(function ($stream) { $stream->write('bar'); });
135
-        $throws(function ($stream) { $stream->seek(10); });
136
-        $throws(function ($stream) { $stream->tell(); });
137
-        $throws(function ($stream) { $stream->eof(); });
138
-        $throws(function ($stream) { $stream->getSize(); });
139
-        $throws(function ($stream) { $stream->getContents(); });
133
+        $throws(function($stream) { $stream->read(10); });
134
+        $throws(function($stream) { $stream->write('bar'); });
135
+        $throws(function($stream) { $stream->seek(10); });
136
+        $throws(function($stream) { $stream->tell(); });
137
+        $throws(function($stream) { $stream->eof(); });
138
+        $throws(function($stream) { $stream->getSize(); });
139
+        $throws(function($stream) { $stream->getContents(); });
140 140
         $this->assertSame('', (string) $stream);
141 141
         $stream->close();
142 142
     }
Please login to merge, or discard this patch.
deps/vendor/ringcentral/psr7/tests/PumpStreamTest.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
 {
10 10
     public function testHasMetadataAndSize()
11 11
     {
12
-        $p = new PumpStream(function () {}, array(
12
+        $p = new PumpStream(function() {}, array(
13 13
             'metadata' => array('foo' => 'bar'),
14 14
             'size'     => 100
15 15
         ));
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
 
22 22
     public function testCanReadFromCallable()
23 23
     {
24
-        $p = Psr7\stream_for(function ($size) {
24
+        $p = Psr7\stream_for(function($size) {
25 25
             return 'a';
26 26
         });
27 27
         $this->assertEquals('a', $p->read(1));
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
     public function testStoresExcessDataInBuffer()
34 34
     {
35 35
         $called = array();
36
-        $p = Psr7\stream_for(function ($size) use (&$called) {
36
+        $p = Psr7\stream_for(function($size) use (&$called) {
37 37
             $called[] = $size;
38 38
             return 'abcdef';
39 39
         });
@@ -46,14 +46,14 @@  discard block
 block discarded – undo
46 46
 
47 47
     public function testInifiniteStreamWrappedInLimitStream()
48 48
     {
49
-        $p = Psr7\stream_for(function () { return 'a'; });
49
+        $p = Psr7\stream_for(function() { return 'a'; });
50 50
         $s = new LimitStream($p, 5);
51 51
         $this->assertEquals('aaaaa', (string) $s);
52 52
     }
53 53
 
54 54
     public function testDescribesCapabilities()
55 55
     {
56
-        $p = Psr7\stream_for(function () {});
56
+        $p = Psr7\stream_for(function() {});
57 57
         $this->assertTrue($p->isReadable());
58 58
         $this->assertFalse($p->isSeekable());
59 59
         $this->assertFalse($p->isWritable());
Please login to merge, or discard this patch.