Skip to content

Commit

Permalink
[Tools] Fix PHPStan CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rbayet committed Sep 12, 2024
1 parent 30ffec8 commit 1754b58
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/02-phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,6 @@ jobs:
if: ${{env.MAGENTO_USERNAME}} != 0
run: composer config -g http-basic.repo.magento.com "$MAGENTO_USERNAME" "$MAGENTO_PASSWORD"

- name: "[Init] Unconditionally add phpstan/phpstan"
working-directory: ${{ env.magento-directory }}
run: composer require --no-update --dev smile/magento2-smilelab-phpstan ^1.0

- name: "[Init] Prepare Magento install if needed"
if: steps.magento-cache.outputs.cache-hit == 'true'
working-directory: ${{ env.magento-directory }}
Expand Down Expand Up @@ -154,6 +150,10 @@ jobs:
rm -rf vendor/smile/elasticsuite/**
cp -Rf $GITHUB_WORKSPACE/* vendor/smile/elasticsuite/
- name: "[Init] Unconditionally add phpstan/phpstan"
working-directory: ${{ env.magento-directory }}
run: composer require --dev smile/magento2-smilelab-phpstan ^1.0

- name: "[Init] Fix Magento directory permissions"
env:
MAGENTO_ROOT: ${{ env.magento-directory }}
Expand Down

0 comments on commit 1754b58

Please sign in to comment.