Passed
Push — php8 ( 1b03c2...bfd818 )
by Donald
28:48 queued 03:34
created
test/Unit/Chekote/NounStore/Store/GetTest.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -60,15 +60,15 @@
 block discarded – undo
60 60
     {
61 61
         return [
62 62
             //                                                     key                                             parsed key                                     expected
63
-            'Noun without index returns most recent noun'      => [StoreTestCase::KEY,                            [[StoreTestCase::KEY, null]],                   StoreTestCase::$mostRecentValue],
64
-            'Noun with index returns specific noun'            => ['1st ' . StoreTestCase::KEY,                   [[StoreTestCase::KEY,    0]],                   StoreTestCase::$firstValue],
65
-            'Non-existent noun returns null'                   => ['3rd ' . StoreTestCase::KEY,                   [[StoreTestCase::KEY,    2]],                   null],
66
-            'Possessive noun w/o index string property'        => [StoreTestCase::KEY . "'s color",               [[StoreTestCase::KEY, null], ['color', null]],  'Blue'],
67
-            'Possessive noun with index string property'       => ['1st ' . StoreTestCase::KEY . "'s color",      [[StoreTestCase::KEY, 0], ['color', null]],     'Red'],
68
-            'Possessive noun w/o index collection w/o index'   => [StoreTestCase::KEY . "'s option",              [[StoreTestCase::KEY, null], ['option', null]], ['Cruise Control', 'Air Conditioning']],
69
-            'Possessive noun with index collection w/o index'  => ['1st ' . StoreTestCase::KEY . "'s option",     [[StoreTestCase::KEY, 0], ['option', null]],    ['GPS', 'Heated Seats']],
70
-            'Possessive noun w/o index collection with index'  => [StoreTestCase::KEY . "'s 1st option",          [[StoreTestCase::KEY, null], ['option', 0]],    'Cruise Control'],
71
-            'Possessive noun with index collection with index' => ['1st ' . StoreTestCase::KEY . "'s 1st option", [[StoreTestCase::KEY, 0], ['option', 0]],       'GPS'],
63
+            'Noun without index returns most recent noun'      => [StoreTestCase::KEY, [[StoreTestCase::KEY, null]], StoreTestCase::$mostRecentValue],
64
+            'Noun with index returns specific noun'            => ['1st ' . StoreTestCase::KEY, [[StoreTestCase::KEY, 0]], StoreTestCase::$firstValue],
65
+            'Non-existent noun returns null'                   => ['3rd ' . StoreTestCase::KEY, [[StoreTestCase::KEY, 2]], null],
66
+            'Possessive noun w/o index string property'        => [StoreTestCase::KEY . "'s color", [[StoreTestCase::KEY, null], ['color', null]], 'Blue'],
67
+            'Possessive noun with index string property'       => ['1st ' . StoreTestCase::KEY . "'s color", [[StoreTestCase::KEY, 0], ['color', null]], 'Red'],
68
+            'Possessive noun w/o index collection w/o index'   => [StoreTestCase::KEY . "'s option", [[StoreTestCase::KEY, null], ['option', null]], ['Cruise Control', 'Air Conditioning']],
69
+            'Possessive noun with index collection w/o index'  => ['1st ' . StoreTestCase::KEY . "'s option", [[StoreTestCase::KEY, 0], ['option', null]], ['GPS', 'Heated Seats']],
70
+            'Possessive noun w/o index collection with index'  => [StoreTestCase::KEY . "'s 1st option", [[StoreTestCase::KEY, null], ['option', 0]], 'Cruise Control'],
71
+            'Possessive noun with index collection with index' => ['1st ' . StoreTestCase::KEY . "'s 1st option", [[StoreTestCase::KEY, 0], ['option', 0]], 'GPS'],
72 72
         ];
73 73
     }
74 74
 }
Please login to merge, or discard this patch.
test/Unit/Chekote/NounStore/Assert/AssertTestCase.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -10,11 +10,11 @@
 block discarded – undo
10 10
 
11 11
 abstract class AssertTestCase extends TestCase
12 12
 {
13
-    protected IMock|AssertPhake $assert;
13
+    protected IMock | AssertPhake $assert;
14 14
 
15
-    protected IMock|StorePhake $store;
15
+    protected IMock | StorePhake $store;
16 16
 
17
-    protected IMock|KeyPhake $key;
17
+    protected IMock | KeyPhake $key;
18 18
 
19 19
     /**
20 20
      * Sets up the environment before each test.
Please login to merge, or discard this patch.
test/Unit/Chekote/NounStore/Store/StoreTestCase.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,9 +10,9 @@
 block discarded – undo
10 10
 
11 11
 abstract class StoreTestCase extends TestCase
12 12
 {
13
-    protected IMock|KeyPhake $key;
13
+    protected IMock | KeyPhake $key;
14 14
 
15
-    protected IMock|StorePhake $store;
15
+    protected IMock | StorePhake $store;
16 16
 
17 17
     /** the first value stored under self::KEY */
18 18
     protected static stdClass $firstValue;
Please login to merge, or discard this patch.
test/Unit/Chekote/NounStore/Key/KeyTestCase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 {
11 11
     const INVALID_KEY = "It's's invalid because of the double apostrophe";
12 12
 
13
-    protected IMock|KeyPhake $key;
13
+    protected IMock | KeyPhake $key;
14 14
 
15 15
     /**
16 16
      * Sets up the environment before each test.
Please login to merge, or discard this patch.