Skip to content

Instantly share code, notes, and snippets.

View jameswatts's full-sized avatar

James Watts jameswatts

View GitHub Profile
@jameswatts
jameswatts / cakephp_psr2.md
Created December 15, 2014 13:55
CakePHP PSR-2 Announcement

CakePHP 3 to fully adopt PSR-2

As many in the community know, since the very beginning CakePHP has used tabs for intendation, given their semantic value over spaces. However, over the past years the PHP community as a whole has, by a significant margin, decided to use 4 spaces for indentation.

Although we in the core team don't all agree with this style, we do mostly agree that confronting these pointless discussions over coding styles, and continuously defending the framework against invalid claims that it's "non-standard" because of our exceptions to PSR-2, is a waste of everyone's time. It's also unnecessary bad press for the framework, which we want to set aside before the final release of 3.0, and allow for more constructive conversations to take place. We already have an A+ rating for our exisiting [coding conventions](http://squizlabs.github.io/PHP_CodeSniffer/analysis/cakephp/cakeph

Keybase proof

I hereby claim:

  • I am jameswatts on github.
  • I am jameswatts (https://keybase.io/jameswatts) on keybase.
  • I have a public key whose fingerprint is 5B48 9322 9C97 8049 7C7F FD05 9DBB D59F 0AA4 F998

To claim this, I am signing this object: