pachabhaiya / nepali-calendar

Nepali calendar - Converts Gregorian calendar (A.D.) to Bikram Sambat (B.S.) and vice-versa.
MIT License
8 stars 7 forks source link

PSR-0 is deprecated #3

Open ojhaujjwal opened 9 years ago

ojhaujjwal commented 9 years ago

PSR-0 is already deprecated so PSR-4 should be used for new projects!

ska-ops commented 9 years ago

:+1: I was about to open the same issue.

pachabhaiya commented 9 years ago

:+1: You guys are genius. Seems like we all think the same. :) Since PSR-0 was deprecated as of 2014-10-21, I was thinking to to follow PSR-4 in 2.x branch. 2.x branch of this repo will be taking care of this issue. But, 2.x branch still under development. Guys, Lets make it. Cheers!!! :)

ghost commented 9 years ago

Your 1.x branch is much under development, let alone 2.x.... I have provided the necessary format to support psr-4 and so, via pull request without touching the logical part.... Unfortunately it gets rid of Pachabhaiya in the Namespace for easy typing, sorry for that... you can add it if you please, but I don't seem it as necessity. My IDE does the auto-format to psr-1 & 2 too (except function/variable/method names, just structure), so, you might get that structure in the pull request....