Skip to content

Commit d9bcfed

Browse files
authoredAug 22, 2022
Enhancement: Enable array_syntax fixer
Co-authored-by: MathiasReker <mathias@reker.dk> Closes GH-659.
1 parent c304829 commit d9bcfed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+3279
-3278
lines changed
 

‎.php-cs-fixer.php

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
->setRiskyAllowed(true)
2121
->setRules([
2222
'array_indentation' => true,
23+
'array_syntax' => true,
2324
'class_attributes_separation' => true,
2425
'constant_case' => true,
2526
'indentation_type' => true,

‎archive/1998.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
$_SERVER['BASE_PAGE'] = 'archive/1998.php';
33
include_once __DIR__ . '/../include/prepend.inc';
44
news_archive_sidebar();
5-
site_header("News Archive - 1998", array("cache" => true));
5+
site_header("News Archive - 1998", ["cache" => true]);
66
?>
77

88
<h1>News Archive - 1998</h1>
@@ -91,4 +91,4 @@
9191
Report or check on bugs in the PHP 3 Bug Database.
9292
</p>
9393

94-
<?php site_footer(array('elephpants' => true, 'sidebar' => $SIDEBAR_DATA));
94+
<?php site_footer(['elephpants' => true, 'sidebar' => $SIDEBAR_DATA]);

0 commit comments

Comments
 (0)
Please sign in to comment.