Skip to content

Commit

Permalink
Update Autoloading Standard in Coding Style
Browse files Browse the repository at this point in the history
Isn't Laravel 5 following the PSR-4 as autoloding standard?
  • Loading branch information
javichito committed Feb 17, 2015
1 parent f04a776 commit 1781e80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contributions.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ If you discover a security vulnerability within Laravel, please send an e-mail t
<a name="coding-style"></a>
## Coding Style

Laravel follows the [PSR-0](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md) and [PSR-1](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md) coding standards. In addition to these standards, the following coding standards should be followed:
Laravel follows the [PSR-4](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoloader.md) and [PSR-1](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md) coding standards. In addition to these standards, the following coding standards should be followed:

- The class namespace declaration must be on the same line as `<?php`.
- A class' opening `{` must be on the same line as the class name.
Expand Down

0 comments on commit 1781e80

Please sign in to comment.