Skip to content

Workflow file for this run

name: Code Analysis
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
run:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ubuntu-latest]
php-versions: ['8.2']
name: PHP ${{ matrix.php-versions }} on ${{ matrix.operating-system }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: curl #optional
coverage: xdebug
- name: Check PHP Version
run: php -v
- name: Install dependencies
run: composer install
- name: Run PHP_CS
run: vendor/bin/phpcs -p --colors --standard=phpcs.xml
- name: Run Psalm
run: vendor/bin/psalm --config=psalm.xml --show-info=true