Skip to content

Commit 36fe073

Browse files
committed
CodeSniffer.conf: end code with semicolon
While not problematic, it just feels very untidy for the `CodeSniffer.conf` file not to end the code block with a semicolon.
1 parent 498a939 commit 36fe073

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CodeSniffer.conf.dist

+1-1
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

+1-1
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)