Skip to content

Merge pull request #221 from lightspeedwp/dependabot/composer/phpunit… #520

Merge pull request #221 from lightspeedwp/dependabot/composer/phpunit…

Merge pull request #221 from lightspeedwp/dependabot/composer/phpunit… #520

Workflow file for this run

name: Lint PHP
on: push
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set PHP version
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
coverage: none
tools: composer:v2
- name: Install dependencies
run: composer install
- name: Lint PHP
run: ./vendor/bin/phpcs -p --standard=.phpcs.xml.dist