Merge pull request #76 from Quetzacoalt91/suggest-instead-of-require #115
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PHPStan | |
on: [push, pull_request] | |
jobs: | |
phpstan: | |
name: Custom rules check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 7.4 | |
- name: Checkout | |
uses: actions/checkout@v2.0.0 | |
# Docker images prestashop/prestashop may be used, even if the shop remains uninstalled | |
- name: Run constant test | |
run: | | |
cd tests/modules_samples/constant_check | |
bash run.sh |