Skip to content

Commit 6dca63c

Browse files
committed
style: coding standard adjustments
1 parent f0d136f commit 6dca63c

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"require-dev": {
4646
"phpunit/phpunit": "^7 || ^8 || ^9",
4747
"phpstan/phpstan": "^1.4.6",
48-
"wdes/coding-standard": "^3.0"
48+
"wdes/coding-standard": "^3.2"
4949
},
5050
"autoload": {
5151
"psr-4": {

src/ErrorFormatter/GithubErrorFormatter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ public function __construct(
5353
RelativePathHelper $relativePathHelper,
5454
ErrorFormatter $errorFormatter
5555
) {
56-
$this->relativePathHelper = $relativePathHelper;
57-
$this->errorFormatter = $errorFormatter;
56+
$this->relativePathHelper = $relativePathHelper;
57+
$this->errorFormatter = $errorFormatter;
5858
}
5959

6060
public function formatErrors(AnalysisResult $analysisResult, Output $output): int

tests/ErrorFormatter/GithubErrorFormatterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public function dataFormatterOutputProvider(): iterable
130130
first generic error
131131
second generic error
132132
-- ----------------------
133-
' . $this->getEndTable() . '
133+
' . $this->getEndTable() . '
134134
[ERROR] Found 2 errors
135135
136136
::error ::first generic error

tests/ErrorFormatter/GitlabFormatterTest.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -140,12 +140,12 @@ public function dataFormatterOutputProvider(): iterable
140140
}
141141
]',
142142
];
143-
yield [
144-
'Multiple file errors, including error with line=null',
145-
1,
146-
5,
147-
0,
148-
'[
143+
yield [
144+
'Multiple file errors, including error with line=null',
145+
1,
146+
5,
147+
0,
148+
'[
149149
{
150150
"description": "Bar\nBar2",
151151
"fingerprint": "034b4afbfb347494c14e396ed8327692f58be4cd27e8aff5f19f4194934db7c9",
@@ -202,7 +202,7 @@ public function dataFormatterOutputProvider(): iterable
202202
}
203203
}
204204
]',
205-
];
205+
];
206206

207207
yield [
208208
'Multiple generic errors',

0 commit comments

Comments
 (0)