Add composer scripts for syntax check and tests

This commit is contained in:
Marcus Bointon 2021-04-29 10:49:27 +02:00
parent 0acc57db14
commit b1038ee356
No known key found for this signature in database
GPG Key ID: DE31CD6EB646AA24
1 changed files with 5 additions and 1 deletions

View File

@ -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"
}
}