PhileCMS / Phile

A flat file CMS with a swappable parser and template engine.
https://philecms.github.io/
Other
256 stars 48 forks source link

add PSR-1/PSR-2 compatibility #268

Closed Schlaefer closed 9 years ago

Schlaefer commented 9 years ago

Like them or not, PSR-1 and PSR-2 are adopted rapidly by the PHP community and are here to stay. If Phile wants to stay around, it should adopt those standards too.

I think this is a good moment to tackle this issue (no third party pull requests). This PR makes the Phile core and plugins PSR-2 compatible and checks them in a test on travis-ci.

There's one exemption on underscores with Utility::crypto_rand_secure(). It should be addressed in a breaking release later.

Schlaefer commented 8 years ago

Aaaaannnd a certain someone™ f*cked up by accidentally hitting the "Close" instead of "Merge" button.

This was supposed to get committed. I'll fix in the upcoming days.