Skip to content

Remove undocumented env QUIET #244

Remove undocumented env QUIET

Remove undocumented env QUIET #244

Workflow file for this run

name: Code quality
on:
pull_request:
paths:
- "**.php"
- "phpcs.xml"
- ".github/workflows/code-quality.yml"
push:
branches: [main]
paths:
- "**.php"
- "phpcs.xml"
- ".github/workflows/code-quality.yml"
jobs:
phpstan:
name: PHPStan
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- name: Setup PHP
uses: shivammathur/setup-php@73963f5001e335723c998e4a0125ce060083985c # v2.30.1
with:
php-version: '8.1'
coverage: none
- name: "Validate composer.json and composer.lock"
run: "composer validate --no-check-publish"
- name: Install dependencies with composer
run: composer install --prefer-dist
- name: Run PHPStan
run: composer lint-phpstan
phpcs:
name: PHP_CodeSniffer
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- name: Setup PHP
uses: shivammathur/setup-php@73963f5001e335723c998e4a0125ce060083985c # v2.30.1
with:
php-version: '8.1'
coverage: none
tools: cs2pr
- name: Install dependencies with composer
run: composer install --prefer-dist
- name: Run phpcs
run: composer lint-phpcs-action