added a pre-commit hook for phpcs to ensure PSR-1 and PSR-2 standards