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 09be581 commit 9fbd371Copy full SHA for 9fbd371
src/CodeIssue.php
@@ -46,7 +46,7 @@ public function __construct(
46
$this->column = $column;
47
$this->source = $source;
48
$this->message = $message;
49
- $this->type = $type;
+ $this->type = strtolower($type);
50
$this->severity = $severity;
51
$this->fixable = $fixable;
52
}
@@ -100,6 +100,8 @@ public function getMessage()
100
101
102
/**
103
+ * 'error' or 'warning'
104
+ *
105
* @return string
106
*/
107
public function getType()
0 commit comments