Skip to content

Commit 03e2d7e

Browse files
Allow installation with Symfony 7
Use temporary @mbabker symfony-7 jms serializer branch Use php-cs-fixer shim to avoid conflicts (requires atleast PHP 7.4)
1 parent e01be81 commit 03e2d7e

File tree

2 files changed

+34
-26
lines changed

2 files changed

+34
-26
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
strategy:
2121
matrix:
2222
include:
23-
- php-version: 7.2
23+
- php-version: 7.4
2424
composer-flags: "--prefer-lowest "
2525
can-fail: false
26-
- php-version: 7.3
26+
- php-version: 7.4
2727
composer-flags: ""
2828
can-fail: false
2929
- php-version: 7.4
@@ -47,6 +47,10 @@ jobs:
4747
composer-flags: ""
4848
can-fail: false
4949
symfony-require: "6.3.*"
50+
- php-version: 8.2
51+
composer-flags: ""
52+
can-fail: false
53+
symfony-require: "6.4.*"
5054
- php-version: 8.2
5155
composer-flags: ""
5256
can-fail: true # we don't want to fail the build if we are incompatible with the next (unstable) Symfony version

composer.json

Lines changed: 28 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -28,43 +28,47 @@
2828
"Tests/"
2929
]
3030
},
31+
"repositories": [
32+
{
33+
"type": "vcs",
34+
"url": "https://github.com/schmittjoh/JMSSerializerBundle.git"
35+
}
36+
],
3137
"require": {
3238
"php": "^7.2|^8.0",
33-
"symfony/config": "^5.4|^6.0",
34-
"symfony/dependency-injection": "^5.4|^6.0",
35-
"symfony/event-dispatcher": "^5.4|^6.0",
36-
"symfony/framework-bundle": "^4.4.1|^5.0|^6.0",
37-
"symfony/http-foundation": "^5.4|^6.0",
38-
"symfony/http-kernel": "^5.4|^6.0",
39-
"symfony/routing": "^5.4|^6.0",
40-
"symfony/security-core": "^5.4|^6.0",
39+
"symfony/config": "^5.4|^6.0|^7.0",
40+
"symfony/dependency-injection": "^5.4|^6.0|^7.0",
41+
"symfony/event-dispatcher": "^5.4|^6.0|^7.0",
42+
"symfony/framework-bundle": "^4.4.1|^5.0|^6.0|^7.0",
43+
"symfony/http-foundation": "^5.4|^6.0|^7.0",
44+
"symfony/http-kernel": "^5.4|^6.0|^7.0",
45+
"symfony/routing": "^5.4|^6.0|^7.0",
46+
"symfony/security-core": "^5.4|^6.0|^7.0",
4147
"willdurand/jsonp-callback-validator": "^1.0|^2.0",
4248
"willdurand/negotiation": "^2.0|^3.0"
4349
},
4450
"require-dev": {
4551
"doctrine/annotations": "^1.13.2|^2.0 ",
4652
"friendsofphp/php-cs-fixer": "^3.0",
53+
"jms/serializer-bundle": "dev-symfony-7 as 5.99",
4754
"jms/serializer": "^1.13|^2.0|^3.0",
48-
"jms/serializer-bundle": "^2.4.3|^3.0.1|^4.0|^5.0",
4955
"psr/http-message": "^1.0",
5056
"psr/log": "^1.0|^2.0|^3.0",
51-
"sensio/framework-extra-bundle": "^6.1",
52-
"symfony/phpunit-bridge": "^5.4|^6.0",
53-
"symfony/asset": "^5.4|^6.0",
54-
"symfony/browser-kit": "^5.4|^6.0",
55-
"symfony/css-selector": "^5.4|^6.0",
56-
"symfony/expression-language": "^5.4|^6.0",
57-
"symfony/form": "^5.4|^6.0",
58-
"symfony/mime": "^5.4|^6.0",
59-
"symfony/security-bundle": "^5.4|^6.0",
60-
"symfony/serializer": "^5.4|^6.0",
61-
"symfony/twig-bundle": "^5.4|^6.0",
62-
"symfony/validator": "^5.4|^6.0",
63-
"symfony/web-profiler-bundle": "^5.4|^6.0",
64-
"symfony/yaml": "^5.4|^6.0"
57+
"symfony/phpunit-bridge": "^5.4|^6.0|^7.0",
58+
"symfony/asset": "^5.4|^6.0|^7.0",
59+
"symfony/browser-kit": "^5.4|^6.0|^7.0",
60+
"symfony/css-selector": "^5.4|^6.0|^7.0",
61+
"symfony/expression-language": "^5.4|^6.0|^7.0",
62+
"symfony/form": "^5.4|^6.0|^7.0",
63+
"symfony/mime": "^5.4|^6.0|^7.0",
64+
"symfony/security-bundle": "^5.4|^6.0|^7.0",
65+
"symfony/serializer": "^5.4|^6.0|^7.0",
66+
"symfony/twig-bundle": "^5.4|^6.0|^7.0",
67+
"symfony/validator": "^5.4|^6.0|^7.0",
68+
"symfony/web-profiler-bundle": "^5.4|^6.0|^7.0",
69+
"symfony/yaml": "^5.4|^6.0|^7.0"
6570
},
6671
"suggest": {
67-
"sensio/framework-extra-bundle": "Add support for the request body converter and the view response listener, requires ^3.0",
6872
"jms/serializer-bundle": "Add support for advanced serialization capabilities, recommended, requires ^2.0|^3.0",
6973
"symfony/serializer": "Add support for basic serialization capabilities and xml decoding, requires ^2.7|^3.0",
7074
"symfony/validator": "Add support for validation capabilities in the ParamFetcher, requires ^2.7|^3.0"

0 commit comments

Comments
 (0)