Skip to content

Commit 2c79c90

Browse files
authored
Merge pull request #1061 from PHPCSStandards/feature/generic-scopeindenttest-type-tweak
Generic/ScopeIndent: fix passed param type
2 parents 7fb48d6 + 3f20050 commit 2c79c90

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Standards/Generic/Tests/WhiteSpace/ScopeIndentUnitTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ final class ScopeIndentUnitTest extends AbstractSniffUnitTest
3030
*/
3131
public function setCliValues($testFile, $config)
3232
{
33-
$config->setConfigData('scope_indent_debug', false, true);
33+
$config->setConfigData('scope_indent_debug', '0', true);
3434

3535
// Tab width setting is only needed for the tabbed file.
3636
if ($testFile === 'ScopeIndentUnitTest.2.inc') {

src/Standards/PEAR/Tests/WhiteSpace/ScopeIndentUnitTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ final class ScopeIndentUnitTest extends AbstractSniffUnitTest
3030
*/
3131
public function setCliValues($testFile, $config)
3232
{
33-
$config->setConfigData('scope_indent_debug', false, true);
33+
$config->setConfigData('scope_indent_debug', '0', true);
3434

3535
}//end setCliValues()
3636

0 commit comments

Comments
 (0)