Add composer lint, phpcs, and test commands
lint uses jakub-onderka/php-parallel-lint to check the syntax of the provided
PHP files or directories.
phpcs uses the MediaWiki codesniffer standard to check the provided files or
directories.
test runs both lint and phpcs together. phpunit is not included at this time
because our phpunit tests require a database to be set up and are very very
slow.
Example usage:
composer lint . # Lint all files
composer phpcs includes/FooBar.php # Check code style of one file
composer test extensions/FooBar # Lint and check an extension
Change-Id: I3c7ac7a02668776de6400ac268f37e7e6b35a3c6