One of Sublime Text best functions

Search and replace – add blank lines after namespace declarations

At the moment PHP Code Sniffer Fixer, I use it via the Sublime Text PHP Code Sniffer plugin, seems not to fix missing blank lines after namespace declarations.

Missing blank line
Missing blank line

It’s not a drama and a quick search and replace in Sublime Text can fix that
One of Sublime Text best functions
One of Sublime Text best functions

Here is the match

(^namespace\s+[\w\\_]*;$)(?!\n{2,})

and here it is the replacement

$1\n

I’ve launched it on the file tree from the library root and did not unleash hell on the code. This is as far as testing it has gone.

I appreciate your input