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.
Completed
Push — develop ( 45707a...64efc5 )
by Sébastien
03:30
created
tests/Tests/FilterCollectionTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,11 +20,11 @@
 block discarded – undo
20 20
 {
21 21
     public function testFilterReturnsNewCollectionFilteredByPredicateCallback()
22 22
     {
23
-        $predicate = function ($val, $key) {
23
+        $predicate = function($val, $key) {
24 24
             return strlen($val) > 4;
25 25
         };
26 26
 
27
-        $coll = Factory::create($this->fixtures['names']);
27
+        $coll = Factory::create($this->fixtures[ 'names' ]);
28 28
 
29 29
         $this->assertCount(10, $coll);
30 30
         $filtered = $coll->filter($predicate);
Please login to merge, or discard this patch.
tests/Tests/CombineCollectionTest.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
 {
20 20
     public function testCombineReturnsCollectionWithExistingKeysAndIncomingValues()
21 21
     {
22
-        $coll = Factory::create($this->fixtures['names']);
22
+        $coll = Factory::create($this->fixtures[ 'names' ]);
23 23
 
24 24
         $this->assertSame(
25 25
             [
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
             $orig = $coll->toArray()
38 38
         );
39 39
 
40
-        $newcoll = $coll->combine($this->fixtures['emails']);
40
+        $newcoll = $coll->combine($this->fixtures[ 'emails' ]);
41 41
         $this->assertNotSame($coll, $newcoll);
42 42
         $this->assertSame(
43 43
             [
@@ -63,8 +63,8 @@  discard block
 block discarded – undo
63 63
 
64 64
     public function testCombineAcceptsTraversable()
65 65
     {
66
-        $stub = $this->getIteratorForArray($this->fixtures['emails']);
67
-        $coll = Factory::create($this->fixtures['names']);
66
+        $stub = $this->getIteratorForArray($this->fixtures[ 'emails' ]);
67
+        $coll = Factory::create($this->fixtures[ 'names' ]);
68 68
         $this->assertSame(
69 69
             [
70 70
                 'Chelsea',
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
      */
126 126
     public function testCombineThrowsExceptionIfInvalidInput()
127 127
     {
128
-        $coll = Factory::create($this->fixtures['names']);
128
+        $coll = Factory::create($this->fixtures[ 'names' ]);
129 129
         $coll->combine('not an array');
130 130
     }
131 131
 
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
      */
136 136
     public function testCombineThrowsExceptionIfIncomingTraversableCountIsNotSameAsCollection()
137 137
     {
138
-        $coll = Factory::create($this->fixtures['names']);
139
-        $coll->combine([1, 2, 3]);
138
+        $coll = Factory::create($this->fixtures[ 'names' ]);
139
+        $coll->combine([ 1, 2, 3 ]);
140 140
     }
141 141
 }
Please login to merge, or discard this patch.
tests/Tests/ContainsKeyCollectionTest.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
 {
20 20
     public function testContainsKeyReturnsTrueIfItemExistsByKey()
21 21
     {
22
-        $exp  = $this->fixtures['assoc'];
22
+        $exp  = $this->fixtures[ 'assoc' ];
23 23
         $coll = Factory::create($exp);
24 24
         $this->assertTrue($coll->containsKey('2nd'));
25 25
         $coll->remove('2nd');
Please login to merge, or discard this patch.
tests/Tests/ReplaceCollectionTest.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -19,8 +19,8 @@  discard block
 block discarded – undo
19 19
 {
20 20
     public function testReplaceCombinesInPlace()
21 21
     {
22
-        $coll   = Factory::create($this->fixtures['names']);
23
-        $return = $coll->replace($this->fixtures['emails']);
22
+        $coll   = Factory::create($this->fixtures[ 'names' ]);
23
+        $return = $coll->replace($this->fixtures[ 'emails' ]);
24 24
         $this->assertSame($coll, $return);
25 25
         $this->assertEquals(
26 26
             [
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
      */
46 46
     public function testReplaceThrowsExceptionIfInvalidInput()
47 47
     {
48
-        $coll = Factory::create($this->fixtures['names']);
48
+        $coll = Factory::create($this->fixtures[ 'names' ]);
49 49
         $coll->replace('not an array');
50 50
     }
51 51
 
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
      */
56 56
     public function testReplaceThrowsExceptionIfIncomingTraversableCountIsNotSameAsCollection()
57 57
     {
58
-        $coll = Factory::create($this->fixtures['names']);
59
-        $coll->replace([1, 2, 3]);
58
+        $coll = Factory::create($this->fixtures[ 'names' ]);
59
+        $coll->replace([ 1, 2, 3 ]);
60 60
     }
61 61
 }
Please login to merge, or discard this patch.
tests/Tests/CombineKeysCollectionTest.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -19,9 +19,9 @@  discard block
 block discarded – undo
19 19
 {
20 20
     public function testCombineKeysUsesIncomingTraversableAsKeysForCollectionsValues()
21 21
     {
22
-        $coll    = Factory::create($this->fixtures['names']);
22
+        $coll    = Factory::create($this->fixtures[ 'names' ]);
23 23
         $orig    = $coll->toArray();
24
-        $newkeys = $coll->combineKeys($this->fixtures['emails']);
24
+        $newkeys = $coll->combineKeys($this->fixtures[ 'emails' ]);
25 25
         $this->assertEquals(
26 26
             [
27 27
                 '[email protected]' => 'Chelsea',
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
      */
52 52
     public function testCombineKeysThrowsExceptionIfPassedNonTraversableNonArray()
53 53
     {
54
-        $coll = Factory::create($this->fixtures['emails']);
54
+        $coll = Factory::create($this->fixtures[ 'emails' ]);
55 55
         $coll->combineKeys('this is not traversable');
56 56
     }
57 57
 
@@ -61,15 +61,15 @@  discard block
 block discarded – undo
61 61
      */
62 62
     public function testCombineKeysThrowsExceptionIfPassedTraversableWithBadCount()
63 63
     {
64
-        $coll = Factory::create($this->fixtures['emails']);
65
-        $coll->combineKeys([1, 2, 3]);
64
+        $coll = Factory::create($this->fixtures[ 'emails' ]);
65
+        $coll->combineKeys([ 1, 2, 3 ]);
66 66
     }
67 67
 
68 68
     public function testCombineKeysAcceptsTraversable()
69 69
     {
70
-        $coll        = Factory::create($this->fixtures['names']);
70
+        $coll        = Factory::create($this->fixtures[ 'names' ]);
71 71
         $orig        = $coll->toArray();
72
-        $iter        = $this->getIteratorForArray($this->fixtures['emails']);
72
+        $iter        = $this->getIteratorForArray($this->fixtures[ 'emails' ]);
73 73
         $keycombined = $coll->combineKeys($iter);
74 74
         $this->assertSame(
75 75
             [
Please login to merge, or discard this patch.
tests/Tests/PullCollectionTest.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
 {
20 20
     public function testPullRemovesItemFromCollectionAndReturnsIt()
21 21
     {
22
-        $coll = Factory::create($this->fixtures['assoc']);
22
+        $coll = Factory::create($this->fixtures[ 'assoc' ]);
23 23
         $this->assertCount(3, $coll);
24 24
         $this->assertTrue($coll->containsKey('2nd'));
25 25
         $this->assertSame(
Please login to merge, or discard this patch.
tests/Tests/EachCollectionTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -19,13 +19,13 @@
 block discarded – undo
19 19
 {
20 20
     public function testEachLoopsOverEveryItemInCollectionCallingCallback()
21 21
     {
22
-        $coll       = Factory::create($this->fixtures['names']);
23
-        $namesCount = count($this->fixtures['names']);
22
+        $coll       = Factory::create($this->fixtures[ 'names' ]);
23
+        $namesCount = count($this->fixtures[ 'names' ]);
24 24
         $recorder   = $this->getMethodCallRecorderForCount($namesCount);
25 25
 
26 26
         // this will test that touch() is called $namesCount times
27 27
         $return = $coll->each(
28
-            function ($val, $key, $iter = null) use ($recorder, $coll) {
28
+            function($val, $key, $iter = null) use ($recorder, $coll) {
29 29
                 $this->assertTrue(is_string($val));
30 30
                 $this->assertTrue(is_numeric($key));
31 31
 
Please login to merge, or discard this patch.
tests/Tests/GetCollectionTest.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
 {
20 20
     public function testGetReturnsItemIfItExists()
21 21
     {
22
-        $exp  = $this->fixtures['assoc'];
22
+        $exp  = $this->fixtures[ 'assoc' ];
23 23
         $coll = Factory::create($exp);
24 24
         $this->assertEquals('second', $coll->get('2nd'));
25 25
         $coll->remove('2nd');
Please login to merge, or discard this patch.
tests/Tests/ContainsCollectionTest.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
 {
20 20
     public function testContainsReturnsTrueIfValueFoundInCollection()
21 21
     {
22
-        $coll = Factory::create($this->fixtures['assoc']);
22
+        $coll = Factory::create($this->fixtures[ 'assoc' ]);
23 23
         $this->assertTrue($coll->contains('first'));
24 24
         $this->assertTrue($coll->contains('second'));
25 25
         $this->assertTrue($coll->contains('third'));
Please login to merge, or discard this patch.