simple-ups icon indicating copy to clipboard operation
simple-ups copied to clipboard

Adopt PSR-2

Open Richtermeister opened this issue 10 years ago • 1 comments

In order to maintain an enforceable and consistent coding style amongst collaborators it may be useful to adopt a common standard, such as: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md

Most of the library is already compliant, only changes I see would be:

  • individual property/constant declarations
  • remove _ from private methods (should be BC, since methods are private)
  • add empty line at end of file

Happy to help with implementation if this is acceptable.

Richtermeister avatar Jun 30 '14 06:06 Richtermeister

:+1: Couldn't agree more

bkuhl avatar Jun 30 '14 12:06 bkuhl