ezrpg-legacy / ezrpg-2.0.X-discontinued-

http://ezrpgproject.net
Other
6 stars 0 forks source link

Standardize the naming conventions of variables #2

Open ferdis opened 11 years ago

ferdis commented 11 years ago

I propose that we standardize the naming conventions of variables. By default, Swiftlet uses "User" named variables: it would be advantageous to rename them to "player".

uaktags commented 11 years ago

renamed the issue to "Standardize the naming conventions of variables" so that we can keep track of not just this 1 case, but other cases where variables need standardizing.

ghost commented 11 years ago

About the coding structure as well as naming conventions I'd say we go for as much PSR-1 and PSR-2 as possible. This way we have a set of rules we must follow which makes the code clean and awesome.

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