@@ -147,50 +147,50 @@ public function testAddQueryPartWithAlias(): void
147147
148148 /** @dataProvider matchesDataProvider */
149149 public function testMatches (
150- string $ stringForTrueCase ,
151- mixed $ stringForFalseCase ,
152- StringFilter $ initFilter
150+ string $ trueCase ,
151+ mixed $ falseCase ,
152+ StringFilter $ filter
153153 ): void {
154- $ this ->assertTrue ($ initFilter ->matches ($ stringForTrueCase ));
155- $ this ->assertFalse ($ initFilter ->matches ($ stringForFalseCase ));
154+ $ this ->assertTrue ($ filter ->matches ($ trueCase ));
155+ $ this ->assertFalse ($ filter ->matches ($ falseCase ));
156156 }
157157
158158 public static function matchesDataProvider (): \Generator
159159 {
160160 yield "test match equals " => [
161- 'stringForTrueCase ' => 'test theme 1 ' ,
162- 'stringForFalseCase ' => 'test theme 22 ' ,
163- 'initFilter ' => new StringFilter (equals: 'TEST theme 1 ' )
161+ 'trueCase ' => 'test theme 1 ' ,
162+ 'falseCase ' => 'test theme 22 ' ,
163+ 'filter ' => new StringFilter (equals: 'TEST theme 1 ' )
164164 ];
165165
166166 yield "test match contains " => [
167- 'stringForTrueCase ' => 'test abc theme ' ,
168- 'stringForFalseCase ' => 'test xyz theme ' ,
169- 'initFilter ' => new StringFilter (contains: 'aBC ' )
167+ 'trueCase ' => 'test abc theme ' ,
168+ 'falseCase ' => 'test xyz theme ' ,
169+ 'filter ' => new StringFilter (contains: 'aBC ' )
170170 ];
171171
172172 yield "test match begins with " => [
173- 'stringForTrueCase ' => 'this start ' ,
174- 'stringForFalseCase ' => 'this does not start with ' ,
175- 'initFilter ' => new StringFilter (beginsWith: 'this START ' )
173+ 'trueCase ' => 'this start ' ,
174+ 'falseCase ' => 'this does not start with ' ,
175+ 'filter ' => new StringFilter (beginsWith: 'this START ' )
176176 ];
177177
178178 yield "test match begins with and contains " => [
179- 'stringForTrueCase ' => 'this start with abc ' ,
180- 'stringForFalseCase ' => 'this does not start with abc ' ,
181- 'initFilter ' => new StringFilter (contains: 'abc ' , beginsWith: 'THIS start ' )
179+ 'trueCase ' => 'this start with abc ' ,
180+ 'falseCase ' => 'this does not start with abc ' ,
181+ 'filter ' => new StringFilter (contains: 'abc ' , beginsWith: 'THIS start ' )
182182 ];
183183
184184 yield "test match equals and contains " => [
185- 'stringForTrueCase ' => 'this is abc ' ,
186- 'stringForFalseCase ' => 'this is not abc ' ,
187- 'initFilter ' => new StringFilter (equals: 'This Is Abc ' , contains: 'ABC ' )
185+ 'trueCase ' => 'this is abc ' ,
186+ 'falseCase ' => 'this is not abc ' ,
187+ 'filter ' => new StringFilter (equals: 'This Is Abc ' , contains: 'ABC ' )
188188 ];
189189
190190 yield "test is and is not string " => [
191- 'stringForTrueCase ' => '23 ' ,
192- 'stringForFalseCase ' => 23 ,
193- 'initFilter ' => new StringFilter (equals: '23 ' )
191+ 'trueCase ' => '23 ' ,
192+ 'falseCase ' => 23 ,
193+ 'filter ' => new StringFilter (equals: '23 ' )
194194 ];
195195 }
196196}
0 commit comments