Make the code PSR compliant

PR made in order to share the same CS, I will then dive into the real code of this nice and usefull library

Thx Grégoire for sharing this lib :)