Skip to content

Commit

Permalink
Merge pull request KnpLabs#325 from garak/sf7
Browse files Browse the repository at this point in the history
allow Symfony 7
  • Loading branch information
garak committed Oct 16, 2023
2 parents 1f6560c + 7d2522a commit ac70448
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,23 +45,29 @@ jobs:
php: '8.1'
- description: '8.2'
php: '8.2'
- description: 'Dev deps'
php: '8.2'
dev: true
name: PHP ${{ matrix.php }} tests (${{ matrix.description }})
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Cache
uses: actions/cache@v3
with:
with:
path: ~/.composer/cache/files
key: ${{ matrix.php }}-${{ matrix.symfony }}-${{ matrix.composer_option }}
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: mongodb-stable, pdo_sqlite
- name: Configure for latest PHP versions
run: composer require --dev --no-update laminas/laminas-code 4.5.x-dev
- name: Configure for PHP 8.1
run: composer require --dev --no-update laminas/laminas-code 4.12.0
if: matrix.php == '8.1'
- name: Go for dev dependencies
run: composer config minimum-stability dev && composer config prefer-stable true
if: matrix.dev
- run: composer update --no-interaction --no-progress --ansi ${{ matrix.composer_option }}
- run: vendor/bin/phpunit

6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
"propel/propel1": "^1.7",
"ruflin/elastica": "^7.0",
"solarium/solarium": "^6.0",
"symfony/http-foundation": "^5.4 || ^6.0",
"symfony/http-kernel": "^5.4 || ^6.0",
"symfony/property-access": "^5.4 || ^6.0"
"symfony/http-foundation": "^5.4 || ^6.0 || ^7.0",
"symfony/http-kernel": "^5.4 || ^6.0 || ^7.0",
"symfony/property-access": "^5.4 || ^6.0 || ^7.0"
},
"suggest": {
"doctrine/common": "to allow usage pagination with Doctrine ArrayCollection",
Expand Down

0 comments on commit ac70448

Please sign in to comment.