niccord / BracketsCheck

notepad++ plugin for brackets balancing check
The Unlicense
20 stars 3 forks source link

Allow missing php closing tag #9

Closed kkmuffme closed 3 years ago

kkmuffme commented 5 years ago

For php it is normal (aka adviced) to leave off the closing ?> at the end of the file.

Thus it is not an error that there is 1 less ?> than <?php Would be good, if it wouldn't report this as incorrect.

niccord commented 3 years ago

This is a very specific case and I am not sure this is something I want to achieve. What if, instead, you put ?> at the end of your file before checking the brackets?

kkmuffme commented 3 years ago

Yeah possible, but it's just bad for usability.

But it's not that important since I switched to a IDE now anyway