Skip to content

Commit 3e6ce10

Browse files
committed
Merge branch 'feature/config-file-nitpick' of https://github.com/jrfnl/PHP_CodeSniffer
2 parents 6100f99 + 36fe073 commit 3e6ce10

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CodeSniffer.conf.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
'show_warnings' => '0',
66
'show_progress' => '1',
77
'report_width' => '120',
8-
)
8+
);
99
?>

src/Config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1597,7 +1597,7 @@ public static function setConfigData($key, $value, $temp=false)
15971597
if ($temp === false) {
15981598
$output = '<'.'?php'."\n".' $phpCodeSnifferConfig = ';
15991599
$output .= var_export($phpCodeSnifferConfig, true);
1600-
$output .= "\n?".'>';
1600+
$output .= ";\n?".'>';
16011601

16021602
if (file_put_contents($configFile, $output) === false) {
16031603
$error = 'ERROR: Config file '.$configFile.' could not be written'.PHP_EOL.PHP_EOL;

0 commit comments

Comments
 (0)