Skip to content

Update Composer dependencies #18

Update Composer dependencies

Update Composer dependencies #18

Workflow file for this run

name: PHP Static Analysis
on: pull_request
jobs:
Lint:
runs-on: "ubuntu-latest"
strategy:
matrix:
php-version:
- 8.2
steps:
- name: Checkout repository
uses: "actions/checkout@v3"
- name: Install PHP with extensions
uses: shivammathur/setup-php@master
with:
php-version: ${{ matrix.php-version }}
coverage: none
extensions: "mbstring"
- name: Install Composer dependencies
run: composer install --no-progress --no-interaction
- name: Check syntax (php-parallel-lint)
run: vendor/bin/parallel-lint src tests
PHPStan:
runs-on: ubuntu-latest
strategy:
matrix:
php-version:
- 8.2
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install PHP with extensions
uses: shivammathur/setup-php@master
with:
php-version: ${{ matrix.php-version }}
coverage: none
extensions: "mbstring"
- name: Install Composer dependencies
run: composer install --no-progress --no-interaction
- name: Run PHPStan analysis
run: vendor/bin/phpstan analyze
Psalm:
runs-on: ubuntu-latest
strategy:
matrix:
php-version:
- 8.2
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install PHP with extensions
uses: shivammathur/setup-php@master
with:
php-version: ${{ matrix.php-version }}
coverage: none
extensions: "mbstring"
- name: Install Composer dependencies
run: composer install --no-progress --no-interaction
- name: Psalm
run: vendor/bin/psalm