[SF7] Add Symfony 7 support for Taxonomy bundle

This commit is contained in:
Loïc Frémont 2024-06-12 11:38:30 +02:00
parent 36ea1116c2
commit 1d5c10f614
4 changed files with 12 additions and 12 deletions

View file

@ -117,8 +117,9 @@ jobs:
- name: Validate Yaml files
run: bin/console lint:yaml src
- name: Validate Package versions
run: vendor/bin/monorepo-builder validate
# TODO Uncomment this (disabled temporarily to add SF7 support package per package)
# - name: Validate Package versions
# run: vendor/bin/monorepo-builder validate
- name: Run PHPArkitect
run: vendor/bin/phparkitect check

View file

@ -3,3 +3,6 @@
/composer.phar
/composer.lock
.phpunit.result.cache
/Tests/Functional/app/db.sql

View file

@ -33,12 +33,3 @@ doctrine:
entity_managers:
default:
auto_mapping: true
fos_rest:
view:
formats:
json: true
empty_content: 204
format_listener:
rules:
- { path: '^/', priorities: ['json'], fallback_format: json, prefer_extension: true }

View file

@ -30,7 +30,7 @@
"require": {
"php": "^8.2",
"stof/doctrine-extensions-bundle": "^1.4",
"sylius/resource-bundle": "^1.10",
"sylius/resource-bundle": "^1.10 || dev-symfony-7",
"sylius/taxonomy": "^2.0",
"symfony/framework-bundle": "^6.4.1 || ^7.0"
},
@ -40,6 +40,8 @@
},
"require-dev": {
"doctrine/orm": "^2.13",
"friendsofsymfony/rest-bundle": "^3.0",
"jms/serializer-bundle": "^5.0",
"phpspec/phpspec": "^7.2",
"phpunit/phpunit": "^9.5",
"symfony/dependency-injection": "^6.4.1 || ^7.0"
@ -52,6 +54,9 @@
"extra": {
"branch-alias": {
"dev-main": "2.0-dev"
},
"symfony": {
"require": "6.4.*"
}
},
"autoload": {