From 79cdcfcd081185443fa7b21b76b849690fdd24c0 Mon Sep 17 00:00:00 2001 From: lukareihl Date: Thu, 2 Nov 2023 09:30:29 +0100 Subject: [PATCH] Run phpunit with additional flags to treat warnings as failures --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 43b6f6d..6a0fc8a 100644 --- a/readme.md +++ b/readme.md @@ -47,5 +47,5 @@ and on our [website](http://51degrees.com/documentation/_examples__device_detect ## Tests To run the tests in this repository, make sure PHPUnit is installed then, in the root of this repo, call: ``` -phpunit --log-junit test-results.xml +phpunit --fail-on-warning --display-warnings --log-junit test-results.xml ```