Author: Andreas Möller (localheinz) Committer: GitHub (web-flow) Pusher: cmb69 Date: 2022-07-12T13:26:23+02:00
Commit: https://github.com/php/web-php/commit/4bca56f3078aecad91d174f3171b8fd017dd4d64 Raw diff: https://github.com/php/web-php/commit/4bca56f3078aecad91d174f3171b8fd017dd4d64.diff Enhancement: Enable `trim_array_spaces` fixer Closes GH-644. Changed paths: M .php-cs-fixer.php M manual/add-note.php Diff: diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index 92cca1483..43a924f27 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -17,6 +17,7 @@ 'no_trailing_whitespace' => true, 'ordered_class_elements' => true, 'single_space_after_construct' => true, + 'trim_array_spaces' => true, 'visibility_required' => true, 'whitespace_after_comma_in_array' => true, ]); diff --git a/manual/add-note.php b/manual/add-note.php index 9d896d63e..107d4c3a7 100644 --- a/manual/add-note.php +++ b/manual/add-note.php @@ -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'])) { -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php