Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 19 additions & 20 deletions demo/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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": "*",
Expand Down Expand Up @@ -93,7 +92,7 @@
"extra": {
"symfony": {
"allow-contrib": false,
"require": "7.4.*"
"require": "8.0.*"
}
},
"scripts": {
Expand Down
48 changes: 4 additions & 44 deletions demo/config/reference.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
<?php

/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <[email protected]>
*
* 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;

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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<scalar|null>,
* 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<scalar|null>,
* },
Expand All @@ -755,9 +744,6 @@
* services?: list<scalar|null>,
* }>,
* },
* annotations?: bool|array{
* enabled?: bool, // Default: false
* },
* serializer?: bool|array{ // Serializer configuration
* enabled?: bool, // Default: true
* enable_attributes?: bool, // Default: true
Expand Down Expand Up @@ -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%"
Expand Down Expand Up @@ -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
Expand All @@ -1129,7 +1114,6 @@
* activation_strategy?: scalar|null, // Default: null
* stop_buffering?: bool, // Default: true
* passthru_level?: scalar|null, // Default: null
* excluded_404s?: list<scalar|null>,
* excluded_http_codes?: list<array{ // Default: []
* code?: scalar|null,
* urls?: list<scalar|null>,
Expand All @@ -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
Expand All @@ -1154,9 +1135,6 @@
* icon_emoji?: scalar|null, // Default: null
* webhook_url?: scalar|null,
* exclude_fields?: list<scalar|null>,
* team?: scalar|null,
* notify?: scalar|null, // Default: false
* nickname?: scalar|null, // Default: "Monolog"
* token?: scalar|null,
* region?: scalar|null,
* source?: scalar|null,
Expand All @@ -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
Expand All @@ -1189,7 +1161,6 @@
* topic?: int, // Default: null
* factor?: int, // Default: 1
* tags?: list<scalar|null>,
* 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
Expand All @@ -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,
Expand Down Expand Up @@ -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"
Expand All @@ -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%"
Expand Down
2 changes: 1 addition & 1 deletion demo/config/routes/framework.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
when@dev:
_errors:
resource: '@FrameworkBundle/Resources/config/routing/errors.xml'
resource: '@FrameworkBundle/Resources/config/routing/errors.php'
prefix: /_error
4 changes: 2 additions & 2 deletions demo/config/routes/web_profiler.yaml
Original file line number Diff line number Diff line change
@@ -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