We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fbd371 commit 85cc99cCopy full SHA for 85cc99c
composer.json
@@ -12,8 +12,9 @@
12
],
13
"minimum-stability": "stable",
14
"require": {
15
- "php": ">=5.6",
16
- "ext-json": "*"
+ "php": ">=5.5",
+ "ext-json": "*",
17
+ "ext-dom": "*"
18
},
19
"autoload": {
20
"psr-4": {
src/Phpcs/ReportType/CsvReport.php
@@ -3,6 +3,7 @@
3
namespace PlotBox\PhpcsParse\Phpcs\ReportType;
4
5
use PlotBox\PhpcsParse\CodeIssue;
6
+use RuntimeException;
7
8
class CsvReport implements Report
9
{
@@ -13,7 +14,7 @@ public function fromString($content)
$foundIssues = explode("\n", $content);
if (preg_match('/^ERROR:/', $foundIssues[0])) {
- throw new \RuntimeException($foundIssues[0]);
+ throw new RuntimeException($foundIssues[0]);
}
$parsedIssues = [];
0 commit comments