There should be exactly one blank line before a namespace declaration.
You should use blank_lines_before_namespace
instead.
--- Original
+++ New
-<?php namespace A {}
+<?php
+
+namespace A {}
--- Original
+++ New
<?php
-
namespace A{}
PhpCsFixer\Fixer\NamespaceNotation\SingleBlankLineBeforeNamespaceFixer