Skip to content

Commit f97e531

Browse files
author
Vincent Langlet
committed
💄 Fix lint
1 parent a9a83e0 commit f97e531

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Symfony3Custom/Sniffs/Commenting/DocCommentGroupSameTypeSniff.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,14 @@ public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr)
9999
if ($previousType === $currentType) {
100100
$fix = $phpcsFile->addFixableError(
101101
'Expected no empty lines '
102-
. 'between annotations of the same type',
102+
.'between annotations of the same type',
103103
$commentTag,
104104
'SameType'
105105
);
106106
} else {
107107
$fix = $phpcsFile->addFixableError(
108108
'Expected no empty lines '
109-
. 'between custom annotations',
109+
.'between custom annotations',
110110
$commentTag,
111111
'CustomType'
112112
);
@@ -127,7 +127,7 @@ public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr)
127127
if ($previousLine !== $commentTagLine - 2) {
128128
$fix = $phpcsFile->addFixableError(
129129
'Expected exactly one empty line '
130-
. 'between annotations of different types',
130+
.'between annotations of different types',
131131
$commentTag,
132132
'DifferentType'
133133
);
@@ -151,7 +151,7 @@ public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr)
151151
);
152152
$phpcsFile->fixer->addContentBefore(
153153
$firstOnLine,
154-
$content . $phpcsFile->eolChar
154+
$content.$phpcsFile->eolChar
155155
);
156156
} else {
157157
$this->removeLines(

Symfony3Custom/Sniffs/Functions/ScopeOrderSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr)
7676
$current = $current[0];
7777

7878
$error = 'Declare public methods first,'
79-
. 'then protected ones and finally private ones';
79+
.'then protected ones and finally private ones';
8080

8181
if (isset($previous) && $current < $previous) {
8282
$phpcsFile->addError(

0 commit comments

Comments
 (0)