Symfony 8.0

This commit is contained in:
2026-02-05 21:57:40 +01:00
parent c84cce3fc2
commit 45404db12f
5 changed files with 826 additions and 1151 deletions

View File

@@ -45,7 +45,6 @@
<excludeFolder url="file://$MODULE_DIR$/vendor/react/socket" /> <excludeFolder url="file://$MODULE_DIR$/vendor/react/socket" />
<excludeFolder url="file://$MODULE_DIR$/vendor/react/stream" /> <excludeFolder url="file://$MODULE_DIR$/vendor/react/stream" />
<excludeFolder url="file://$MODULE_DIR$/vendor/rector/rector" /> <excludeFolder url="file://$MODULE_DIR$/vendor/rector/rector" />
<excludeFolder url="file://$MODULE_DIR$/vendor/runtime/frankenphp-symfony" />
<excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/cli-parser" /> <excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/cli-parser" />
<excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/comparator" /> <excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/comparator" />
<excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/complexity" /> <excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/complexity" />
@@ -127,7 +126,6 @@
<excludeFolder url="file://$MODULE_DIR$/vendor/vincentlanglet/twig-cs-fixer" /> <excludeFolder url="file://$MODULE_DIR$/vendor/vincentlanglet/twig-cs-fixer" />
<excludeFolder url="file://$MODULE_DIR$/vendor/webmozart/assert" /> <excludeFolder url="file://$MODULE_DIR$/vendor/webmozart/assert" />
<excludeFolder url="file://$MODULE_DIR$/vendor/egulias/email-validator" /> <excludeFolder url="file://$MODULE_DIR$/vendor/egulias/email-validator" />
<excludeFolder url="file://$MODULE_DIR$/vendor/masterminds/html5" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/browser-kit" /> <excludeFolder url="file://$MODULE_DIR$/vendor/symfony/browser-kit" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/dom-crawler" /> <excludeFolder url="file://$MODULE_DIR$/vendor/symfony/dom-crawler" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/mailer" /> <excludeFolder url="file://$MODULE_DIR$/vendor/symfony/mailer" />

3
.idea/php.xml generated
View File

@@ -70,7 +70,6 @@
<path value="$PROJECT_DIR$/vendor/markbaker/complex" /> <path value="$PROJECT_DIR$/vendor/markbaker/complex" />
<path value="$PROJECT_DIR$/vendor/markbaker/matrix" /> <path value="$PROJECT_DIR$/vendor/markbaker/matrix" />
<path value="$PROJECT_DIR$/vendor/martin-georgiev/postgresql-for-doctrine" /> <path value="$PROJECT_DIR$/vendor/martin-georgiev/postgresql-for-doctrine" />
<path value="$PROJECT_DIR$/vendor/masterminds/html5" />
<path value="$PROJECT_DIR$/vendor/myclabs/deep-copy" /> <path value="$PROJECT_DIR$/vendor/myclabs/deep-copy" />
<path value="$PROJECT_DIR$/vendor/nikic/php-parser" /> <path value="$PROJECT_DIR$/vendor/nikic/php-parser" />
<path value="$PROJECT_DIR$/vendor/phar-io/manifest" /> <path value="$PROJECT_DIR$/vendor/phar-io/manifest" />
@@ -108,7 +107,6 @@
<path value="$PROJECT_DIR$/vendor/react/socket" /> <path value="$PROJECT_DIR$/vendor/react/socket" />
<path value="$PROJECT_DIR$/vendor/react/stream" /> <path value="$PROJECT_DIR$/vendor/react/stream" />
<path value="$PROJECT_DIR$/vendor/rector/rector" /> <path value="$PROJECT_DIR$/vendor/rector/rector" />
<path value="$PROJECT_DIR$/vendor/runtime/frankenphp-symfony" />
<path value="$PROJECT_DIR$/vendor/sebastian/cli-parser" /> <path value="$PROJECT_DIR$/vendor/sebastian/cli-parser" />
<path value="$PROJECT_DIR$/vendor/sebastian/comparator" /> <path value="$PROJECT_DIR$/vendor/sebastian/comparator" />
<path value="$PROJECT_DIR$/vendor/sebastian/complexity" /> <path value="$PROJECT_DIR$/vendor/sebastian/complexity" />
@@ -203,6 +201,7 @@
<path value="$PROJECT_DIR$/vendor/twig/twig" /> <path value="$PROJECT_DIR$/vendor/twig/twig" />
<path value="$PROJECT_DIR$/vendor/vincentlanglet/twig-cs-fixer" /> <path value="$PROJECT_DIR$/vendor/vincentlanglet/twig-cs-fixer" />
<path value="$PROJECT_DIR$/vendor/webmozart/assert" /> <path value="$PROJECT_DIR$/vendor/webmozart/assert" />
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-php85" />
</include_path> </include_path>
</component> </component>
<component name="PhpInterpreters"> <component name="PhpInterpreters">

View File

@@ -17,30 +17,29 @@
"phpdocumentor/reflection-docblock": "^5.6.6", "phpdocumentor/reflection-docblock": "^5.6.6",
"phpoffice/phpspreadsheet": "^5.4", "phpoffice/phpspreadsheet": "^5.4",
"phpstan/phpdoc-parser": "^2.3.2", "phpstan/phpdoc-parser": "^2.3.2",
"runtime/frankenphp-symfony": "^0.2.0",
"sentry/sentry-symfony": "^5.8.3", "sentry/sentry-symfony": "^5.8.3",
"stof/doctrine-extensions-bundle": "^1.15.3", "stof/doctrine-extensions-bundle": "^1.15.3",
"symfony/asset": "7.4.*", "symfony/asset": "8.0.*",
"symfony/asset-mapper": "7.4.*", "symfony/asset-mapper": "8.0.*",
"symfony/brevo-mailer": "7.4.*", "symfony/brevo-mailer": "8.0.*",
"symfony/console": "7.4.*", "symfony/console": "8.0.*",
"symfony/dotenv": "7.4.*", "symfony/dotenv": "8.0.*",
"symfony/flex": "^2.10.0", "symfony/flex": "^2.10.0",
"symfony/form": "7.4.*", "symfony/form": "8.0.*",
"symfony/framework-bundle": "7.4.*", "symfony/framework-bundle": "8.0.*",
"symfony/mailer": "7.4.*", "symfony/mailer": "8.0.*",
"symfony/property-access": "7.4.*", "symfony/property-access": "8.0.*",
"symfony/property-info": "7.4.*", "symfony/property-info": "8.0.*",
"symfony/runtime": "7.4.*", "symfony/runtime": "8.0.*",
"symfony/security-bundle": "7.4.*", "symfony/security-bundle": "8.0.*",
"symfony/security-csrf": "7.4.*", "symfony/security-csrf": "8.0.*",
"symfony/serializer": "7.4.*", "symfony/serializer": "8.0.*",
"symfony/translation": "7.4.*", "symfony/translation": "8.0.*",
"symfony/twig-bundle": "7.4.*", "symfony/twig-bundle": "8.0.*",
"symfony/uid": "7.4.*", "symfony/uid": "8.0.*",
"symfony/ux-turbo": "^2.32.0", "symfony/ux-turbo": "^2.32.0",
"symfony/validator": "7.4.*", "symfony/validator": "8.0.*",
"symfony/yaml": "7.4.*", "symfony/yaml": "8.0.*",
"symfonycasts/sass-bundle": "^0.8.3", "symfonycasts/sass-bundle": "^0.8.3",
"symfonycasts/verify-email-bundle": "^1.18.0", "symfonycasts/verify-email-bundle": "^1.18.0",
"thecodingmachine/safe": "^3.3.0", "thecodingmachine/safe": "^3.3.0",
@@ -60,12 +59,12 @@
"phpunit/phpunit": "^12.5.9", "phpunit/phpunit": "^12.5.9",
"rector/rector": "^2.3.4", "rector/rector": "^2.3.4",
"roave/security-advisories": "dev-latest", "roave/security-advisories": "dev-latest",
"symfony/browser-kit": "7.4.*", "symfony/browser-kit": "8.0.*",
"symfony/css-selector": "7.4.*", "symfony/css-selector": "8.0.*",
"symfony/maker-bundle": "^1.65.1", "symfony/maker-bundle": "^1.65.1",
"symfony/phpunit-bridge": "7.4.*", "symfony/phpunit-bridge": "8.0.*",
"symfony/stopwatch": "7.4.*", "symfony/stopwatch": "8.0.*",
"symfony/web-profiler-bundle": "7.4.*", "symfony/web-profiler-bundle": "8.0.*",
"thecodingmachine/phpstan-safe-rule": "^1.4.3", "thecodingmachine/phpstan-safe-rule": "^1.4.3",
"vincentlanglet/twig-cs-fixer": "^3.13.0" "vincentlanglet/twig-cs-fixer": "^3.13.0"
}, },
@@ -122,7 +121,7 @@
"extra": { "extra": {
"symfony": { "symfony": {
"allow-contrib": false, "allow-contrib": false,
"require": "7.4.*", "require": "8.0.*",
"docker": true "docker": true
} }
} }

1904
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -188,7 +188,7 @@ use Symfony\Component\Config\Loader\ParamConfigurator as Param;
* only_exceptions?: bool|Param, // Default: false * only_exceptions?: bool|Param, // Default: false
* only_main_requests?: bool|Param, // Default: false * only_main_requests?: bool|Param, // Default: false
* dsn?: scalar|Param|null, // Default: "file:%kernel.cache_dir%/profiler" * dsn?: scalar|Param|null, // Default: "file:%kernel.cache_dir%/profiler"
* collect_serializer_data?: bool|Param, // Enables the serializer data collector and profiler panel. // Default: false * collect_serializer_data?: true|Param, // Default: true
* }, * },
* workflows?: bool|array{ * workflows?: bool|array{
* enabled?: bool|Param, // Default: false * enabled?: bool|Param, // Default: false
@@ -232,7 +232,6 @@ use Symfony\Component\Config\Loader\ParamConfigurator as Param;
* enabled?: bool|Param, // Default: false * enabled?: bool|Param, // Default: false
* resource: scalar|Param|null, * resource: scalar|Param|null,
* type?: scalar|Param|null, * type?: scalar|Param|null,
* cache_dir?: scalar|Param|null, // Deprecated: Setting the "framework.router.cache_dir.cache_dir" configuration option is deprecated. It will be removed in version 8.0. // Default: "%kernel.build_dir%"
* default_uri?: scalar|Param|null, // The default URI used to generate URLs in a non-HTTP context. // Default: null * default_uri?: scalar|Param|null, // The default URI used to generate URLs in a non-HTTP context. // Default: null
* http_port?: scalar|Param|null, // Default: 80 * http_port?: scalar|Param|null, // Default: 80
* https_port?: scalar|Param|null, // Default: 443 * https_port?: scalar|Param|null, // Default: 443
@@ -256,8 +255,6 @@ use Symfony\Component\Config\Loader\ParamConfigurator as Param;
* gc_maxlifetime?: scalar|Param|null, * gc_maxlifetime?: scalar|Param|null,
* save_path?: scalar|Param|null, // Defaults to "%kernel.cache_dir%/sessions" if the "handler_id" option is not null. * save_path?: scalar|Param|null, // Defaults to "%kernel.cache_dir%/sessions" if the "handler_id" option is not null.
* metadata_update_threshold?: int|Param, // Seconds to wait between 2 session metadata updates. // Default: 0 * metadata_update_threshold?: int|Param, // Seconds to wait between 2 session metadata updates. // Default: 0
* sid_length?: int|Param, // Deprecated: Setting the "framework.session.sid_length.sid_length" configuration option is deprecated. It will be removed in version 8.0. No alternative is provided as PHP 8.4 has deprecated the related option.
* sid_bits_per_character?: int|Param, // Deprecated: Setting the "framework.session.sid_bits_per_character.sid_bits_per_character" configuration option is deprecated. It will be removed in version 8.0. No alternative is provided as PHP 8.4 has deprecated the related option.
* }, * },
* request?: bool|array{ // Request configuration * request?: bool|array{ // Request configuration
* enabled?: bool|Param, // Default: false * enabled?: bool|Param, // Default: false
@@ -331,11 +328,10 @@ use Symfony\Component\Config\Loader\ParamConfigurator as Param;
* }, * },
* validation?: bool|array{ // Validation configuration * validation?: bool|array{ // Validation configuration
* enabled?: bool|Param, // Default: true * enabled?: bool|Param, // Default: true
* cache?: scalar|Param|null, // Deprecated: Setting the "framework.validation.cache.cache" configuration option is deprecated. It will be removed in version 8.0.
* enable_attributes?: bool|Param, // Default: true * enable_attributes?: bool|Param, // Default: true
* static_method?: list<scalar|Param|null>, * static_method?: list<scalar|Param|null>,
* translation_domain?: scalar|Param|null, // Default: "validators" * translation_domain?: scalar|Param|null, // Default: "validators"
* email_validation_mode?: "html5"|"html5-allow-no-tld"|"strict"|"loose"|Param, // Default: "html5" * email_validation_mode?: "html5"|"html5-allow-no-tld"|"strict"|Param, // Default: "html5"
* mapping?: array{ * mapping?: array{
* paths?: list<scalar|Param|null>, * paths?: list<scalar|Param|null>,
* }, * },
@@ -348,9 +344,6 @@ use Symfony\Component\Config\Loader\ParamConfigurator as Param;
* services?: list<scalar|Param|null>, * services?: list<scalar|Param|null>,
* }>, * }>,
* }, * },
* annotations?: bool|array{
* enabled?: bool|Param, // Default: false
* },
* serializer?: bool|array{ // Serializer configuration * serializer?: bool|array{ // Serializer configuration
* enabled?: bool|Param, // Default: true * enabled?: bool|Param, // Default: true
* enable_attributes?: bool|Param, // Default: true * enable_attributes?: bool|Param, // Default: true
@@ -382,7 +375,7 @@ use Symfony\Component\Config\Loader\ParamConfigurator as Param;
* }, * },
* property_info?: bool|array{ // Property info configuration * property_info?: bool|array{ // Property info configuration
* enabled?: bool|Param, // Default: true * enabled?: bool|Param, // Default: true
* with_constructor_extractor?: bool|Param, // Registers the constructor extractor. * with_constructor_extractor?: bool|Param, // Registers the constructor extractor. // Default: true
* }, * },
* cache?: array{ // Cache configuration * cache?: array{ // Cache configuration
* prefix_seed?: scalar|Param|null, // Used to namespace cache keys when using several apps with the same shared backend. // Default: "_%kernel.project_dir%.%kernel.container_class%" * prefix_seed?: scalar|Param|null, // Used to namespace cache keys when using several apps with the same shared backend. // Default: "_%kernel.project_dir%.%kernel.container_class%"
@@ -912,7 +905,6 @@ use Symfony\Component\Config\Loader\ParamConfigurator as Param;
* }>, * }>,
* autoescape_service?: scalar|Param|null, // Default: null * autoescape_service?: scalar|Param|null, // Default: null
* autoescape_service_method?: scalar|Param|null, // Default: null * autoescape_service_method?: scalar|Param|null, // Default: null
* base_template_class?: scalar|Param|null, // Deprecated: The child node "base_template_class" at path "twig.base_template_class" is deprecated.
* cache?: scalar|Param|null, // Default: true * cache?: scalar|Param|null, // Default: true
* charset?: scalar|Param|null, // Default: "%kernel.charset%" * charset?: scalar|Param|null, // Default: "%kernel.charset%"
* debug?: bool|Param, // Default: "%kernel.debug%" * debug?: bool|Param, // Default: "%kernel.debug%"
@@ -939,7 +931,6 @@ use Symfony\Component\Config\Loader\ParamConfigurator as Param;
* @psalm-type SecurityConfig = array{ * @psalm-type SecurityConfig = array{
* access_denied_url?: scalar|Param|null, // Default: null * access_denied_url?: scalar|Param|null, // Default: null
* session_fixation_strategy?: "none"|"migrate"|"invalidate"|Param, // Default: "migrate" * session_fixation_strategy?: "none"|"migrate"|"invalidate"|Param, // Default: "migrate"
* hide_user_not_found?: bool|Param, // Deprecated: The "hide_user_not_found" option is deprecated and will be removed in 8.0. Use the "expose_security_errors" option instead.
* expose_security_errors?: \Symfony\Component\Security\Http\Authentication\ExposeSecurityLevel::None|\Symfony\Component\Security\Http\Authentication\ExposeSecurityLevel::AccountStatus|\Symfony\Component\Security\Http\Authentication\ExposeSecurityLevel::All|Param, // Default: "none" * expose_security_errors?: \Symfony\Component\Security\Http\Authentication\ExposeSecurityLevel::None|\Symfony\Component\Security\Http\Authentication\ExposeSecurityLevel::AccountStatus|\Symfony\Component\Security\Http\Authentication\ExposeSecurityLevel::All|Param, // Default: "none"
* erase_credentials?: bool|Param, // Default: true * erase_credentials?: bool|Param, // Default: true
* access_decision_manager?: array{ * access_decision_manager?: array{
@@ -1175,9 +1166,7 @@ use Symfony\Component\Config\Loader\ParamConfigurator as Param;
* claim?: scalar|Param|null, // Claim which contains the user identifier (e.g.: sub, email..). // Default: "sub" * claim?: scalar|Param|null, // Claim which contains the user identifier (e.g.: sub, email..). // Default: "sub"
* audience: scalar|Param|null, // Audience set in the token, for validation purpose. * audience: scalar|Param|null, // Audience set in the token, for validation purpose.
* issuers: list<scalar|Param|null>, * issuers: list<scalar|Param|null>,
* algorithm?: array<mixed>,
* algorithms: list<scalar|Param|null>, * algorithms: list<scalar|Param|null>,
* key?: scalar|Param|null, // Deprecated: The "key" option is deprecated and will be removed in 8.0. Use the "keyset" option instead. // JSON-encoded JWK used to sign the token (must contain a "kty" key).
* keyset?: scalar|Param|null, // JSON-encoded JWKSet used to sign the token (must contain a list of valid public keys). * keyset?: scalar|Param|null, // JSON-encoded JWKSet used to sign the token (must contain a list of valid public keys).
* encryption?: bool|array{ * encryption?: bool|array{
* enabled?: bool|Param, // Default: false * enabled?: bool|Param, // Default: false