Skip to content

Update rector/rector requirement from 2.5.6 to 2.5.7 #466

Update rector/rector requirement from 2.5.6 to 2.5.7

Update rector/rector requirement from 2.5.6 to 2.5.7 #466

name: Static analysis
on:
pull_request: ~
push:
branches:
- master
jobs:
job:
strategy:
matrix:
include:
- description: Validate composer.json
script: composer validate
php: 8.1
mongo-ext: "1.20"
- description: Code style
script: composer cs-check
php: 8.1
mongo-ext: "1.20"
- description: PHPStan
script: bin/phpstan analyze
php: 8.1
mongo-ext: "1.20"
- description: PHPStan with driver v2
script: bin/phpstan analyze
php: 8.4
mongo-ext: "2.0"
name: ${{ matrix.description }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: mongodb-${{ matrix.mongo-ext }}
coverage: none
- name: Install dependencies
uses: ramsey/composer-install@v4
- run: ${{ matrix.script }}