From 656f441d071fa03034d26e80578fad8e06553e94 Mon Sep 17 00:00:00 2001 From: Randy Geraads Date: Wed, 29 May 2024 13:23:19 +0200 Subject: [PATCH] configure? --- composer.json | 1 + composer.lock | 2 +- config/packages/dama_doctrine_test_bundle.yaml | 5 +++++ config/packages/doctrine.yaml | 5 ++++- .../packages/test/dama_doctrine_test_bundle.yaml | 4 ---- symfony.lock | 14 +++++++------- 6 files changed, 18 insertions(+), 13 deletions(-) create mode 100644 config/packages/dama_doctrine_test_bundle.yaml delete mode 100644 config/packages/test/dama_doctrine_test_bundle.yaml diff --git a/composer.json b/composer.json index c4701232..4bb02635 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,7 @@ { "name": "rgeraads/hello-world", "description": "Hello world", + "version": "1.0.0", "license": "MIT", "require": { "php": "^8.3", diff --git a/composer.lock b/composer.lock index 3b89b587..0e6286c7 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "b6b092b23ad77e3dc4ffd5acc5afeea9", + "content-hash": "3c4cc497f9119ef48839dc3c6c52c635", "packages": [ { "name": "brick/math", diff --git a/config/packages/dama_doctrine_test_bundle.yaml b/config/packages/dama_doctrine_test_bundle.yaml new file mode 100644 index 00000000..3482cbae --- /dev/null +++ b/config/packages/dama_doctrine_test_bundle.yaml @@ -0,0 +1,5 @@ +when@test: + dama_doctrine_test: + enable_static_connection: true + enable_static_meta_data_cache: true + enable_static_query_cache: true diff --git a/config/packages/doctrine.yaml b/config/packages/doctrine.yaml index b5a9ddfc..42cebd2b 100644 --- a/config/packages/doctrine.yaml +++ b/config/packages/doctrine.yaml @@ -4,7 +4,10 @@ doctrine: # IMPORTANT: You MUST configure your server version, # either here or in the DATABASE_URL env var (see .env file) - #server_version: '15' + #server_version: '16' + + profiling_collect_backtrace: '%kernel.debug%' + use_savepoints: true when@test: doctrine: diff --git a/config/packages/test/dama_doctrine_test_bundle.yaml b/config/packages/test/dama_doctrine_test_bundle.yaml deleted file mode 100644 index 80b00911..00000000 --- a/config/packages/test/dama_doctrine_test_bundle.yaml +++ /dev/null @@ -1,4 +0,0 @@ -dama_doctrine_test: - enable_static_connection: true - enable_static_meta_data_cache: true - enable_static_query_cache: true diff --git a/symfony.lock b/symfony.lock index d2753463..8bd224dd 100644 --- a/symfony.lock +++ b/symfony.lock @@ -6,15 +6,15 @@ "version": "1.4.5" }, "dama/doctrine-test-bundle": { - "version": "7.2", + "version": "8.2", "recipe": { "repo": "github.com/symfony/recipes-contrib", "branch": "main", - "version": "4.0", - "ref": "2c920f73a217f30bd4a37833c91071f4d3dc1ecd" + "version": "7.2", + "ref": "896306d79d4ee143af9eadf9b09fd34a8c391b70" }, "files": [ - "config/packages/test/dama_doctrine_test_bundle.yaml" + "config/packages/dama_doctrine_test_bundle.yaml" ] }, "doctrine/annotations": { @@ -28,12 +28,12 @@ "files": [] }, "doctrine/doctrine-bundle": { - "version": "2.9", + "version": "2.12", "recipe": { "repo": "github.com/symfony/recipes", "branch": "main", - "version": "2.9", - "ref": "31de7260684f6465dbbddb01a704bd48a6bbd4ea" + "version": "2.12", + "ref": "7b1b0b637b337f6beb895589948cd119da705524" }, "files": [ "config/packages/doctrine.yaml",