Passed
Push — php8 ( bb7e6a )
by Donald
02:54
created
test/Integration/Chekote/NounStore/Store/GetTest.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -75,15 +75,15 @@
 block discarded – undo
75 75
     public function happyPathDataProvider(): array
76 76
     {
77 77
         return [
78
-            'Noun'                       => ['Person',               self::$alice,                'Alice is the most recent Person in the store'],
79
-            'Nth Noun'                   => ['1st Person',           self::$bob,                  'Bob is the 1st Person in the store'],
80
-            'Related Noun'               => ["Person's car",         [self::$ford, self::$chevy], 'Alice is the most recent Person in the store, and cars are Ford and Chevrolet'],
81
-            'Related Nth Noun'           => ["Person's 1st car",     self::$ford,                 'Alice is the most recent Person in the store, and her 1st car is the Ford'],
82
-            'Nth Nouns Related Noun'     => ["1st Person's car",     [self::$kia, self::$toyota], 'Bob is the 1st Person in the store, and his cars are Kia and Toyota'],
83
-            'Nth Nouns Related Nth Noun' => ["1st Person's 1st car", self::$kia,                  'Bob is the 1st Person in the store, and his 1st car is the Kia'],
84
-            'Missing Noun'               => ['Dog',                  null,                        'Dog does not exist in the store'],
85
-            'Missing Nth Noun'           => ['3rd Person',           null,                        '3rd Person does not exist in the store'],
86
-            'Missing Related Noun'       => ["Person's dog",         null,                        'Alice is the most recent Person in the store, but has no dog'],
78
+            'Noun'                       => ['Person', self::$alice, 'Alice is the most recent Person in the store'],
79
+            'Nth Noun'                   => ['1st Person', self::$bob, 'Bob is the 1st Person in the store'],
80
+            'Related Noun'               => ["Person's car", [self::$ford, self::$chevy], 'Alice is the most recent Person in the store, and cars are Ford and Chevrolet'],
81
+            'Related Nth Noun'           => ["Person's 1st car", self::$ford, 'Alice is the most recent Person in the store, and her 1st car is the Ford'],
82
+            'Nth Nouns Related Noun'     => ["1st Person's car", [self::$kia, self::$toyota], 'Bob is the 1st Person in the store, and his cars are Kia and Toyota'],
83
+            'Nth Nouns Related Nth Noun' => ["1st Person's 1st car", self::$kia, 'Bob is the 1st Person in the store, and his 1st car is the Kia'],
84
+            'Missing Noun'               => ['Dog', null, 'Dog does not exist in the store'],
85
+            'Missing Nth Noun'           => ['3rd Person', null, '3rd Person does not exist in the store'],
86
+            'Missing Related Noun'       => ["Person's dog", null, 'Alice is the most recent Person in the store, but has no dog'],
87 87
         ];
88 88
     }
89 89
 
Please login to merge, or discard this patch.
test/Unit/Chekote/Phake/Expectation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
      * @param  array                      $args   the args that are expected to be passed to the method.
67 67
      * @return AnswerBinderProxy|StubberProxy
68 68
      */
69
-    public function __call($method, array $args): AnswerBinderProxy|StubberProxy
69
+    public function __call($method, array $args): AnswerBinderProxy | StubberProxy
70 70
     {
71 71
         // record the method and args for verification later
72 72
         $this->method = $method;
Please login to merge, or discard this patch.
test/Unit/Chekote/NounStore/Key/SplitPossessionsTest.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -35,11 +35,11 @@
 block discarded – undo
35 35
     public function nouns(): array
36 36
     {
37 37
         return [
38
-            ['Frenchman',                      ['Frenchman'                       ]],
39
-            ["Dude's Car",                     ['Dude',         'Car'             ]],
40
-            ["8th Customer's Car",             ['8th Customer', 'Car'             ]],
41
-            ["Lad's 2nd Car",                  ['Lad',          '2nd Car'         ]],
42
-            ["7th Customer's 4th Car",         ['7th Customer', '4th Car'         ]],
38
+            ['Frenchman', ['Frenchman']],
39
+            ["Dude's Car", ['Dude', 'Car']],
40
+            ["8th Customer's Car", ['8th Customer', 'Car']],
41
+            ["Lad's 2nd Car", ['Lad', '2nd Car']],
42
+            ["7th Customer's 4th Car", ['7th Customer', '4th Car']],
43 43
             ["7th Customer's 4th Car's Wheel", ['7th Customer', '4th Car', 'Wheel']],
44 44
         ];
45 45
     }
Please login to merge, or discard this patch.
test/Unit/Chekote/NounStore/Key/GetOrdinalTest.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -19,11 +19,11 @@
 block discarded – undo
19 19
     public function successScenariosDataProvider(): array
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
     }
Please login to merge, or discard this patch.