Skip to content

Commit 59c070f

Browse files
authored
Enhancement: Enable blank_line_after_opening_tag fixer (#875)
1 parent 25d2dc1 commit 59c070f

39 files changed

+47
-4
lines changed

.php-cs-fixer.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
'array_syntax' => true,
2525
'binary_operator_spaces' => true,
2626
'blank_line_after_namespace' => true,
27+
'blank_line_after_opening_tag' => true,
2728
'class_attributes_separation' => true,
2829
'class_definition' => true,
2930
'concat_space' => [

.router.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
$_SERVER["SERVER_ADDR"] = $_SERVER["HTTP_HOST"];
34

45
$filename = $_SERVER["PATH_INFO"] ?? $_SERVER["SCRIPT_NAME"];

archive/index.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
include_once __DIR__ . '/../include/prepend.inc';
34
$i = 0;
45
do {

backend/index.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
// Simulate a /backend shortcut call (which will lead to a manual page)
34
$_SERVER['REQUEST_URI'] = '/backend';
45
include_once __DIR__ . '/../include/prepend.inc';

bin/index.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
// Simulate a /bin shortcut call (which will lead to a manual page)
34
$_SERVER['REQUEST_URI'] = '/bin';
45
include_once __DIR__ . '/../include/prepend.inc';

conferences/index.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
$_SERVER['BASE_PAGE'] = 'conferences/index.php';
34
include_once __DIR__ . '/../include/prepend.inc';
45
include_once __DIR__ . '/../include/pregen-news.inc';

credits.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
$_SERVER['BASE_PAGE'] = 'credits.php';
34
include_once __DIR__ . '/include/prepend.inc';
45

images/elephpants.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
include_once __DIR__ . '/../include/prepend.inc';
34

45
$now = $_SERVER["REQUEST_TIME"];

images/index.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
// Simulate a /images shortcut call (which will lead to a manual page)
34
$_SERVER['REQUEST_URI'] = '/images';
45
include_once __DIR__ . '/../include/prepend.inc';

include/branches.inc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
include_once __DIR__ . '/releases.inc';
34
include_once __DIR__ . '/version.inc';
45

0 commit comments

Comments
 (0)