The current style does not allow a blank line after the opening, which causes some weird formatting from my point of view:
<?php declare(...); /___
require ...; \‾‾‾
echo 'xx';
<?php declare(...); /___
use Aaaa; \‾‾‾
use Bbb;
class Ccc {}
<?php declare(...); /___
namespace Aaa; \‾‾‾
use Bbb;
use Ccc;
class Ddd {}
In addition, as far as I'm aware, it also doesn't conform with various standards (PSR-12, PER, Symfony). Can we change that and slowly roll it out, or is there some strong reason behind it?
In the meantime, we could also get rid of some deprecated rules (e.g. single_blank_line_before_namespace).
The current style does not allow a blank line after the opening, which causes some weird formatting from my point of view:
In addition, as far as I'm aware, it also doesn't conform with various standards (PSR-12, PER, Symfony). Can we change that and slowly roll it out, or is there some strong reason behind it?
In the meantime, we could also get rid of some deprecated rules (e.g.
single_blank_line_before_namespace).