Skip to content

Commit dc324d4

Browse files
committed
Use reference.php
1 parent b388eda commit dc324d4

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

+2020
-442
lines changed

config/packages/asset_mapper.php

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?php
2+
3+
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
4+
5+
return App::config([
6+
'framework' => [
7+
'asset_mapper' => [
8+
// The paths to make available to the asset mapper.
9+
'paths' => [
10+
'assets/',
11+
],
12+
'missing_import_mode' => 'strict',
13+
],
14+
],
15+
'when@prod' => [
16+
'framework' => [
17+
'asset_mapper' => [
18+
'missing_import_mode' => 'warn',
19+
],
20+
],
21+
],
22+
]);

config/packages/asset_mapper.yaml

Lines changed: 0 additions & 11 deletions
This file was deleted.

config/packages/cache.php

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<?php
2+
3+
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
4+
5+
return App::config([
6+
'framework' => [
7+
'cache' => [
8+
// Unique name of your app: used to compute stable namespaces for cache keys.
9+
// 'prefix_seed' => 'your_vendor_name/app_name',
10+
11+
// The "app" cache stores to the filesystem by default.
12+
// The data in this cache should persist between deploys.
13+
// Other options include:
14+
15+
// Redis
16+
// 'app' => 'cache.adapter.redis',
17+
// 'default_redis_provider' => 'redis://localhost',
18+
19+
// APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)
20+
// 'app' => 'cache.adapter.apcu',
21+
22+
// Namespaced pools use the above "app" backend by default
23+
// 'pools' => [
24+
// 'my.dedicated.cache' => null,
25+
// ],
26+
],
27+
],
28+
]);

config/packages/cache.yaml

Lines changed: 0 additions & 19 deletions
This file was deleted.

config/packages/csrf.php

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?php
2+
3+
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
4+
5+
// Enable stateless CSRF protection for forms and logins/logouts
6+
return App::config([
7+
'framework' => [
8+
'form' => [
9+
'csrf_protection' => [
10+
'token_id' => 'submit',
11+
],
12+
],
13+
'csrf_protection' => [
14+
'stateless_token_ids' => [
15+
'submit',
16+
'authenticate',
17+
'logout',
18+
],
19+
],
20+
],
21+
]);

config/packages/csrf.yaml

Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?php
2+
3+
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
4+
5+
return App::config([
6+
'when@test' => [
7+
'dama_doctrine_test' => [
8+
'enable_static_connection' => true,
9+
'enable_static_meta_data_cache' => true,
10+
'enable_static_query_cache' => true,
11+
],
12+
],
13+
]);

config/packages/dama_doctrine_test_bundle.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

config/packages/debug.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?php
2+
3+
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
4+
5+
return App::config([
6+
'when@dev' => [
7+
'debug' => [
8+
// Forwards VarDumper Data clones to a centralized server allowing to inspect dumps on CLI or in your browser.
9+
// See the "server:dump" command to start a new server.
10+
'dump_destination' => 'tcp://'.env('VAR_DUMPER_SERVER'),
11+
],
12+
],
13+
]);

config/packages/debug.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)