Skip to content

Commit 4e60b70

Browse files
author
Kolya Korobochkin
committed
fixed code style
1 parent 8141d14 commit 4e60b70

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

phpcs.ruleset.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414
<rule ref="Generic.Commenting">
1515
<exclude name="Generic.Commenting.DocComment"/>
1616
</rule>
17-
<rule ref="Generic.ControlStructures"/>
17+
<rule ref="Generic.ControlStructures">
18+
<exclude name="Generic.ControlStructures.DisallowYodaConditions.Found"/>
19+
</rule>
1820
<rule ref="Generic.Debug"/>
1921
<rule ref="Generic.Files">
2022
<exclude name="Generic.Files.EndFileNoNewline"/>
@@ -41,6 +43,7 @@
4143
<rule ref="Generic.PHP">
4244
<exclude name="Generic.PHP.ClosingPHPTag"/>
4345
<exclude name="Generic.PHP.UpperCaseConstant"/>
46+
<exclude name="Generic.PHP.RequireStrictTypes.MissingDeclaration"/>
4447
</rule>
4548
<rule ref="Generic.Strings"/>
4649
<rule ref="Generic.WhiteSpace.DisallowTabIndent"/>

source/Entities/SpaceEntity.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class SpaceEntity extends AbstractEntity
1717
protected $shortName;
1818

1919
/**
20-
* @var bool Space state.
20+
* @var boolean Space state.
2121
*/
2222
protected $active;
2323

source/Entities/TicketEntity.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ class TicketEntity extends AbstractEntity
3737
protected $editPostUrl;
3838

3939
/**
40-
* @var int Ticket's views count.
40+
* @var integer Ticket's views count.
4141
*/
4242
protected $viewsCount = 0;
4343

4444
/**
45-
* @var int Ticket's comments count.
45+
* @var integer Ticket's comments count.
4646
*/
4747
protected $commentsCount = 0;
4848

0 commit comments

Comments
 (0)