forked from roots/sage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
`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
- Loading branch information
1 parent
a05c869
commit 2124163
Showing
11 changed files
with
33 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
<?php namespace App; | ||
<?php | ||
|
||
namespace App; | ||
|
||
/** | ||
* Theme customizer | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
<?php namespace App; | ||
<?php | ||
|
||
namespace App; | ||
|
||
use Roots\Sage\Template; | ||
use Roots\Sage\Template\Wrapper; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
<?php namespace App; | ||
<?php | ||
|
||
namespace App; | ||
|
||
use Roots\Sage\Asset; | ||
use Roots\Sage\Assets\JsonManifest; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
<?php namespace Roots\Sage; | ||
<?php | ||
|
||
namespace Roots\Sage; | ||
|
||
use Roots\Sage\Assets\ManifestInterface; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
<?php namespace Roots\Sage\Assets; | ||
<?php | ||
|
||
namespace Roots\Sage\Assets; | ||
|
||
/** | ||
* Class JsonManifest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
<?php namespace Roots\Sage\Assets; | ||
<?php | ||
|
||
namespace Roots\Sage\Assets; | ||
|
||
/** | ||
* Interface ManifestInterface | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
<?php namespace Roots\Sage\Template; | ||
<?php | ||
|
||
namespace Roots\Sage\Template; | ||
|
||
class Partial | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
<?php namespace Roots\Sage\Template; | ||
<?php | ||
|
||
namespace Roots\Sage\Template; | ||
|
||
/** | ||
* Class Wrapper | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
<?php namespace Roots\Sage\Template; | ||
<?php | ||
|
||
namespace Roots\Sage\Template; | ||
|
||
/** | ||
* Interface WrapperInterface | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
<?php namespace App; | ||
<?php | ||
|
||
namespace App; | ||
|
||
use Roots\Sage\Template; | ||
|
||
|