Skip to content

Commit 5b5208b

Browse files
committed
Remove word 'sniffs' from method names
1 parent b127df4 commit 5b5208b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/Core/Config/SniffsExcludeArgsTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ final class SniffsExcludeArgsTest extends TestCase
3030
* @param string|null $suggestion Help text shown to end user with correct syntax for argument.
3131
*
3232
* @return void
33-
* @dataProvider dataInvalidSniffs
33+
* @dataProvider dataInvalid
3434
*/
3535
public function testInvalid($argument, $value, $errors, $suggestion)
3636
{
@@ -70,7 +70,7 @@ public function testInvalid($argument, $value, $errors, $suggestion)
7070
* @see self::testInvalid()
7171
* @return non-empty-array<string, array{argument: string, value: string, errors: string[], suggestion: string|null}>
7272
*/
73-
public static function dataInvalidSniffs()
73+
public static function dataInvalid()
7474
{
7575
$arguments = [
7676
'sniffs',
@@ -197,7 +197,7 @@ public static function dataInvalidSniffs()
197197

198198
return $data;
199199

200-
}//end dataInvalidSniffs()
200+
}//end dataInvalid()
201201

202202

203203
/**
@@ -208,7 +208,7 @@ public static function dataInvalidSniffs()
208208
* @param string[] $result Expected sniffs to be set on the Config object.
209209
*
210210
* @return void
211-
* @dataProvider dataValidSniffs
211+
* @dataProvider dataValid
212212
*/
213213
public function testValid($argument, $value, $result)
214214
{
@@ -225,7 +225,7 @@ public function testValid($argument, $value, $result)
225225
* @see self::testValid()
226226
* @return non-empty-array<string, array{argument: string, value: string, result: string[]}>
227227
*/
228-
public static function dataValidSniffs()
228+
public static function dataValid()
229229
{
230230
$arguments = [
231231
'sniffs',
@@ -278,7 +278,7 @@ public static function dataValidSniffs()
278278

279279
return $data;
280280

281-
}//end dataValidSniffs()
281+
}//end dataValid()
282282

283283

284284
/**

0 commit comments

Comments
 (0)