From b1038ee3564f71d649cffebb9b546373cc00839b Mon Sep 17 00:00:00 2001 From: Marcus Bointon Date: Thu, 29 Apr 2021 10:49:27 +0200 Subject: [PATCH] Add composer scripts for syntax check and tests --- composer.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index b8aa5cfc..58393b2c 100644 --- a/composer.json +++ b/composer.json @@ -57,5 +57,9 @@ "PHPMailer\\Test\\": "test/" } }, - "license": "LGPL-2.1-only" + "license": "LGPL-2.1-only", + "scripts": { + "check": "./vendor/bin/phpcs", + "test": "./vendor/bin/phpunit" + } }