ovr / phpsa

Smart/Static Analyzer(sis) for PHP :bowtie::neckbeard:
Other
638 stars 77 forks source link

Make compiler notices configurable #277

Closed ddmler closed 7 years ago

ddmler commented 7 years ago

Hey!

Type: new feature

Link to issue: #276

This pull request affects the following components (please check boxes):

In raising this pull request, I confirm the following (please check boxes):

Small description of change:

Renames every compiler notice to type language_error and makes them configurable. If disabled only syntax-errors and enabled analyzers will notice. If all analyzers are disabled too only syntax errors will be shown. With this we can finally disable all those false notices we currently get :+1:

ovr commented 7 years ago

Thanks you @ddmler 👍

It looks like a hack, but anyway for now we needed this 😸