diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index 2d03dc7008..5b948de736 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -24,6 +24,7 @@ 'array_syntax' => true, 'binary_operator_spaces' => true, 'class_attributes_separation' => true, + 'class_definition' => true, 'concat_space' => [ 'spacing' => 'one', ], diff --git a/src/News/Entry.php b/src/News/Entry.php index 838a56a2bd..00b82ebfd8 100755 --- a/src/News/Entry.php +++ b/src/News/Entry.php @@ -2,7 +2,8 @@ namespace phpweb\News; -class Entry { +class Entry +{ public const CATEGORIES = [ 'frontpage' => 'PHP.net frontpage news', 'releases' => 'New PHP release', diff --git a/src/UserNotes/Sorter.php b/src/UserNotes/Sorter.php index e19a3d462a..86df8a86db 100644 --- a/src/UserNotes/Sorter.php +++ b/src/UserNotes/Sorter.php @@ -2,7 +2,8 @@ namespace phpweb\UserNotes; -class Sorter { +class Sorter +{ private $maxVote; private $minVote;