diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index bee766f1f5..36f55318dc 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -1,5 +1,11 @@ in(__DIR__); $config = new PhpCsFixer\Config(); @@ -20,6 +26,10 @@ ->setRules([ 'array_indentation' => true, 'constant_case' => true, + 'header_comment' => [ + 'comment_type' => 'PHPDoc', + 'header' => $header, + ], 'indentation_type' => true, 'line_ending' => true, 'no_extra_blank_lines' => true, diff --git a/archive/index.php b/archive/index.php index 7f2b776bbd..1911057a5b 100644 --- a/archive/index.php +++ b/archive/index.php @@ -1,4 +1,11 @@ 'Afghanistan', 'ALB' => 'Albania', diff --git a/include/do-download.inc b/include/do-download.inc index 33517dd6da..092a9c79f3 100644 --- a/include/do-download.inc +++ b/include/do-download.inc @@ -1,10 +1,10 @@ array ( diff --git a/include/results.inc b/include/results.inc index 70cb78d3ef..66725ddf8d 100644 --- a/include/results.inc +++ b/include/results.inc @@ -1,4 +1,11 @@ array( diff --git a/index.php b/index.php index 6248628818..856783def3 100644 --- a/index.php +++ b/index.php @@ -1,4 +1,11 @@ - 'PHP 8.1 ist ein Minor-Update der Sprache PHP und beinhaltet viele neue Features und Verbesserungen. Unter anderem Enumerations, Readonly-Properties, First-Class Callable Syntax, Fibers, Intersection-Types, Performance-Optimierungen.', 'main_title' => 'Released!', diff --git a/releases/8.1/languages/en.php b/releases/8.1/languages/en.php index 9f62cbf49a..27ec5d487f 100644 --- a/releases/8.1/languages/en.php +++ b/releases/8.1/languages/en.php @@ -1,5 +1,11 @@ 'PHP 8.1 is a major update of the PHP language. Enums, readonly properties, first-class callable syntax, fibers, intersection types, performance improvements and more.', 'main_title' => 'Released!', diff --git a/releases/8.1/languages/es.php b/releases/8.1/languages/es.php index 75485a3424..9292d96e29 100644 --- a/releases/8.1/languages/es.php +++ b/releases/8.1/languages/es.php @@ -1,7 +1,9 @@