@@ -15,7 +15,7 @@ |
||
| 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 | ); |
@@ -32,12 +32,12 @@ discard block |
||
| 32 | 32 | { |
| 33 | 33 | return [ |
| 34 | 34 | // index, nth |
| 35 | - [ 1, 0], |
|
| 36 | - [ 1, 1], |
|
| 37 | - [ 1, 5], |
|
| 38 | - [ 4, 0], |
|
| 39 | - [ 4, 4], |
|
| 40 | - [ 4, 10], |
|
| 35 | + [1, 0], |
|
| 36 | + [1, 1], |
|
| 37 | + [1, 5], |
|
| 38 | + [4, 0], |
|
| 39 | + [4, 4], |
|
| 40 | + [4, 10], |
|
| 41 | 41 | ]; |
| 42 | 42 | } |
| 43 | 43 | |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | public function invalidNthDataProvider() |
| 62 | 62 | { |
| 63 | 63 | return [ |
| 64 | - [ 0], |
|
| 64 | + [0], |
|
| 65 | 65 | [ -1], |
| 66 | 66 | [ -4], |
| 67 | 67 | [-10], |
@@ -88,10 +88,10 @@ discard block |
||
| 88 | 88 | { |
| 89 | 89 | return [ |
| 90 | 90 | // index, nth |
| 91 | - [ 0, 1], |
|
| 92 | - [ 10, 11], |
|
| 93 | - [ 100, 101], |
|
| 94 | - [ null, 50], |
|
| 91 | + [0, 1], |
|
| 92 | + [10, 11], |
|
| 93 | + [100, 101], |
|
| 94 | + [null, 50], |
|
| 95 | 95 | ]; |
| 96 | 96 | } |
| 97 | 97 | |
@@ -19,11 +19,11 @@ |
||
| 19 | 19 | public function successScenariosDataProvider() |
| 20 | 20 | { |
| 21 | 21 | return [ |
| 22 | - [0, 'th'], [1, 'st'], [2, 'nd'], [3, 'rd'], |
|
| 23 | - [4, 'th'], [5, 'th'], [6, 'th'], [7, 'th'], |
|
| 24 | - [8, 'th'], [9, 'th'], [10, 'th'], [11, 'th'], |
|
| 25 | - [12, 'th'], [13, 'th'], [14, 'th'], [21, 'st'], |
|
| 26 | - [22, 'nd'], [23, 'rd'], [24, 'th'], [101, 'st'], |
|
| 22 | + [0, 'th'], [1, 'st'], [2, 'nd'], [3, 'rd'], |
|
| 23 | + [4, 'th'], [5, 'th'], [6, 'th'], [7, 'th'], |
|
| 24 | + [8, 'th'], [9, 'th'], [10, 'th'], [11, 'th'], |
|
| 25 | + [12, 'th'], [13, 'th'], [14, 'th'], [21, 'st'], |
|
| 26 | + [22, 'nd'], [23, 'rd'], [24, 'th'], [101, 'st'], |
|
| 27 | 27 | [102, 'nd'], [103, 'rd'], [104, 'th'], |
| 28 | 28 | ]; |
| 29 | 29 | } |
@@ -25,12 +25,12 @@ |
||
| 25 | 25 | { |
| 26 | 26 | return [ |
| 27 | 27 | // key parsedKey, parsedIndex |
| 28 | - ['Thing', 'Thing', null], |
|
| 29 | - ['1st Thing', 'Thing', 0], |
|
| 30 | - ['2nd Thing', 'Thing', 1], |
|
| 31 | - ['3rd Thing', 'Thing', 2], |
|
| 32 | - ['4th Thing', 'Thing', 3], |
|
| 33 | - ['478th Thing', 'Thing', 477], |
|
| 28 | + ['Thing', 'Thing', null], |
|
| 29 | + ['1st Thing', 'Thing', 0], |
|
| 30 | + ['2nd Thing', 'Thing', 1], |
|
| 31 | + ['3rd Thing', 'Thing', 2], |
|
| 32 | + ['4th Thing', 'Thing', 3], |
|
| 33 | + ['478th Thing', 'Thing', 477], |
|
| 34 | 34 | ]; |
| 35 | 35 | } |
| 36 | 36 | |
@@ -34,8 +34,8 @@ |
||
| 34 | 34 | { |
| 35 | 35 | return [ |
| 36 | 36 | // key, expectedResult |
| 37 | - [ 'No such key', false ], // missing key |
|
| 38 | - [ StoreTest::KEY, true ], // present key |
|
| 37 | + ['No such key', false], // missing key |
|
| 38 | + [StoreTest::KEY, true], // present key |
|
| 39 | 39 | ]; |
| 40 | 40 | } |
| 41 | 41 | |
@@ -34,8 +34,8 @@ |
||
| 34 | 34 | { |
| 35 | 35 | return [ |
| 36 | 36 | // storedValue, checkedValue, expectedResult |
| 37 | - [ 'This is a value', 'is a', true ], |
|
| 38 | - [ 'This is a value', 'words', false ], |
|
| 37 | + ['This is a value', 'is a', true], |
|
| 38 | + ['This is a value', 'words', false], |
|
| 39 | 39 | ]; |
| 40 | 40 | } |
| 41 | 41 | |