Skip to content

Commit

Permalink
Merge pull request #35 from MacPaw/updateToSymfony63
Browse files Browse the repository at this point in the history
Update to use symfony 6.3 remove deprecated  memoryTransport
  • Loading branch information
Yozhef committed Jun 9, 2023
2 parents 6c27a3a + bd9cceb commit 31eecaa
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 26 deletions.
23 changes: 3 additions & 20 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,36 +7,19 @@ on:

jobs:
run:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php:
- '8.1'
- '8.2'
coverage: ['none']
symfony-versions:
- '4.4.*'
- '5.1.*'
- '5.2.*'
- '5.3.*'
- '6.3.*'
include:
- php: '7.4'
symfony-versions: '^4.4'
coverage: 'none'
- php: '7.4'
symfony-versions: '^5.4'
coverage: 'none'
- php: '8.0'
symfony-versions: '^5.4'
coverage: 'none'
- php: '8.0'
symfony-versions: '^6.0'
coverage: 'none'
- description: 'Log Code Coverage'
php: '8.2'
coverage: 'xdebug'
symfony-versions: '^6.2'
symfony-versions: '^6.3'

name: PHP ${{ matrix.php }} Symfony ${{ matrix.symfony-versions }} ${{ matrix.description }}
steps:
Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@
],
"license": "MIT",
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.2",
"behat/behat": "^3.0",
"symfony/messenger": "^4.4 || ^5.0 || ^6.0",
"symfony/serializer": "^4.4 || ^5.0 || ^6.0",
"symfony/dependency-injection": "^4.4 || ^5.4 || ^6.0",
"symfony/http-kernel": "^4.4 || ^5.4 || ^6.0",
"symfony/messenger": "^6.3",
"symfony/serializer": "^6.3",
"symfony/dependency-injection": "^6.3",
"symfony/http-kernel": "^6.3",
"macpaw/similar-arrays": "^1.0"
},
"require-dev": {
Expand Down
2 changes: 1 addition & 1 deletion src/Context/MessengerContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use Exception;
use SimilarArrays\SimilarArray;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\Messenger\Transport\InMemoryTransport;
use Symfony\Component\Messenger\Transport\InMemory\InMemoryTransport;
use Symfony\Component\Serializer\Normalizer\NormalizerInterface;

class MessengerContext extends SimilarArray implements Context
Expand Down

0 comments on commit 31eecaa

Please sign in to comment.