Fork me on GitHub
a Sensio Labs Product

Jump & Run (v3.28.0) edition

Rule single_blank_line_before_namespace

There should be exactly one blank line before a namespace declaration.


This rule is deprecated and will be removed on next major version

You should use blank_lines_before_namespace instead.


Example #1

--- Original
+++ New
-<?php  namespace A {}
+namespace A {}

Example #2

--- Original
+++ New

 namespace A{}
The logo is © 2010-2022 Sensio Labs