From 53f5ec1a697732986e25c4619bc417bd0ed09c68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Sun, 1 Dec 2024 04:17:51 +0100 Subject: [PATCH] Improve strict types checking (#243) --- .github/workflows/back-end.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/back-end.yml b/.github/workflows/back-end.yml index fa8f3b4..a8cdc80 100644 --- a/.github/workflows/back-end.yml +++ b/.github/workflows/back-end.yml @@ -99,11 +99,11 @@ jobs: run: | echo "::group::Install slevomat/coding-standard" composer config --no-plugins allow-plugins.dealerdirect/phpcodesniffer-composer-installer false - composer require --no-scripts --dev slevomat/coding-standard + composer require --no-scripts --dev --with-all-dependencies slevomat/coding-standard echo "::endgroup::" composer exec -- phpcbf --standard=vendor/slevomat/coding-standard/SlevomatCodingStandard \ --sniffs=SlevomatCodingStandard.TypeHints.DeclareStrictTypes src/ \ - || test "$?" = 1 && exit 0 + || test "$?" = 1 && git diff -- src/ - name: "Execute unit tests" #run: "composer exec -- phpunit"