Skip to content

Update symfony packages to v8 (major) #1338

Update symfony packages to v8 (major)

Update symfony packages to v8 (major) #1338

Workflow file for this run

name: "Quality"
on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
permissions:
contents: read
jobs:
build:
runs-on: self-hosted
steps:
- name: Harden Runner
uses: step-security/harden-runner@6c3c2f2c1c457b00c10c4848d6f5491db3b629df # v2.18.0
with:
egress-policy: audit
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup PHP with PECL extension
uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2
with:
php-version: '8.2'
extensions: ldap, xdebug, gd, json, xml, curl, zip, mbstring, imagick, pdo_sqlite
- name: Validate composer.json and composer.lock
run: composer validate --strict
- name: Cache Composer packages
id: composer-cache
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
with:
path: vendor
key: ${{ runner.os }}-quality-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-quality-
- name: PHP Version
run: php --version
- name: Install dependencies
run: composer install --no-progress
- name: Install CodeSpell
run: pipx install codespell
- name: CodeSpell
run: ./codespell.sh
- name: PHPStan Version
run: ./vendor/bin/phpstan -V
- name: PHPStan
run: ./vendor/bin/phpstan
- name: Rector
run: ./vendor/bin/rector process --dry-run