From 61d9e167c2a67bc9cacc2ee891f884cc67f61bb2 Mon Sep 17 00:00:00 2001 From: 3m1n3nc3 Date: Wed, 3 Jul 2024 02:20:30 +0100 Subject: [PATCH] Update composer.json --- .gitignore | 13 +++++++++++-- composer.json | 4 ++-- phpunit.xml | 26 ++++++++++++++++++++++++-- 3 files changed, 37 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 10499c9..98b7809 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,13 @@ -composer.lock -/vendor .env .updated +.idea +.phpunit.cache +build +composer.lock +coverage +docs +phpunit.xml +phpstan.neon +testbench.yaml +vendor +node_modules diff --git a/composer.json b/composer.json index 65e3624..98777f8 100644 --- a/composer.json +++ b/composer.json @@ -44,7 +44,7 @@ } }, "scripts": { - "test": "vendor/bin/pest", + "test": "XDEBUG_MODE=coverage vendor/bin/pest --coverage", "test-coverage": "vendor/bin/phpunit --coverage-html coverage" }, "config": { @@ -65,4 +65,4 @@ }, "minimum-stability": "dev", "prefer-stable": true -} +} \ No newline at end of file diff --git a/phpunit.xml b/phpunit.xml index f7778fb..15cc919 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,14 +1,35 @@ - ./tests + + + + + + + + + + ./app @@ -24,5 +45,6 @@ + \ No newline at end of file