mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 20:49:43 +00:00
namespace restriction will never be lifted
This commit is contained in:
parent
293ec363e4
commit
b9e19034a4
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ It is mainly [PSR-2](https://github.com/php-fig/fig-standards/blob/master/accept
|
||||||
* Long arrays MAY be split across multiple lines, where each subsequent line is indented once.
|
* Long arrays MAY be split across multiple lines, where each subsequent line is indented once.
|
||||||
* Files MUST use only the `<?php` tag.
|
* Files MUST use only the `<?php` tag.
|
||||||
* Files MUST NOT have an ending `?>` tag.
|
* Files MUST NOT have an ending `?>` tag.
|
||||||
* Code MUST NOT use namespaces. _(This restriction maybe will be lifted)_
|
* Code MUST NOT use namespaces.
|
||||||
* Strings SHOULD use the double quote `"` except when the single quote is required.
|
* Strings SHOULD use the double quote `"` except when the single quote is required.
|
||||||
* Arrays SHOULD be declared using `[]`, not the `array()` shortcut.
|
* Arrays SHOULD be declared using `[]`, not the `array()` shortcut.
|
||||||
* Argument lists MAY NOT be split across multiple lines, except long arrays.
|
* Argument lists MAY NOT be split across multiple lines, except long arrays.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue