Is a valid way (PSR-2) to write code with two blank lines per line?
For instance:
$a = 1; $b = 2;
Or should there always be only one blank line between $ a and $ b ?
Yes, this is acceptable by the PSR-2 standard.
The standard indicates:
Blank lines MAY be added to improve readability and indicate appropriate blocks of code.