Deadpikle / yamf-php

YAMF (Yet Another MVC Framework) is a small PHP MVC framework designed to let you start using the MVC paradigm quickly without a lot of setup work
MIT License
2 stars 0 forks source link

PSR-2 Compliance #5

Closed Deadpikle closed 6 years ago

Deadpikle commented 6 years ago

Bug Description

YAMF does not currently comply with all of PSR-2's requirements. Notably, { for classes and functions must be on the next line, not on the same line. There's an instance or two of if/elseif not being on the same line as the previous if's }, too. (See yamf/router.php.)

Bug Solution

Go through the PSR-2 spec and make sure we comply with all of its requirements.

Deadpikle commented 6 years ago

Fixed by #6