Codestyle Standards – Package Overview – Package Review



Codestyle Standards – Package Overview – Package Review

0 0


pres

pres

On Github meijerm15 / pres

Codestyle Standards

Internship

Package Overview

Codestyle Standards

PSR-1 PSR-2 Hostnet PSR-4 php - framework interop group

Ruleset PSR-2

  • Opening braces for classes MUST go on the next line, and closing braces MUST go on the next line after the body
  • Code MUST use 4 spaces for indenting, not tabs.
  • Visibility MUST be declared on all properties and methods; abstract and final MUST be declared before the visibility; static MUST be declared after the visibility.
  • Opening parentheses for control structures MUST NOT have a space after them, and closing parentheses for control structures MUST NOT have a space before.
  • Code MUST follow a "coding style guide" PSR [PSR-1].

Package Review

PackageGroup Graph

Package History

Questions?

  • mmeijer@hostnet.nl
  • IRC mmeijer
  • docs.hostnetbv.nl/packages