Skip to content

Commit 0a402fb

Browse files
rodrigoprimojrfnl
andauthored
Apply suggestions from code review
Co-authored-by: Juliette <[email protected]>
1 parent 7b88cfa commit 0a402fb

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

tests/Core/Config/GeneratorArgTest.php

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
/**
33
* Tests for the \PHP_CodeSniffer\Config --generator argument.
44
*
5-
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
5+
* @copyright 2024 PHPCSStandards and contributors
6+
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
67
*/
78

89
namespace PHP_CodeSniffer\Tests\Core\Config;
@@ -20,7 +21,7 @@ final class GeneratorArgTest extends TestCase
2021

2122

2223
/**
23-
* Ensure that the generator property is set when the parameter is passed.
24+
* Ensure that the generator property is set when the parameter is passed a valid value.
2425
*
2526
* @param string $generatorName Generator name.
2627
*
@@ -62,9 +63,9 @@ public function testOnlySetOnce()
6263
{
6364
$config = new ConfigDouble(
6465
[
65-
"--generator=Text",
66-
"--generator=HTML",
67-
"--generator=InvalidGenerator",
66+
'--generator=Text',
67+
'--generator=HTML',
68+
'--generator=InvalidGenerator',
6869
]
6970
);
7071

0 commit comments

Comments
 (0)