Skip to content

Update yoast/phpunit-polyfills requirement from ^1.1 to ^2.0 #183

Update yoast/phpunit-polyfills requirement from ^1.1 to ^2.0

Update yoast/phpunit-polyfills requirement from ^1.1 to ^2.0 #183

Workflow file for this run

name: Lint
on:
push:
branches:
- master
pull_request:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v4
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: latest
coverage: none
tools: composer, cs2pr
- name: Install PHP dependencies
uses: ramsey/composer-install@v3
- name: Lint PHP files
run: vendor/bin/phpcs -q --report=checkstyle --severity=1 --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 | cs2pr --graceful-warnings
- name: Analyze PHP files
run: composer run-script analyze
- name: Lint composer.json
run: composer normalize --dry-run