Skip to content

array_key_exists only if is_array #2187

array_key_exists only if is_array

array_key_exists only if is_array #2187

Workflow file for this run

name: Code quality
on:
[push, pull_request]
jobs:
phpstan:
name: PHPStan
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: 8.1
coverage: none
- name: Install Composer Dependencies
run: composer update --prefer-dist --no-progress
- name: Run phpstan
run: vendor/bin/phpstan analyse --no-progress
codestyle:
name: PHP codestyle
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: 8.1
coverage: none
- name: Install Composer Dependencies
run: composer update --prefer-dist --no-progress
- name: Run php-cs-fixer
run: vendor/bin/php-cs-fixer fix --dry-run --diff