Skip to content

Use event's ObjectManager instead of injected EntityManager in DoctrineEncryptListener #2

Use event's ObjectManager instead of injected EntityManager in DoctrineEncryptListener

Use event's ObjectManager instead of injected EntityManager in DoctrineEncryptListener #2

Workflow file for this run

name: CI
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
test:
name: PHP ${{ matrix.php }} - Symfony ${{ matrix.symfony }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php:
- 8.2
- 8.3
- 8.4
symfony:
- 6.4.*
- 7.4.*
- 8.0.*
exclude:
# Symfony 8.0 requires PHP 8.4+
- php: '8.2'
symfony: '8.0.*'
- php: '8.3'
symfony: '8.0.*'
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP and install Symfony Flex globally
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none
extensions: mbstring, openssl, sodium
tools: flex
- name: Install dependencies
env:
SYMFONY_REQUIRE: ${{ matrix.symfony }}
run: composer update --prefer-dist --no-progress --no-interaction
- name: Run tests
run: vendor/bin/phpunit