Allow to install with sf 5.4 (#197)
* Allow to install with sf 5.4 * fix syntax * fix dependencies
This commit is contained in:
parent
7a8045a5ef
commit
c3244fcdd4
2 changed files with 22 additions and 7 deletions
16
.github/workflows/pipeline.yaml
vendored
16
.github/workflows/pipeline.yaml
vendored
|
|
@ -12,6 +12,21 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
php: ['8.1', '8.2', '8.3', '8.4', '8.5']
|
php: ['8.1', '8.2', '8.3', '8.4', '8.5']
|
||||||
dependencies: ['lowest', 'highest']
|
dependencies: ['lowest', 'highest']
|
||||||
|
symfony-version: ['']
|
||||||
|
include:
|
||||||
|
- symfony-version: '5.4.*'
|
||||||
|
dependencies: 'highest'
|
||||||
|
php: '8.2'
|
||||||
|
- symfony-version: '6.4.*'
|
||||||
|
dependencies: 'highest'
|
||||||
|
php: '8.2'
|
||||||
|
- symfony-version: '7.4.*'
|
||||||
|
dependencies: 'highest'
|
||||||
|
php: '8.4'
|
||||||
|
|
||||||
|
env:
|
||||||
|
SYMFONY_REQUIRE: ${{ matrix.symfony-version || '>=6.4' }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v5
|
||||||
|
|
@ -20,6 +35,7 @@ jobs:
|
||||||
uses: shivammathur/setup-php@v2
|
uses: shivammathur/setup-php@v2
|
||||||
with:
|
with:
|
||||||
php-version: ${{ matrix.php }}
|
php-version: ${{ matrix.php }}
|
||||||
|
tools: flex
|
||||||
coverage: "none"
|
coverage: "none"
|
||||||
|
|
||||||
- name: Install Composer
|
- name: Install Composer
|
||||||
|
|
|
||||||
|
|
@ -29,18 +29,17 @@
|
||||||
"psr/http-factory": "^1.1",
|
"psr/http-factory": "^1.1",
|
||||||
"psr/http-message": "^2.0",
|
"psr/http-message": "^2.0",
|
||||||
"psr/log": "^1.0 || ^2.0 || ^3.0",
|
"psr/log": "^1.0 || ^2.0 || ^3.0",
|
||||||
"symfony/finder": "^6.4 || ^7.3 || ^8.0",
|
"symfony/finder": "^5.4 || ^6.4 || ^7.3 || ^8.0",
|
||||||
"symfony/uid": "^6.4 || ^7.3 || ^8.0"
|
"symfony/uid": "^5.4 || ^6.4 || ^7.3 || ^8.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"php-cs-fixer/shim": "^3.91",
|
"php-cs-fixer/shim": "^3.91",
|
||||||
"phpstan/phpstan": "^2.1",
|
"phpstan/phpstan": "^2.1",
|
||||||
"phpunit/phpunit": "^10.5",
|
"phpunit/phpunit": "^10.5",
|
||||||
"psr/cache": "^3.0",
|
"psr/simple-cache": "^2.0 || ^3.0",
|
||||||
"psr/simple-cache": "^3.0",
|
"symfony/cache": "^5.4 || ^6.4 || ^7.3 || ^8.0",
|
||||||
"symfony/cache": "^6.4 || ^7.3 || ^8.0",
|
"symfony/console": "^5.4 || ^6.4 || ^7.3 || ^8.0",
|
||||||
"symfony/console": "^6.4 || ^7.3 || ^8.0",
|
"symfony/process": "^5.4 || ^6.4 || ^7.3 || ^8.0",
|
||||||
"symfony/process": "^6.4 || ^7.3 || ^8.0",
|
|
||||||
"nyholm/psr7": "^1.8",
|
"nyholm/psr7": "^1.8",
|
||||||
"nyholm/psr7-server": "^1.1",
|
"nyholm/psr7-server": "^1.1",
|
||||||
"laminas/laminas-httphandlerrunner": "^2.12"
|
"laminas/laminas-httphandlerrunner": "^2.12"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue