@@ -14,7 +14,7 @@ discard block |
||
14 | 14 | */ |
15 | 15 | public function hasKey($key) { |
16 | 16 | $this->startStep('has key "' . $key . '"') |
17 | - ->assertArrayHasKey($key); |
|
17 | + ->assertArrayHasKey($key); |
|
18 | 18 | |
19 | 19 | return $this; |
20 | 20 | } |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | */ |
28 | 28 | public function doesNotHaveKey($key) { |
29 | 29 | $this->startStep('does not have key "' . $key . '"') |
30 | - ->assertArrayNotHasKey($key); |
|
30 | + ->assertArrayNotHasKey($key); |
|
31 | 31 | |
32 | 32 | return $this; |
33 | 33 | } |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | public function hasSubset($subset, $subsetName = '') { |
39 | 39 | $stepName = $subsetName ? "has subset \"{$subsetName}\"" : 'has expected subset'; |
40 | 40 | $this->startStep($stepName) |
41 | - ->assertArraySubset($subset, false); |
|
41 | + ->assertArraySubset($subset, false); |
|
42 | 42 | |
43 | 43 | return $this; |
44 | 44 | } |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | $stepName = $subsetName ? "has exactly the same subset \"{$subsetName}\"" : 'has exactly the same expected subset'; |
58 | 58 | |
59 | 59 | $this->startStep($stepName) |
60 | - ->assertArraySubset($subset, true); |
|
60 | + ->assertArraySubset($subset, true); |
|
61 | 61 | |
62 | 62 | return $this; |
63 | 63 | } |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | $stepName = $expectedValueName ? "has same size as {$expectedValueName}" : "has same size as expected"; |
70 | 70 | |
71 | 71 | $this->startStep($stepName) |
72 | - ->assertSameSize($expected); |
|
72 | + ->assertSameSize($expected); |
|
73 | 73 | |
74 | 74 | return $this; |
75 | 75 | } |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | $stepName = $expectedValueName ? "does not have same size as {$expectedValueName}" : "does not have same size as expected"; |
82 | 82 | |
83 | 83 | $this->startStep($stepName) |
84 | - ->assertNotSameSize($expected); |
|
84 | + ->assertNotSameSize($expected); |
|
85 | 85 | |
86 | 86 | return $this; |
87 | 87 | } |
@@ -93,7 +93,7 @@ discard block |
||
93 | 93 | $stepName = $needleName ? "contains {$needleName}" : "contains expected needle"; |
94 | 94 | |
95 | 95 | $this->startStep($stepName) |
96 | - ->assertContains($needle); |
|
96 | + ->assertContains($needle); |
|
97 | 97 | |
98 | 98 | return $this; |
99 | 99 | } |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | $stepName = $needleName ? "does not contain {$needleName}" : "does not contain expected needle"; |
106 | 106 | |
107 | 107 | $this->startStep($stepName) |
108 | - ->assertNotContains($needle); |
|
108 | + ->assertNotContains($needle); |
|
109 | 109 | |
110 | 110 | return $this; |
111 | 111 | } |
@@ -115,7 +115,7 @@ discard block |
||
115 | 115 | */ |
116 | 116 | public function containsOnlyValuesOfType($type) { |
117 | 117 | $this->startStep('contains only values of type "' . $type . '"') |
118 | - ->assertContainsOnly($type); |
|
118 | + ->assertContainsOnly($type); |
|
119 | 119 | |
120 | 120 | return $this; |
121 | 121 | } |
@@ -125,7 +125,7 @@ discard block |
||
125 | 125 | */ |
126 | 126 | public function containsOnlyValuesOfNativeType($type) { |
127 | 127 | $this->startStep('contains only values of native type "' . $type . '"') |
128 | - ->assertContainsOnly($type, true); |
|
128 | + ->assertContainsOnly($type, true); |
|
129 | 129 | |
130 | 130 | return $this; |
131 | 131 | } |
@@ -135,7 +135,7 @@ discard block |
||
135 | 135 | */ |
136 | 136 | public function containsOnlyInstancesOf($class) { |
137 | 137 | $this->startStep('contains only instances of "' . $class . '"') |
138 | - ->assertContainsOnlyInstancesOf($class); |
|
138 | + ->assertContainsOnlyInstancesOf($class); |
|
139 | 139 | |
140 | 140 | return $this; |
141 | 141 | } |
@@ -145,7 +145,7 @@ discard block |
||
145 | 145 | */ |
146 | 146 | public function doesNotContainOnlyValuesOfType($type) { |
147 | 147 | $this->startStep('does not contain only values of type "' . $type . '"') |
148 | - ->assertNotContainsOnly($type, null); |
|
148 | + ->assertNotContainsOnly($type, null); |
|
149 | 149 | |
150 | 150 | return $this; |
151 | 151 | } |
@@ -155,7 +155,7 @@ discard block |
||
155 | 155 | */ |
156 | 156 | public function doesNotContainOnlyValuesOfNativeType($type) { |
157 | 157 | $this->startStep('does not contain only values of native type "' . $type . '"') |
158 | - ->assertNotContainsOnly($type, true); |
|
158 | + ->assertNotContainsOnly($type, true); |
|
159 | 159 | |
160 | 160 | return $this; |
161 | 161 | } |
@@ -167,7 +167,7 @@ discard block |
||
167 | 167 | $stepName = $expectedValueName ? "has count equal to count of {$expectedValueName}" : "has count equal to count of expected"; |
168 | 168 | |
169 | 169 | $this->startStep($stepName) |
170 | - ->assertCount($this->convertToCount($countOrCountable)); |
|
170 | + ->assertCount($this->convertToCount($countOrCountable)); |
|
171 | 171 | |
172 | 172 | return $this; |
173 | 173 | } |
@@ -179,7 +179,7 @@ discard block |
||
179 | 179 | $stepName = $expectedValueName ? "does not have count equal count of {$expectedValueName}" : "does not have count equal count of expected"; |
180 | 180 | |
181 | 181 | $this->startStep($stepName) |
182 | - ->assertNotCount($this->convertToCount($countOrCountable)); |
|
182 | + ->assertNotCount($this->convertToCount($countOrCountable)); |
|
183 | 183 | |
184 | 184 | return $this; |
185 | 185 | } |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | * @return $this |
14 | 14 | */ |
15 | 15 | public function hasKey($key) { |
16 | - $this->startStep('has key "' . $key . '"') |
|
16 | + $this->startStep('has key "'.$key.'"') |
|
17 | 17 | ->assertArrayHasKey($key); |
18 | 18 | |
19 | 19 | return $this; |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | * @return $this |
27 | 27 | */ |
28 | 28 | public function doesNotHaveKey($key) { |
29 | - $this->startStep('does not have key "' . $key . '"') |
|
29 | + $this->startStep('does not have key "'.$key.'"') |
|
30 | 30 | ->assertArrayNotHasKey($key); |
31 | 31 | |
32 | 32 | return $this; |
@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | * @return $this |
115 | 115 | */ |
116 | 116 | public function containsOnlyValuesOfType($type) { |
117 | - $this->startStep('contains only values of type "' . $type . '"') |
|
117 | + $this->startStep('contains only values of type "'.$type.'"') |
|
118 | 118 | ->assertContainsOnly($type); |
119 | 119 | |
120 | 120 | return $this; |
@@ -124,7 +124,7 @@ discard block |
||
124 | 124 | * @return $this |
125 | 125 | */ |
126 | 126 | public function containsOnlyValuesOfNativeType($type) { |
127 | - $this->startStep('contains only values of native type "' . $type . '"') |
|
127 | + $this->startStep('contains only values of native type "'.$type.'"') |
|
128 | 128 | ->assertContainsOnly($type, true); |
129 | 129 | |
130 | 130 | return $this; |
@@ -134,7 +134,7 @@ discard block |
||
134 | 134 | * @return $this |
135 | 135 | */ |
136 | 136 | public function containsOnlyInstancesOf($class) { |
137 | - $this->startStep('contains only instances of "' . $class . '"') |
|
137 | + $this->startStep('contains only instances of "'.$class.'"') |
|
138 | 138 | ->assertContainsOnlyInstancesOf($class); |
139 | 139 | |
140 | 140 | return $this; |
@@ -144,7 +144,7 @@ discard block |
||
144 | 144 | * @return $this |
145 | 145 | */ |
146 | 146 | public function doesNotContainOnlyValuesOfType($type) { |
147 | - $this->startStep('does not contain only values of type "' . $type . '"') |
|
147 | + $this->startStep('does not contain only values of type "'.$type.'"') |
|
148 | 148 | ->assertNotContainsOnly($type, null); |
149 | 149 | |
150 | 150 | return $this; |
@@ -154,7 +154,7 @@ discard block |
||
154 | 154 | * @return $this |
155 | 155 | */ |
156 | 156 | public function doesNotContainOnlyValuesOfNativeType($type) { |
157 | - $this->startStep('does not contain only values of native type "' . $type . '"') |
|
157 | + $this->startStep('does not contain only values of native type "'.$type.'"') |
|
158 | 158 | ->assertNotContainsOnly($type, true); |
159 | 159 | |
160 | 160 | return $this; |
@@ -16,7 +16,7 @@ discard block |
||
16 | 16 | */ |
17 | 17 | public function isInternalType($type): self { |
18 | 18 | $this->startStep('is internal type "' . $type . '"') |
19 | - ->assertInternalType($type); |
|
19 | + ->assertInternalType($type); |
|
20 | 20 | |
21 | 21 | return $this; |
22 | 22 | } |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | */ |
27 | 27 | public function isNotInternalType($type): self { |
28 | 28 | $this->startStep('is not internal type "' . $type . '"') |
29 | - ->assertNotInternalType($type); |
|
29 | + ->assertNotInternalType($type); |
|
30 | 30 | |
31 | 31 | return $this; |
32 | 32 | } |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | $stepName = $expectedValueName ? "is equal to {$expectedValueName}" : "is equal to expected"; |
39 | 39 | |
40 | 40 | $this->startStep($stepName) |
41 | - ->assertEquals($expected); |
|
41 | + ->assertEquals($expected); |
|
42 | 42 | |
43 | 43 | return $this; |
44 | 44 | } |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | public function isNotEqualTo($expected, $expectedValueName = '') { |
50 | 50 | $stepName = $expectedValueName ? "is not equal to {$expectedValueName}" : "is not equal to expected"; |
51 | 51 | $this->startStep($stepName) |
52 | - ->assertNotEquals($expected); |
|
52 | + ->assertNotEquals($expected); |
|
53 | 53 | |
54 | 54 | return $this; |
55 | 55 | } |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | */ |
60 | 60 | public function isGreaterThan($expected): self { |
61 | 61 | $this->startStep('is greater than "' . $expected . '"') |
62 | - ->assertGreaterThan($expected); |
|
62 | + ->assertGreaterThan($expected); |
|
63 | 63 | |
64 | 64 | return $this; |
65 | 65 | } |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | */ |
70 | 70 | public function isLessThan($expected): self { |
71 | 71 | $this->startStep('is less than "' . $expected . '"') |
72 | - ->assertLessThan($expected); |
|
72 | + ->assertLessThan($expected); |
|
73 | 73 | |
74 | 74 | return $this; |
75 | 75 | } |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | */ |
80 | 80 | public function isGreaterOrEqualTo($expected): self { |
81 | 81 | $this->startStep('is greater or equal to "' . $expected . '"') |
82 | - ->assertGreaterThanOrEqual($expected); |
|
82 | + ->assertGreaterThanOrEqual($expected); |
|
83 | 83 | |
84 | 84 | return $this; |
85 | 85 | } |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | */ |
90 | 90 | public function isLessOrEqualTo($expected): self { |
91 | 91 | $this->startStep('is less or equal to "' . $expected . '"') |
92 | - ->assertLessThanOrEqual($expected); |
|
92 | + ->assertLessThanOrEqual($expected); |
|
93 | 93 | |
94 | 94 | return $this; |
95 | 95 | } |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | */ |
100 | 100 | public function isNull(): self { |
101 | 101 | $this->startStep('is null') |
102 | - ->assertNull(); |
|
102 | + ->assertNull(); |
|
103 | 103 | |
104 | 104 | return $this; |
105 | 105 | } |
@@ -109,7 +109,7 @@ discard block |
||
109 | 109 | */ |
110 | 110 | public function isNotNull(): self { |
111 | 111 | $this->startStep('is not null') |
112 | - ->assertNotNull(); |
|
112 | + ->assertNotNull(); |
|
113 | 113 | |
114 | 114 | return $this; |
115 | 115 | } |
@@ -119,7 +119,7 @@ discard block |
||
119 | 119 | */ |
120 | 120 | public function isEmpty(): self { |
121 | 121 | $this->startStep('is empty') |
122 | - ->assertEmpty(); |
|
122 | + ->assertEmpty(); |
|
123 | 123 | |
124 | 124 | return $this; |
125 | 125 | } |
@@ -129,7 +129,7 @@ discard block |
||
129 | 129 | */ |
130 | 130 | public function isNotEmpty(): self { |
131 | 131 | $this->startStep('is not empty') |
132 | - ->assertNotEmpty(); |
|
132 | + ->assertNotEmpty(); |
|
133 | 133 | |
134 | 134 | return $this; |
135 | 135 | } |
@@ -140,7 +140,7 @@ discard block |
||
140 | 140 | public function isTheSameAs($expected, $expectedValueName = '') { |
141 | 141 | $stepName = $expectedValueName ? "is the same as {$expectedValueName}" : "is the same as expected"; |
142 | 142 | $this->startStep($stepName) |
143 | - ->assertSame($expected); |
|
143 | + ->assertSame($expected); |
|
144 | 144 | |
145 | 145 | return $this; |
146 | 146 | } |
@@ -152,7 +152,7 @@ discard block |
||
152 | 152 | $stepName = $expectedValueName ? "is not the same as {$expectedValueName}" : "is not the same as expected"; |
153 | 153 | |
154 | 154 | $this->startStep($stepName) |
155 | - ->assertNotSame($expected); |
|
155 | + ->assertNotSame($expected); |
|
156 | 156 | |
157 | 157 | return $this; |
158 | 158 | } |
@@ -15,7 +15,7 @@ discard block |
||
15 | 15 | * @return $this |
16 | 16 | */ |
17 | 17 | public function isInternalType($type): self { |
18 | - $this->startStep('is internal type "' . $type . '"') |
|
18 | + $this->startStep('is internal type "'.$type.'"') |
|
19 | 19 | ->assertInternalType($type); |
20 | 20 | |
21 | 21 | return $this; |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | * @return $this |
26 | 26 | */ |
27 | 27 | public function isNotInternalType($type): self { |
28 | - $this->startStep('is not internal type "' . $type . '"') |
|
28 | + $this->startStep('is not internal type "'.$type.'"') |
|
29 | 29 | ->assertNotInternalType($type); |
30 | 30 | |
31 | 31 | return $this; |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | * @return $this |
59 | 59 | */ |
60 | 60 | public function isGreaterThan($expected): self { |
61 | - $this->startStep('is greater than "' . $expected . '"') |
|
61 | + $this->startStep('is greater than "'.$expected.'"') |
|
62 | 62 | ->assertGreaterThan($expected); |
63 | 63 | |
64 | 64 | return $this; |
@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | * @return $this |
69 | 69 | */ |
70 | 70 | public function isLessThan($expected): self { |
71 | - $this->startStep('is less than "' . $expected . '"') |
|
71 | + $this->startStep('is less than "'.$expected.'"') |
|
72 | 72 | ->assertLessThan($expected); |
73 | 73 | |
74 | 74 | return $this; |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | * @return $this |
79 | 79 | */ |
80 | 80 | public function isGreaterOrEqualTo($expected): self { |
81 | - $this->startStep('is greater or equal to "' . $expected . '"') |
|
81 | + $this->startStep('is greater or equal to "'.$expected.'"') |
|
82 | 82 | ->assertGreaterThanOrEqual($expected); |
83 | 83 | |
84 | 84 | return $this; |
@@ -88,7 +88,7 @@ discard block |
||
88 | 88 | * @return $this |
89 | 89 | */ |
90 | 90 | public function isLessOrEqualTo($expected): self { |
91 | - $this->startStep('is less or equal to "' . $expected . '"') |
|
91 | + $this->startStep('is less or equal to "'.$expected.'"') |
|
92 | 92 | ->assertLessThanOrEqual($expected); |
93 | 93 | |
94 | 94 | return $this; |
@@ -14,7 +14,7 @@ discard block |
||
14 | 14 | */ |
15 | 15 | public function isTrue() { |
16 | 16 | $this->startStep('is true') |
17 | - ->assertTrue(); |
|
17 | + ->assertTrue(); |
|
18 | 18 | |
19 | 19 | return $this; |
20 | 20 | } |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | */ |
25 | 25 | public function isNotTrue() { |
26 | 26 | $this->startStep('is not true') |
27 | - ->assertNotTrue(); |
|
27 | + ->assertNotTrue(); |
|
28 | 28 | |
29 | 29 | return $this; |
30 | 30 | } |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | */ |
35 | 35 | public function isFalse() { |
36 | 36 | $this->startStep('is false') |
37 | - ->assertFalse(); |
|
37 | + ->assertFalse(); |
|
38 | 38 | |
39 | 39 | return $this; |
40 | 40 | } |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | */ |
45 | 45 | public function isNotFalse() { |
46 | 46 | $this->startStep('is not false') |
47 | - ->assertNotFalse(); |
|
47 | + ->assertNotFalse(); |
|
48 | 48 | |
49 | 49 | return $this; |
50 | 50 | } |
@@ -16,7 +16,7 @@ discard block |
||
16 | 16 | */ |
17 | 17 | public function isExist(): self { |
18 | 18 | $this->startStep('is exist') |
19 | - ->assertClassExists(); |
|
19 | + ->assertClassExists(); |
|
20 | 20 | |
21 | 21 | return $this; |
22 | 22 | } |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | */ |
27 | 27 | public function isNotExist(): self { |
28 | 28 | $this->startStep('is not exist') |
29 | - ->assertClassDoesNotExist(); |
|
29 | + ->assertClassDoesNotExist(); |
|
30 | 30 | |
31 | 31 | return $this; |
32 | 32 | } |
@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | */ |
37 | 37 | public function isInterface(): self { |
38 | 38 | $this->startStep('is interface') |
39 | - ->assertClassIsInterface(); |
|
39 | + ->assertClassIsInterface(); |
|
40 | 40 | |
41 | 41 | return $this; |
42 | 42 | } |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | */ |
47 | 47 | public function isNotInterface(): self { |
48 | 48 | $this->startStep('is not interface') |
49 | - ->assertClassIsNotInterface(); |
|
49 | + ->assertClassIsNotInterface(); |
|
50 | 50 | |
51 | 51 | return $this; |
52 | 52 | } |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | */ |
57 | 57 | public function hasStaticAttribute($attribute): self { |
58 | 58 | $this->startStep("has static attribute \"{$attribute}\"") |
59 | - ->assertClassHasStaticAttribute($attribute); |
|
59 | + ->assertClassHasStaticAttribute($attribute); |
|
60 | 60 | |
61 | 61 | return $this; |
62 | 62 | } |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | */ |
67 | 67 | public function doesNotHaveStaticAttribute($attribute): self { |
68 | 68 | $this->startStep("does not have static attribute \"{$attribute}\"") |
69 | - ->assertClassNotHasStaticAttribute($attribute); |
|
69 | + ->assertClassNotHasStaticAttribute($attribute); |
|
70 | 70 | |
71 | 71 | return $this; |
72 | 72 | } |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | */ |
77 | 77 | public function hasAttribute($attribute): self { |
78 | 78 | $this->startStep("has attribute \"{$attribute }\"") |
79 | - ->assertClassHasAttribute($attribute); |
|
79 | + ->assertClassHasAttribute($attribute); |
|
80 | 80 | |
81 | 81 | return $this; |
82 | 82 | } |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | */ |
87 | 87 | public function doesNotHaveAttribute($attribute): self { |
88 | 88 | $this->startStep("does not have attribute \"{$attribute}\"") |
89 | - ->assertClassNotHasAttribute($attribute); |
|
89 | + ->assertClassNotHasAttribute($attribute); |
|
90 | 90 | |
91 | 91 | return $this; |
92 | 92 | } |
@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | */ |
19 | 19 | public function isExist() { |
20 | 20 | $this->startStep('is exist') |
21 | - ->assertDirectoryExists(); |
|
21 | + ->assertDirectoryExists(); |
|
22 | 22 | |
23 | 23 | return $this; |
24 | 24 | } |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | */ |
29 | 29 | public function isNotExist() { |
30 | 30 | $this->startStep('is not exist') |
31 | - ->assertDirectoryNotExists(); |
|
31 | + ->assertDirectoryNotExists(); |
|
32 | 32 | |
33 | 33 | return $this; |
34 | 34 | } |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | */ |
14 | 14 | public function isFinite(): self { |
15 | 15 | $this->startStep('is finite') |
16 | - ->assertFinite(); |
|
16 | + ->assertFinite(); |
|
17 | 17 | |
18 | 18 | return $this; |
19 | 19 | } |
@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | */ |
24 | 24 | public function isInfinite(): self { |
25 | 25 | $this->startStep('is infinite') |
26 | - ->assertInfinite(); |
|
26 | + ->assertInfinite(); |
|
27 | 27 | |
28 | 28 | return $this; |
29 | 29 | } |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | */ |
34 | 34 | public function isNan(): self { |
35 | 35 | $this->startStep('is nan') |
36 | - ->assertNan(); |
|
36 | + ->assertNan(); |
|
37 | 37 | |
38 | 38 | return $this; |
39 | 39 | } |