Skip to content

Bump phpstan/phpstan from 1.12.8 to 1.12.9 #1449

Bump phpstan/phpstan from 1.12.8 to 1.12.9

Bump phpstan/phpstan from 1.12.8 to 1.12.9 #1449

Workflow file for this run

name: PHP Linter
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
jobs:
php-linter:
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
strategy:
matrix:
php-version: ['7.4', '8.3']
steps:
- uses: actions/checkout@v2
with:
repository: ${{ github.event.client_payload.pull_request.head.repo.full_name }}
ref: ${{ github.event.client_payload.pull_request.head.ref }}
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: none # disable xdebug, pcov
- name: Composer install
uses: ramsey/composer-install@v2
with:
composer-options: --ansi --prefer-dist
- name: Lint PHP
run: vendor/bin/parallel-lint *.php config/ lib/ pages/ tests/