Skip to content

Update rector/rector requirement from ^0.14.6 || ^0.19.0 to ^0.14.6 |… #56

Update rector/rector requirement from ^0.14.6 || ^0.19.0 to ^0.14.6 |…

Update rector/rector requirement from ^0.14.6 || ^0.19.0 to ^0.14.6 |… #56

Workflow file for this run

name: Static Analysis
on:
push:
pull_request:
jobs:
composer:
name: Composer validation
runs-on: ubuntu-20.04
strategy:
matrix:
php: [ '8.0', '8.1', '8.2', '8.3' ]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- name: Execute composer validate
run: composer validate --strict
phpcs:
name: PHPCs
runs-on: ubuntu-20.04
strategy:
matrix:
php: [ '8.0', '8.1', '8.2', '8.3' ]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- name: Install Dependencies
uses: nick-invision/retry@v3
with:
timeout_minutes: 5
max_attempts: 5
command: composer update --no-interaction --no-progress
- name: Execute PHPCs
run: vendor/bin/phpcs src tests
phpstan:
name: PHPStan
runs-on: ubuntu-20.04
strategy:
matrix:
php: [ '8.0', '8.1', '8.2', '8.3' ]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- name: Install Dependencies
uses: nick-invision/retry@v3
with:
timeout_minutes: 5
max_attempts: 5
command: composer update --no-interaction --no-progress
- name: Execute PHPStan
run: vendor/bin/phpstan --no-progress