Skip to content

Commit 3e4ca7f

Browse files
author
DKravtsov
committed
symfony 7.4, xdebug 3.5, MySQL 8.4.7, RabbitMQ 4.2. Updated documentation and composer dependencies. Added a new testing strategy: "Robust Testing: Our 3-Level Approach".
1 parent 445f052 commit 3e4ca7f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+5534
-3916
lines changed

.env

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ WEB_PORT_SSL=443
2727
# XDEBUG_CONFIG possible values: main|osx. Use main value for Linux and Windows, osx value for MacOS.
2828
XDEBUG_CONFIG=main
2929
# Sometimes we need to use different xdebug versions, list of versions can be found here - https://pecl.php.net/package/xdebug
30-
XDEBUG_VERSION=3.4.5
30+
XDEBUG_VERSION=3.5.0
3131
###< XDebug docker configuration ###
3232

3333
###> MySQL docker configuration. Can be overridden in: .env.local, .env.staging, .env.prod. ###
34-
# MySQL version, recommend values: 9.4.0|8.4.6|8.0.43
35-
MYSQL_VERSION=8.4.6
34+
# MySQL version, recommend values: 9.4.0|8.4.7|8.0.43
35+
MYSQL_VERSION=8.4.7
3636
# MySQL INNODB_USE_NATIVE_AIO possible values: 1|0. Set to 0 when AIO interface is not supported on OSX. https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_use_native_aio
3737
INNODB_USE_NATIVE_AIO=1
3838
# Sometimes AWS MySQL RDS has SQL_MODE="NO_ENGINE_SUBSTITUTION" (https://github.com/awsdocs/amazon-rds-user-guide/issues/160) but MySQL default described here - https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_sql_mode
@@ -54,8 +54,15 @@ APP_DEBUG=1
5454
APP_SECRET=42f011ec3a7bde0bec87364b1d967193
5555
TRUSTED_PROXIES=127.0.0.1,REMOTE_ADDR
5656
#TRUSTED_HOSTS='^localhost|example\.com$'
57+
APP_SHARE_DIR=var/share
5758
###< symfony/framework-bundle ###
5859

60+
###> symfony/routing ###
61+
# Configure how to generate URLs in non-HTTP contexts, such as CLI commands.
62+
# See https://symfony.com/doc/current/routing.html#generating-urls-in-commands
63+
DEFAULT_URI=http://localhost
64+
###< symfony/routing ###
65+
5966
###> doctrine/doctrine-bundle ###
6067
# Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
6168
# IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml

.env.prod

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ RABBITMQ_PASS=guest
88
APP_ENV=prod
99
APP_SECRET=42f011ec3a7bde0bec87364b1d967194
1010
APP_DEBUG=0
11+
DEFAULT_URI=
1112

1213
###> doctrine/doctrine-bundle ###
1314
DATABASE_URL=mysql://root:${MYSQL_ROOT_PASSWORD}@mysql:3306/symfony

.env.staging

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ RABBITMQ_PASS=guest
88
APP_ENV=staging
99
APP_SECRET=42f011ec3a7bde0bec87364b1d967194
1010
APP_DEBUG=0
11+
DEFAULT_URI=
1112

1213
###> doctrine/doctrine-bundle ###
1314
DATABASE_URL=mysql://root:${MYSQL_ROOT_PASSWORD}@mysql:3306/symfony

.idea/htdocs.iml

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

.idea/inspectionProfiles/Project_Default.xml

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

0 commit comments

Comments
 (0)