Project

General

Profile

Feature #5866

Use PSR-2 PHP standard

Added by Julio Montoya almost 7 years ago. Updated over 5 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
System
Target version:
Start date:
08/01/2013
Due date:
% Done:

20%

Estimated time:
Complexity:
Normal
SCRUM pts - complexity:
?

History

#1

Updated by Yannick Warnier almost 7 years ago

We've aleady got most of it right (mostly because PEAR2 conventions are part of the PSR rules survey).
The most difficult part will be th classes renaming (as a consequence of respecting PSR-2, we have to respect PSR-1 and PSR-0 as well) https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md

This goes along with the bracket sign having to go on the next line.

#2

Updated by Yannick Warnier almost 7 years ago

  • Category set to System
  • Target version set to 2.0
#3

Updated by Julio Montoya almost 7 years ago

https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md

3. Namespace and Class Names

Class names MUST be declared in StudlyCaps

4.3. Methods
Method names MUST be declared in camelCase().

and so on

#5

Updated by Julio Montoya over 5 years ago

  • % Done changed from 0 to 20

Also available in: Atom PDF