From a64f0c7fc7c22ae041267f2c632155c37707207f Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 21 May 2019 08:06:36 +0100 Subject: [PATCH] Run lint as part of test script --- composer.json | 3 ++- netlify.toml | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 66561f5..f22ef3e 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,8 @@ "lint": "php-cs-fixer fix", "prod": "composer run-script generate -- --env prod", "test": [ - "composer run test:unit" + "composer run test:unit", + "composer run lint" ], "test:unit": "phpunit", "watch": "composer run-script --timeout=0 generate -- --server --watch" diff --git a/netlify.toml b/netlify.toml index caf7966..a6573db 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,6 +1,5 @@ [build] command = """ -composer lint composer test composer prod yarn prod