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:
@@ -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,
|
||||
]);
|
||||
|
||||
@@ -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'])) {
|
||||
|
||||
Reference in New Issue
Block a user