Skip to content

Commit 0355e2b

Browse files
committed
Support Symfony 7
1 parent 3589b72 commit 0355e2b

File tree

24 files changed

+959
-271
lines changed

24 files changed

+959
-271
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ jobs:
1717
fail-fast: false
1818
matrix:
1919
php-version:
20-
- "8.0"
2120
- "8.1"
21+
- "8.2"
2222
dependencies:
2323
- "highest"
2424
stability:
@@ -27,11 +27,11 @@ jobs:
2727
# Tests the lowest set of dependencies
2828
- dependencies: "lowest"
2929
stability: "stable"
30-
php-version: "8.0"
30+
php-version: "8.1"
3131
# Tests the highest set of dependencies
3232
- dependencies: "highest"
3333
stability: "dev"
34-
php-version: "8.1"
34+
php-version: "8.2"
3535

3636
steps:
3737
- name: "Checkout"

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
/composer.lock
22
/vendor/
33
/.idea
4+
/.devenv
45
.phpunit.cache
56
.php-cs-fixer.cache
67
.phpunit.result.cache
7-
coverage.xml
8+
coverage.xml
9+
.result

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## 1.2.6
4+
- Support symfony 7 & fix deprecation.
5+
- Deprecate `form` request input data.
6+
- Upgrade PHPUnit & fix deprecation.
7+
- Add nix flake for development environment.
8+
39
## 1.2.5
410
- Fix [#10](https://github.com/sfmok/request-input-bundle/issues/10) issue - throw `UnsupportedMediaTypeHttpException` in case `Content-Type` header is missing or unsupported.
511

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class PostController
6767
### Validations
6868
- Response header
6969
```
70-
Content-Type: application/problem+json; charset=utf-8
70+
Content-Type: application/json; charset=utf-8
7171
```
7272
- Response body
7373
```json

composer.json

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,18 @@
1818
],
1919
"license": "MIT",
2020
"require": {
21-
"php": "^8.0",
22-
"symfony/http-kernel": "^5.4 || ^6.0",
23-
"symfony/http-foundation": "^5.4 || ^6.0",
24-
"symfony/serializer": "^5.4 || ^6.0",
25-
"symfony/validator": "^5.4 || ^6.0",
26-
"symfony/dependency-injection": "^5.4 || ^6.0",
27-
"symfony/property-access": "^5.4 || ^6.0"
21+
"php": ">=8.1",
22+
"symfony/http-kernel": "^6.2|^7.0",
23+
"symfony/http-foundation": "^6.2|^7.0",
24+
"symfony/serializer": "^6.2|^7.0",
25+
"symfony/validator": "^6.2|^7.0",
26+
"symfony/dependency-injection": "^6.2|^7.0",
27+
"symfony/property-access": "^6.2|^7.0"
2828
},
2929
"require-dev": {
30-
"phpunit/phpunit": "^9.5",
31-
"symfony/framework-bundle": "^5.4 || ^6.0",
32-
"phpspec/prophecy-phpunit": "^2.0",
33-
"friendsofphp/php-cs-fixer": "^3.13",
30+
"phpunit/phpunit": "^10.5",
31+
"symfony/framework-bundle": "^6.2|^7.0",
32+
"friendsofphp/php-cs-fixer": "^3.5",
3433
"phpstan/phpstan": "^1.9"
3534
},
3635
"autoload": {

0 commit comments

Comments
 (0)