Skip to content

Commit

Permalink
Enhancement: Enable trim_array_spaces fixer
Browse files Browse the repository at this point in the history
Closes GH-644.
  • Loading branch information
localheinz committed Jul 12, 2022
1 parent a35d47d commit 5d74c84
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@
'no_trailing_whitespace' => true,
'ordered_class_elements' => true,
'single_space_after_construct' => true,
'trailing_comma_in_multiline' => [
'elements' => [
'arguments',
'arrays',
],
],
'trim_array_spaces' => true,
'visibility_required' => true,
'whitespace_after_comma_in_array' => true,
]);
Expand Down
2 changes: 1 addition & 1 deletion manual/add-note.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
include_once __DIR__ . '/../include/shared-manual.inc';
include __DIR__ . '/spam_challenge.php';

site_header("Add Manual Note", array( 'css' => 'add-note.css'));
site_header("Add Manual Note", array('css' => 'add-note.css'));

// Copy over "sect" and "redirect" from GET to POST
if (empty($_POST['sect']) && isset($_GET['sect'])) {
Expand Down

0 comments on commit 5d74c84

Please sign in to comment.