Skip to content

PHP 8.3 support

PHP 8.3 support #71

Workflow file for this run

name: Static Analysis
on:
push:
branches: [ main ]
pull_request:
jobs:
codesniffer:
name: PHP CodeSniffer
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
tools: composer:v2
coverage: none
env:
update: true
- name: Install Dependencies
uses: nick-invision/retry@v2
with:
timeout_minutes: 5
max_attempts: 5
command: composer update --no-interaction --no-progress
- name: Execute PHP CodeSniffer
run: vendor/bin/phpcs -n -q --standard=PSR12 ./src ./tests
psalm:
name: Psalm
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
tools: composer:v2
coverage: none
env:
update: true
- name: Install Dependencies
uses: nick-invision/retry@v2
with:
timeout_minutes: 5
max_attempts: 5
command: composer update --no-interaction --no-progress
- name: Execute Psalm
run: vendor/bin/psalm.phar --no-progress --output-format=github