Skip to content

Commit

Permalink
Merge pull request #691 from cs-extended/task/psr-12
Browse files Browse the repository at this point in the history
Dont require grouping of namespaces
  • Loading branch information
samdark committed Dec 3, 2015
2 parents 17d67b6 + 7368f4f commit 40502a4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions proposed/extended-coding-style-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,6 @@ You MUST NOT use `use` statements for classes in the root namespace. Therefore
you should use `throw new \Exception();` instead of
`use Exception; throw new Exception();`

Multiple classes, functions, or constants within one namespace MUST group use
statements within one namespace.

Use statements MUST be in blocks, grouped by varying entity (classes [inc. interfaces and traits],
functions or constants). To elaborate, this means that any and all classes are in a block
together; any and all functions are in a block together; and any and all constants must
Expand Down

0 comments on commit 40502a4

Please sign in to comment.