Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Symfony 6. Drop support for earlier versions. #63

Merged
merged 2 commits into from
Feb 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 5 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
php-version: 8.0
coverage: none

- name: Install dependencies
Expand Down Expand Up @@ -63,7 +63,8 @@ jobs:
composer --working-dir=tools require roave/backward-compatibility-check:^5

- name: Run roave/backward-compatibility-check
run: ./tools/vendor/bin/roave-backward-compatibility-check --from=4.1.2
if: false
run: ./tools/vendor/bin/roave-backward-compatibility-check --from=5.0.0

tests:
name: Tests
Expand All @@ -80,28 +81,15 @@ jobs:
- windows-latest

php-version:
- "7.4"
- "8.0"

php-ini-values:
- assert.exception=1, zend.assertions=1
- assert.exception=1, zend.assertions=1, opcache.enable=1, opcache.enable_cli=1, opcache.optimization_level=-1, opcache.jit_buffer_size=4096M, opcache.jit=1205

dependencies:
- locked

include:
- os: ubuntu-latest
php-version: "7.1"
dependencies: lowest

- os: ubuntu-latest
php-version: "7.4"
dependencies: highest

- os: ubuntu-latest
php-version: "8.0"
dependencies: highest
php-ini-values: assert.exception=1, zend.assertions=1, opcache.enable=1, opcache.enable_cli=1, opcache.optimization_level=-1, opcache.jit_buffer_size=4096M, opcache.jit=1205

- os: ubuntu-latest
php-version: "8.1"
dependencies: highest
Expand Down
15 changes: 7 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,15 @@
}
},
"require": {
"php": ">=7.1.3",
"consolidation/config": "^1.2.1|^2",
"php": ">=8.0.14",
"consolidation/config": "^2",
"consolidation/site-alias": "^3",
"symfony/process": "^4.3.4|^5",
"symfony/console": "^2.8.52|^3|^4.4|^5"
"symfony/process": "^6",
"symfony/console": "^6"
},
"require-dev": {
"squizlabs/php_codesniffer": "^3",
"phpunit/phpunit": "^7.5.20|^8.5.14",
"yoast/phpunit-polyfills": "^0.2.0"
"phpunit/phpunit": "^9"
},
"scripts": {
"cs": "phpcs --standard=PSR2 -n src",
Expand All @@ -52,12 +51,12 @@
"optimize-autoloader": true,
"sort-packages": true,
"platform": {
"php": "7.2.28"
"php": "8.0.14"
}
},
"extra": {
"branch-alias": {
"dev-main": "4.x-dev"
"dev-main": "5.x-dev"
}
}
}
Loading