Skip to content

Commit 9709f81

Browse files
authored
Enhancement: Enable class_definition fixer (#863)
1 parent 08a7bee commit 9709f81

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
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
'class_attributes_separation' => true,
27+
'class_definition' => true,
2728
'concat_space' => [
2829
'spacing' => 'one',
2930
],

src/News/Entry.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
namespace phpweb\News;
44

5-
class Entry {
5+
class Entry
6+
{
67
public const CATEGORIES = [
78
'frontpage' => 'PHP.net frontpage news',
89
'releases' => 'New PHP release',

src/UserNotes/Sorter.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
namespace phpweb\UserNotes;
44

5-
class Sorter {
5+
class Sorter
6+
{
67
private $maxVote;
78

89
private $minVote;

0 commit comments

Comments
 (0)