From 71f143b4aaa8bcfb8fd284f73931a08d953997ac Mon Sep 17 00:00:00 2001 From: Simon L Date: Mon, 20 Mar 2023 16:04:28 +0100 Subject: [PATCH] fix phpdd Signed-off-by: Simon L --- .github/workflows/php-deprecation-detector.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/php-deprecation-detector.yml b/.github/workflows/php-deprecation-detector.yml index d45feade..fe484528 100644 --- a/.github/workflows/php-deprecation-detector.yml +++ b/.github/workflows/php-deprecation-detector.yml @@ -26,4 +26,7 @@ jobs: cd php composer global require wapmorgan/php-deprecation-detector dev-master composer install - composer run php-deprecation-detector \ No newline at end of file + composer run php-deprecation-detector | tee -i ./phpdd.log >/dev/null + if grep "Total issues:" ./phpdd.log; then + exit 1 + fi