Skip to content

Commit

Permalink
Add security checker when not on Symfony 6
Browse files Browse the repository at this point in the history
  • Loading branch information
stefandoorn committed Apr 2, 2024
1 parent 5619a8a commit 72c7a06
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,11 @@ jobs:
if: matrix.sylius != ''
run: composer require "sylius/sylius:${{ matrix.sylius }}" --no-update --no-scripts --no-interaction

-
name: Add security checker
if: matrix.symfony != "^6.4"
run: composer require sensiolabs/security-checker:^6.0 --no-update --no-scripts --no-interaction

-
name: Install PHP dependencies
run: composer install --no-interaction
Expand Down
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
"phpstan/phpstan-symfony": "^1.0",
"phpstan/phpstan-webmozart-assert": "^1.0",
"phpunit/phpunit": "^9.5",
"sensiolabs/security-checker": "^6.0",
"sylius-labs/coding-standard": "^4.0",
"symfony/browser-kit": "^4.4 || ^5.4 || ^6.4",
"symfony/debug-bundle": "^4.4 || ^5.4 || ^6.4",
Expand Down

0 comments on commit 72c7a06

Please sign in to comment.