mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-28 22:08:17 +02:00
Updated framework-bundle recipe
This commit is contained in:
parent
a58fcd94dd
commit
6137065b4e
7 changed files with 31 additions and 16 deletions
17
.editorconfig
Normal file
17
.editorconfig
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
# editorconfig.org
|
||||||
|
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
charset = utf-8
|
||||||
|
end_of_line = lf
|
||||||
|
indent_size = 4
|
||||||
|
indent_style = space
|
||||||
|
insert_final_newline = true
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
|
[{compose.yaml,compose.*.yaml}]
|
||||||
|
indent_size = 2
|
||||||
|
|
||||||
|
[*.md]
|
||||||
|
trim_trailing_whitespace = false
|
8
.env
8
.env
|
@ -133,9 +133,6 @@ REDIRECT_TO_HTTPS=0
|
||||||
# When this is empty the content of config/banner.md is used as banner
|
# When this is empty the content of config/banner.md is used as banner
|
||||||
BANNER=""
|
BANNER=""
|
||||||
|
|
||||||
APP_ENV=prod
|
|
||||||
APP_SECRET=a03498528f5a5fc089273ec9ae5b2849
|
|
||||||
|
|
||||||
# Set this to zero, if you want to disable the year 2038 bug check on 32-bit systems (it will cause errors with current 32-bit PHP versions)
|
# Set this to zero, if you want to disable the year 2038 bug check on 32-bit systems (it will cause errors with current 32-bit PHP versions)
|
||||||
DISABLE_YEAR2038_BUG_CHECK=0
|
DISABLE_YEAR2038_BUG_CHECK=0
|
||||||
|
|
||||||
|
@ -153,3 +150,8 @@ LOCK_DSN=flock
|
||||||
###> nelmio/cors-bundle ###
|
###> nelmio/cors-bundle ###
|
||||||
CORS_ALLOW_ORIGIN='^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$'
|
CORS_ALLOW_ORIGIN='^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$'
|
||||||
###< nelmio/cors-bundle ###
|
###< nelmio/cors-bundle ###
|
||||||
|
|
||||||
|
###> symfony/framework-bundle ###
|
||||||
|
APP_ENV=prod
|
||||||
|
APP_SECRET=
|
||||||
|
###< symfony/framework-bundle ###
|
||||||
|
|
4
.env.dev
4
.env.dev
|
@ -0,0 +1,4 @@
|
||||||
|
|
||||||
|
###> symfony/framework-bundle ###
|
||||||
|
APP_SECRET=318b5d659e07a0b3f96d9b3a83b254ca
|
||||||
|
###< symfony/framework-bundle ###
|
|
@ -1,9 +1,6 @@
|
||||||
# see https://symfony.com/doc/current/reference/configuration/framework.html
|
# see https://symfony.com/doc/current/reference/configuration/framework.html
|
||||||
framework:
|
framework:
|
||||||
secret: '%env(APP_SECRET)%'
|
secret: '%env(APP_SECRET)%'
|
||||||
csrf_protection: true
|
|
||||||
annotations: false
|
|
||||||
handle_all_throwables: true
|
|
||||||
|
|
||||||
# We set this header by ourselves, so we can disable it here
|
# We set this header by ourselves, so we can disable it here
|
||||||
disallow_search_engine_index: false
|
disallow_search_engine_index: false
|
||||||
|
@ -30,8 +27,6 @@ framework:
|
||||||
|
|
||||||
#esi: true
|
#esi: true
|
||||||
#fragments: true
|
#fragments: true
|
||||||
php_errors:
|
|
||||||
log: true
|
|
||||||
|
|
||||||
when@test:
|
when@test:
|
||||||
framework:
|
framework:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
when@dev:
|
when@dev:
|
||||||
_errors:
|
_errors:
|
||||||
resource: '@FrameworkBundle/Resources/config/routing/errors.xml'
|
resource: '@FrameworkBundle/Resources/config/routing/errors.php'
|
||||||
prefix: /_error
|
prefix: /_error
|
||||||
|
|
|
@ -29,10 +29,6 @@ services:
|
||||||
# this creates a service per class whose id is the fully-qualified class name
|
# this creates a service per class whose id is the fully-qualified class name
|
||||||
App\:
|
App\:
|
||||||
resource: '../src/'
|
resource: '../src/'
|
||||||
exclude:
|
|
||||||
- '../src/DependencyInjection/'
|
|
||||||
- '../src/Entity/'
|
|
||||||
- '../src/Kernel.php'
|
|
||||||
|
|
||||||
# controllers are imported separately to make sure services can be injected
|
# controllers are imported separately to make sure services can be injected
|
||||||
# as action arguments even if you don't extend any base controller class
|
# as action arguments even if you don't extend any base controller class
|
||||||
|
|
|
@ -496,14 +496,15 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"symfony/framework-bundle": {
|
"symfony/framework-bundle": {
|
||||||
"version": "6.4",
|
"version": "7.3",
|
||||||
"recipe": {
|
"recipe": {
|
||||||
"repo": "github.com/symfony/recipes",
|
"repo": "github.com/symfony/recipes",
|
||||||
"branch": "main",
|
"branch": "main",
|
||||||
"version": "6.4",
|
"version": "7.3",
|
||||||
"ref": "a91c965766ad3ff2ae15981801643330eb42b6a5"
|
"ref": "5a1497d539f691b96afd45ae397ce5fe30beb4b9"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
|
".editorconfig",
|
||||||
"config/packages/cache.yaml",
|
"config/packages/cache.yaml",
|
||||||
"config/packages/framework.yaml",
|
"config/packages/framework.yaml",
|
||||||
"config/preload.php",
|
"config/preload.php",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue