Skip to content

Commit

Permalink
Improve strict types checking (#243)
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor authored Dec 1, 2024
1 parent 494b55d commit 53f5ec1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/back-end.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 53f5ec1

Please sign in to comment.