diff --git a/config/reference.php b/config/reference.php index d35cc73..299fc45 100644 --- a/config/reference.php +++ b/config/reference.php @@ -1262,9 +1262,9 @@ use Symfony\Component\Config\Loader\ParamConfigurator as Param; * handle_symfony_errors?: bool|Param, // Allows to handle symfony exceptions. // Default: false * enable_swagger?: bool|Param, // Enable the Swagger documentation and export. // Default: true * enable_json_streamer?: bool|Param, // Enable json streamer. // Default: false - * enable_swagger_ui?: bool|Param, // Enable Swagger UI // Default: false - * enable_re_doc?: bool|Param, // Enable ReDoc // Default: false - * enable_scalar?: bool|Param, // Enable Scalar API Reference // Default: false + * enable_swagger_ui?: bool|Param, // Enable Swagger UI // Default: true + * enable_re_doc?: bool|Param, // Enable ReDoc // Default: true + * enable_scalar?: bool|Param, // Enable Scalar API Reference // Default: true * enable_entrypoint?: bool|Param, // Enable the entrypoint // Default: true * enable_docs?: bool|Param, // Enable the docs // Default: true * enable_profiler?: bool|Param, // Enable the data collector and the WebProfilerBundle integration. // Default: true @@ -1760,6 +1760,38 @@ use Symfony\Component\Config\Loader\ParamConfigurator as Param; * }, * }>, * } + * @psalm-type TwigConfig = array{ + * form_themes?: list, + * globals?: array, + * autoescape_service?: scalar|Param|null, // Default: null + * autoescape_service_method?: scalar|Param|null, // Default: null + * cache?: scalar|Param|null, // Default: true + * charset?: scalar|Param|null, // Default: "%kernel.charset%" + * debug?: bool|Param, // Default: "%kernel.debug%" + * strict_variables?: bool|Param, // Default: "%kernel.debug%" + * auto_reload?: scalar|Param|null, + * optimizations?: int|Param, + * default_path?: scalar|Param|null, // The default path used to load templates. // Default: "%kernel.project_dir%/templates" + * file_name_pattern?: list, + * paths?: array, + * date?: array{ // The default format options used by the date filter. + * format?: scalar|Param|null, // Default: "F j, Y H:i" + * interval_format?: scalar|Param|null, // Default: "%d days" + * timezone?: scalar|Param|null, // The timezone used when formatting dates, when set to null, the timezone returned by date_default_timezone_get() is used. // Default: null + * }, + * number_format?: array{ // The default format options for the number_format filter. + * decimals?: int|Param, // Default: 0 + * decimal_point?: scalar|Param|null, // Default: "." + * thousands_separator?: scalar|Param|null, // Default: "," + * }, + * mailer?: array{ + * html_to_text_converter?: scalar|Param|null, // A service implementing the "Symfony\Component\Mime\HtmlToTextConverter\HtmlToTextConverterInterface". // Default: null + * }, + * } * @psalm-type ConfigType = array{ * imports?: ImportsConfig, * parameters?: ParametersConfig, @@ -1772,6 +1804,7 @@ use Symfony\Component\Config\Loader\ParamConfigurator as Param; * api_platform?: ApiPlatformConfig, * lexik_jwt_authentication?: LexikJwtAuthenticationConfig, * monolog?: MonologConfig, + * twig?: TwigConfig, * "when@dev"?: array{ * imports?: ImportsConfig, * parameters?: ParametersConfig, @@ -1784,6 +1817,7 @@ use Symfony\Component\Config\Loader\ParamConfigurator as Param; * api_platform?: ApiPlatformConfig, * lexik_jwt_authentication?: LexikJwtAuthenticationConfig, * monolog?: MonologConfig, + * twig?: TwigConfig, * }, * "when@prod"?: array{ * imports?: ImportsConfig, @@ -1797,6 +1831,7 @@ use Symfony\Component\Config\Loader\ParamConfigurator as Param; * api_platform?: ApiPlatformConfig, * lexik_jwt_authentication?: LexikJwtAuthenticationConfig, * monolog?: MonologConfig, + * twig?: TwigConfig, * }, * "when@test"?: array{ * imports?: ImportsConfig, @@ -1810,6 +1845,7 @@ use Symfony\Component\Config\Loader\ParamConfigurator as Param; * api_platform?: ApiPlatformConfig, * lexik_jwt_authentication?: LexikJwtAuthenticationConfig, * monolog?: MonologConfig, + * twig?: TwigConfig, * }, * ...