@@ -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 | ); |
@@ -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 | } |
@@ -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 |
@@ -25,11 +25,11 @@ |
||
25 | 25 | { |
26 | 26 | return [ |
27 | 27 | // key dotPath |
28 | - ['Thing', 'Thing' ], |
|
29 | - ['1st Thing', 'Thing.0' ], |
|
30 | - ['2nd Thing', 'Thing.1' ], |
|
31 | - ['3rd Thing', 'Thing.2' ], |
|
32 | - ['4th Thing', 'Thing.3' ], |
|
28 | + ['Thing', 'Thing'], |
|
29 | + ['1st Thing', 'Thing.0'], |
|
30 | + ['2nd Thing', 'Thing.1'], |
|
31 | + ['3rd Thing', 'Thing.2'], |
|
32 | + ['4th Thing', 'Thing.3'], |
|
33 | 33 | ['478th Thing', 'Thing.477'], |
34 | 34 | ]; |
35 | 35 | } |
@@ -38,11 +38,11 @@ |
||
38 | 38 | public function nouns() |
39 | 39 | { |
40 | 40 | return [ |
41 | - [self::KEY, [self::KEY ]], |
|
42 | - [self::KEY . "'s Car", [self::KEY, 'Car' ]], |
|
43 | - ['8th ' . self::KEY . "'s Car", ['8th ' . self::KEY, 'Car' ]], |
|
44 | - [self::KEY . "'s 2nd Car", [self::KEY, '2nd Car' ]], |
|
45 | - ['7th ' . self::KEY . "'s 4th Car", ['7th ' . self::KEY, '4th Car' ]], |
|
41 | + [self::KEY, [self::KEY]], |
|
42 | + [self::KEY . "'s Car", [self::KEY, 'Car']], |
|
43 | + ['8th ' . self::KEY . "'s Car", ['8th ' . self::KEY, 'Car']], |
|
44 | + [self::KEY . "'s 2nd Car", [self::KEY, '2nd Car']], |
|
45 | + ['7th ' . self::KEY . "'s 4th Car", ['7th ' . self::KEY, '4th Car']], |
|
46 | 46 | ['7th ' . self::KEY . "'s 4th Car's Wheel", ['7th ' . self::KEY, '4th Car', 'Wheel']], |
47 | 47 | ]; |
48 | 48 | } |