Skip to content

Commit

Permalink
Enhancement: Enable include fixer (#885)
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz authored Dec 7, 2023
1 parent ec908ce commit 7406060
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
'constant_case' => true,
'elseif' => true,
'function_declaration' => true,
'include' => true,
'increment_style' => [
'style' => 'post',
],
Expand Down
2 changes: 1 addition & 1 deletion releases/8.2/index.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
$_SERVER['BASE_PAGE'] = 'releases/8.2/index.php';
include (__DIR__ . '/../../include/site.inc');
include __DIR__ . '/../../include/site.inc';

mirror_redirect('/releases/8.2/en.php');
2 changes: 1 addition & 1 deletion releases/8.3/index.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
$_SERVER['BASE_PAGE'] = 'releases/8.3/index.php';
include (__DIR__ . '/../../include/site.inc');
include __DIR__ . '/../../include/site.inc';

mirror_redirect('/releases/8.3/en.php');

0 comments on commit 7406060

Please sign in to comment.