Skip to content
GitLab
About GitLab
GitLab: the DevOps platform
Explore GitLab
Install GitLab
How GitLab compares
Get started
GitLab docs
GitLab Learn
Pricing
Talk to an expert
/
Help
What's new
2
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Projects
Groups
Snippets
Sign up now
Login
Sign in / Register
Toggle navigation
Menu
Open sidebar
Valentin Saugnier
CoursPHP
Commits
00403a1e
Commit
00403a1e
authored
Jan 24, 2023
by
Valentin Saugnier
Browse files
Mise à jour 2023
parent
62eb65a7
Changes
28
Expand all
Hide whitespace changes
Inline
Side-by-side
composer.json
View file @
00403a1e
...
...
@@ -94,7 +94,8 @@
"extra"
:
{
"symfony"
:
{
"allow-contrib"
:
false
,
"require"
:
"6.0.*"
"require"
:
"6.0.*"
,
"docker"
:
false
}
},
"require-dev"
:
{
...
...
composer.lock
View file @
00403a1e
This diff is collapsed.
Click to expand it.
config/bundles.php
View file @
00403a1e
...
...
@@ -12,4 +12,5 @@ return [
Symfony\Bundle\MonologBundle\MonologBundle
::
class
=>
[
'all'
=>
true
],
Symfony\Bundle\DebugBundle\DebugBundle
::
class
=>
[
'dev'
=>
true
],
Symfony\Bundle\MakerBundle\MakerBundle
::
class
=>
[
'dev'
=>
true
],
Symfony\WebpackEncoreBundle\WebpackEncoreBundle
::
class
=>
[
'all'
=>
true
],
];
config/packages/debug.yaml
0 → 100644
View file @
00403a1e
when@dev
:
debug
:
# Forwards VarDumper Data clones to a centralized server allowing to inspect dumps on CLI or in your browser.
# See the "server:dump" command to start a new server.
dump_destination
:
"
tcp://%env(VAR_DUMPER_SERVER)%"
config/packages/dev/debug.yaml
deleted
100644 → 0
View file @
62eb65a7
debug
:
# Forwards VarDumper Data clones to a centralized server allowing to inspect dumps on CLI or in your browser.
# See the "server:dump" command to start a new server.
dump_destination
:
"
tcp://%env(VAR_DUMPER_SERVER)%"
config/packages/dev/monolog.yaml
deleted
100644 → 0
View file @
62eb65a7
monolog
:
handlers
:
main
:
type
:
stream
path
:
"
%kernel.logs_dir%/%kernel.environment%.log"
level
:
debug
channels
:
[
"
!event"
]
# uncomment to get logging in your browser
# you may have to allow bigger header sizes in your Web server configuration
#firephp:
# type: firephp
# level: info
#chromephp:
# type: chromephp
# level: info
console
:
type
:
console
process_psr_3_messages
:
false
channels
:
[
"
!event"
,
"
!doctrine"
,
"
!console"
]
config/packages/dev/web_profiler.yaml
deleted
100644 → 0
View file @
62eb65a7
web_profiler
:
toolbar
:
true
intercept_redirects
:
false
framework
:
profiler
:
{
only_exceptions
:
false
}
config/packages/monolog.yaml
0 → 100644
View file @
00403a1e
monolog
:
channels
:
-
deprecation
# Deprecations are logged in the dedicated "deprecation" channel when it exists
when@dev
:
monolog
:
handlers
:
main
:
type
:
stream
path
:
"
%kernel.logs_dir%/%kernel.environment%.log"
level
:
debug
channels
:
[
"
!event"
]
# uncomment to get logging in your browser
# you may have to allow bigger header sizes in your Web server configuration
#firephp:
# type: firephp
# level: info
#chromephp:
# type: chromephp
# level: info
console
:
type
:
console
process_psr_3_messages
:
false
channels
:
[
"
!event"
,
"
!doctrine"
,
"
!console"
]
when@prod
:
monolog
:
handlers
:
main
:
type
:
fingers_crossed
action_level
:
error
handler
:
nested
excluded_http_codes
:
[
404
,
405
]
buffer_size
:
50
# How many messages should be saved? Prevent memory leaks
nested
:
type
:
stream
path
:
php://stderr
level
:
debug
formatter
:
monolog.formatter.json
console
:
type
:
console
process_psr_3_messages
:
false
channels
:
[
"
!event"
,
"
!doctrine"
]
deprecation
:
type
:
stream
channels
:
[
deprecation
]
path
:
php://stderr
config/packages/notifier.yaml
deleted
100644 → 0
View file @
62eb65a7
framework
:
notifier
:
#chatter_transports:
# slack: '%env(SLACK_DSN)%'
# telegram: '%env(TELEGRAM_DSN)%'
#texter_transports:
# twilio: '%env(TWILIO_DSN)%'
# nexmo: '%env(NEXMO_DSN)%'
channel_policy
:
# use chat/slack, chat/telegram, sms/twilio or sms/nexmo
urgent
:
[
'
email'
]
high
:
[
'
email'
]
medium
:
[
'
email'
]
low
:
[
'
email'
]
admin_recipients
:
-
{
email
:
admin@example.com
}
config/packages/prod/deprecations.yaml
deleted
100644 → 0
View file @
62eb65a7
# 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: "%kernel.logs_dir%/%kernel.environment%.deprecations.log"
config/packages/prod/monolog.yaml
deleted
100644 → 0
View file @
62eb65a7
monolog
:
handlers
:
main
:
type
:
fingers_crossed
action_level
:
error
handler
:
nested
excluded_http_codes
:
[
404
,
405
]
buffer_size
:
50
# How many messages should be saved? Prevent memory leaks
nested
:
type
:
stream
path
:
"
%kernel.logs_dir%/%kernel.environment%.log"
level
:
debug
console
:
type
:
console
process_psr_3_messages
:
false
channels
:
[
"
!event"
,
"
!doctrine"
]
config/packages/test/framework.yaml
deleted
100644 → 0
View file @
62eb65a7
framework
:
test
:
true
session
:
storage_id
:
session.storage.mock_file
config/packages/test/monolog.yaml
deleted
100644 → 0
View file @
62eb65a7
monolog
:
handlers
:
main
:
type
:
fingers_crossed
action_level
:
error
handler
:
nested
excluded_http_codes
:
[
404
,
405
]
channels
:
[
"
!event"
]
nested
:
type
:
stream
path
:
"
%kernel.logs_dir%/%kernel.environment%.log"
level
:
debug
config/packages/test/twig.yaml
deleted
100644 → 0
View file @
62eb65a7
twig
:
strict_variables
:
true
config/packages/test/validator.yaml
deleted
100644 → 0
View file @
62eb65a7
framework
:
validation
:
not_compromised_password
:
false
config/packages/test/web_profiler.yaml
deleted
100644 → 0
View file @
62eb65a7
web_profiler
:
toolbar
:
false
intercept_redirects
:
false
framework
:
profiler
:
{
collect
:
false
}
config/packages/web_profiler.yaml
0 → 100644
View file @
00403a1e
when@dev
:
web_profiler
:
toolbar
:
true
intercept_redirects
:
false
framework
:
profiler
:
{
only_exceptions
:
false
}
\ No newline at end of file
config/packages/webpack_encore.yaml
0 → 100644
View file @
00403a1e
webpack_encore
:
# The path where Encore is building the assets - i.e. Encore.setOutputPath()
output_path
:
'
%kernel.project_dir%/public/build'
# If multiple builds are defined (as shown below), you can disable the default build:
# output_path: false
# Set attributes that will be rendered on all script and link tags
script_attributes
:
defer
:
true
# Uncomment (also under link_attributes) if using Turbo Drive
# https://turbo.hotwired.dev/handbook/drive#reloading-when-assets-change
# 'data-turbo-track': reload
# link_attributes:
# Uncomment if using Turbo Drive
# 'data-turbo-track': reload
# If using Encore.enableIntegrityHashes() and need the crossorigin attribute (default: false, or use 'anonymous' or 'use-credentials')
# crossorigin: 'anonymous'
# Preload all rendered script and link tags automatically via the HTTP/2 Link header
# preload: true
# Throw an exception if the entrypoints.json file is missing or an entry is missing from the data
# strict_mode: false
# If you have multiple builds:
# builds:
# frontend: '%kernel.project_dir%/public/frontend/build'
# pass the build name as the 3rd argument to the Twig functions
# {{ encore_entry_script_tags('entry1', null, 'frontend') }}
framework
:
assets
:
json_manifest_path
:
'
%kernel.project_dir%/public/build/manifest.json'
#when@prod:
# webpack_encore:
# # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)
# # Available in version 1.2
# cache: true
#when@test:
# webpack_encore:
# strict_mode: false
config/routes.yaml
0 → 100644
View file @
00403a1e
controllers
:
resource
:
../src/Controller/
type
:
annotation
kernel
:
resource
:
../src/Kernel.php
type
:
annotation
config/routes/dev/framework.yaml
deleted
100644 → 0
View file @
62eb65a7
_errors
:
resource
:
'
@FrameworkBundle/Resources/config/routing/errors.xml'
prefix
:
/_error
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment