diff --git a/demo/composer.json b/demo/composer.json index 6a66b3630..d2c657782 100644 --- a/demo/composer.json +++ b/demo/composer.json @@ -12,33 +12,32 @@ "mrmysql/youtube-transcript": "^0.0.5", "nyholm/psr7": "^1.8", "php-http/discovery": "^1.20", - "runtime/frankenphp-symfony": "^0.2.0", "symfony/ai-bundle": "@dev", "symfony/ai-chroma-db-store": "@dev", "symfony/ai-clock-tool": "@dev", "symfony/ai-similarity-search-tool": "@dev", "symfony/ai-wikipedia-tool": "@dev", - "symfony/asset": "^7.4", - "symfony/asset-mapper": "^7.4", - "symfony/config": "^7.4.1", - "symfony/console": "^7.4", - "symfony/dotenv": "^7.4", + "symfony/asset": "^8.0", + "symfony/asset-mapper": "^8.0", + "symfony/config": "^8.0", + "symfony/console": "^8.0", + "symfony/dotenv": "^8.0", "symfony/flex": "^2.10", - "symfony/form": "^7.4", - "symfony/framework-bundle": "^7.4", - "symfony/http-client": "^7.4", + "symfony/form": "^8.0", + "symfony/framework-bundle": "^8.0", + "symfony/http-client": "^8.0", "symfony/mcp-bundle": "@dev", - "symfony/mime": "^7.4", + "symfony/mime": "^8.0", "symfony/monolog-bundle": "^4.0", - "symfony/runtime": "^7.4", - "symfony/twig-bundle": "^7.4", - "symfony/uid": "^7.4", + "symfony/runtime": "^8.0", + "symfony/twig-bundle": "^8.0", + "symfony/uid": "^8.0", "symfony/ux-dropzone": "^2.31", "symfony/ux-icons": "^2.31", "symfony/ux-live-component": "^2.31", "symfony/ux-turbo": "^2.31", "symfony/ux-typed": "^2.31", - "symfony/yaml": "^7.4", + "symfony/yaml": "^8.0", "twig/extra-bundle": "^3.22.1", "twig/markdown-extra": "^3.22", "twig/twig": "^3.22" @@ -48,11 +47,11 @@ "phpstan/phpstan": "^2.1.32", "phpstan/phpstan-strict-rules": "^2.0.7", "phpunit/phpunit": "^12.1", - "symfony/browser-kit": "^7.4", - "symfony/css-selector": "^7.4", - "symfony/debug-bundle": "^7.4", - "symfony/stopwatch": "^7.4", - "symfony/web-profiler-bundle": "^7.4" + "symfony/browser-kit": "^8.0", + "symfony/css-selector": "^8.0", + "symfony/debug-bundle": "^8.0", + "symfony/stopwatch": "^8.0", + "symfony/web-profiler-bundle": "^8.0" }, "replace": { "symfony/polyfill-ctype": "*", @@ -93,7 +92,7 @@ "extra": { "symfony": { "allow-contrib": false, - "require": "7.4.*" + "require": "8.0.*" } }, "scripts": { diff --git a/demo/config/reference.php b/demo/config/reference.php index 31c865b5e..f01ecae4f 100644 --- a/demo/config/reference.php +++ b/demo/config/reference.php @@ -1,13 +1,6 @@ - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ +// This file is auto-generated and is for apps only. Bundles SHOULD NOT rely on its content. namespace Symfony\Component\DependencyInjection\Loader\Configurator; @@ -595,7 +588,7 @@ * only_exceptions?: bool, // Default: false * only_main_requests?: bool, // Default: false * dsn?: scalar|null, // Default: "file:%kernel.cache_dir%/profiler" - * collect_serializer_data?: bool, // Enables the serializer data collector and profiler panel. // Default: false + * collect_serializer_data?: true, // Default: true * }, * workflows?: bool|array{ * enabled?: bool, // Default: false @@ -639,7 +632,6 @@ * enabled?: bool, // Default: false * resource: scalar|null, * type?: scalar|null, - * cache_dir?: scalar|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|null, // The default URI used to generate URLs in a non-HTTP context. // Default: null * http_port?: scalar|null, // Default: 80 * https_port?: scalar|null, // Default: 443 @@ -663,8 +655,6 @@ * gc_maxlifetime?: scalar|null, * save_path?: scalar|null, // Defaults to "%kernel.cache_dir%/sessions" if the "handler_id" option is not null. * metadata_update_threshold?: int, // Seconds to wait between 2 session metadata updates. // Default: 0 - * sid_length?: int, // 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, // 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 * enabled?: bool, // Default: false @@ -738,11 +728,10 @@ * }, * validation?: bool|array{ // Validation configuration * enabled?: bool, // Default: false - * cache?: scalar|null, // Deprecated: Setting the "framework.validation.cache.cache" configuration option is deprecated. It will be removed in version 8.0. * enable_attributes?: bool, // Default: true * static_method?: list, * translation_domain?: scalar|null, // Default: "validators" - * email_validation_mode?: "html5"|"html5-allow-no-tld"|"strict"|"loose", // Default: "html5" + * email_validation_mode?: "html5"|"html5-allow-no-tld"|"strict", // Default: "html5" * mapping?: array{ * paths?: list, * }, @@ -755,9 +744,6 @@ * services?: list, * }>, * }, - * annotations?: bool|array{ - * enabled?: bool, // Default: false - * }, * serializer?: bool|array{ // Serializer configuration * enabled?: bool, // Default: true * enable_attributes?: bool, // Default: true @@ -789,7 +775,7 @@ * }, * property_info?: bool|array{ // Property info configuration * enabled?: bool, // Default: true - * with_constructor_extractor?: bool, // Registers the constructor extractor. + * with_constructor_extractor?: bool, // Registers the constructor extractor. // Default: true * }, * cache?: array{ // Cache configuration * prefix_seed?: scalar|null, // Used to namespace cache keys when using several apps with the same shared backend. // Default: "_%kernel.project_dir%.%kernel.container_class%" @@ -1109,7 +1095,6 @@ * bubble?: bool, // Default: true * interactive_only?: bool, // Default: false * app_name?: scalar|null, // Default: null - * fill_extra_context?: bool, // Default: false * include_stacktraces?: bool, // Default: false * process_psr_3_messages?: array{ * enabled?: bool|null, // Default: null @@ -1129,7 +1114,6 @@ * activation_strategy?: scalar|null, // Default: null * stop_buffering?: bool, // Default: true * passthru_level?: scalar|null, // Default: null - * excluded_404s?: list, * excluded_http_codes?: list, @@ -1143,9 +1127,6 @@ * url?: scalar|null, * exchange?: scalar|null, * exchange_name?: scalar|null, // Default: "log" - * room?: scalar|null, - * message_format?: scalar|null, // Default: "text" - * api_version?: scalar|null, // Default: null * channel?: scalar|null, // Default: null * bot_name?: scalar|null, // Default: "Monolog" * use_attachment?: scalar|null, // Default: true @@ -1154,9 +1135,6 @@ * icon_emoji?: scalar|null, // Default: null * webhook_url?: scalar|null, * exclude_fields?: list, - * team?: scalar|null, - * notify?: scalar|null, // Default: false - * nickname?: scalar|null, // Default: "Monolog" * token?: scalar|null, * region?: scalar|null, * source?: scalar|null, @@ -1174,12 +1152,6 @@ * store?: scalar|null, // Default: null * connection_timeout?: scalar|null, * persistent?: bool, - * dsn?: scalar|null, - * hub_id?: scalar|null, // Default: null - * client_id?: scalar|null, // Default: null - * auto_log_stacks?: scalar|null, // Default: false - * release?: scalar|null, // Default: null - * environment?: scalar|null, // Default: null * message_type?: scalar|null, // Default: 0 * parse_mode?: scalar|null, // Default: null * disable_webpage_preview?: bool|null, // Default: null @@ -1189,7 +1161,6 @@ * topic?: int, // Default: null * factor?: int, // Default: 1 * tags?: list, - * console_formater_options?: mixed, // Deprecated: "monolog.handlers..console_formater_options.console_formater_options" is deprecated, use "monolog.handlers..console_formater_options.console_formatter_options" instead. * console_formatter_options?: mixed, // Default: [] * formatter?: scalar|null, * nested?: bool, // Default: false @@ -1200,15 +1171,6 @@ * chunk_size?: scalar|null, // Default: 1420 * encoder?: "json"|"compressed_json", * }, - * mongo?: string|array{ - * id?: scalar|null, - * host?: scalar|null, - * port?: scalar|null, // Default: 27017 - * user?: scalar|null, - * pass?: scalar|null, - * database?: scalar|null, // Default: "monolog" - * collection?: scalar|null, // Default: "logs" - * }, * mongodb?: string|array{ * id?: scalar|null, // ID of a MongoDB\Client service * uri?: scalar|null, @@ -1251,7 +1213,6 @@ * id: scalar|null, * method?: scalar|null, // Default: null * }, - * lazy?: bool, // Default: true * verbosity_levels?: array{ * VERBOSITY_QUIET?: scalar|null, // Default: "ERROR" * VERBOSITY_NORMAL?: scalar|null, // Default: "WARNING" @@ -1274,7 +1235,6 @@ * }>, * autoescape_service?: scalar|null, // Default: null * autoescape_service_method?: scalar|null, // Default: null - * base_template_class?: scalar|null, // Deprecated: The child node "base_template_class" at path "twig.base_template_class" is deprecated. * cache?: scalar|null, // Default: true * charset?: scalar|null, // Default: "%kernel.charset%" * debug?: bool, // Default: "%kernel.debug%" diff --git a/demo/config/routes/framework.yaml b/demo/config/routes/framework.yaml index 0fc74bbac..bc1feace1 100644 --- a/demo/config/routes/framework.yaml +++ b/demo/config/routes/framework.yaml @@ -1,4 +1,4 @@ when@dev: _errors: - resource: '@FrameworkBundle/Resources/config/routing/errors.xml' + resource: '@FrameworkBundle/Resources/config/routing/errors.php' prefix: /_error diff --git a/demo/config/routes/web_profiler.yaml b/demo/config/routes/web_profiler.yaml index 8d85319fd..b3b7b4b0e 100644 --- a/demo/config/routes/web_profiler.yaml +++ b/demo/config/routes/web_profiler.yaml @@ -1,8 +1,8 @@ when@dev: web_profiler_wdt: - resource: '@WebProfilerBundle/Resources/config/routing/wdt.xml' + resource: '@WebProfilerBundle/Resources/config/routing/wdt.php' prefix: /_wdt web_profiler_profiler: - resource: '@WebProfilerBundle/Resources/config/routing/profiler.xml' + resource: '@WebProfilerBundle/Resources/config/routing/profiler.php' prefix: /_profiler