Skip to content

Commit

Permalink
Allow installation with Symfony 7
Browse files Browse the repository at this point in the history
Use temporary @mbabker symfony-7 jms serializer branch
Use php-cs-fixer shim to avoid conflicts (requires atleast PHP 7.4)
  • Loading branch information
alexander-schranz committed Nov 6, 2023
1 parent e01be81 commit 03e2d7e
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 26 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
strategy:
matrix:
include:
- php-version: 7.2
- php-version: 7.4
composer-flags: "--prefer-lowest "
can-fail: false
- php-version: 7.3
- php-version: 7.4
composer-flags: ""
can-fail: false
- php-version: 7.4
Expand All @@ -47,6 +47,10 @@ jobs:
composer-flags: ""
can-fail: false
symfony-require: "6.3.*"
- php-version: 8.2
composer-flags: ""
can-fail: false
symfony-require: "6.4.*"
- php-version: 8.2
composer-flags: ""
can-fail: true # we don't want to fail the build if we are incompatible with the next (unstable) Symfony version
Expand Down
52 changes: 28 additions & 24 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,43 +28,47 @@
"Tests/"
]
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/schmittjoh/JMSSerializerBundle.git"
}
],
"require": {
"php": "^7.2|^8.0",
"symfony/config": "^5.4|^6.0",
"symfony/dependency-injection": "^5.4|^6.0",
"symfony/event-dispatcher": "^5.4|^6.0",
"symfony/framework-bundle": "^4.4.1|^5.0|^6.0",
"symfony/http-foundation": "^5.4|^6.0",
"symfony/http-kernel": "^5.4|^6.0",
"symfony/routing": "^5.4|^6.0",
"symfony/security-core": "^5.4|^6.0",
"symfony/config": "^5.4|^6.0|^7.0",
"symfony/dependency-injection": "^5.4|^6.0|^7.0",
"symfony/event-dispatcher": "^5.4|^6.0|^7.0",
"symfony/framework-bundle": "^4.4.1|^5.0|^6.0|^7.0",
"symfony/http-foundation": "^5.4|^6.0|^7.0",
"symfony/http-kernel": "^5.4|^6.0|^7.0",
"symfony/routing": "^5.4|^6.0|^7.0",
"symfony/security-core": "^5.4|^6.0|^7.0",
"willdurand/jsonp-callback-validator": "^1.0|^2.0",
"willdurand/negotiation": "^2.0|^3.0"
},
"require-dev": {
"doctrine/annotations": "^1.13.2|^2.0 ",
"friendsofphp/php-cs-fixer": "^3.0",
"jms/serializer-bundle": "dev-symfony-7 as 5.99",
"jms/serializer": "^1.13|^2.0|^3.0",
"jms/serializer-bundle": "^2.4.3|^3.0.1|^4.0|^5.0",
"psr/http-message": "^1.0",
"psr/log": "^1.0|^2.0|^3.0",
"sensio/framework-extra-bundle": "^6.1",
"symfony/phpunit-bridge": "^5.4|^6.0",
"symfony/asset": "^5.4|^6.0",
"symfony/browser-kit": "^5.4|^6.0",
"symfony/css-selector": "^5.4|^6.0",
"symfony/expression-language": "^5.4|^6.0",
"symfony/form": "^5.4|^6.0",
"symfony/mime": "^5.4|^6.0",
"symfony/security-bundle": "^5.4|^6.0",
"symfony/serializer": "^5.4|^6.0",
"symfony/twig-bundle": "^5.4|^6.0",
"symfony/validator": "^5.4|^6.0",
"symfony/web-profiler-bundle": "^5.4|^6.0",
"symfony/yaml": "^5.4|^6.0"
"symfony/phpunit-bridge": "^5.4|^6.0|^7.0",
"symfony/asset": "^5.4|^6.0|^7.0",
"symfony/browser-kit": "^5.4|^6.0|^7.0",
"symfony/css-selector": "^5.4|^6.0|^7.0",
"symfony/expression-language": "^5.4|^6.0|^7.0",
"symfony/form": "^5.4|^6.0|^7.0",
"symfony/mime": "^5.4|^6.0|^7.0",
"symfony/security-bundle": "^5.4|^6.0|^7.0",
"symfony/serializer": "^5.4|^6.0|^7.0",
"symfony/twig-bundle": "^5.4|^6.0|^7.0",
"symfony/validator": "^5.4|^6.0|^7.0",
"symfony/web-profiler-bundle": "^5.4|^6.0|^7.0",
"symfony/yaml": "^5.4|^6.0|^7.0"
},
"suggest": {
"sensio/framework-extra-bundle": "Add support for the request body converter and the view response listener, requires ^3.0",
"jms/serializer-bundle": "Add support for advanced serialization capabilities, recommended, requires ^2.0|^3.0",
"symfony/serializer": "Add support for basic serialization capabilities and xml decoding, requires ^2.7|^3.0",
"symfony/validator": "Add support for validation capabilities in the ParamFetcher, requires ^2.7|^3.0"
Expand Down

0 comments on commit 03e2d7e

Please sign in to comment.