Skip to content

Tweak: hides the extensions banner temporarily #900

Tweak: hides the extensions banner temporarily

Tweak: hides the extensions banner temporarily #900

Workflow file for this run

name: PHP Lint
on:
workflow_dispatch:
pull_request:
paths:
- '**.php'
push:
branches:
- master
paths:
- '**.php'
jobs:
lint:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: ['ubuntu-latest']
php-versions: ['7.2', '7.3', '7.4', '8.0', '8.1']
steps:
- name: Checkout Git repository
uses: actions/checkout@v2
- name: Setup PHP ${{ matrix.php-versions }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
coverage: none
tools: cs2pr
- name: Run PHP Parallel Lint on PHP ${{ matrix.php-versions }}
run: |
curl -o parallel-lint.phar -L -C - https://github.com/php-parallel-lint/PHP-Parallel-Lint/releases/latest/download/parallel-lint.phar
php parallel-lint.phar . --exclude vendor --checkstyle --show-deprecated | cs2pr