Function added & some fixes

- Quarter function added
- Doctrine end version boundary removed (now only >=2.2.3)
- Code style fixes (PSR)