Skip to content

chore(deps): bump statamic/cms from 5.10.0 to 5.17.0 #124

chore(deps): bump statamic/cms from 5.10.0 to 5.17.0

chore(deps): bump statamic/cms from 5.10.0 to 5.17.0 #124

name: PHP Static Analysis
on:
pull_request:
jobs:
changes:
name: Detect changes in PHP files
runs-on: ubuntu-latest
steps:
- name: Filter changed files
uses: dorny/paths-filter@v3
id: filter
with:
filters: |
php_files:
- '*.php'
phpstan_config:
- 'phpstan.neon'
phpstan:
name: PHPStan
needs: changes
if: ${{ needs.changes.outputs.php_files == 'true' || needs.changes.outputs.phpstan_config == 'true' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
extensions: dom, curl, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
coverage: none
- name: Install dependencies
run: |
composer install --no-interaction --prefer-dist
- name: Run PHPStan
run: ./vendor/bin/phpstan analyse --error-format=github