Passed
Branch 2.0 (434547)
by Donald
02:14
created
test/Chekote/Phake/Stubber/Answers/UnMockedResponseExceptionAnswer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     {
16 16
         $class = get_parent_class($context);
17 17
 
18
-        return function () use ($class, $method) {
18
+        return function() use ($class, $method) {
19 19
             throw new UnMockedResponseException(
20 20
                 "$class::$method was called on mock without having its response mocked"
21 21
             );
Please login to merge, or discard this patch.
test/Chekote/NounStore/Key/ParseTest.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -25,15 +25,15 @@
 block discarded – undo
25 25
     {
26 26
         return [
27 27
         //   key           index   parsedKey,  parsedIndex
28
-            ['Thing',       null, 'Thing',            null], // no nth in key or index param
29
-            ['1st Thing',   null, 'Thing',               0], // 1st in key with no index param
30
-            ['1st Thing',      0, 'Thing',               0], // nth in key with matching index param
31
-            ['2nd Thing',   null, 'Thing',               1], // 2nd in key with no index param
32
-            ['3rd Thing',   null, 'Thing',               2], // 3rd in key with no index param
33
-            ['4th Thing',   null, 'Thing',               3], // 3th in key with no index param
34
-            ['478th Thing', null, 'Thing',             477], // high nth in key with no index param
35
-            ['Thing',          0, 'Thing',               0], // no nth in key with 0 index param
36
-            ['Thing',         49, 'Thing',              49], // no nth in key with high index param
28
+            ['Thing', null, 'Thing', null], // no nth in key or index param
29
+            ['1st Thing', null, 'Thing', 0], // 1st in key with no index param
30
+            ['1st Thing', 0, 'Thing', 0], // nth in key with matching index param
31
+            ['2nd Thing', null, 'Thing', 1], // 2nd in key with no index param
32
+            ['3rd Thing', null, 'Thing', 2], // 3rd in key with no index param
33
+            ['4th Thing', null, 'Thing', 3], // 3th in key with no index param
34
+            ['478th Thing', null, 'Thing', 477], // high nth in key with no index param
35
+            ['Thing', 0, 'Thing', 0], // no nth in key with 0 index param
36
+            ['Thing', 49, 'Thing', 49], // no nth in key with high index param
37 37
         ];
38 38
     }
39 39
 
Please login to merge, or discard this patch.
test/Chekote/NounStore/Store/KeyExistsTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -37,10 +37,10 @@
 block discarded – undo
37 37
     {
38 38
         return [
39 39
         //    key,            index, expectedResult
40
-            [ 'No such key',   null, false ], // missing key
41
-            [ StoreTest::KEY,     2, false ], // missing index
42
-            [ StoreTest::KEY,  null, true  ], // present key
43
-            [ StoreTest::KEY,     1, true  ], // present index
40
+            ['No such key', null, false], // missing key
41
+            [StoreTest::KEY, 2, false], // missing index
42
+            [StoreTest::KEY, null, true], // present key
43
+            [StoreTest::KEY, 1, true], // present index
44 44
         ];
45 45
     }
46 46
 
Please login to merge, or discard this patch.
test/Chekote/NounStore/Store/KeyValueContainsTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,8 +54,8 @@
 block discarded – undo
54 54
     {
55 55
         return [
56 56
         //    storedValue,       checkedValue, expectedResult
57
-            [ 'This is a value', 'is a',       true           ],
58
-            [ 'This is a value', 'words',      false          ],
57
+            ['This is a value', 'is a', true],
58
+            ['This is a value', 'words', false],
59 59
         ];
60 60
     }
61 61
 
Please login to merge, or discard this patch.
test/Chekote/NounStore/Key/GetOrdinalTest.php 1 patch
Spacing   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -10,23 +10,23 @@  discard block
 block discarded – undo
10 10
 {
11 11
     public static $successScenarioDataProvider = [
12 12
         //   nth  expected
13
-        [0,   'th'],
14
-        [1,   'st'],
15
-        [2,   'nd'],
16
-        [3,   'rd'],
17
-        [4,   'th'],
18
-        [5,   'th'],
19
-        [6,   'th'],
20
-        [7,   'th'],
21
-        [8,   'th'],
22
-        [9,   'th'],
23
-        [11,  'th'],
24
-        [12,  'th'],
25
-        [13,  'th'],
26
-        [21,  'st'],
27
-        [22,  'nd'],
28
-        [23,  'rd'],
29
-        [24,  'th'],
13
+        [0, 'th'],
14
+        [1, 'st'],
15
+        [2, 'nd'],
16
+        [3, 'rd'],
17
+        [4, 'th'],
18
+        [5, 'th'],
19
+        [6, 'th'],
20
+        [7, 'th'],
21
+        [8, 'th'],
22
+        [9, 'th'],
23
+        [11, 'th'],
24
+        [12, 'th'],
25
+        [13, 'th'],
26
+        [21, 'st'],
27
+        [22, 'nd'],
28
+        [23, 'rd'],
29
+        [24, 'th'],
30 30
     ];
31 31
 
32 32
     public function setUp()
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
     {
47 47
         return [
48 48
         //   nth  exception class                  exception message
49
-            [-1,  InvalidArgumentException::class, '$nth must be a positive number'],
49
+            [-1, InvalidArgumentException::class, '$nth must be a positive number'],
50 50
         ];
51 51
     }
52 52
 
Please login to merge, or discard this patch.