|
128 | 128 | * http_method_override?: bool, // Set true to enable support for the '_method' request parameter to determine the intended HTTP method on POST requests. // Default: false |
129 | 129 | * allowed_http_method_override?: list<string>|null, |
130 | 130 | * trust_x_sendfile_type_header?: scalar|null, // Set true to enable support for xsendfile in binary file responses. // Default: "%env(bool:default::SYMFONY_TRUST_X_SENDFILE_TYPE_HEADER)%" |
131 | | - * ide?: scalar|null, // Default: null |
| 131 | + * ide?: scalar|null, // Default: "%env(default::SYMFONY_IDE)%" |
132 | 132 | * test?: bool, |
133 | 133 | * default_locale?: scalar|null, // Default: "en" |
134 | 134 | * set_locale_from_accept_language?: bool, // Whether to use the Accept-Language HTTP header to set the Request locale (only when the "_locale" request attribute is not passed). // Default: false |
|
285 | 285 | * paths?: array<string, scalar|null>, |
286 | 286 | * excluded_patterns?: list<scalar|null>, |
287 | 287 | * exclude_dotfiles?: bool, // If true, any files starting with "." will be excluded from the asset mapper. // Default: true |
288 | | - * server?: bool, // If true, a "dev server" will return the assets from the public directory (true in "debug" mode only by default). // Default: false |
| 288 | + * server?: bool, // If true, a "dev server" will return the assets from the public directory (true in "debug" mode only by default). // Default: true |
289 | 289 | * public_prefix?: scalar|null, // The public path where the assets will be written to (and served from when "server" is true). // Default: "/assets/" |
290 | 290 | * missing_import_mode?: "strict"|"warn"|"ignore", // Behavior if an asset cannot be found when imported from JavaScript or CSS files - e.g. "import './non-existent.js'". "strict" means an exception is thrown, "warn" means a warning is logged, "ignore" means the import is left as-is. // Default: "warn" |
291 | 291 | * extensions?: array<string, scalar|null>, |
|
405 | 405 | * }, |
406 | 406 | * php_errors?: array{ // PHP errors handling configuration |
407 | 407 | * log?: mixed, // Use the application logger instead of the PHP logger for logging PHP errors. // Default: true |
408 | | - * throw?: bool, // Throw PHP errors as \ErrorException instances. // Default: false |
| 408 | + * throw?: bool, // Throw PHP errors as \ErrorException instances. // Default: true |
409 | 409 | * }, |
410 | 410 | * exceptions?: array<string, array{ // Default: [] |
411 | 411 | * log_level?: scalar|null, // The level of log message. Null to let Symfony decide. // Default: null |
|
468 | 468 | * scheduler?: bool|array{ // Scheduler configuration |
469 | 469 | * enabled?: bool, // Default: false |
470 | 470 | * }, |
471 | | - * disallow_search_engine_index?: bool, // Enabled by default when debug is enabled. // Default: false |
| 471 | + * disallow_search_engine_index?: bool, // Enabled by default when debug is enabled. // Default: true |
472 | 472 | * http_client?: bool|array{ // HTTP Client configuration |
473 | 473 | * enabled?: bool, // Default: true |
474 | 474 | * max_host_connections?: int, // The maximum number of connections to a single host. |
|
731 | 731 | * platform_service?: scalar|null, // Deprecated: The "platform_service" configuration key is deprecated since doctrine-bundle 2.9. DBAL 4 will not support setting a custom platform via connection params anymore. |
732 | 732 | * auto_commit?: bool, |
733 | 733 | * schema_filter?: scalar|null, |
734 | | - * logging?: bool, // Default: false |
735 | | - * profiling?: bool, // Default: false |
| 734 | + * logging?: bool, // Default: true |
| 735 | + * profiling?: bool, // Default: true |
736 | 736 | * profiling_collect_backtrace?: bool, // Enables collecting backtraces when profiling is enabled // Default: false |
737 | 737 | * profiling_collect_schema_errors?: bool, // Enables collecting schema errors when profiling is enabled // Default: true |
738 | 738 | * disable_type_comments?: bool, |
|
871 | 871 | * pool?: scalar|null, |
872 | 872 | * }, |
873 | 873 | * region_lock_lifetime?: scalar|null, // Default: 60 |
874 | | - * log_enabled?: bool, // Default: false |
| 874 | + * log_enabled?: bool, // Default: true |
875 | 875 | * region_lifetime?: scalar|null, // Default: 3600 |
876 | 876 | * enabled?: bool, // Default: true |
877 | 877 | * factory?: scalar|null, |
|
1365 | 1365 | * html_to_text_converter?: scalar|null, // A service implementing the "Symfony\Component\Mime\HtmlToTextConverter\HtmlToTextConverterInterface". // Default: null |
1366 | 1366 | * }, |
1367 | 1367 | * } |
| 1368 | + * @psalm-type WebProfilerConfig = array{ |
| 1369 | + * toolbar?: bool|array{ // Profiler toolbar configuration |
| 1370 | + * enabled?: bool, // Default: false |
| 1371 | + * ajax_replace?: bool, // Replace toolbar on AJAX requests // Default: false |
| 1372 | + * }, |
| 1373 | + * intercept_redirects?: bool, // Default: false |
| 1374 | + * excluded_ajax_paths?: scalar|null, // Default: "^/((index|app(_[\\w]+)?)\\.php/)?_wdt" |
| 1375 | + * } |
1368 | 1376 | * @psalm-type MonologConfig = array{ |
1369 | 1377 | * use_microseconds?: scalar|null, // Default: true |
1370 | 1378 | * channels?: list<scalar|null>, |
|
1533 | 1541 | * }, |
1534 | 1542 | * }>, |
1535 | 1543 | * } |
| 1544 | + * @psalm-type DebugConfig = array{ |
| 1545 | + * max_items?: int, // Max number of displayed items past the first level, -1 means no limit. // Default: 2500 |
| 1546 | + * min_depth?: int, // Minimum tree depth to clone all the items, 1 is default. // Default: 1 |
| 1547 | + * max_string_length?: int, // Max length of displayed strings, -1 means no limit. // Default: -1 |
| 1548 | + * dump_destination?: scalar|null, // A stream URL where dumps should be written to. // Default: null |
| 1549 | + * theme?: "dark"|"light", // Changes the color of the dump() output when rendered directly on the templating. "dark" (default) or "light". // Default: "dark" |
| 1550 | + * } |
| 1551 | + * @psalm-type MakerConfig = array{ |
| 1552 | + * root_namespace?: scalar|null, // Default: "App" |
| 1553 | + * generate_final_classes?: bool, // Default: true |
| 1554 | + * generate_final_entities?: bool, // Default: false |
| 1555 | + * } |
1536 | 1556 | * @psalm-type WebpackEncoreConfig = array{ |
1537 | 1557 | * output_path: scalar|null, // The path where Encore is building the assets - i.e. Encore.setOutputPath() |
1538 | 1558 | * crossorigin?: false|"anonymous"|"use-credentials", // crossorigin value when Encore.enableIntegrityHashes() is used, can be false (default), anonymous or use-credentials // Default: false |
|
2352 | 2372 | * invalidate_on_env_change?: bool, // Default: true |
2353 | 2373 | * }, |
2354 | 2374 | * } |
| 2375 | + * @psalm-type JbtronicsTranslationEditorConfig = array{ |
| 2376 | + * translations_path?: scalar|null, // Default: "%translator.default_path%" |
| 2377 | + * format?: scalar|null, // Default: "xlf" |
| 2378 | + * xliff_version?: scalar|null, // Default: "2.0" |
| 2379 | + * use_intl_icu_format?: bool, // Default: false |
| 2380 | + * writer_options?: list<scalar|null>, |
| 2381 | + * } |
2355 | 2382 | * @psalm-type ApiPlatformConfig = array{ |
2356 | 2383 | * title?: scalar|null, // The title of the API. // Default: "" |
2357 | 2384 | * description?: scalar|null, // The description of the API. // Default: "" |
|
2502 | 2529 | * validation_error_resource_class?: scalar|null, // The class used to represent validation errors in the OpenAPI documentation. // Default: null |
2503 | 2530 | * }, |
2504 | 2531 | * maker?: bool|array{ |
2505 | | - * enabled?: bool, // Default: false |
| 2532 | + * enabled?: bool, // Default: true |
2506 | 2533 | * }, |
2507 | 2534 | * exception_to_status?: array<string, int>, |
2508 | 2535 | * formats?: array<string, array{ // Default: {"jsonld":{"mime_types":["application/ld+json"]}} |
|
2607 | 2634 | * ...<mixed> |
2608 | 2635 | * }, |
2609 | 2636 | * } |
| 2637 | + * @psalm-type DamaDoctrineTestConfig = array{ |
| 2638 | + * enable_static_connection?: mixed, // Default: true |
| 2639 | + * enable_static_meta_data_cache?: bool, // Default: true |
| 2640 | + * enable_static_query_cache?: bool, // Default: true |
| 2641 | + * connection_keys?: list<mixed>, |
| 2642 | + * } |
2610 | 2643 | * @psalm-type ConfigType = array{ |
2611 | 2644 | * imports?: ImportsConfig, |
2612 | 2645 | * parameters?: ParametersConfig, |
|
2645 | 2678 | * doctrine_migrations?: DoctrineMigrationsConfig, |
2646 | 2679 | * security?: SecurityConfig, |
2647 | 2680 | * twig?: TwigConfig, |
| 2681 | + * web_profiler?: WebProfilerConfig, |
2648 | 2682 | * monolog?: MonologConfig, |
| 2683 | + * debug?: DebugConfig, |
| 2684 | + * maker?: MakerConfig, |
2649 | 2685 | * webpack_encore?: WebpackEncoreConfig, |
2650 | 2686 | * datatables?: DatatablesConfig, |
2651 | 2687 | * liip_imagine?: LiipImagineConfig, |
|
2664 | 2700 | * knpu_oauth2_client?: KnpuOauth2ClientConfig, |
2665 | 2701 | * nelmio_cors?: NelmioCorsConfig, |
2666 | 2702 | * jbtronics_settings?: JbtronicsSettingsConfig, |
| 2703 | + * jbtronics_translation_editor?: JbtronicsTranslationEditorConfig, |
2667 | 2704 | * api_platform?: ApiPlatformConfig, |
2668 | 2705 | * }, |
2669 | 2706 | * "when@docker"?: array{ |
|
2735 | 2772 | * doctrine_migrations?: DoctrineMigrationsConfig, |
2736 | 2773 | * security?: SecurityConfig, |
2737 | 2774 | * twig?: TwigConfig, |
| 2775 | + * web_profiler?: WebProfilerConfig, |
2738 | 2776 | * monolog?: MonologConfig, |
| 2777 | + * debug?: DebugConfig, |
2739 | 2778 | * webpack_encore?: WebpackEncoreConfig, |
2740 | 2779 | * datatables?: DatatablesConfig, |
2741 | 2780 | * liip_imagine?: LiipImagineConfig, |
| 2781 | + * dama_doctrine_test?: DamaDoctrineTestConfig, |
2742 | 2782 | * twig_extra?: TwigExtraConfig, |
2743 | 2783 | * gregwar_captcha?: GregwarCaptchaConfig, |
2744 | 2784 | * florianv_swap?: FlorianvSwapConfig, |
|
0 commit comments