Skip to content

Commit 1596b4d

Browse files
committed
Updated jbtronics/settings-bundle for fixing compatibility issues with symfony 7.4
1 parent d8ec654 commit 1596b4d

File tree

2 files changed

+86
-46
lines changed

2 files changed

+86
-46
lines changed

composer.lock

Lines changed: 38 additions & 38 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/reference.php

Lines changed: 48 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
* 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
129129
* allowed_http_method_override?: list<string>|null,
130130
* 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)%"
132132
* test?: bool,
133133
* default_locale?: scalar|null, // Default: "en"
134134
* 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,7 +285,7 @@
285285
* paths?: array<string, scalar|null>,
286286
* excluded_patterns?: list<scalar|null>,
287287
* 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
289289
* public_prefix?: scalar|null, // The public path where the assets will be written to (and served from when "server" is true). // Default: "/assets/"
290290
* 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"
291291
* extensions?: array<string, scalar|null>,
@@ -405,7 +405,7 @@
405405
* },
406406
* php_errors?: array{ // PHP errors handling configuration
407407
* 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
409409
* },
410410
* exceptions?: array<string, array{ // Default: []
411411
* log_level?: scalar|null, // The level of log message. Null to let Symfony decide. // Default: null
@@ -468,7 +468,7 @@
468468
* scheduler?: bool|array{ // Scheduler configuration
469469
* enabled?: bool, // Default: false
470470
* },
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
472472
* http_client?: bool|array{ // HTTP Client configuration
473473
* enabled?: bool, // Default: true
474474
* max_host_connections?: int, // The maximum number of connections to a single host.
@@ -731,8 +731,8 @@
731731
* 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.
732732
* auto_commit?: bool,
733733
* schema_filter?: scalar|null,
734-
* logging?: bool, // Default: false
735-
* profiling?: bool, // Default: false
734+
* logging?: bool, // Default: true
735+
* profiling?: bool, // Default: true
736736
* profiling_collect_backtrace?: bool, // Enables collecting backtraces when profiling is enabled // Default: false
737737
* profiling_collect_schema_errors?: bool, // Enables collecting schema errors when profiling is enabled // Default: true
738738
* disable_type_comments?: bool,
@@ -871,7 +871,7 @@
871871
* pool?: scalar|null,
872872
* },
873873
* region_lock_lifetime?: scalar|null, // Default: 60
874-
* log_enabled?: bool, // Default: false
874+
* log_enabled?: bool, // Default: true
875875
* region_lifetime?: scalar|null, // Default: 3600
876876
* enabled?: bool, // Default: true
877877
* factory?: scalar|null,
@@ -1365,6 +1365,14 @@
13651365
* html_to_text_converter?: scalar|null, // A service implementing the "Symfony\Component\Mime\HtmlToTextConverter\HtmlToTextConverterInterface". // Default: null
13661366
* },
13671367
* }
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+
* }
13681376
* @psalm-type MonologConfig = array{
13691377
* use_microseconds?: scalar|null, // Default: true
13701378
* channels?: list<scalar|null>,
@@ -1533,6 +1541,18 @@
15331541
* },
15341542
* }>,
15351543
* }
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+
* }
15361556
* @psalm-type WebpackEncoreConfig = array{
15371557
* output_path: scalar|null, // The path where Encore is building the assets - i.e. Encore.setOutputPath()
15381558
* crossorigin?: false|"anonymous"|"use-credentials", // crossorigin value when Encore.enableIntegrityHashes() is used, can be false (default), anonymous or use-credentials // Default: false
@@ -2352,6 +2372,13 @@
23522372
* invalidate_on_env_change?: bool, // Default: true
23532373
* },
23542374
* }
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+
* }
23552382
* @psalm-type ApiPlatformConfig = array{
23562383
* title?: scalar|null, // The title of the API. // Default: ""
23572384
* description?: scalar|null, // The description of the API. // Default: ""
@@ -2502,7 +2529,7 @@
25022529
* validation_error_resource_class?: scalar|null, // The class used to represent validation errors in the OpenAPI documentation. // Default: null
25032530
* },
25042531
* maker?: bool|array{
2505-
* enabled?: bool, // Default: false
2532+
* enabled?: bool, // Default: true
25062533
* },
25072534
* exception_to_status?: array<string, int>,
25082535
* formats?: array<string, array{ // Default: {"jsonld":{"mime_types":["application/ld+json"]}}
@@ -2607,6 +2634,12 @@
26072634
* ...<mixed>
26082635
* },
26092636
* }
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+
* }
26102643
* @psalm-type ConfigType = array{
26112644
* imports?: ImportsConfig,
26122645
* parameters?: ParametersConfig,
@@ -2645,7 +2678,10 @@
26452678
* doctrine_migrations?: DoctrineMigrationsConfig,
26462679
* security?: SecurityConfig,
26472680
* twig?: TwigConfig,
2681+
* web_profiler?: WebProfilerConfig,
26482682
* monolog?: MonologConfig,
2683+
* debug?: DebugConfig,
2684+
* maker?: MakerConfig,
26492685
* webpack_encore?: WebpackEncoreConfig,
26502686
* datatables?: DatatablesConfig,
26512687
* liip_imagine?: LiipImagineConfig,
@@ -2664,6 +2700,7 @@
26642700
* knpu_oauth2_client?: KnpuOauth2ClientConfig,
26652701
* nelmio_cors?: NelmioCorsConfig,
26662702
* jbtronics_settings?: JbtronicsSettingsConfig,
2703+
* jbtronics_translation_editor?: JbtronicsTranslationEditorConfig,
26672704
* api_platform?: ApiPlatformConfig,
26682705
* },
26692706
* "when@docker"?: array{
@@ -2735,10 +2772,13 @@
27352772
* doctrine_migrations?: DoctrineMigrationsConfig,
27362773
* security?: SecurityConfig,
27372774
* twig?: TwigConfig,
2775+
* web_profiler?: WebProfilerConfig,
27382776
* monolog?: MonologConfig,
2777+
* debug?: DebugConfig,
27392778
* webpack_encore?: WebpackEncoreConfig,
27402779
* datatables?: DatatablesConfig,
27412780
* liip_imagine?: LiipImagineConfig,
2781+
* dama_doctrine_test?: DamaDoctrineTestConfig,
27422782
* twig_extra?: TwigExtraConfig,
27432783
* gregwar_captcha?: GregwarCaptchaConfig,
27442784
* florianv_swap?: FlorianvSwapConfig,

0 commit comments

Comments
 (0)