PSR-1 and PSR-2 phpcs
fixed some inline documentation
added PSR-3 support
added documentation