Skip to content

Commit

Permalink
Merge pull request #1 from marcorosello/allow-hash
Browse files Browse the repository at this point in the history
Allow hash in the error messages
  • Loading branch information
marcorosello authored Sep 13, 2017
2 parents 6684d23 + b152bf6 commit 3063112
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lint/linter/PhpstanLinter.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ protected function parseLinterOutput($path, $err, $stdout, $stderr)
{
$result = array();
if (null !== $stdout && '' !== $stdout) {
preg_match_all('/[a-zA-Z\/.]+:[0-99999]+:[a-zA-Z\/:_()= \\\\$.0-99999\[\]]+/m', $stdout, $messages);
preg_match_all('/[a-zA-Z\/.]+:[0-99999]+:[a-zA-Z\/:_#()= \\\\$.0-99999\[\]]+/m', $stdout, $messages);
foreach ($messages[0] as $warning) {
$message = id(new ArcanistLintMessage())
->setPath($path)
Expand Down

0 comments on commit 3063112

Please sign in to comment.