RESOLVED #JJ315: Upgrade to webtrees 2.1.18 - Rural theme upgrade #59
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: Static analysis PHP | |
on: | |
push: | |
branches-ignore: | |
- '**-dev' | |
pull_request: | |
jobs: | |
phpstan: | |
runs-on: ubuntu-latest | |
name: phpstan | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 7.4 | |
extensions: gd,intl,mbstring,sqlite,zip | |
coverage: disable | |
- run: composer global config allow-plugins.phpstan/extension-installer true | |
- run: composer global require phpstan/phpstan phpstan/extension-installer phpstan/phpstan-deprecation-rules phpstan/phpstan-strict-rules phpstan/phpstan-phpunit | |
- run: composer install --no-progress --no-suggest --ignore-platform-reqs | |
- run: ~/.composer/vendor/bin/phpstan analyze --no-progress --error-format=github |