Skip to content

Merge pull request #207 from lightspeedwp/dependabot/composer/phpunit… #511

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

Merge pull request #207 from lightspeedwp/dependabot/composer/phpunit… #511

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