diff --git a/composer.json b/composer.json index 00db6e3..e91801f 100644 --- a/composer.json +++ b/composer.json @@ -8,8 +8,18 @@ "ContractsTest\\": "test/" } }, - "require-dev": { - "phpunit/phpunit": "^7.5" + "require-dev": { + "phpunit/phpunit": "^7.5", + "bugatino/phpcs-git-pre-commit": "dev-master", + "squizlabs/php_codesniffer": "^3.4" + }, + "scripts": { + "post-install-cmd": [ + "sh ./vendor/bugatino/phpcs-git-pre-commit/src/setup.sh" + ], + "post-update-cmd": [ + "sh ./vendor/bugatino/phpcs-git-pre-commit/src/setup.sh" + ] }, "license": "GPL-3.0-only", "authors": [