# atom version : 1.27.2 # linter-php version : 1.5.1 When I lint this PHP 7.1 code in Atom... ```php try { $this->someFunction(); } catch (MyException | \Exception $e) { $this->logger->error('Oops'); } ``` ... I get many violations such as `Unexpected '|'`. But when I lint from the CMD (`php -l`), I get no error. I thought that the `linter-php` package only calls the PHP linter and then display the output, but obviously this is not what happens.
atom version : 1.27.2
linter-php version : 1.5.1
When I lint this PHP 7.1 code in Atom...
... I get many violations such as
Unexpected '|'.But when I lint from the CMD (
php -l), I get no error.I thought that the
linter-phppackage only calls the PHP linter and then display the output, but obviously this is not what happens.