Skip to content

Update rector/rector requirement from ^0.16.0 || ^0.17.0 || ^0.18.0 || ^0.19.0 to ^0.16.0 || ^0.17.0 || ^0.18.0 || ^0.19.0 || ^1.0.0 #282

Update rector/rector requirement from ^0.16.0 || ^0.17.0 || ^0.18.0 || ^0.19.0 to ^0.16.0 || ^0.17.0 || ^0.18.0 || ^0.19.0 || ^1.0.0

Update rector/rector requirement from ^0.16.0 || ^0.17.0 || ^0.18.0 || ^0.19.0 to ^0.16.0 || ^0.17.0 || ^0.18.0 || ^0.19.0 || ^1.0.0 #282

name: Static analysis
on:
pull_request: ~
push:
branches:
- master
jobs:
job:
strategy:
matrix:
include:
- description: Validate composer.json
script: composer validate
- description: Code style
script: make cs-check
- description: PHPStan
script: make phpstan
- description: PSalm
script: make psalm
- description: Type assertions
script: make type-assertions
name: ${{ matrix.description }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
- name: Install dependencies
uses: ramsey/composer-install@v2
- run: ${{ matrix.script }}