1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

Enhancement: Enable trim_array_spaces fixer

Closes GH-644.
This commit is contained in:
Andreas Möller
2022-07-12 13:26:23 +02:00
committed by GitHub
parent a35d47d060
commit 4bca56f307
2 changed files with 2 additions and 1 deletions

View File

@@ -17,6 +17,7 @@ $config->setRules([
'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,
]);

View File

@@ -7,7 +7,7 @@ include_once __DIR__ . '/../include/posttohost.inc';
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'])) {