Skip to content

Make nullable parameter types explicit #52

Make nullable parameter types explicit

Make nullable parameter types explicit #52

Workflow file for this run

name: Static analysis
on:
push:
branches:
- '*.x'
pull_request:
jobs:
phpstan:
name: PHPStan
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Remove phpspec
run: composer remove --dev friends-of-phpspec/phpspec-code-coverage phpspec/phpspec
- name: PHPStan
uses: docker://oskarstark/phpstan-ga
with:
args: analyze --no-progress
php-cs-fixer:
name: PHP-CS-Fixer
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: PHP-CS-Fixer
uses: docker://oskarstark/php-cs-fixer-ga
with:
args: --dry-run