Namespaces on own line (#1712)

`namespace` declarations appear on their own line in PHP FIG examples as well as in common PHP frameworks. While not officially part of PSR-2, we should still follow this common practice of not putting `namespace` declaration on the same line as `<?php`.

- http://www.php-fig.org/psr/psr-2/
- https://github.com/laravel/laravel/blob/master/app/User.php#L1-L3
- https://github.com/symfony/filesystem/blob/master/Filesystem.php#L1-L12
- https://github.com/zendframework/zend-mail/blob/master/src/Address.php#L1-L10
This commit is contained in:
Kalen Johnson
2016-09-09 04:24:09 -07:00
committed by QWp6t
parent a05c8692ca
commit 2124163de0
11 changed files with 33 additions and 11 deletions

View File

@@ -1,4 +1,6 @@
<?php namespace App;
<?php
namespace App;
use Roots\Sage\Template;