Skip to content

Commit 7406060

Browse files
authored
Enhancement: Enable include fixer (#885)
1 parent ec908ce commit 7406060

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.php-cs-fixer.php

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
'constant_case' => true,
3333
'elseif' => true,
3434
'function_declaration' => true,
35+
'include' => true,
3536
'increment_style' => [
3637
'style' => 'post',
3738
],

releases/8.2/index.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
22
$_SERVER['BASE_PAGE'] = 'releases/8.2/index.php';
3-
include (__DIR__ . '/../../include/site.inc');
3+
include __DIR__ . '/../../include/site.inc';
44

55
mirror_redirect('/releases/8.2/en.php');

releases/8.3/index.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
22
$_SERVER['BASE_PAGE'] = 'releases/8.3/index.php';
3-
include (__DIR__ . '/../../include/site.inc');
3+
include __DIR__ . '/../../include/site.inc';
44

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

0 commit comments

Comments
 (0)