Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"license": "MIT",
"type": "project",
"description": "Symfony Demo Application",
"minimum-stability": "stable",
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": ">=8.2",
Expand Down Expand Up @@ -99,7 +99,8 @@
"cache:clear": "symfony-cmd",
"assets:install %PUBLIC_DIR%": "symfony-cmd",
"importmap:install": "symfony-cmd",
"sass:build": "symfony-cmd"
"sass:build": "symfony-cmd",
"config/schema.php": "php-script"
},
"post-install-cmd": [
"@auto-scripts"
Expand All @@ -111,7 +112,7 @@
"extra": {
"symfony": {
"allow-contrib": true,
"require": "7.3.*"
"require": "7.4.*@dev"
}
}
}
1,653 changes: 889 additions & 764 deletions composer.lock

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions config/packages/asset_mapper.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# $schema: ../schema.json
framework:
asset_mapper:
# The paths to make available to the asset mapper.
Expand Down
1 change: 1 addition & 0 deletions config/packages/cache.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# $schema: ../schema.json
framework:
cache:
# Unique name of your app: used to compute stable namespaces for cache keys.
Expand Down
1 change: 1 addition & 0 deletions config/packages/csrf.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# $schema: ../schema.json
# Enable stateless CSRF protection for forms and logins/logouts
framework:
form:
Expand Down
1 change: 1 addition & 0 deletions config/packages/dama_doctrine_test_bundle.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# $schema: ../schema.json
when@test:
dama_doctrine_test:
enable_static_connection: true
Expand Down
1 change: 1 addition & 0 deletions config/packages/debug.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# $schema: ../schema.json
when@dev:
debug:
# Forwards VarDumper Data clones to a centralized server allowing to inspect dumps on CLI or in your browser.
Expand Down
15 changes: 8 additions & 7 deletions config/packages/deprecations.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# $schema: ../schema.json
when@prod:
# As of Symfony 5.1, deprecations are logged in the dedicated "deprecation" channel when it exists
#monolog:
# channels: [deprecation]
# handlers:
# deprecation:
# type: stream
# channels: [deprecation]
# path: php://stderr
monolog:
channels: [deprecation]
handlers:
deprecation:
type: stream
channels: [deprecation]
path: php://stderr
1 change: 1 addition & 0 deletions config/packages/doctrine.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# $schema: ../schema.json
doctrine:
dbal:
url: '%env(resolve:DATABASE_URL)%'
Expand Down
1 change: 1 addition & 0 deletions config/packages/doctrine_migrations.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# $schema: ../schema.json
doctrine_migrations:
migrations_paths:
# namespace is arbitrary but should be different from App\Migrations
Expand Down
1 change: 1 addition & 0 deletions config/packages/framework.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# $schema: ../schema.json
# see https://symfony.com/doc/current/reference/configuration/framework.html
framework:
secret: '%env(APP_SECRET)%'
Expand Down
1 change: 1 addition & 0 deletions config/packages/html_sanitizer.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# $schema: ../schema.json
framework:
html_sanitizer:
sanitizers:
Expand Down
1 change: 1 addition & 0 deletions config/packages/mailer.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# $schema: ../schema.json
framework:
mailer:
dsn: '%env(MAILER_DSN)%'
Expand Down
5 changes: 5 additions & 0 deletions config/packages/monolog.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# $schema: ../schema.json
monolog:
channels:
- deprecation # Deprecations are logged in the dedicated "deprecation" channel when it exists
Expand All @@ -22,6 +23,10 @@ when@dev:
type: console
process_psr_3_messages: false
channels: ["!event", "!doctrine", "!console"]
deprecation:
type: stream
path: "%kernel.logs_dir%/%kernel.environment%.deprecations.log"
channels: [deprecation]

when@test:
monolog:
Expand Down
1 change: 1 addition & 0 deletions config/packages/property_info.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# $schema: ../schema.json
framework:
property_info:
with_constructor_extractor: true
1 change: 1 addition & 0 deletions config/packages/routing.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# $schema: ../schema.json
framework:
router:
# Configure how to generate URLs in non-HTTP contexts, such as CLI commands.
Expand Down
1 change: 1 addition & 0 deletions config/packages/security.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# $schema: ../schema.json
security:
password_hashers:
# Our user class and the algorithm we'll use to encode passwords
Expand Down
1 change: 1 addition & 0 deletions config/packages/translation.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# $schema: ../schema.json
# See https://symfony.com/doc/current/translation.html
framework:
default_locale: '%app.locale%'
Expand Down
1 change: 1 addition & 0 deletions config/packages/twig.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# $schema: ../schema.json
twig:
file_name_pattern: '*.twig'
form_themes:
Expand Down
1 change: 1 addition & 0 deletions config/packages/twig_component.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# $schema: ../schema.json
twig_component:
anonymous_template_directory: 'components/'
defaults:
Expand Down
1 change: 1 addition & 0 deletions config/packages/ux_icons.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# $schema: ../schema.json
ux_icons:
default_icon_attributes:
width: 1.2em
Expand Down
3 changes: 2 additions & 1 deletion config/packages/validator.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# $schema: ../schema.json
framework:
validation:
enable_attributes: true
Expand All @@ -6,7 +7,7 @@ framework:
# Enables validator auto-mapping support.
# For instance, basic validation constraints will be inferred from Doctrine's metadata.
auto_mapping:
App\Entity\: []
App\Entity\: {}
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is something the schema will force to change. PHP doesn't care: it is an array for it.


when@test:
framework:
Expand Down
1 change: 1 addition & 0 deletions config/packages/web_profiler.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# $schema: ../schema.json
when@dev:
web_profiler:
toolbar: true
Expand Down
Loading
Loading