refs #734 Removes innecesaries parameters and changes php platform to 8.2

ticket-769
Luis Gerardo Romero Garcia 2024-09-16 17:56:44 +02:00
parent a92f99c4a2
commit 83019f179e
3 changed files with 2 additions and 20 deletions

18
.env
View File

@ -1,20 +1,2 @@
# In all environments, the following files are loaded if they exist,
# the latter taking precedence over the former:
#
# * .env contains default values for the environment variables needed by the app
# * .env.local uncommitted file with local overrides
# * .env.$APP_ENV committed environment-specific defaults
# * .env.$APP_ENV.local uncommitted environment-specific overrides
#
# Real environment variables win over .env files.
#
# DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES.
# https://symfony.com/doc/current/configuration/secrets.html
#
# Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2).
# https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration
###> symfony/framework-bundle ###
APP_ENV=${APP_ENV:-prod}
APP_SECRET=31180fc3aa11818328106d014be0108c
DATABASE_URL="postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=16&charset=utf8"

View File

@ -57,7 +57,7 @@
},
"config": {
"platform": {
"php": "8.1"
"php": "8.2"
},
"allow-plugins": {
"composer/package-versions-deprecated": true,

View File

@ -1,6 +1,6 @@
doctrine:
dbal:
url: '%env(resolve:DATABASE_URL)%'
# url: '%env(resolve:DATABASE_URL)%'
# IMPORTANT: You MUST configure your server version,
# either here or in the DATABASE_URL env var (see .env file)