Skip to content

Update spaze/phpstan-disallowed-calls requirement from ^2.0 to ^3.1 #22

Update spaze/phpstan-disallowed-calls requirement from ^2.0 to ^3.1

Update spaze/phpstan-disallowed-calls requirement from ^2.0 to ^3.1 #22

Workflow file for this run

name: Psalm Static analysis
on: [push, pull_request]
jobs:
psalm:
name: Psalm
runs-on: ubuntu-latest
steps:
- name: Install PHP
uses: shivammathur/setup-php@master
with:
php-version: 8.1
- name: Checkout code
uses: actions/checkout@v2
- name: Install dependencies
run: |
COMPOSER_HOME="$(composer config home)"
composer require --no-update psalm/phar
composer update --no-progress --ansi
./vendor/bin/psalm.phar --version
- name: Psalm
run: |
./vendor/bin/psalm.phar --no-progress --show-info=true || ./vendor/bin/psalm.phar --output-format=github --no-progress