Skip to content

Commit

Permalink
Merge branch 'feature/config-file-nitpick' of https://github.com/jrfn…
Browse files Browse the repository at this point in the history
  • Loading branch information
gsherwood committed Feb 7, 2022
2 parents 6100f99 + 36fe073 commit 3e6ce10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CodeSniffer.conf.dist
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
'show_warnings' => '0',
'show_progress' => '1',
'report_width' => '120',
)
);
?>
2 changes: 1 addition & 1 deletion src/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -1597,7 +1597,7 @@ public static function setConfigData($key, $value, $temp=false)
if ($temp === false) {
$output = '<'.'?php'."\n".' $phpCodeSnifferConfig = ';
$output .= var_export($phpCodeSnifferConfig, true);
$output .= "\n?".'>';
$output .= ";\n?".'>';

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

0 comments on commit 3e6ce10

Please sign in to comment.