mirror of
https://github.com/symfony/recipes.git
synced 2026-09-18 10:36:43 +03:00
Update Flex endpoint
This commit is contained in:
@@ -23,22 +23,6 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"files": {
|
"files": {
|
||||||
"templates/admin.html.twig": {
|
|
||||||
"contents": [
|
|
||||||
"{% extends 'base.html.twig' %}",
|
|
||||||
"",
|
|
||||||
"{% block title %}API Platform Admin{% endblock %}",
|
|
||||||
"",
|
|
||||||
"{% block body %}<div id=\"api-platform-admin\"></div>{% endblock %}",
|
|
||||||
"",
|
|
||||||
"{% block javascripts %}",
|
|
||||||
" <script type=\"text/plain\" id=\"api-entrypoint\">{{ path('api_entrypoint') }}</script>",
|
|
||||||
" {{ encore_entry_script_tags('admin') }}",
|
|
||||||
"{% endblock %}",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/routes/api_platform_admin.yaml": {
|
"config/routes/api_platform_admin.yaml": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"admin:",
|
"admin:",
|
||||||
@@ -62,6 +46,22 @@
|
|||||||
""
|
""
|
||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
|
},
|
||||||
|
"templates/admin.html.twig": {
|
||||||
|
"contents": [
|
||||||
|
"{% extends 'base.html.twig' %}",
|
||||||
|
"",
|
||||||
|
"{% block title %}API Platform Admin{% endblock %}",
|
||||||
|
"",
|
||||||
|
"{% block body %}<div id=\"api-platform-admin\"></div>{% endblock %}",
|
||||||
|
"",
|
||||||
|
"{% block javascripts %}",
|
||||||
|
" <script type=\"text/plain\" id=\"api-entrypoint\">{{ path('api_entrypoint') }}</script>",
|
||||||
|
" {{ encore_entry_script_tags('admin') }}",
|
||||||
|
"{% endblock %}",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ref": "703c6453b039330753a7ae6cebd0af8ab1d770d8"
|
"ref": "703c6453b039330753a7ae6cebd0af8ab1d770d8"
|
||||||
|
|||||||
@@ -23,12 +23,6 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"files": {
|
"files": {
|
||||||
"src/Entity/.gitignore": {
|
|
||||||
"contents": [
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/routes/api_platform.yaml": {
|
"config/routes/api_platform.yaml": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"api_platform:",
|
"api_platform:",
|
||||||
@@ -47,6 +41,12 @@
|
|||||||
""
|
""
|
||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
|
},
|
||||||
|
"src/Entity/.gitignore": {
|
||||||
|
"contents": [
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ref": "d57f9ff8067d8d077f026c4b4700ec876839aed9"
|
"ref": "d57f9ff8067d8d077f026c4b4700ec876839aed9"
|
||||||
|
|||||||
@@ -23,12 +23,6 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"files": {
|
"files": {
|
||||||
"src/Entity/.gitignore": {
|
|
||||||
"contents": [
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/routes/api_platform.yaml": {
|
"config/routes/api_platform.yaml": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"api_platform:",
|
"api_platform:",
|
||||||
@@ -51,6 +45,12 @@
|
|||||||
""
|
""
|
||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
|
},
|
||||||
|
"src/Entity/.gitignore": {
|
||||||
|
"contents": [
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ref": "05b57782a78c21a664a42055dc11cf1954ca36bb"
|
"ref": "05b57782a78c21a664a42055dc11cf1954ca36bb"
|
||||||
|
|||||||
@@ -60,44 +60,6 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"files": {
|
"files": {
|
||||||
"src/Repository/.gitignore": {
|
|
||||||
"contents": [
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"src/Entity/.gitignore": {
|
|
||||||
"contents": [
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/packages/prod/doctrine.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"doctrine:",
|
|
||||||
" orm:",
|
|
||||||
" auto_generate_proxy_classes: false",
|
|
||||||
" metadata_cache_driver:",
|
|
||||||
" type: pool",
|
|
||||||
" pool: doctrine.system_cache_pool",
|
|
||||||
" query_cache_driver:",
|
|
||||||
" type: pool",
|
|
||||||
" pool: doctrine.system_cache_pool",
|
|
||||||
" result_cache_driver:",
|
|
||||||
" type: pool",
|
|
||||||
" pool: doctrine.result_cache_pool",
|
|
||||||
"",
|
|
||||||
"framework:",
|
|
||||||
" cache:",
|
|
||||||
" pools:",
|
|
||||||
" doctrine.result_cache_pool:",
|
|
||||||
" adapter: cache.app",
|
|
||||||
" doctrine.system_cache_pool:",
|
|
||||||
" adapter: cache.system",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/packages/doctrine.yaml": {
|
"config/packages/doctrine.yaml": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"doctrine:",
|
"doctrine:",
|
||||||
@@ -129,6 +91,44 @@
|
|||||||
""
|
""
|
||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
|
},
|
||||||
|
"config/packages/prod/doctrine.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"doctrine:",
|
||||||
|
" orm:",
|
||||||
|
" auto_generate_proxy_classes: false",
|
||||||
|
" metadata_cache_driver:",
|
||||||
|
" type: pool",
|
||||||
|
" pool: doctrine.system_cache_pool",
|
||||||
|
" query_cache_driver:",
|
||||||
|
" type: pool",
|
||||||
|
" pool: doctrine.system_cache_pool",
|
||||||
|
" result_cache_driver:",
|
||||||
|
" type: pool",
|
||||||
|
" pool: doctrine.result_cache_pool",
|
||||||
|
"",
|
||||||
|
"framework:",
|
||||||
|
" cache:",
|
||||||
|
" pools:",
|
||||||
|
" doctrine.result_cache_pool:",
|
||||||
|
" adapter: cache.app",
|
||||||
|
" doctrine.system_cache_pool:",
|
||||||
|
" adapter: cache.system",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"src/Repository/.gitignore": {
|
||||||
|
"contents": [
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"src/Entity/.gitignore": {
|
||||||
|
"contents": [
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ref": "3cc0efdb85531c72c2b25cbb41eec849a279aa64"
|
"ref": "3cc0efdb85531c72c2b25cbb41eec849a279aa64"
|
||||||
|
|||||||
@@ -60,14 +60,31 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"files": {
|
"files": {
|
||||||
"src/Repository/.gitignore": {
|
"config/packages/doctrine.yaml": {
|
||||||
"contents": [
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"src/Entity/.gitignore": {
|
|
||||||
"contents": [
|
"contents": [
|
||||||
|
"doctrine:",
|
||||||
|
" dbal:",
|
||||||
|
" url: '%env(resolve:DATABASE_URL)%'",
|
||||||
|
"",
|
||||||
|
" # IMPORTANT: You MUST configure your server version,",
|
||||||
|
" # either here or in the DATABASE_URL env var (see .env file)",
|
||||||
|
" #server_version: '13'",
|
||||||
|
"",
|
||||||
|
" # only needed for MySQL",
|
||||||
|
" charset: utf8mb4",
|
||||||
|
" default_table_options:",
|
||||||
|
" collate: utf8mb4_unicode_ci",
|
||||||
|
" orm:",
|
||||||
|
" auto_generate_proxy_classes: true",
|
||||||
|
" naming_strategy: doctrine.orm.naming_strategy.underscore",
|
||||||
|
" auto_mapping: true",
|
||||||
|
" mappings:",
|
||||||
|
" App:",
|
||||||
|
" is_bundle: false",
|
||||||
|
" type: annotation",
|
||||||
|
" dir: '%kernel.project_dir%/src/Entity'",
|
||||||
|
" prefix: 'App\\Entity'",
|
||||||
|
" alias: App",
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
@@ -110,31 +127,14 @@
|
|||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
},
|
||||||
"config/packages/doctrine.yaml": {
|
"src/Repository/.gitignore": {
|
||||||
|
"contents": [
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"src/Entity/.gitignore": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"doctrine:",
|
|
||||||
" dbal:",
|
|
||||||
" url: '%env(resolve:DATABASE_URL)%'",
|
|
||||||
"",
|
|
||||||
" # IMPORTANT: You MUST configure your server version,",
|
|
||||||
" # either here or in the DATABASE_URL env var (see .env file)",
|
|
||||||
" #server_version: '13'",
|
|
||||||
"",
|
|
||||||
" # only needed for MySQL",
|
|
||||||
" charset: utf8mb4",
|
|
||||||
" default_table_options:",
|
|
||||||
" collate: utf8mb4_unicode_ci",
|
|
||||||
" orm:",
|
|
||||||
" auto_generate_proxy_classes: true",
|
|
||||||
" naming_strategy: doctrine.orm.naming_strategy.underscore",
|
|
||||||
" auto_mapping: true",
|
|
||||||
" mappings:",
|
|
||||||
" App:",
|
|
||||||
" is_bundle: false",
|
|
||||||
" type: annotation",
|
|
||||||
" dir: '%kernel.project_dir%/src/Entity'",
|
|
||||||
" prefix: 'App\\Entity'",
|
|
||||||
" alias: App",
|
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
|
|||||||
@@ -60,14 +60,26 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"files": {
|
"files": {
|
||||||
"src/Repository/.gitignore": {
|
"config/packages/doctrine.yaml": {
|
||||||
"contents": [
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"src/Entity/.gitignore": {
|
|
||||||
"contents": [
|
"contents": [
|
||||||
|
"doctrine:",
|
||||||
|
" dbal:",
|
||||||
|
" url: '%env(resolve:DATABASE_URL)%'",
|
||||||
|
"",
|
||||||
|
" # IMPORTANT: You MUST configure your server version,",
|
||||||
|
" # either here or in the DATABASE_URL env var (see .env file)",
|
||||||
|
" #server_version: '13'",
|
||||||
|
" orm:",
|
||||||
|
" auto_generate_proxy_classes: true",
|
||||||
|
" naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware",
|
||||||
|
" auto_mapping: true",
|
||||||
|
" mappings:",
|
||||||
|
" App:",
|
||||||
|
" is_bundle: false",
|
||||||
|
" type: annotation",
|
||||||
|
" dir: '%kernel.project_dir%/src/Entity'",
|
||||||
|
" prefix: 'App\\Entity'",
|
||||||
|
" alias: App",
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
@@ -98,26 +110,14 @@
|
|||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
},
|
||||||
"config/packages/doctrine.yaml": {
|
"src/Repository/.gitignore": {
|
||||||
|
"contents": [
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"src/Entity/.gitignore": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"doctrine:",
|
|
||||||
" dbal:",
|
|
||||||
" url: '%env(resolve:DATABASE_URL)%'",
|
|
||||||
"",
|
|
||||||
" # IMPORTANT: You MUST configure your server version,",
|
|
||||||
" # either here or in the DATABASE_URL env var (see .env file)",
|
|
||||||
" #server_version: '13'",
|
|
||||||
" orm:",
|
|
||||||
" auto_generate_proxy_classes: true",
|
|
||||||
" naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware",
|
|
||||||
" auto_mapping: true",
|
|
||||||
" mappings:",
|
|
||||||
" App:",
|
|
||||||
" is_bundle: false",
|
|
||||||
" type: annotation",
|
|
||||||
" dir: '%kernel.project_dir%/src/Entity'",
|
|
||||||
" prefix: 'App\\Entity'",
|
|
||||||
" alias: App",
|
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
|
|||||||
@@ -60,41 +60,6 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"files": {
|
"files": {
|
||||||
"src/Repository/.gitignore": {
|
|
||||||
"contents": [
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"src/Entity/.gitignore": {
|
|
||||||
"contents": [
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/packages/prod/doctrine.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"doctrine:",
|
|
||||||
" orm:",
|
|
||||||
" auto_generate_proxy_classes: false",
|
|
||||||
" query_cache_driver:",
|
|
||||||
" type: pool",
|
|
||||||
" pool: doctrine.system_cache_pool",
|
|
||||||
" result_cache_driver:",
|
|
||||||
" type: pool",
|
|
||||||
" pool: doctrine.result_cache_pool",
|
|
||||||
"",
|
|
||||||
"framework:",
|
|
||||||
" cache:",
|
|
||||||
" pools:",
|
|
||||||
" doctrine.result_cache_pool:",
|
|
||||||
" adapter: cache.app",
|
|
||||||
" doctrine.system_cache_pool:",
|
|
||||||
" adapter: cache.system",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/packages/doctrine.yaml": {
|
"config/packages/doctrine.yaml": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"doctrine:",
|
"doctrine:",
|
||||||
@@ -128,6 +93,41 @@
|
|||||||
""
|
""
|
||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
|
},
|
||||||
|
"config/packages/prod/doctrine.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"doctrine:",
|
||||||
|
" orm:",
|
||||||
|
" auto_generate_proxy_classes: false",
|
||||||
|
" query_cache_driver:",
|
||||||
|
" type: pool",
|
||||||
|
" pool: doctrine.system_cache_pool",
|
||||||
|
" result_cache_driver:",
|
||||||
|
" type: pool",
|
||||||
|
" pool: doctrine.result_cache_pool",
|
||||||
|
"",
|
||||||
|
"framework:",
|
||||||
|
" cache:",
|
||||||
|
" pools:",
|
||||||
|
" doctrine.result_cache_pool:",
|
||||||
|
" adapter: cache.app",
|
||||||
|
" doctrine.system_cache_pool:",
|
||||||
|
" adapter: cache.system",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"src/Repository/.gitignore": {
|
||||||
|
"contents": [
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"src/Entity/.gitignore": {
|
||||||
|
"contents": [
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ref": "4f5eb542f01475cc2eb49624e2f1a3ea458e73bf"
|
"ref": "4f5eb542f01475cc2eb49624e2f1a3ea458e73bf"
|
||||||
|
|||||||
@@ -60,41 +60,6 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"files": {
|
"files": {
|
||||||
"src/Repository/.gitignore": {
|
|
||||||
"contents": [
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"src/Entity/.gitignore": {
|
|
||||||
"contents": [
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/packages/prod/doctrine.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"doctrine:",
|
|
||||||
" orm:",
|
|
||||||
" auto_generate_proxy_classes: false",
|
|
||||||
" query_cache_driver:",
|
|
||||||
" type: pool",
|
|
||||||
" pool: doctrine.system_cache_pool",
|
|
||||||
" result_cache_driver:",
|
|
||||||
" type: pool",
|
|
||||||
" pool: doctrine.result_cache_pool",
|
|
||||||
"",
|
|
||||||
"framework:",
|
|
||||||
" cache:",
|
|
||||||
" pools:",
|
|
||||||
" doctrine.result_cache_pool:",
|
|
||||||
" adapter: cache.app",
|
|
||||||
" doctrine.system_cache_pool:",
|
|
||||||
" adapter: cache.system",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/packages/doctrine.yaml": {
|
"config/packages/doctrine.yaml": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"doctrine:",
|
"doctrine:",
|
||||||
@@ -128,6 +93,41 @@
|
|||||||
""
|
""
|
||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
|
},
|
||||||
|
"config/packages/prod/doctrine.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"doctrine:",
|
||||||
|
" orm:",
|
||||||
|
" auto_generate_proxy_classes: false",
|
||||||
|
" query_cache_driver:",
|
||||||
|
" type: pool",
|
||||||
|
" pool: doctrine.system_cache_pool",
|
||||||
|
" result_cache_driver:",
|
||||||
|
" type: pool",
|
||||||
|
" pool: doctrine.result_cache_pool",
|
||||||
|
"",
|
||||||
|
"framework:",
|
||||||
|
" cache:",
|
||||||
|
" pools:",
|
||||||
|
" doctrine.result_cache_pool:",
|
||||||
|
" adapter: cache.app",
|
||||||
|
" doctrine.system_cache_pool:",
|
||||||
|
" adapter: cache.system",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"src/Repository/.gitignore": {
|
||||||
|
"contents": [
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"src/Entity/.gitignore": {
|
||||||
|
"contents": [
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ref": "bac5c852ff628886de2753215fe5eb1f9ce980fb"
|
"ref": "bac5c852ff628886de2753215fe5eb1f9ce980fb"
|
||||||
|
|||||||
@@ -18,14 +18,6 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"files": {
|
"files": {
|
||||||
"config/packages/dev/hautelook_alice.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"hautelook_alice:",
|
|
||||||
" fixtures_path: fixtures",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/packages/test/hautelook_alice.yaml": {
|
"config/packages/test/hautelook_alice.yaml": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"imports:",
|
"imports:",
|
||||||
@@ -34,6 +26,14 @@
|
|||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
},
|
||||||
|
"config/packages/dev/hautelook_alice.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"hautelook_alice:",
|
||||||
|
" fixtures_path: fixtures",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
"fixtures/.gitignore": {
|
"fixtures/.gitignore": {
|
||||||
"contents": [
|
"contents": [
|
||||||
""
|
""
|
||||||
|
|||||||
+53
-593
File diff suppressed because it is too large
Load Diff
@@ -13,6 +13,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"files": {
|
"files": {
|
||||||
|
"config/packages/test/nelmio_alice.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"imports:",
|
||||||
|
" - { resource: ../dev/nelmio_alice.yaml }",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
"config/packages/dev/nelmio_alice.yaml": {
|
"config/packages/dev/nelmio_alice.yaml": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"nelmio_alice:",
|
"nelmio_alice:",
|
||||||
@@ -27,14 +35,6 @@
|
|||||||
""
|
""
|
||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
|
||||||
"config/packages/test/nelmio_alice.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"imports:",
|
|
||||||
" - { resource: ../dev/nelmio_alice.yaml }",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ref": "0b9900ece737bec7752e4155c0164639dd9b0cb0"
|
"ref": "0b9900ece737bec7752e4155c0164639dd9b0cb0"
|
||||||
|
|||||||
+12
-12
@@ -13,18 +13,6 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"files": {
|
"files": {
|
||||||
".env.test": {
|
|
||||||
"contents": [
|
|
||||||
"# define your env variables for the test env here",
|
|
||||||
"KERNEL_CLASS='App\\Kernel'",
|
|
||||||
"APP_SECRET='$ecretf0rt3st'",
|
|
||||||
"SYMFONY_DEPRECATIONS_HELPER=999999",
|
|
||||||
"PANTHER_APP_ENV=panther",
|
|
||||||
"PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"phpunit.xml.dist": {
|
"phpunit.xml.dist": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
|
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
|
||||||
@@ -70,6 +58,18 @@
|
|||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
},
|
||||||
|
".env.test": {
|
||||||
|
"contents": [
|
||||||
|
"# define your env variables for the test env here",
|
||||||
|
"KERNEL_CLASS='App\\Kernel'",
|
||||||
|
"APP_SECRET='$ecretf0rt3st'",
|
||||||
|
"SYMFONY_DEPRECATIONS_HELPER=999999",
|
||||||
|
"PANTHER_APP_ENV=panther",
|
||||||
|
"PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
"tests/bootstrap.php": {
|
"tests/bootstrap.php": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"<?php",
|
"<?php",
|
||||||
|
|||||||
+12
-12
@@ -13,18 +13,6 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"files": {
|
"files": {
|
||||||
".env.test": {
|
|
||||||
"contents": [
|
|
||||||
"# define your env variables for the test env here",
|
|
||||||
"KERNEL_CLASS='App\\Kernel'",
|
|
||||||
"APP_SECRET='$ecretf0rt3st'",
|
|
||||||
"SYMFONY_DEPRECATIONS_HELPER=999999",
|
|
||||||
"PANTHER_APP_ENV=panther",
|
|
||||||
"PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"phpunit.xml.dist": {
|
"phpunit.xml.dist": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
|
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
|
||||||
@@ -73,6 +61,18 @@
|
|||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
},
|
||||||
|
".env.test": {
|
||||||
|
"contents": [
|
||||||
|
"# define your env variables for the test env here",
|
||||||
|
"KERNEL_CLASS='App\\Kernel'",
|
||||||
|
"APP_SECRET='$ecretf0rt3st'",
|
||||||
|
"SYMFONY_DEPRECATIONS_HELPER=999999",
|
||||||
|
"PANTHER_APP_ENV=panther",
|
||||||
|
"PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
"tests/bootstrap.php": {
|
"tests/bootstrap.php": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"<?php",
|
"<?php",
|
||||||
|
|||||||
+146
-146
@@ -74,8 +74,152 @@
|
|||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
},
|
||||||
"src/Controller/.gitignore": {
|
"config/services.yaml": {
|
||||||
"contents": [
|
"contents": [
|
||||||
|
"# This file is the entry point to configure your own services.",
|
||||||
|
"# Files in the packages/ subdirectory configure your dependencies.",
|
||||||
|
"",
|
||||||
|
"# Put parameters here that don't need to change on each machine where the app is deployed",
|
||||||
|
"# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration",
|
||||||
|
"parameters:",
|
||||||
|
"",
|
||||||
|
"services:",
|
||||||
|
" # default configuration for services in *this* file",
|
||||||
|
" _defaults:",
|
||||||
|
" autowire: true # Automatically injects dependencies in your services.",
|
||||||
|
" autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.",
|
||||||
|
" public: false # Allows optimizing the container by removing unused services; this also means",
|
||||||
|
" # fetching services directly from the container via $container->get() won't work.",
|
||||||
|
" # The best practice is to be explicit about your dependencies anyway.",
|
||||||
|
"",
|
||||||
|
" # makes classes in src/ available to be used as services",
|
||||||
|
" # this creates a service per class whose id is the fully-qualified class name",
|
||||||
|
" App\\:",
|
||||||
|
" resource: '../src/*'",
|
||||||
|
" exclude: '../src/{DependencyInjection,Entity,Migrations,Tests,Kernel.php}'",
|
||||||
|
"",
|
||||||
|
" # controllers are imported separately to make sure services can be injected",
|
||||||
|
" # as action arguments even if you don't extend any base controller class",
|
||||||
|
" App\\Controller\\:",
|
||||||
|
" resource: '../src/Controller'",
|
||||||
|
" tags: ['controller.service_arguments']",
|
||||||
|
"",
|
||||||
|
" # add more service definitions when explicit configuration is needed",
|
||||||
|
" # please note that last definitions always *replace* previous ones",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"config/bootstrap.php": {
|
||||||
|
"contents": [
|
||||||
|
"<?php",
|
||||||
|
"",
|
||||||
|
"use Symfony\\Component\\Dotenv\\Dotenv;",
|
||||||
|
"",
|
||||||
|
"require dirname(__DIR__).'/vendor/autoload.php';",
|
||||||
|
"",
|
||||||
|
"if (!class_exists(Dotenv::class)) {",
|
||||||
|
" throw new LogicException('Please run \"composer require symfony/dotenv\" to load the \".env\" files configuring the application.');",
|
||||||
|
"}",
|
||||||
|
"",
|
||||||
|
"// Load cached env vars if the .env.local.php file exists",
|
||||||
|
"// Run \"composer dump-env prod\" to create it (requires symfony/flex >=1.2)",
|
||||||
|
"if (is_array($env = @include dirname(__DIR__).'/.env.local.php') && (!isset($env['APP_ENV']) || ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env['APP_ENV']) === $env['APP_ENV'])) {",
|
||||||
|
" (new Dotenv(false))->populate($env);",
|
||||||
|
"} else {",
|
||||||
|
" $path = dirname(__DIR__).'/.env';",
|
||||||
|
" $dotenv = new Dotenv(false);",
|
||||||
|
"",
|
||||||
|
" // load all the .env files",
|
||||||
|
" if (method_exists($dotenv, 'loadEnv')) {",
|
||||||
|
" $dotenv->loadEnv($path);",
|
||||||
|
" } else {",
|
||||||
|
" // fallback code in case your Dotenv component is not 4.2 or higher (when loadEnv() was added)",
|
||||||
|
"",
|
||||||
|
" if (file_exists($path) || !file_exists($p = \"$path.dist\")) {",
|
||||||
|
" $dotenv->load($path);",
|
||||||
|
" } else {",
|
||||||
|
" $dotenv->load($p);",
|
||||||
|
" }",
|
||||||
|
"",
|
||||||
|
" if (null === $env = $_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) {",
|
||||||
|
" $dotenv->populate(array('APP_ENV' => $env = 'dev'));",
|
||||||
|
" }",
|
||||||
|
"",
|
||||||
|
" if ('test' !== $env && file_exists($p = \"$path.local\")) {",
|
||||||
|
" $dotenv->load($p);",
|
||||||
|
" $env = $_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env;",
|
||||||
|
" }",
|
||||||
|
"",
|
||||||
|
" if (file_exists($p = \"$path.$env\")) {",
|
||||||
|
" $dotenv->load($p);",
|
||||||
|
" }",
|
||||||
|
"",
|
||||||
|
" if (file_exists($p = \"$path.$env.local\")) {",
|
||||||
|
" $dotenv->load($p);",
|
||||||
|
" }",
|
||||||
|
" }",
|
||||||
|
"}",
|
||||||
|
"",
|
||||||
|
"$_SERVER += $_ENV;",
|
||||||
|
"$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) ?: 'dev';",
|
||||||
|
"$_SERVER['APP_DEBUG'] = $_SERVER['APP_DEBUG'] ?? $_ENV['APP_DEBUG'] ?? 'prod' !== $_SERVER['APP_ENV'];",
|
||||||
|
"$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = (int) $_SERVER['APP_DEBUG'] || filter_var($_SERVER['APP_DEBUG'], FILTER_VALIDATE_BOOLEAN) ? '1' : '0';",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"config/packages/cache.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"framework:",
|
||||||
|
" cache:",
|
||||||
|
" # Unique name of your app: used to compute stable namespaces for cache keys.",
|
||||||
|
" #prefix_seed: your_vendor_name/app_name",
|
||||||
|
"",
|
||||||
|
" # The \"app\" cache stores to the filesystem by default.",
|
||||||
|
" # The data in this cache should persist between deploys.",
|
||||||
|
" # Other options include:",
|
||||||
|
"",
|
||||||
|
" # Redis",
|
||||||
|
" #app: cache.adapter.redis",
|
||||||
|
" #default_redis_provider: redis://localhost",
|
||||||
|
"",
|
||||||
|
" # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)",
|
||||||
|
" #app: cache.adapter.apcu",
|
||||||
|
"",
|
||||||
|
" # Namespaced pools use the above \"app\" backend by default",
|
||||||
|
" #pools:",
|
||||||
|
" #my.dedicated.cache: null",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"config/packages/framework.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"framework:",
|
||||||
|
" secret: '%env(APP_SECRET)%'",
|
||||||
|
" #csrf_protection: true",
|
||||||
|
" #http_method_override: true",
|
||||||
|
"",
|
||||||
|
" # Enables session support. Note that the session will ONLY be started if you read or write from it.",
|
||||||
|
" # Remove or comment this section to explicitly disable session support.",
|
||||||
|
" session:",
|
||||||
|
" handler_id: null",
|
||||||
|
"",
|
||||||
|
" #esi: true",
|
||||||
|
" #fragments: true",
|
||||||
|
" php_errors:",
|
||||||
|
" log: true",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"config/packages/test/framework.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"framework:",
|
||||||
|
" test: true",
|
||||||
|
" session:",
|
||||||
|
" storage_id: session.storage.mock_file",
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
@@ -147,152 +291,8 @@
|
|||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
},
|
||||||
"config/bootstrap.php": {
|
"src/Controller/.gitignore": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"<?php",
|
|
||||||
"",
|
|
||||||
"use Symfony\\Component\\Dotenv\\Dotenv;",
|
|
||||||
"",
|
|
||||||
"require dirname(__DIR__).'/vendor/autoload.php';",
|
|
||||||
"",
|
|
||||||
"if (!class_exists(Dotenv::class)) {",
|
|
||||||
" throw new LogicException('Please run \"composer require symfony/dotenv\" to load the \".env\" files configuring the application.');",
|
|
||||||
"}",
|
|
||||||
"",
|
|
||||||
"// Load cached env vars if the .env.local.php file exists",
|
|
||||||
"// Run \"composer dump-env prod\" to create it (requires symfony/flex >=1.2)",
|
|
||||||
"if (is_array($env = @include dirname(__DIR__).'/.env.local.php') && (!isset($env['APP_ENV']) || ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env['APP_ENV']) === $env['APP_ENV'])) {",
|
|
||||||
" (new Dotenv(false))->populate($env);",
|
|
||||||
"} else {",
|
|
||||||
" $path = dirname(__DIR__).'/.env';",
|
|
||||||
" $dotenv = new Dotenv(false);",
|
|
||||||
"",
|
|
||||||
" // load all the .env files",
|
|
||||||
" if (method_exists($dotenv, 'loadEnv')) {",
|
|
||||||
" $dotenv->loadEnv($path);",
|
|
||||||
" } else {",
|
|
||||||
" // fallback code in case your Dotenv component is not 4.2 or higher (when loadEnv() was added)",
|
|
||||||
"",
|
|
||||||
" if (file_exists($path) || !file_exists($p = \"$path.dist\")) {",
|
|
||||||
" $dotenv->load($path);",
|
|
||||||
" } else {",
|
|
||||||
" $dotenv->load($p);",
|
|
||||||
" }",
|
|
||||||
"",
|
|
||||||
" if (null === $env = $_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) {",
|
|
||||||
" $dotenv->populate(array('APP_ENV' => $env = 'dev'));",
|
|
||||||
" }",
|
|
||||||
"",
|
|
||||||
" if ('test' !== $env && file_exists($p = \"$path.local\")) {",
|
|
||||||
" $dotenv->load($p);",
|
|
||||||
" $env = $_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env;",
|
|
||||||
" }",
|
|
||||||
"",
|
|
||||||
" if (file_exists($p = \"$path.$env\")) {",
|
|
||||||
" $dotenv->load($p);",
|
|
||||||
" }",
|
|
||||||
"",
|
|
||||||
" if (file_exists($p = \"$path.$env.local\")) {",
|
|
||||||
" $dotenv->load($p);",
|
|
||||||
" }",
|
|
||||||
" }",
|
|
||||||
"}",
|
|
||||||
"",
|
|
||||||
"$_SERVER += $_ENV;",
|
|
||||||
"$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) ?: 'dev';",
|
|
||||||
"$_SERVER['APP_DEBUG'] = $_SERVER['APP_DEBUG'] ?? $_ENV['APP_DEBUG'] ?? 'prod' !== $_SERVER['APP_ENV'];",
|
|
||||||
"$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = (int) $_SERVER['APP_DEBUG'] || filter_var($_SERVER['APP_DEBUG'], FILTER_VALIDATE_BOOLEAN) ? '1' : '0';",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/services.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"# This file is the entry point to configure your own services.",
|
|
||||||
"# Files in the packages/ subdirectory configure your dependencies.",
|
|
||||||
"",
|
|
||||||
"# Put parameters here that don't need to change on each machine where the app is deployed",
|
|
||||||
"# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration",
|
|
||||||
"parameters:",
|
|
||||||
"",
|
|
||||||
"services:",
|
|
||||||
" # default configuration for services in *this* file",
|
|
||||||
" _defaults:",
|
|
||||||
" autowire: true # Automatically injects dependencies in your services.",
|
|
||||||
" autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.",
|
|
||||||
" public: false # Allows optimizing the container by removing unused services; this also means",
|
|
||||||
" # fetching services directly from the container via $container->get() won't work.",
|
|
||||||
" # The best practice is to be explicit about your dependencies anyway.",
|
|
||||||
"",
|
|
||||||
" # makes classes in src/ available to be used as services",
|
|
||||||
" # this creates a service per class whose id is the fully-qualified class name",
|
|
||||||
" App\\:",
|
|
||||||
" resource: '../src/*'",
|
|
||||||
" exclude: '../src/{DependencyInjection,Entity,Migrations,Tests,Kernel.php}'",
|
|
||||||
"",
|
|
||||||
" # controllers are imported separately to make sure services can be injected",
|
|
||||||
" # as action arguments even if you don't extend any base controller class",
|
|
||||||
" App\\Controller\\:",
|
|
||||||
" resource: '../src/Controller'",
|
|
||||||
" tags: ['controller.service_arguments']",
|
|
||||||
"",
|
|
||||||
" # add more service definitions when explicit configuration is needed",
|
|
||||||
" # please note that last definitions always *replace* previous ones",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/packages/framework.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"framework:",
|
|
||||||
" secret: '%env(APP_SECRET)%'",
|
|
||||||
" #csrf_protection: true",
|
|
||||||
" #http_method_override: true",
|
|
||||||
"",
|
|
||||||
" # Enables session support. Note that the session will ONLY be started if you read or write from it.",
|
|
||||||
" # Remove or comment this section to explicitly disable session support.",
|
|
||||||
" session:",
|
|
||||||
" handler_id: null",
|
|
||||||
"",
|
|
||||||
" #esi: true",
|
|
||||||
" #fragments: true",
|
|
||||||
" php_errors:",
|
|
||||||
" log: true",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/packages/cache.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"framework:",
|
|
||||||
" cache:",
|
|
||||||
" # Unique name of your app: used to compute stable namespaces for cache keys.",
|
|
||||||
" #prefix_seed: your_vendor_name/app_name",
|
|
||||||
"",
|
|
||||||
" # The \"app\" cache stores to the filesystem by default.",
|
|
||||||
" # The data in this cache should persist between deploys.",
|
|
||||||
" # Other options include:",
|
|
||||||
"",
|
|
||||||
" # Redis",
|
|
||||||
" #app: cache.adapter.redis",
|
|
||||||
" #default_redis_provider: redis://localhost",
|
|
||||||
"",
|
|
||||||
" # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)",
|
|
||||||
" #app: cache.adapter.apcu",
|
|
||||||
"",
|
|
||||||
" # Namespaced pools use the above \"app\" backend by default",
|
|
||||||
" #pools:",
|
|
||||||
" #my.dedicated.cache: null",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/packages/test/framework.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"framework:",
|
|
||||||
" test: true",
|
|
||||||
" session:",
|
|
||||||
" storage_id: session.storage.mock_file",
|
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
|
|||||||
+147
-147
@@ -74,8 +74,153 @@
|
|||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
},
|
||||||
"src/Controller/.gitignore": {
|
"config/services.yaml": {
|
||||||
"contents": [
|
"contents": [
|
||||||
|
"# This file is the entry point to configure your own services.",
|
||||||
|
"# Files in the packages/ subdirectory configure your dependencies.",
|
||||||
|
"",
|
||||||
|
"# Put parameters here that don't need to change on each machine where the app is deployed",
|
||||||
|
"# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration",
|
||||||
|
"parameters:",
|
||||||
|
"",
|
||||||
|
"services:",
|
||||||
|
" # default configuration for services in *this* file",
|
||||||
|
" _defaults:",
|
||||||
|
" autowire: true # Automatically injects dependencies in your services.",
|
||||||
|
" autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.",
|
||||||
|
" public: false # Allows optimizing the container by removing unused services; this also means",
|
||||||
|
" # fetching services directly from the container via $container->get() won't work.",
|
||||||
|
" # The best practice is to be explicit about your dependencies anyway.",
|
||||||
|
"",
|
||||||
|
" # makes classes in src/ available to be used as services",
|
||||||
|
" # this creates a service per class whose id is the fully-qualified class name",
|
||||||
|
" App\\:",
|
||||||
|
" resource: '../src/*'",
|
||||||
|
" exclude: '../src/{DependencyInjection,Entity,Migrations,Tests,Kernel.php}'",
|
||||||
|
"",
|
||||||
|
" # controllers are imported separately to make sure services can be injected",
|
||||||
|
" # as action arguments even if you don't extend any base controller class",
|
||||||
|
" App\\Controller\\:",
|
||||||
|
" resource: '../src/Controller'",
|
||||||
|
" tags: ['controller.service_arguments']",
|
||||||
|
"",
|
||||||
|
" # add more service definitions when explicit configuration is needed",
|
||||||
|
" # please note that last definitions always *replace* previous ones",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"config/bootstrap.php": {
|
||||||
|
"contents": [
|
||||||
|
"<?php",
|
||||||
|
"",
|
||||||
|
"use Symfony\\Component\\Dotenv\\Dotenv;",
|
||||||
|
"",
|
||||||
|
"require dirname(__DIR__).'/vendor/autoload.php';",
|
||||||
|
"",
|
||||||
|
"if (!class_exists(Dotenv::class)) {",
|
||||||
|
" throw new LogicException('Please run \"composer require symfony/dotenv\" to load the \".env\" files configuring the application.');",
|
||||||
|
"}",
|
||||||
|
"",
|
||||||
|
"// Load cached env vars if the .env.local.php file exists",
|
||||||
|
"// Run \"composer dump-env prod\" to create it (requires symfony/flex >=1.2)",
|
||||||
|
"if (is_array($env = @include dirname(__DIR__).'/.env.local.php') && (!isset($env['APP_ENV']) || ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env['APP_ENV']) === $env['APP_ENV'])) {",
|
||||||
|
" (new Dotenv(false))->populate($env);",
|
||||||
|
"} else {",
|
||||||
|
" $path = dirname(__DIR__).'/.env';",
|
||||||
|
" $dotenv = new Dotenv(false);",
|
||||||
|
"",
|
||||||
|
" // load all the .env files",
|
||||||
|
" if (method_exists($dotenv, 'loadEnv')) {",
|
||||||
|
" $dotenv->loadEnv($path);",
|
||||||
|
" } else {",
|
||||||
|
" // fallback code in case your Dotenv component is not 4.2 or higher (when loadEnv() was added)",
|
||||||
|
"",
|
||||||
|
" if (file_exists($path) || !file_exists($p = \"$path.dist\")) {",
|
||||||
|
" $dotenv->load($path);",
|
||||||
|
" } else {",
|
||||||
|
" $dotenv->load($p);",
|
||||||
|
" }",
|
||||||
|
"",
|
||||||
|
" if (null === $env = $_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) {",
|
||||||
|
" $dotenv->populate(array('APP_ENV' => $env = 'dev'));",
|
||||||
|
" }",
|
||||||
|
"",
|
||||||
|
" if ('test' !== $env && file_exists($p = \"$path.local\")) {",
|
||||||
|
" $dotenv->load($p);",
|
||||||
|
" $env = $_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env;",
|
||||||
|
" }",
|
||||||
|
"",
|
||||||
|
" if (file_exists($p = \"$path.$env\")) {",
|
||||||
|
" $dotenv->load($p);",
|
||||||
|
" }",
|
||||||
|
"",
|
||||||
|
" if (file_exists($p = \"$path.$env.local\")) {",
|
||||||
|
" $dotenv->load($p);",
|
||||||
|
" }",
|
||||||
|
" }",
|
||||||
|
"}",
|
||||||
|
"",
|
||||||
|
"$_SERVER += $_ENV;",
|
||||||
|
"$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) ?: 'dev';",
|
||||||
|
"$_SERVER['APP_DEBUG'] = $_SERVER['APP_DEBUG'] ?? $_ENV['APP_DEBUG'] ?? 'prod' !== $_SERVER['APP_ENV'];",
|
||||||
|
"$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = (int) $_SERVER['APP_DEBUG'] || filter_var($_SERVER['APP_DEBUG'], FILTER_VALIDATE_BOOLEAN) ? '1' : '0';",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"config/packages/cache.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"framework:",
|
||||||
|
" cache:",
|
||||||
|
" # Unique name of your app: used to compute stable namespaces for cache keys.",
|
||||||
|
" #prefix_seed: your_vendor_name/app_name",
|
||||||
|
"",
|
||||||
|
" # The \"app\" cache stores to the filesystem by default.",
|
||||||
|
" # The data in this cache should persist between deploys.",
|
||||||
|
" # Other options include:",
|
||||||
|
"",
|
||||||
|
" # Redis",
|
||||||
|
" #app: cache.adapter.redis",
|
||||||
|
" #default_redis_provider: redis://localhost",
|
||||||
|
"",
|
||||||
|
" # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)",
|
||||||
|
" #app: cache.adapter.apcu",
|
||||||
|
"",
|
||||||
|
" # Namespaced pools use the above \"app\" backend by default",
|
||||||
|
" #pools:",
|
||||||
|
" #my.dedicated.cache: null",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"config/packages/framework.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"framework:",
|
||||||
|
" secret: '%env(APP_SECRET)%'",
|
||||||
|
" #csrf_protection: true",
|
||||||
|
" #http_method_override: true",
|
||||||
|
"",
|
||||||
|
" # Enables session support. Note that the session will ONLY be started if you read or write from it.",
|
||||||
|
" # Remove or comment this section to explicitly disable session support.",
|
||||||
|
" session:",
|
||||||
|
" handler_id: null",
|
||||||
|
" cookie_samesite: lax",
|
||||||
|
"",
|
||||||
|
" #esi: true",
|
||||||
|
" #fragments: true",
|
||||||
|
" php_errors:",
|
||||||
|
" log: true",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"config/packages/test/framework.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"framework:",
|
||||||
|
" test: true",
|
||||||
|
" session:",
|
||||||
|
" storage_id: session.storage.mock_file",
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
@@ -147,153 +292,8 @@
|
|||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
},
|
||||||
"config/bootstrap.php": {
|
"src/Controller/.gitignore": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"<?php",
|
|
||||||
"",
|
|
||||||
"use Symfony\\Component\\Dotenv\\Dotenv;",
|
|
||||||
"",
|
|
||||||
"require dirname(__DIR__).'/vendor/autoload.php';",
|
|
||||||
"",
|
|
||||||
"if (!class_exists(Dotenv::class)) {",
|
|
||||||
" throw new LogicException('Please run \"composer require symfony/dotenv\" to load the \".env\" files configuring the application.');",
|
|
||||||
"}",
|
|
||||||
"",
|
|
||||||
"// Load cached env vars if the .env.local.php file exists",
|
|
||||||
"// Run \"composer dump-env prod\" to create it (requires symfony/flex >=1.2)",
|
|
||||||
"if (is_array($env = @include dirname(__DIR__).'/.env.local.php') && (!isset($env['APP_ENV']) || ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env['APP_ENV']) === $env['APP_ENV'])) {",
|
|
||||||
" (new Dotenv(false))->populate($env);",
|
|
||||||
"} else {",
|
|
||||||
" $path = dirname(__DIR__).'/.env';",
|
|
||||||
" $dotenv = new Dotenv(false);",
|
|
||||||
"",
|
|
||||||
" // load all the .env files",
|
|
||||||
" if (method_exists($dotenv, 'loadEnv')) {",
|
|
||||||
" $dotenv->loadEnv($path);",
|
|
||||||
" } else {",
|
|
||||||
" // fallback code in case your Dotenv component is not 4.2 or higher (when loadEnv() was added)",
|
|
||||||
"",
|
|
||||||
" if (file_exists($path) || !file_exists($p = \"$path.dist\")) {",
|
|
||||||
" $dotenv->load($path);",
|
|
||||||
" } else {",
|
|
||||||
" $dotenv->load($p);",
|
|
||||||
" }",
|
|
||||||
"",
|
|
||||||
" if (null === $env = $_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) {",
|
|
||||||
" $dotenv->populate(array('APP_ENV' => $env = 'dev'));",
|
|
||||||
" }",
|
|
||||||
"",
|
|
||||||
" if ('test' !== $env && file_exists($p = \"$path.local\")) {",
|
|
||||||
" $dotenv->load($p);",
|
|
||||||
" $env = $_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env;",
|
|
||||||
" }",
|
|
||||||
"",
|
|
||||||
" if (file_exists($p = \"$path.$env\")) {",
|
|
||||||
" $dotenv->load($p);",
|
|
||||||
" }",
|
|
||||||
"",
|
|
||||||
" if (file_exists($p = \"$path.$env.local\")) {",
|
|
||||||
" $dotenv->load($p);",
|
|
||||||
" }",
|
|
||||||
" }",
|
|
||||||
"}",
|
|
||||||
"",
|
|
||||||
"$_SERVER += $_ENV;",
|
|
||||||
"$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) ?: 'dev';",
|
|
||||||
"$_SERVER['APP_DEBUG'] = $_SERVER['APP_DEBUG'] ?? $_ENV['APP_DEBUG'] ?? 'prod' !== $_SERVER['APP_ENV'];",
|
|
||||||
"$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = (int) $_SERVER['APP_DEBUG'] || filter_var($_SERVER['APP_DEBUG'], FILTER_VALIDATE_BOOLEAN) ? '1' : '0';",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/services.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"# This file is the entry point to configure your own services.",
|
|
||||||
"# Files in the packages/ subdirectory configure your dependencies.",
|
|
||||||
"",
|
|
||||||
"# Put parameters here that don't need to change on each machine where the app is deployed",
|
|
||||||
"# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration",
|
|
||||||
"parameters:",
|
|
||||||
"",
|
|
||||||
"services:",
|
|
||||||
" # default configuration for services in *this* file",
|
|
||||||
" _defaults:",
|
|
||||||
" autowire: true # Automatically injects dependencies in your services.",
|
|
||||||
" autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.",
|
|
||||||
" public: false # Allows optimizing the container by removing unused services; this also means",
|
|
||||||
" # fetching services directly from the container via $container->get() won't work.",
|
|
||||||
" # The best practice is to be explicit about your dependencies anyway.",
|
|
||||||
"",
|
|
||||||
" # makes classes in src/ available to be used as services",
|
|
||||||
" # this creates a service per class whose id is the fully-qualified class name",
|
|
||||||
" App\\:",
|
|
||||||
" resource: '../src/*'",
|
|
||||||
" exclude: '../src/{DependencyInjection,Entity,Migrations,Tests,Kernel.php}'",
|
|
||||||
"",
|
|
||||||
" # controllers are imported separately to make sure services can be injected",
|
|
||||||
" # as action arguments even if you don't extend any base controller class",
|
|
||||||
" App\\Controller\\:",
|
|
||||||
" resource: '../src/Controller'",
|
|
||||||
" tags: ['controller.service_arguments']",
|
|
||||||
"",
|
|
||||||
" # add more service definitions when explicit configuration is needed",
|
|
||||||
" # please note that last definitions always *replace* previous ones",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/packages/framework.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"framework:",
|
|
||||||
" secret: '%env(APP_SECRET)%'",
|
|
||||||
" #csrf_protection: true",
|
|
||||||
" #http_method_override: true",
|
|
||||||
"",
|
|
||||||
" # Enables session support. Note that the session will ONLY be started if you read or write from it.",
|
|
||||||
" # Remove or comment this section to explicitly disable session support.",
|
|
||||||
" session:",
|
|
||||||
" handler_id: null",
|
|
||||||
" cookie_samesite: lax",
|
|
||||||
"",
|
|
||||||
" #esi: true",
|
|
||||||
" #fragments: true",
|
|
||||||
" php_errors:",
|
|
||||||
" log: true",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/packages/cache.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"framework:",
|
|
||||||
" cache:",
|
|
||||||
" # Unique name of your app: used to compute stable namespaces for cache keys.",
|
|
||||||
" #prefix_seed: your_vendor_name/app_name",
|
|
||||||
"",
|
|
||||||
" # The \"app\" cache stores to the filesystem by default.",
|
|
||||||
" # The data in this cache should persist between deploys.",
|
|
||||||
" # Other options include:",
|
|
||||||
"",
|
|
||||||
" # Redis",
|
|
||||||
" #app: cache.adapter.redis",
|
|
||||||
" #default_redis_provider: redis://localhost",
|
|
||||||
"",
|
|
||||||
" # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)",
|
|
||||||
" #app: cache.adapter.apcu",
|
|
||||||
"",
|
|
||||||
" # Namespaced pools use the above \"app\" backend by default",
|
|
||||||
" #pools:",
|
|
||||||
" #my.dedicated.cache: null",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/packages/test/framework.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"framework:",
|
|
||||||
" test: true",
|
|
||||||
" session:",
|
|
||||||
" storage_id: session.storage.mock_file",
|
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
|
|||||||
+116
-116
@@ -74,8 +74,122 @@
|
|||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
},
|
||||||
"src/Controller/.gitignore": {
|
"config/services.yaml": {
|
||||||
"contents": [
|
"contents": [
|
||||||
|
"# This file is the entry point to configure your own services.",
|
||||||
|
"# Files in the packages/ subdirectory configure your dependencies.",
|
||||||
|
"",
|
||||||
|
"# Put parameters here that don't need to change on each machine where the app is deployed",
|
||||||
|
"# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration",
|
||||||
|
"parameters:",
|
||||||
|
"",
|
||||||
|
"services:",
|
||||||
|
" # default configuration for services in *this* file",
|
||||||
|
" _defaults:",
|
||||||
|
" autowire: true # Automatically injects dependencies in your services.",
|
||||||
|
" autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.",
|
||||||
|
"",
|
||||||
|
" # makes classes in src/ available to be used as services",
|
||||||
|
" # this creates a service per class whose id is the fully-qualified class name",
|
||||||
|
" App\\:",
|
||||||
|
" resource: '../src/*'",
|
||||||
|
" exclude: '../src/{DependencyInjection,Entity,Tests,Kernel.php}'",
|
||||||
|
"",
|
||||||
|
" # controllers are imported separately to make sure services can be injected",
|
||||||
|
" # as action arguments even if you don't extend any base controller class",
|
||||||
|
" App\\Controller\\:",
|
||||||
|
" resource: '../src/Controller'",
|
||||||
|
" tags: ['controller.service_arguments']",
|
||||||
|
"",
|
||||||
|
" # add more service definitions when explicit configuration is needed",
|
||||||
|
" # please note that last definitions always *replace* previous ones",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"config/bootstrap.php": {
|
||||||
|
"contents": [
|
||||||
|
"<?php",
|
||||||
|
"",
|
||||||
|
"use Symfony\\Component\\Dotenv\\Dotenv;",
|
||||||
|
"",
|
||||||
|
"require dirname(__DIR__).'/vendor/autoload.php';",
|
||||||
|
"",
|
||||||
|
"if (!class_exists(Dotenv::class)) {",
|
||||||
|
" throw new LogicException('Please run \"composer require symfony/dotenv\" to load the \".env\" files configuring the application.');",
|
||||||
|
"}",
|
||||||
|
"",
|
||||||
|
"// Load cached env vars if the .env.local.php file exists",
|
||||||
|
"// Run \"composer dump-env prod\" to create it (requires symfony/flex >=1.2)",
|
||||||
|
"if (is_array($env = @include dirname(__DIR__).'/.env.local.php') && (!isset($env['APP_ENV']) || ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env['APP_ENV']) === $env['APP_ENV'])) {",
|
||||||
|
" (new Dotenv(false))->populate($env);",
|
||||||
|
"} else {",
|
||||||
|
" // load all the .env files",
|
||||||
|
" (new Dotenv(false))->loadEnv(dirname(__DIR__).'/.env');",
|
||||||
|
"}",
|
||||||
|
"",
|
||||||
|
"$_SERVER += $_ENV;",
|
||||||
|
"$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) ?: 'dev';",
|
||||||
|
"$_SERVER['APP_DEBUG'] = $_SERVER['APP_DEBUG'] ?? $_ENV['APP_DEBUG'] ?? 'prod' !== $_SERVER['APP_ENV'];",
|
||||||
|
"$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = (int) $_SERVER['APP_DEBUG'] || filter_var($_SERVER['APP_DEBUG'], FILTER_VALIDATE_BOOLEAN) ? '1' : '0';",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"config/packages/cache.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"framework:",
|
||||||
|
" cache:",
|
||||||
|
" # Unique name of your app: used to compute stable namespaces for cache keys.",
|
||||||
|
" #prefix_seed: your_vendor_name/app_name",
|
||||||
|
"",
|
||||||
|
" # The \"app\" cache stores to the filesystem by default.",
|
||||||
|
" # The data in this cache should persist between deploys.",
|
||||||
|
" # Other options include:",
|
||||||
|
"",
|
||||||
|
" # Redis",
|
||||||
|
" #app: cache.adapter.redis",
|
||||||
|
" #default_redis_provider: redis://localhost",
|
||||||
|
"",
|
||||||
|
" # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)",
|
||||||
|
" #app: cache.adapter.apcu",
|
||||||
|
"",
|
||||||
|
" # Namespaced pools use the above \"app\" backend by default",
|
||||||
|
" #pools:",
|
||||||
|
" #my.dedicated.cache: null",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"config/packages/framework.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"# see https://symfony.com/doc/current/reference/configuration/framework.html",
|
||||||
|
"framework:",
|
||||||
|
" secret: '%env(APP_SECRET)%'",
|
||||||
|
" #csrf_protection: true",
|
||||||
|
" #http_method_override: true",
|
||||||
|
"",
|
||||||
|
" # Enables session support. Note that the session will ONLY be started if you read or write from it.",
|
||||||
|
" # Remove or comment this section to explicitly disable session support.",
|
||||||
|
" session:",
|
||||||
|
" handler_id: null",
|
||||||
|
" cookie_secure: auto",
|
||||||
|
" cookie_samesite: lax",
|
||||||
|
"",
|
||||||
|
" #esi: true",
|
||||||
|
" #fragments: true",
|
||||||
|
" php_errors:",
|
||||||
|
" log: true",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"config/packages/test/framework.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"framework:",
|
||||||
|
" test: true",
|
||||||
|
" session:",
|
||||||
|
" storage_id: session.storage.mock_file",
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
@@ -140,122 +254,8 @@
|
|||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
},
|
||||||
"config/bootstrap.php": {
|
"src/Controller/.gitignore": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"<?php",
|
|
||||||
"",
|
|
||||||
"use Symfony\\Component\\Dotenv\\Dotenv;",
|
|
||||||
"",
|
|
||||||
"require dirname(__DIR__).'/vendor/autoload.php';",
|
|
||||||
"",
|
|
||||||
"if (!class_exists(Dotenv::class)) {",
|
|
||||||
" throw new LogicException('Please run \"composer require symfony/dotenv\" to load the \".env\" files configuring the application.');",
|
|
||||||
"}",
|
|
||||||
"",
|
|
||||||
"// Load cached env vars if the .env.local.php file exists",
|
|
||||||
"// Run \"composer dump-env prod\" to create it (requires symfony/flex >=1.2)",
|
|
||||||
"if (is_array($env = @include dirname(__DIR__).'/.env.local.php') && (!isset($env['APP_ENV']) || ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env['APP_ENV']) === $env['APP_ENV'])) {",
|
|
||||||
" (new Dotenv(false))->populate($env);",
|
|
||||||
"} else {",
|
|
||||||
" // load all the .env files",
|
|
||||||
" (new Dotenv(false))->loadEnv(dirname(__DIR__).'/.env');",
|
|
||||||
"}",
|
|
||||||
"",
|
|
||||||
"$_SERVER += $_ENV;",
|
|
||||||
"$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) ?: 'dev';",
|
|
||||||
"$_SERVER['APP_DEBUG'] = $_SERVER['APP_DEBUG'] ?? $_ENV['APP_DEBUG'] ?? 'prod' !== $_SERVER['APP_ENV'];",
|
|
||||||
"$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = (int) $_SERVER['APP_DEBUG'] || filter_var($_SERVER['APP_DEBUG'], FILTER_VALIDATE_BOOLEAN) ? '1' : '0';",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/services.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"# This file is the entry point to configure your own services.",
|
|
||||||
"# Files in the packages/ subdirectory configure your dependencies.",
|
|
||||||
"",
|
|
||||||
"# Put parameters here that don't need to change on each machine where the app is deployed",
|
|
||||||
"# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration",
|
|
||||||
"parameters:",
|
|
||||||
"",
|
|
||||||
"services:",
|
|
||||||
" # default configuration for services in *this* file",
|
|
||||||
" _defaults:",
|
|
||||||
" autowire: true # Automatically injects dependencies in your services.",
|
|
||||||
" autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.",
|
|
||||||
"",
|
|
||||||
" # makes classes in src/ available to be used as services",
|
|
||||||
" # this creates a service per class whose id is the fully-qualified class name",
|
|
||||||
" App\\:",
|
|
||||||
" resource: '../src/*'",
|
|
||||||
" exclude: '../src/{DependencyInjection,Entity,Tests,Kernel.php}'",
|
|
||||||
"",
|
|
||||||
" # controllers are imported separately to make sure services can be injected",
|
|
||||||
" # as action arguments even if you don't extend any base controller class",
|
|
||||||
" App\\Controller\\:",
|
|
||||||
" resource: '../src/Controller'",
|
|
||||||
" tags: ['controller.service_arguments']",
|
|
||||||
"",
|
|
||||||
" # add more service definitions when explicit configuration is needed",
|
|
||||||
" # please note that last definitions always *replace* previous ones",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/packages/framework.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"# see https://symfony.com/doc/current/reference/configuration/framework.html",
|
|
||||||
"framework:",
|
|
||||||
" secret: '%env(APP_SECRET)%'",
|
|
||||||
" #csrf_protection: true",
|
|
||||||
" #http_method_override: true",
|
|
||||||
"",
|
|
||||||
" # Enables session support. Note that the session will ONLY be started if you read or write from it.",
|
|
||||||
" # Remove or comment this section to explicitly disable session support.",
|
|
||||||
" session:",
|
|
||||||
" handler_id: null",
|
|
||||||
" cookie_secure: auto",
|
|
||||||
" cookie_samesite: lax",
|
|
||||||
"",
|
|
||||||
" #esi: true",
|
|
||||||
" #fragments: true",
|
|
||||||
" php_errors:",
|
|
||||||
" log: true",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/packages/cache.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"framework:",
|
|
||||||
" cache:",
|
|
||||||
" # Unique name of your app: used to compute stable namespaces for cache keys.",
|
|
||||||
" #prefix_seed: your_vendor_name/app_name",
|
|
||||||
"",
|
|
||||||
" # The \"app\" cache stores to the filesystem by default.",
|
|
||||||
" # The data in this cache should persist between deploys.",
|
|
||||||
" # Other options include:",
|
|
||||||
"",
|
|
||||||
" # Redis",
|
|
||||||
" #app: cache.adapter.redis",
|
|
||||||
" #default_redis_provider: redis://localhost",
|
|
||||||
"",
|
|
||||||
" # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)",
|
|
||||||
" #app: cache.adapter.apcu",
|
|
||||||
"",
|
|
||||||
" # Namespaced pools use the above \"app\" backend by default",
|
|
||||||
" #pools:",
|
|
||||||
" #my.dedicated.cache: null",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/packages/test/framework.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"framework:",
|
|
||||||
" test: true",
|
|
||||||
" session:",
|
|
||||||
" storage_id: session.storage.mock_file",
|
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
|
|||||||
+144
-144
@@ -74,8 +74,150 @@
|
|||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
},
|
||||||
"src/Controller/.gitignore": {
|
"config/services.yaml": {
|
||||||
"contents": [
|
"contents": [
|
||||||
|
"# This file is the entry point to configure your own services.",
|
||||||
|
"# Files in the packages/ subdirectory configure your dependencies.",
|
||||||
|
"",
|
||||||
|
"# Put parameters here that don't need to change on each machine where the app is deployed",
|
||||||
|
"# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration",
|
||||||
|
"parameters:",
|
||||||
|
"",
|
||||||
|
"services:",
|
||||||
|
" # default configuration for services in *this* file",
|
||||||
|
" _defaults:",
|
||||||
|
" autowire: true # Automatically injects dependencies in your services.",
|
||||||
|
" autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.",
|
||||||
|
"",
|
||||||
|
" # makes classes in src/ available to be used as services",
|
||||||
|
" # this creates a service per class whose id is the fully-qualified class name",
|
||||||
|
" App\\:",
|
||||||
|
" resource: '../src/'",
|
||||||
|
" exclude:",
|
||||||
|
" - '../src/DependencyInjection/'",
|
||||||
|
" - '../src/Entity/'",
|
||||||
|
" - '../src/Kernel.php'",
|
||||||
|
" - '../src/Tests/'",
|
||||||
|
"",
|
||||||
|
" # controllers are imported separately to make sure services can be injected",
|
||||||
|
" # as action arguments even if you don't extend any base controller class",
|
||||||
|
" App\\Controller\\:",
|
||||||
|
" resource: '../src/Controller/'",
|
||||||
|
" tags: ['controller.service_arguments']",
|
||||||
|
"",
|
||||||
|
" # add more service definitions when explicit configuration is needed",
|
||||||
|
" # please note that last definitions always *replace* previous ones",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"config/bootstrap.php": {
|
||||||
|
"contents": [
|
||||||
|
"<?php",
|
||||||
|
"",
|
||||||
|
"use Symfony\\Component\\Dotenv\\Dotenv;",
|
||||||
|
"",
|
||||||
|
"require dirname(__DIR__).'/vendor/autoload.php';",
|
||||||
|
"",
|
||||||
|
"if (!class_exists(Dotenv::class)) {",
|
||||||
|
" throw new LogicException('Please run \"composer require symfony/dotenv\" to load the \".env\" files configuring the application.');",
|
||||||
|
"}",
|
||||||
|
"",
|
||||||
|
"// Load cached env vars if the .env.local.php file exists",
|
||||||
|
"// Run \"composer dump-env prod\" to create it (requires symfony/flex >=1.2)",
|
||||||
|
"if (is_array($env = @include dirname(__DIR__).'/.env.local.php') && (!isset($env['APP_ENV']) || ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env['APP_ENV']) === $env['APP_ENV'])) {",
|
||||||
|
" (new Dotenv(false))->populate($env);",
|
||||||
|
"} else {",
|
||||||
|
" // load all the .env files",
|
||||||
|
" (new Dotenv(false))->loadEnv(dirname(__DIR__).'/.env');",
|
||||||
|
"}",
|
||||||
|
"",
|
||||||
|
"$_SERVER += $_ENV;",
|
||||||
|
"$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) ?: 'dev';",
|
||||||
|
"$_SERVER['APP_DEBUG'] = $_SERVER['APP_DEBUG'] ?? $_ENV['APP_DEBUG'] ?? 'prod' !== $_SERVER['APP_ENV'];",
|
||||||
|
"$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = (int) $_SERVER['APP_DEBUG'] || filter_var($_SERVER['APP_DEBUG'], FILTER_VALIDATE_BOOLEAN) ? '1' : '0';",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"config/routes/dev/framework.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"_errors:",
|
||||||
|
" resource: '@FrameworkBundle/Resources/config/routing/errors.xml'",
|
||||||
|
" prefix: /_error",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"config/preload.php": {
|
||||||
|
"contents": [
|
||||||
|
"<?php",
|
||||||
|
"",
|
||||||
|
"if (file_exists(dirname(__DIR__).'/var/cache/prod/srcApp_KernelProdContainer.preload.php')) {",
|
||||||
|
" require dirname(__DIR__).'/var/cache/prod/srcApp_KernelProdContainer.preload.php';",
|
||||||
|
"}",
|
||||||
|
"",
|
||||||
|
"if (file_exists(dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php')) {",
|
||||||
|
" require dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php';",
|
||||||
|
"}",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"config/packages/cache.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"framework:",
|
||||||
|
" cache:",
|
||||||
|
" # Unique name of your app: used to compute stable namespaces for cache keys.",
|
||||||
|
" #prefix_seed: your_vendor_name/app_name",
|
||||||
|
"",
|
||||||
|
" # The \"app\" cache stores to the filesystem by default.",
|
||||||
|
" # The data in this cache should persist between deploys.",
|
||||||
|
" # Other options include:",
|
||||||
|
"",
|
||||||
|
" # Redis",
|
||||||
|
" #app: cache.adapter.redis",
|
||||||
|
" #default_redis_provider: redis://localhost",
|
||||||
|
"",
|
||||||
|
" # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)",
|
||||||
|
" #app: cache.adapter.apcu",
|
||||||
|
"",
|
||||||
|
" # Namespaced pools use the above \"app\" backend by default",
|
||||||
|
" #pools:",
|
||||||
|
" #my.dedicated.cache: null",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"config/packages/framework.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"# see https://symfony.com/doc/current/reference/configuration/framework.html",
|
||||||
|
"framework:",
|
||||||
|
" secret: '%env(APP_SECRET)%'",
|
||||||
|
" #csrf_protection: true",
|
||||||
|
" #http_method_override: true",
|
||||||
|
"",
|
||||||
|
" # Enables session support. Note that the session will ONLY be started if you read or write from it.",
|
||||||
|
" # Remove or comment this section to explicitly disable session support.",
|
||||||
|
" session:",
|
||||||
|
" handler_id: null",
|
||||||
|
" cookie_secure: auto",
|
||||||
|
" cookie_samesite: lax",
|
||||||
|
"",
|
||||||
|
" #esi: true",
|
||||||
|
" #fragments: true",
|
||||||
|
" php_errors:",
|
||||||
|
" log: true",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"config/packages/test/framework.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"framework:",
|
||||||
|
" test: true",
|
||||||
|
" session:",
|
||||||
|
" storage_id: session.storage.mock_file",
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
@@ -140,150 +282,8 @@
|
|||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
},
|
||||||
"config/bootstrap.php": {
|
"src/Controller/.gitignore": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"<?php",
|
|
||||||
"",
|
|
||||||
"use Symfony\\Component\\Dotenv\\Dotenv;",
|
|
||||||
"",
|
|
||||||
"require dirname(__DIR__).'/vendor/autoload.php';",
|
|
||||||
"",
|
|
||||||
"if (!class_exists(Dotenv::class)) {",
|
|
||||||
" throw new LogicException('Please run \"composer require symfony/dotenv\" to load the \".env\" files configuring the application.');",
|
|
||||||
"}",
|
|
||||||
"",
|
|
||||||
"// Load cached env vars if the .env.local.php file exists",
|
|
||||||
"// Run \"composer dump-env prod\" to create it (requires symfony/flex >=1.2)",
|
|
||||||
"if (is_array($env = @include dirname(__DIR__).'/.env.local.php') && (!isset($env['APP_ENV']) || ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env['APP_ENV']) === $env['APP_ENV'])) {",
|
|
||||||
" (new Dotenv(false))->populate($env);",
|
|
||||||
"} else {",
|
|
||||||
" // load all the .env files",
|
|
||||||
" (new Dotenv(false))->loadEnv(dirname(__DIR__).'/.env');",
|
|
||||||
"}",
|
|
||||||
"",
|
|
||||||
"$_SERVER += $_ENV;",
|
|
||||||
"$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) ?: 'dev';",
|
|
||||||
"$_SERVER['APP_DEBUG'] = $_SERVER['APP_DEBUG'] ?? $_ENV['APP_DEBUG'] ?? 'prod' !== $_SERVER['APP_ENV'];",
|
|
||||||
"$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = (int) $_SERVER['APP_DEBUG'] || filter_var($_SERVER['APP_DEBUG'], FILTER_VALIDATE_BOOLEAN) ? '1' : '0';",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/routes/dev/framework.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"_errors:",
|
|
||||||
" resource: '@FrameworkBundle/Resources/config/routing/errors.xml'",
|
|
||||||
" prefix: /_error",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/preload.php": {
|
|
||||||
"contents": [
|
|
||||||
"<?php",
|
|
||||||
"",
|
|
||||||
"if (file_exists(dirname(__DIR__).'/var/cache/prod/srcApp_KernelProdContainer.preload.php')) {",
|
|
||||||
" require dirname(__DIR__).'/var/cache/prod/srcApp_KernelProdContainer.preload.php';",
|
|
||||||
"}",
|
|
||||||
"",
|
|
||||||
"if (file_exists(dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php')) {",
|
|
||||||
" require dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php';",
|
|
||||||
"}",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/services.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"# This file is the entry point to configure your own services.",
|
|
||||||
"# Files in the packages/ subdirectory configure your dependencies.",
|
|
||||||
"",
|
|
||||||
"# Put parameters here that don't need to change on each machine where the app is deployed",
|
|
||||||
"# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration",
|
|
||||||
"parameters:",
|
|
||||||
"",
|
|
||||||
"services:",
|
|
||||||
" # default configuration for services in *this* file",
|
|
||||||
" _defaults:",
|
|
||||||
" autowire: true # Automatically injects dependencies in your services.",
|
|
||||||
" autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.",
|
|
||||||
"",
|
|
||||||
" # makes classes in src/ available to be used as services",
|
|
||||||
" # this creates a service per class whose id is the fully-qualified class name",
|
|
||||||
" App\\:",
|
|
||||||
" resource: '../src/'",
|
|
||||||
" exclude:",
|
|
||||||
" - '../src/DependencyInjection/'",
|
|
||||||
" - '../src/Entity/'",
|
|
||||||
" - '../src/Kernel.php'",
|
|
||||||
" - '../src/Tests/'",
|
|
||||||
"",
|
|
||||||
" # controllers are imported separately to make sure services can be injected",
|
|
||||||
" # as action arguments even if you don't extend any base controller class",
|
|
||||||
" App\\Controller\\:",
|
|
||||||
" resource: '../src/Controller/'",
|
|
||||||
" tags: ['controller.service_arguments']",
|
|
||||||
"",
|
|
||||||
" # add more service definitions when explicit configuration is needed",
|
|
||||||
" # please note that last definitions always *replace* previous ones",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/packages/framework.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"# see https://symfony.com/doc/current/reference/configuration/framework.html",
|
|
||||||
"framework:",
|
|
||||||
" secret: '%env(APP_SECRET)%'",
|
|
||||||
" #csrf_protection: true",
|
|
||||||
" #http_method_override: true",
|
|
||||||
"",
|
|
||||||
" # Enables session support. Note that the session will ONLY be started if you read or write from it.",
|
|
||||||
" # Remove or comment this section to explicitly disable session support.",
|
|
||||||
" session:",
|
|
||||||
" handler_id: null",
|
|
||||||
" cookie_secure: auto",
|
|
||||||
" cookie_samesite: lax",
|
|
||||||
"",
|
|
||||||
" #esi: true",
|
|
||||||
" #fragments: true",
|
|
||||||
" php_errors:",
|
|
||||||
" log: true",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/packages/cache.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"framework:",
|
|
||||||
" cache:",
|
|
||||||
" # Unique name of your app: used to compute stable namespaces for cache keys.",
|
|
||||||
" #prefix_seed: your_vendor_name/app_name",
|
|
||||||
"",
|
|
||||||
" # The \"app\" cache stores to the filesystem by default.",
|
|
||||||
" # The data in this cache should persist between deploys.",
|
|
||||||
" # Other options include:",
|
|
||||||
"",
|
|
||||||
" # Redis",
|
|
||||||
" #app: cache.adapter.redis",
|
|
||||||
" #default_redis_provider: redis://localhost",
|
|
||||||
"",
|
|
||||||
" # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)",
|
|
||||||
" #app: cache.adapter.apcu",
|
|
||||||
"",
|
|
||||||
" # Namespaced pools use the above \"app\" backend by default",
|
|
||||||
" #pools:",
|
|
||||||
" #my.dedicated.cache: null",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/packages/test/framework.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"framework:",
|
|
||||||
" test: true",
|
|
||||||
" session:",
|
|
||||||
" storage_id: session.storage.mock_file",
|
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
|
|||||||
+111
-111
@@ -77,8 +77,117 @@
|
|||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
},
|
||||||
"src/Controller/.gitignore": {
|
"config/services.yaml": {
|
||||||
"contents": [
|
"contents": [
|
||||||
|
"# This file is the entry point to configure your own services.",
|
||||||
|
"# Files in the packages/ subdirectory configure your dependencies.",
|
||||||
|
"",
|
||||||
|
"# Put parameters here that don't need to change on each machine where the app is deployed",
|
||||||
|
"# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration",
|
||||||
|
"parameters:",
|
||||||
|
"",
|
||||||
|
"services:",
|
||||||
|
" # default configuration for services in *this* file",
|
||||||
|
" _defaults:",
|
||||||
|
" autowire: true # Automatically injects dependencies in your services.",
|
||||||
|
" autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.",
|
||||||
|
"",
|
||||||
|
" # makes classes in src/ available to be used as services",
|
||||||
|
" # this creates a service per class whose id is the fully-qualified class name",
|
||||||
|
" App\\:",
|
||||||
|
" resource: '../src/'",
|
||||||
|
" exclude:",
|
||||||
|
" - '../src/DependencyInjection/'",
|
||||||
|
" - '../src/Entity/'",
|
||||||
|
" - '../src/Kernel.php'",
|
||||||
|
" - '../src/Tests/'",
|
||||||
|
"",
|
||||||
|
" # controllers are imported separately to make sure services can be injected",
|
||||||
|
" # as action arguments even if you don't extend any base controller class",
|
||||||
|
" App\\Controller\\:",
|
||||||
|
" resource: '../src/Controller/'",
|
||||||
|
" tags: ['controller.service_arguments']",
|
||||||
|
"",
|
||||||
|
" # add more service definitions when explicit configuration is needed",
|
||||||
|
" # please note that last definitions always *replace* previous ones",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"config/routes/dev/framework.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"_errors:",
|
||||||
|
" resource: '@FrameworkBundle/Resources/config/routing/errors.xml'",
|
||||||
|
" prefix: /_error",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"config/preload.php": {
|
||||||
|
"contents": [
|
||||||
|
"<?php",
|
||||||
|
"",
|
||||||
|
"if (file_exists(dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php')) {",
|
||||||
|
" require dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php';",
|
||||||
|
"}",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"config/packages/cache.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"framework:",
|
||||||
|
" cache:",
|
||||||
|
" # Unique name of your app: used to compute stable namespaces for cache keys.",
|
||||||
|
" #prefix_seed: your_vendor_name/app_name",
|
||||||
|
"",
|
||||||
|
" # The \"app\" cache stores to the filesystem by default.",
|
||||||
|
" # The data in this cache should persist between deploys.",
|
||||||
|
" # Other options include:",
|
||||||
|
"",
|
||||||
|
" # Redis",
|
||||||
|
" #app: cache.adapter.redis",
|
||||||
|
" #default_redis_provider: redis://localhost",
|
||||||
|
"",
|
||||||
|
" # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)",
|
||||||
|
" #app: cache.adapter.apcu",
|
||||||
|
"",
|
||||||
|
" # Namespaced pools use the above \"app\" backend by default",
|
||||||
|
" #pools:",
|
||||||
|
" #my.dedicated.cache: null",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"config/packages/framework.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"# see https://symfony.com/doc/current/reference/configuration/framework.html",
|
||||||
|
"framework:",
|
||||||
|
" secret: '%env(APP_SECRET)%'",
|
||||||
|
" #csrf_protection: true",
|
||||||
|
" #http_method_override: true",
|
||||||
|
"",
|
||||||
|
" # Enables session support. Note that the session will ONLY be started if you read or write from it.",
|
||||||
|
" # Remove or comment this section to explicitly disable session support.",
|
||||||
|
" session:",
|
||||||
|
" handler_id: null",
|
||||||
|
" cookie_secure: auto",
|
||||||
|
" cookie_samesite: lax",
|
||||||
|
"",
|
||||||
|
" #esi: true",
|
||||||
|
" #fragments: true",
|
||||||
|
" php_errors:",
|
||||||
|
" log: true",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"config/packages/test/framework.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"framework:",
|
||||||
|
" test: true",
|
||||||
|
" session:",
|
||||||
|
" storage_id: session.storage.mock_file",
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
@@ -127,117 +236,8 @@
|
|||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
},
|
||||||
"config/routes/dev/framework.yaml": {
|
"src/Controller/.gitignore": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"_errors:",
|
|
||||||
" resource: '@FrameworkBundle/Resources/config/routing/errors.xml'",
|
|
||||||
" prefix: /_error",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/preload.php": {
|
|
||||||
"contents": [
|
|
||||||
"<?php",
|
|
||||||
"",
|
|
||||||
"if (file_exists(dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php')) {",
|
|
||||||
" require dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php';",
|
|
||||||
"}",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/services.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"# This file is the entry point to configure your own services.",
|
|
||||||
"# Files in the packages/ subdirectory configure your dependencies.",
|
|
||||||
"",
|
|
||||||
"# Put parameters here that don't need to change on each machine where the app is deployed",
|
|
||||||
"# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration",
|
|
||||||
"parameters:",
|
|
||||||
"",
|
|
||||||
"services:",
|
|
||||||
" # default configuration for services in *this* file",
|
|
||||||
" _defaults:",
|
|
||||||
" autowire: true # Automatically injects dependencies in your services.",
|
|
||||||
" autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.",
|
|
||||||
"",
|
|
||||||
" # makes classes in src/ available to be used as services",
|
|
||||||
" # this creates a service per class whose id is the fully-qualified class name",
|
|
||||||
" App\\:",
|
|
||||||
" resource: '../src/'",
|
|
||||||
" exclude:",
|
|
||||||
" - '../src/DependencyInjection/'",
|
|
||||||
" - '../src/Entity/'",
|
|
||||||
" - '../src/Kernel.php'",
|
|
||||||
" - '../src/Tests/'",
|
|
||||||
"",
|
|
||||||
" # controllers are imported separately to make sure services can be injected",
|
|
||||||
" # as action arguments even if you don't extend any base controller class",
|
|
||||||
" App\\Controller\\:",
|
|
||||||
" resource: '../src/Controller/'",
|
|
||||||
" tags: ['controller.service_arguments']",
|
|
||||||
"",
|
|
||||||
" # add more service definitions when explicit configuration is needed",
|
|
||||||
" # please note that last definitions always *replace* previous ones",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/packages/framework.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"# see https://symfony.com/doc/current/reference/configuration/framework.html",
|
|
||||||
"framework:",
|
|
||||||
" secret: '%env(APP_SECRET)%'",
|
|
||||||
" #csrf_protection: true",
|
|
||||||
" #http_method_override: true",
|
|
||||||
"",
|
|
||||||
" # Enables session support. Note that the session will ONLY be started if you read or write from it.",
|
|
||||||
" # Remove or comment this section to explicitly disable session support.",
|
|
||||||
" session:",
|
|
||||||
" handler_id: null",
|
|
||||||
" cookie_secure: auto",
|
|
||||||
" cookie_samesite: lax",
|
|
||||||
"",
|
|
||||||
" #esi: true",
|
|
||||||
" #fragments: true",
|
|
||||||
" php_errors:",
|
|
||||||
" log: true",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/packages/cache.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"framework:",
|
|
||||||
" cache:",
|
|
||||||
" # Unique name of your app: used to compute stable namespaces for cache keys.",
|
|
||||||
" #prefix_seed: your_vendor_name/app_name",
|
|
||||||
"",
|
|
||||||
" # The \"app\" cache stores to the filesystem by default.",
|
|
||||||
" # The data in this cache should persist between deploys.",
|
|
||||||
" # Other options include:",
|
|
||||||
"",
|
|
||||||
" # Redis",
|
|
||||||
" #app: cache.adapter.redis",
|
|
||||||
" #default_redis_provider: redis://localhost",
|
|
||||||
"",
|
|
||||||
" # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)",
|
|
||||||
" #app: cache.adapter.apcu",
|
|
||||||
"",
|
|
||||||
" # Namespaced pools use the above \"app\" backend by default",
|
|
||||||
" #pools:",
|
|
||||||
" #my.dedicated.cache: null",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/packages/test/framework.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"framework:",
|
|
||||||
" test: true",
|
|
||||||
" session:",
|
|
||||||
" storage_id: session.storage.mock_file",
|
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
|
|||||||
+111
-111
@@ -67,8 +67,117 @@
|
|||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
},
|
||||||
"src/Controller/.gitignore": {
|
"config/services.yaml": {
|
||||||
"contents": [
|
"contents": [
|
||||||
|
"# This file is the entry point to configure your own services.",
|
||||||
|
"# Files in the packages/ subdirectory configure your dependencies.",
|
||||||
|
"",
|
||||||
|
"# Put parameters here that don't need to change on each machine where the app is deployed",
|
||||||
|
"# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration",
|
||||||
|
"parameters:",
|
||||||
|
"",
|
||||||
|
"services:",
|
||||||
|
" # default configuration for services in *this* file",
|
||||||
|
" _defaults:",
|
||||||
|
" autowire: true # Automatically injects dependencies in your services.",
|
||||||
|
" autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.",
|
||||||
|
"",
|
||||||
|
" # makes classes in src/ available to be used as services",
|
||||||
|
" # this creates a service per class whose id is the fully-qualified class name",
|
||||||
|
" App\\:",
|
||||||
|
" resource: '../src/'",
|
||||||
|
" exclude:",
|
||||||
|
" - '../src/DependencyInjection/'",
|
||||||
|
" - '../src/Entity/'",
|
||||||
|
" - '../src/Kernel.php'",
|
||||||
|
" - '../src/Tests/'",
|
||||||
|
"",
|
||||||
|
" # controllers are imported separately to make sure services can be injected",
|
||||||
|
" # as action arguments even if you don't extend any base controller class",
|
||||||
|
" App\\Controller\\:",
|
||||||
|
" resource: '../src/Controller/'",
|
||||||
|
" tags: ['controller.service_arguments']",
|
||||||
|
"",
|
||||||
|
" # add more service definitions when explicit configuration is needed",
|
||||||
|
" # please note that last definitions always *replace* previous ones",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"config/routes/dev/framework.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"_errors:",
|
||||||
|
" resource: '@FrameworkBundle/Resources/config/routing/errors.xml'",
|
||||||
|
" prefix: /_error",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"config/preload.php": {
|
||||||
|
"contents": [
|
||||||
|
"<?php",
|
||||||
|
"",
|
||||||
|
"if (file_exists(dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php')) {",
|
||||||
|
" require dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php';",
|
||||||
|
"}",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"config/packages/cache.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"framework:",
|
||||||
|
" cache:",
|
||||||
|
" # Unique name of your app: used to compute stable namespaces for cache keys.",
|
||||||
|
" #prefix_seed: your_vendor_name/app_name",
|
||||||
|
"",
|
||||||
|
" # The \"app\" cache stores to the filesystem by default.",
|
||||||
|
" # The data in this cache should persist between deploys.",
|
||||||
|
" # Other options include:",
|
||||||
|
"",
|
||||||
|
" # Redis",
|
||||||
|
" #app: cache.adapter.redis",
|
||||||
|
" #default_redis_provider: redis://localhost",
|
||||||
|
"",
|
||||||
|
" # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)",
|
||||||
|
" #app: cache.adapter.apcu",
|
||||||
|
"",
|
||||||
|
" # Namespaced pools use the above \"app\" backend by default",
|
||||||
|
" #pools:",
|
||||||
|
" #my.dedicated.cache: null",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"config/packages/framework.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"# see https://symfony.com/doc/current/reference/configuration/framework.html",
|
||||||
|
"framework:",
|
||||||
|
" secret: '%env(APP_SECRET)%'",
|
||||||
|
" #csrf_protection: true",
|
||||||
|
" #http_method_override: true",
|
||||||
|
"",
|
||||||
|
" # Enables session support. Note that the session will ONLY be started if you read or write from it.",
|
||||||
|
" # Remove or comment this section to explicitly disable session support.",
|
||||||
|
" session:",
|
||||||
|
" handler_id: null",
|
||||||
|
" cookie_secure: auto",
|
||||||
|
" cookie_samesite: lax",
|
||||||
|
"",
|
||||||
|
" #esi: true",
|
||||||
|
" #fragments: true",
|
||||||
|
" php_errors:",
|
||||||
|
" log: true",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"config/packages/test/framework.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"framework:",
|
||||||
|
" test: true",
|
||||||
|
" session:",
|
||||||
|
" storage_id: session.storage.mock_file",
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
@@ -117,117 +226,8 @@
|
|||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
},
|
||||||
"config/routes/dev/framework.yaml": {
|
"src/Controller/.gitignore": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"_errors:",
|
|
||||||
" resource: '@FrameworkBundle/Resources/config/routing/errors.xml'",
|
|
||||||
" prefix: /_error",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/preload.php": {
|
|
||||||
"contents": [
|
|
||||||
"<?php",
|
|
||||||
"",
|
|
||||||
"if (file_exists(dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php')) {",
|
|
||||||
" require dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php';",
|
|
||||||
"}",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/services.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"# This file is the entry point to configure your own services.",
|
|
||||||
"# Files in the packages/ subdirectory configure your dependencies.",
|
|
||||||
"",
|
|
||||||
"# Put parameters here that don't need to change on each machine where the app is deployed",
|
|
||||||
"# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration",
|
|
||||||
"parameters:",
|
|
||||||
"",
|
|
||||||
"services:",
|
|
||||||
" # default configuration for services in *this* file",
|
|
||||||
" _defaults:",
|
|
||||||
" autowire: true # Automatically injects dependencies in your services.",
|
|
||||||
" autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.",
|
|
||||||
"",
|
|
||||||
" # makes classes in src/ available to be used as services",
|
|
||||||
" # this creates a service per class whose id is the fully-qualified class name",
|
|
||||||
" App\\:",
|
|
||||||
" resource: '../src/'",
|
|
||||||
" exclude:",
|
|
||||||
" - '../src/DependencyInjection/'",
|
|
||||||
" - '../src/Entity/'",
|
|
||||||
" - '../src/Kernel.php'",
|
|
||||||
" - '../src/Tests/'",
|
|
||||||
"",
|
|
||||||
" # controllers are imported separately to make sure services can be injected",
|
|
||||||
" # as action arguments even if you don't extend any base controller class",
|
|
||||||
" App\\Controller\\:",
|
|
||||||
" resource: '../src/Controller/'",
|
|
||||||
" tags: ['controller.service_arguments']",
|
|
||||||
"",
|
|
||||||
" # add more service definitions when explicit configuration is needed",
|
|
||||||
" # please note that last definitions always *replace* previous ones",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/packages/framework.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"# see https://symfony.com/doc/current/reference/configuration/framework.html",
|
|
||||||
"framework:",
|
|
||||||
" secret: '%env(APP_SECRET)%'",
|
|
||||||
" #csrf_protection: true",
|
|
||||||
" #http_method_override: true",
|
|
||||||
"",
|
|
||||||
" # Enables session support. Note that the session will ONLY be started if you read or write from it.",
|
|
||||||
" # Remove or comment this section to explicitly disable session support.",
|
|
||||||
" session:",
|
|
||||||
" handler_id: null",
|
|
||||||
" cookie_secure: auto",
|
|
||||||
" cookie_samesite: lax",
|
|
||||||
"",
|
|
||||||
" #esi: true",
|
|
||||||
" #fragments: true",
|
|
||||||
" php_errors:",
|
|
||||||
" log: true",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/packages/cache.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"framework:",
|
|
||||||
" cache:",
|
|
||||||
" # Unique name of your app: used to compute stable namespaces for cache keys.",
|
|
||||||
" #prefix_seed: your_vendor_name/app_name",
|
|
||||||
"",
|
|
||||||
" # The \"app\" cache stores to the filesystem by default.",
|
|
||||||
" # The data in this cache should persist between deploys.",
|
|
||||||
" # Other options include:",
|
|
||||||
"",
|
|
||||||
" # Redis",
|
|
||||||
" #app: cache.adapter.redis",
|
|
||||||
" #default_redis_provider: redis://localhost",
|
|
||||||
"",
|
|
||||||
" # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)",
|
|
||||||
" #app: cache.adapter.apcu",
|
|
||||||
"",
|
|
||||||
" # Namespaced pools use the above \"app\" backend by default",
|
|
||||||
" #pools:",
|
|
||||||
" #my.dedicated.cache: null",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/packages/test/framework.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"framework:",
|
|
||||||
" test: true",
|
|
||||||
" session:",
|
|
||||||
" storage_id: session.storage.mock_file",
|
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
|
|||||||
+103
-103
@@ -54,8 +54,109 @@
|
|||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
},
|
||||||
"src/Controller/.gitignore": {
|
"config/services.yaml": {
|
||||||
"contents": [
|
"contents": [
|
||||||
|
"# This file is the entry point to configure your own services.",
|
||||||
|
"# Files in the packages/ subdirectory configure your dependencies.",
|
||||||
|
"",
|
||||||
|
"# Put parameters here that don't need to change on each machine where the app is deployed",
|
||||||
|
"# https://symfony.com/doc/current/best_practices.html#use-parameters-for-application-configuration",
|
||||||
|
"parameters:",
|
||||||
|
"",
|
||||||
|
"services:",
|
||||||
|
" # default configuration for services in *this* file",
|
||||||
|
" _defaults:",
|
||||||
|
" autowire: true # Automatically injects dependencies in your services.",
|
||||||
|
" autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.",
|
||||||
|
"",
|
||||||
|
" # makes classes in src/ available to be used as services",
|
||||||
|
" # this creates a service per class whose id is the fully-qualified class name",
|
||||||
|
" App\\:",
|
||||||
|
" resource: '../src/'",
|
||||||
|
" exclude:",
|
||||||
|
" - '../src/DependencyInjection/'",
|
||||||
|
" - '../src/Entity/'",
|
||||||
|
" - '../src/Kernel.php'",
|
||||||
|
" - '../src/Tests/'",
|
||||||
|
"",
|
||||||
|
" # add more service definitions when explicit configuration is needed",
|
||||||
|
" # please note that last definitions always *replace* previous ones",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"config/routes/framework.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"when@dev:",
|
||||||
|
" _errors:",
|
||||||
|
" resource: '@FrameworkBundle/Resources/config/routing/errors.xml'",
|
||||||
|
" prefix: /_error",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"config/preload.php": {
|
||||||
|
"contents": [
|
||||||
|
"<?php",
|
||||||
|
"",
|
||||||
|
"if (file_exists(dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php')) {",
|
||||||
|
" require dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php';",
|
||||||
|
"}",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"config/packages/cache.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"framework:",
|
||||||
|
" cache:",
|
||||||
|
" # Unique name of your app: used to compute stable namespaces for cache keys.",
|
||||||
|
" #prefix_seed: your_vendor_name/app_name",
|
||||||
|
"",
|
||||||
|
" # The \"app\" cache stores to the filesystem by default.",
|
||||||
|
" # The data in this cache should persist between deploys.",
|
||||||
|
" # Other options include:",
|
||||||
|
"",
|
||||||
|
" # Redis",
|
||||||
|
" #app: cache.adapter.redis",
|
||||||
|
" #default_redis_provider: redis://localhost",
|
||||||
|
"",
|
||||||
|
" # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)",
|
||||||
|
" #app: cache.adapter.apcu",
|
||||||
|
"",
|
||||||
|
" # Namespaced pools use the above \"app\" backend by default",
|
||||||
|
" #pools:",
|
||||||
|
" #my.dedicated.cache: null",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"config/packages/framework.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"# see https://symfony.com/doc/current/reference/configuration/framework.html",
|
||||||
|
"framework:",
|
||||||
|
" secret: '%env(APP_SECRET)%'",
|
||||||
|
" #csrf_protection: true",
|
||||||
|
" http_method_override: false",
|
||||||
|
"",
|
||||||
|
" # Enables session support. Note that the session will ONLY be started if you read or write from it.",
|
||||||
|
" # Remove or comment this section to explicitly disable session support.",
|
||||||
|
" session:",
|
||||||
|
" handler_id: null",
|
||||||
|
" cookie_secure: auto",
|
||||||
|
" cookie_samesite: lax",
|
||||||
|
" storage_factory_id: session.storage.factory.native",
|
||||||
|
"",
|
||||||
|
" #esi: true",
|
||||||
|
" #fragments: true",
|
||||||
|
" php_errors:",
|
||||||
|
" log: true",
|
||||||
|
"",
|
||||||
|
"when@test:",
|
||||||
|
" framework:",
|
||||||
|
" test: true",
|
||||||
|
" session:",
|
||||||
|
" storage_factory_id: session.storage.factory.mock_file",
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
@@ -104,109 +205,8 @@
|
|||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
},
|
||||||
"config/routes/framework.yaml": {
|
"src/Controller/.gitignore": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"when@dev:",
|
|
||||||
" _errors:",
|
|
||||||
" resource: '@FrameworkBundle/Resources/config/routing/errors.xml'",
|
|
||||||
" prefix: /_error",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/preload.php": {
|
|
||||||
"contents": [
|
|
||||||
"<?php",
|
|
||||||
"",
|
|
||||||
"if (file_exists(dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php')) {",
|
|
||||||
" require dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php';",
|
|
||||||
"}",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/services.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"# This file is the entry point to configure your own services.",
|
|
||||||
"# Files in the packages/ subdirectory configure your dependencies.",
|
|
||||||
"",
|
|
||||||
"# Put parameters here that don't need to change on each machine where the app is deployed",
|
|
||||||
"# https://symfony.com/doc/current/best_practices.html#use-parameters-for-application-configuration",
|
|
||||||
"parameters:",
|
|
||||||
"",
|
|
||||||
"services:",
|
|
||||||
" # default configuration for services in *this* file",
|
|
||||||
" _defaults:",
|
|
||||||
" autowire: true # Automatically injects dependencies in your services.",
|
|
||||||
" autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.",
|
|
||||||
"",
|
|
||||||
" # makes classes in src/ available to be used as services",
|
|
||||||
" # this creates a service per class whose id is the fully-qualified class name",
|
|
||||||
" App\\:",
|
|
||||||
" resource: '../src/'",
|
|
||||||
" exclude:",
|
|
||||||
" - '../src/DependencyInjection/'",
|
|
||||||
" - '../src/Entity/'",
|
|
||||||
" - '../src/Kernel.php'",
|
|
||||||
" - '../src/Tests/'",
|
|
||||||
"",
|
|
||||||
" # add more service definitions when explicit configuration is needed",
|
|
||||||
" # please note that last definitions always *replace* previous ones",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/packages/framework.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"# see https://symfony.com/doc/current/reference/configuration/framework.html",
|
|
||||||
"framework:",
|
|
||||||
" secret: '%env(APP_SECRET)%'",
|
|
||||||
" #csrf_protection: true",
|
|
||||||
" http_method_override: false",
|
|
||||||
"",
|
|
||||||
" # Enables session support. Note that the session will ONLY be started if you read or write from it.",
|
|
||||||
" # Remove or comment this section to explicitly disable session support.",
|
|
||||||
" session:",
|
|
||||||
" handler_id: null",
|
|
||||||
" cookie_secure: auto",
|
|
||||||
" cookie_samesite: lax",
|
|
||||||
" storage_factory_id: session.storage.factory.native",
|
|
||||||
"",
|
|
||||||
" #esi: true",
|
|
||||||
" #fragments: true",
|
|
||||||
" php_errors:",
|
|
||||||
" log: true",
|
|
||||||
"",
|
|
||||||
"when@test:",
|
|
||||||
" framework:",
|
|
||||||
" test: true",
|
|
||||||
" session:",
|
|
||||||
" storage_factory_id: session.storage.factory.mock_file",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/packages/cache.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"framework:",
|
|
||||||
" cache:",
|
|
||||||
" # Unique name of your app: used to compute stable namespaces for cache keys.",
|
|
||||||
" #prefix_seed: your_vendor_name/app_name",
|
|
||||||
"",
|
|
||||||
" # The \"app\" cache stores to the filesystem by default.",
|
|
||||||
" # The data in this cache should persist between deploys.",
|
|
||||||
" # Other options include:",
|
|
||||||
"",
|
|
||||||
" # Redis",
|
|
||||||
" #app: cache.adapter.redis",
|
|
||||||
" #default_redis_provider: redis://localhost",
|
|
||||||
"",
|
|
||||||
" # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)",
|
|
||||||
" #app: cache.adapter.apcu",
|
|
||||||
"",
|
|
||||||
" # Namespaced pools use the above \"app\" backend by default",
|
|
||||||
" #pools:",
|
|
||||||
" #my.dedicated.cache: null",
|
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
|
|||||||
@@ -54,50 +54,6 @@
|
|||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
},
|
||||||
"src/Controller/.gitignore": {
|
|
||||||
"contents": [
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"src/Kernel.php": {
|
|
||||||
"contents": [
|
|
||||||
"<?php",
|
|
||||||
"",
|
|
||||||
"namespace App;",
|
|
||||||
"",
|
|
||||||
"use Symfony\\Bundle\\FrameworkBundle\\Kernel\\MicroKernelTrait;",
|
|
||||||
"use Symfony\\Component\\HttpKernel\\Kernel as BaseKernel;",
|
|
||||||
"",
|
|
||||||
"class Kernel extends BaseKernel",
|
|
||||||
"{",
|
|
||||||
" use MicroKernelTrait;",
|
|
||||||
"}",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/routes/framework.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"when@dev:",
|
|
||||||
" _errors:",
|
|
||||||
" resource: '@FrameworkBundle/Resources/config/routing/errors.xml'",
|
|
||||||
" prefix: /_error",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/preload.php": {
|
|
||||||
"contents": [
|
|
||||||
"<?php",
|
|
||||||
"",
|
|
||||||
"if (file_exists(dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php')) {",
|
|
||||||
" require dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php';",
|
|
||||||
"}",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/services.yaml": {
|
"config/services.yaml": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"# This file is the entry point to configure your own services.",
|
"# This file is the entry point to configure your own services.",
|
||||||
@@ -129,6 +85,52 @@
|
|||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
},
|
||||||
|
"config/routes/framework.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"when@dev:",
|
||||||
|
" _errors:",
|
||||||
|
" resource: '@FrameworkBundle/Resources/config/routing/errors.xml'",
|
||||||
|
" prefix: /_error",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"config/preload.php": {
|
||||||
|
"contents": [
|
||||||
|
"<?php",
|
||||||
|
"",
|
||||||
|
"if (file_exists(dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php')) {",
|
||||||
|
" require dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php';",
|
||||||
|
"}",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"config/packages/cache.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"framework:",
|
||||||
|
" cache:",
|
||||||
|
" # Unique name of your app: used to compute stable namespaces for cache keys.",
|
||||||
|
" #prefix_seed: your_vendor_name/app_name",
|
||||||
|
"",
|
||||||
|
" # The \"app\" cache stores to the filesystem by default.",
|
||||||
|
" # The data in this cache should persist between deploys.",
|
||||||
|
" # Other options include:",
|
||||||
|
"",
|
||||||
|
" # Redis",
|
||||||
|
" #app: cache.adapter.redis",
|
||||||
|
" #default_redis_provider: redis://localhost",
|
||||||
|
"",
|
||||||
|
" # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)",
|
||||||
|
" #app: cache.adapter.apcu",
|
||||||
|
"",
|
||||||
|
" # Namespaced pools use the above \"app\" backend by default",
|
||||||
|
" #pools:",
|
||||||
|
" #my.dedicated.cache: null",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
"config/packages/framework.yaml": {
|
"config/packages/framework.yaml": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"# see https://symfony.com/doc/current/reference/configuration/framework.html",
|
"# see https://symfony.com/doc/current/reference/configuration/framework.html",
|
||||||
@@ -159,27 +161,25 @@
|
|||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
},
|
||||||
"config/packages/cache.yaml": {
|
"src/Kernel.php": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"framework:",
|
"<?php",
|
||||||
" cache:",
|
|
||||||
" # Unique name of your app: used to compute stable namespaces for cache keys.",
|
|
||||||
" #prefix_seed: your_vendor_name/app_name",
|
|
||||||
"",
|
"",
|
||||||
" # The \"app\" cache stores to the filesystem by default.",
|
"namespace App;",
|
||||||
" # The data in this cache should persist between deploys.",
|
|
||||||
" # Other options include:",
|
|
||||||
"",
|
"",
|
||||||
" # Redis",
|
"use Symfony\\Bundle\\FrameworkBundle\\Kernel\\MicroKernelTrait;",
|
||||||
" #app: cache.adapter.redis",
|
"use Symfony\\Component\\HttpKernel\\Kernel as BaseKernel;",
|
||||||
" #default_redis_provider: redis://localhost",
|
|
||||||
"",
|
"",
|
||||||
" # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)",
|
"class Kernel extends BaseKernel",
|
||||||
" #app: cache.adapter.apcu",
|
"{",
|
||||||
"",
|
" use MicroKernelTrait;",
|
||||||
" # Namespaced pools use the above \"app\" backend by default",
|
"}",
|
||||||
" #pools:",
|
""
|
||||||
" #my.dedicated.cache: null",
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"src/Controller/.gitignore": {
|
||||||
|
"contents": [
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"files": {
|
"files": {
|
||||||
"config/packages/dev/monolog.yaml": {
|
"config/packages/test/monolog.yaml": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"monolog:",
|
"monolog:",
|
||||||
" handlers:",
|
" handlers:",
|
||||||
@@ -21,18 +21,6 @@
|
|||||||
" path: \"%kernel.logs_dir%/%kernel.environment%.log\"",
|
" path: \"%kernel.logs_dir%/%kernel.environment%.log\"",
|
||||||
" level: debug",
|
" level: debug",
|
||||||
" channels: [\"!event\"]",
|
" 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\"]",
|
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
@@ -75,7 +63,7 @@
|
|||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
},
|
||||||
"config/packages/test/monolog.yaml": {
|
"config/packages/dev/monolog.yaml": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"monolog:",
|
"monolog:",
|
||||||
" handlers:",
|
" handlers:",
|
||||||
@@ -84,6 +72,18 @@
|
|||||||
" path: \"%kernel.logs_dir%/%kernel.environment%.log\"",
|
" path: \"%kernel.logs_dir%/%kernel.environment%.log\"",
|
||||||
" level: debug",
|
" level: debug",
|
||||||
" channels: [\"!event\"]",
|
" 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\"]",
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
|
|||||||
@@ -12,27 +12,20 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"files": {
|
"files": {
|
||||||
"config/packages/dev/monolog.yaml": {
|
"config/packages/test/monolog.yaml": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"monolog:",
|
"monolog:",
|
||||||
" handlers:",
|
" handlers:",
|
||||||
" main:",
|
" main:",
|
||||||
|
" type: fingers_crossed",
|
||||||
|
" action_level: error",
|
||||||
|
" handler: nested",
|
||||||
|
" excluded_http_codes: [404, 405]",
|
||||||
|
" channels: [\"!event\"]",
|
||||||
|
" nested:",
|
||||||
" type: stream",
|
" type: stream",
|
||||||
" path: \"%kernel.logs_dir%/%kernel.environment%.log\"",
|
" path: \"%kernel.logs_dir%/%kernel.environment%.log\"",
|
||||||
" level: debug",
|
" 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\"]",
|
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
@@ -73,20 +66,27 @@
|
|||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
},
|
||||||
"config/packages/test/monolog.yaml": {
|
"config/packages/dev/monolog.yaml": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"monolog:",
|
"monolog:",
|
||||||
" handlers:",
|
" handlers:",
|
||||||
" main:",
|
" main:",
|
||||||
" type: fingers_crossed",
|
|
||||||
" action_level: error",
|
|
||||||
" handler: nested",
|
|
||||||
" excluded_http_codes: [404, 405]",
|
|
||||||
" channels: [\"!event\"]",
|
|
||||||
" nested:",
|
|
||||||
" type: stream",
|
" type: stream",
|
||||||
" path: \"%kernel.logs_dir%/%kernel.environment%.log\"",
|
" path: \"%kernel.logs_dir%/%kernel.environment%.log\"",
|
||||||
" level: debug",
|
" 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\"]",
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
|
|||||||
@@ -12,27 +12,20 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"files": {
|
"files": {
|
||||||
"config/packages/dev/monolog.yaml": {
|
"config/packages/test/monolog.yaml": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"monolog:",
|
"monolog:",
|
||||||
" handlers:",
|
" handlers:",
|
||||||
" main:",
|
" main:",
|
||||||
|
" type: fingers_crossed",
|
||||||
|
" action_level: error",
|
||||||
|
" handler: nested",
|
||||||
|
" excluded_http_codes: [404, 405]",
|
||||||
|
" channels: [\"!event\"]",
|
||||||
|
" nested:",
|
||||||
" type: stream",
|
" type: stream",
|
||||||
" path: \"%kernel.logs_dir%/%kernel.environment%.log\"",
|
" path: \"%kernel.logs_dir%/%kernel.environment%.log\"",
|
||||||
" level: debug",
|
" 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\"]",
|
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
@@ -74,20 +67,27 @@
|
|||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
},
|
||||||
"config/packages/test/monolog.yaml": {
|
"config/packages/dev/monolog.yaml": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"monolog:",
|
"monolog:",
|
||||||
" handlers:",
|
" handlers:",
|
||||||
" main:",
|
" main:",
|
||||||
" type: fingers_crossed",
|
|
||||||
" action_level: error",
|
|
||||||
" handler: nested",
|
|
||||||
" excluded_http_codes: [404, 405]",
|
|
||||||
" channels: [\"!event\"]",
|
|
||||||
" nested:",
|
|
||||||
" type: stream",
|
" type: stream",
|
||||||
" path: \"%kernel.logs_dir%/%kernel.environment%.log\"",
|
" path: \"%kernel.logs_dir%/%kernel.environment%.log\"",
|
||||||
" level: debug",
|
" 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\"]",
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
|
|||||||
@@ -19,41 +19,6 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"files": {
|
"files": {
|
||||||
".env.test": {
|
|
||||||
"contents": [
|
|
||||||
"# define your env variables for the test env here",
|
|
||||||
"KERNEL_CLASS='App\\Kernel'",
|
|
||||||
"APP_SECRET='$ecretf0rt3st'",
|
|
||||||
"SYMFONY_DEPRECATIONS_HELPER=999999",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"bin/phpunit": {
|
|
||||||
"contents": [
|
|
||||||
"#!/usr/bin/env php",
|
|
||||||
"<?php",
|
|
||||||
"",
|
|
||||||
"if (!file_exists(dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit')) {",
|
|
||||||
" echo \"Unable to find the `simple-phpunit` script in `vendor/symfony/phpunit-bridge/bin/`.\\n\";",
|
|
||||||
" exit(1);",
|
|
||||||
"}",
|
|
||||||
"",
|
|
||||||
"if (false === getenv('SYMFONY_PHPUNIT_VERSION')) {",
|
|
||||||
" putenv('SYMFONY_PHPUNIT_VERSION=6.5');",
|
|
||||||
"}",
|
|
||||||
"if (false === getenv('SYMFONY_PHPUNIT_REMOVE')) {",
|
|
||||||
" putenv('SYMFONY_PHPUNIT_REMOVE=symfony/yaml');",
|
|
||||||
"}",
|
|
||||||
"if (false === getenv('SYMFONY_PHPUNIT_DIR')) {",
|
|
||||||
" putenv('SYMFONY_PHPUNIT_DIR='.__DIR__.'/.phpunit');",
|
|
||||||
"}",
|
|
||||||
"",
|
|
||||||
"require dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit';",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": true
|
|
||||||
},
|
|
||||||
"phpunit.xml.dist": {
|
"phpunit.xml.dist": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
|
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
|
||||||
@@ -92,6 +57,41 @@
|
|||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
},
|
||||||
|
"bin/phpunit": {
|
||||||
|
"contents": [
|
||||||
|
"#!/usr/bin/env php",
|
||||||
|
"<?php",
|
||||||
|
"",
|
||||||
|
"if (!file_exists(dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit')) {",
|
||||||
|
" echo \"Unable to find the `simple-phpunit` script in `vendor/symfony/phpunit-bridge/bin/`.\\n\";",
|
||||||
|
" exit(1);",
|
||||||
|
"}",
|
||||||
|
"",
|
||||||
|
"if (false === getenv('SYMFONY_PHPUNIT_VERSION')) {",
|
||||||
|
" putenv('SYMFONY_PHPUNIT_VERSION=6.5');",
|
||||||
|
"}",
|
||||||
|
"if (false === getenv('SYMFONY_PHPUNIT_REMOVE')) {",
|
||||||
|
" putenv('SYMFONY_PHPUNIT_REMOVE=symfony/yaml');",
|
||||||
|
"}",
|
||||||
|
"if (false === getenv('SYMFONY_PHPUNIT_DIR')) {",
|
||||||
|
" putenv('SYMFONY_PHPUNIT_DIR='.__DIR__.'/.phpunit');",
|
||||||
|
"}",
|
||||||
|
"",
|
||||||
|
"require dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit';",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": true
|
||||||
|
},
|
||||||
|
".env.test": {
|
||||||
|
"contents": [
|
||||||
|
"# define your env variables for the test env here",
|
||||||
|
"KERNEL_CLASS='App\\Kernel'",
|
||||||
|
"APP_SECRET='$ecretf0rt3st'",
|
||||||
|
"SYMFONY_DEPRECATIONS_HELPER=999999",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
"tests/bootstrap.php": {
|
"tests/bootstrap.php": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"<?php",
|
"<?php",
|
||||||
|
|||||||
@@ -19,37 +19,6 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"files": {
|
"files": {
|
||||||
".env.test": {
|
|
||||||
"contents": [
|
|
||||||
"# define your env variables for the test env here",
|
|
||||||
"KERNEL_CLASS='App\\Kernel'",
|
|
||||||
"APP_SECRET='$ecretf0rt3st'",
|
|
||||||
"SYMFONY_DEPRECATIONS_HELPER=999999",
|
|
||||||
"PANTHER_APP_ENV=panther",
|
|
||||||
"PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"bin/phpunit": {
|
|
||||||
"contents": [
|
|
||||||
"#!/usr/bin/env php",
|
|
||||||
"<?php",
|
|
||||||
"",
|
|
||||||
"if (!file_exists(dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit')) {",
|
|
||||||
" echo \"Unable to find the `simple-phpunit` script in `vendor/symfony/phpunit-bridge/bin/`.\\n\";",
|
|
||||||
" exit(1);",
|
|
||||||
"}",
|
|
||||||
"",
|
|
||||||
"if (false === getenv('SYMFONY_PHPUNIT_DIR')) {",
|
|
||||||
" putenv('SYMFONY_PHPUNIT_DIR='.__DIR__.'/.phpunit');",
|
|
||||||
"}",
|
|
||||||
"",
|
|
||||||
"require dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit';",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": true
|
|
||||||
},
|
|
||||||
"phpunit.xml.dist": {
|
"phpunit.xml.dist": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
|
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
|
||||||
@@ -89,6 +58,37 @@
|
|||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
},
|
||||||
|
"bin/phpunit": {
|
||||||
|
"contents": [
|
||||||
|
"#!/usr/bin/env php",
|
||||||
|
"<?php",
|
||||||
|
"",
|
||||||
|
"if (!file_exists(dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit')) {",
|
||||||
|
" echo \"Unable to find the `simple-phpunit` script in `vendor/symfony/phpunit-bridge/bin/`.\\n\";",
|
||||||
|
" exit(1);",
|
||||||
|
"}",
|
||||||
|
"",
|
||||||
|
"if (false === getenv('SYMFONY_PHPUNIT_DIR')) {",
|
||||||
|
" putenv('SYMFONY_PHPUNIT_DIR='.__DIR__.'/.phpunit');",
|
||||||
|
"}",
|
||||||
|
"",
|
||||||
|
"require dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit';",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": true
|
||||||
|
},
|
||||||
|
".env.test": {
|
||||||
|
"contents": [
|
||||||
|
"# define your env variables for the test env here",
|
||||||
|
"KERNEL_CLASS='App\\Kernel'",
|
||||||
|
"APP_SECRET='$ecretf0rt3st'",
|
||||||
|
"SYMFONY_DEPRECATIONS_HELPER=999999",
|
||||||
|
"PANTHER_APP_ENV=panther",
|
||||||
|
"PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
"tests/bootstrap.php": {
|
"tests/bootstrap.php": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"<?php",
|
"<?php",
|
||||||
|
|||||||
@@ -19,37 +19,6 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"files": {
|
"files": {
|
||||||
".env.test": {
|
|
||||||
"contents": [
|
|
||||||
"# define your env variables for the test env here",
|
|
||||||
"KERNEL_CLASS='App\\Kernel'",
|
|
||||||
"APP_SECRET='$ecretf0rt3st'",
|
|
||||||
"SYMFONY_DEPRECATIONS_HELPER=999999",
|
|
||||||
"PANTHER_APP_ENV=panther",
|
|
||||||
"PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"bin/phpunit": {
|
|
||||||
"contents": [
|
|
||||||
"#!/usr/bin/env php",
|
|
||||||
"<?php",
|
|
||||||
"",
|
|
||||||
"if (!file_exists(dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php')) {",
|
|
||||||
" echo \"Unable to find the `simple-phpunit.php` script in `vendor/symfony/phpunit-bridge/bin/`.\\n\";",
|
|
||||||
" exit(1);",
|
|
||||||
"}",
|
|
||||||
"",
|
|
||||||
"if (false === getenv('SYMFONY_PHPUNIT_DIR')) {",
|
|
||||||
" putenv('SYMFONY_PHPUNIT_DIR='.__DIR__.'/.phpunit');",
|
|
||||||
"}",
|
|
||||||
"",
|
|
||||||
"require dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php';",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": true
|
|
||||||
},
|
|
||||||
"phpunit.xml.dist": {
|
"phpunit.xml.dist": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
|
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
|
||||||
@@ -90,6 +59,37 @@
|
|||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
},
|
||||||
|
"bin/phpunit": {
|
||||||
|
"contents": [
|
||||||
|
"#!/usr/bin/env php",
|
||||||
|
"<?php",
|
||||||
|
"",
|
||||||
|
"if (!file_exists(dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php')) {",
|
||||||
|
" echo \"Unable to find the `simple-phpunit.php` script in `vendor/symfony/phpunit-bridge/bin/`.\\n\";",
|
||||||
|
" exit(1);",
|
||||||
|
"}",
|
||||||
|
"",
|
||||||
|
"if (false === getenv('SYMFONY_PHPUNIT_DIR')) {",
|
||||||
|
" putenv('SYMFONY_PHPUNIT_DIR='.__DIR__.'/.phpunit');",
|
||||||
|
"}",
|
||||||
|
"",
|
||||||
|
"require dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php';",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": true
|
||||||
|
},
|
||||||
|
".env.test": {
|
||||||
|
"contents": [
|
||||||
|
"# define your env variables for the test env here",
|
||||||
|
"KERNEL_CLASS='App\\Kernel'",
|
||||||
|
"APP_SECRET='$ecretf0rt3st'",
|
||||||
|
"SYMFONY_DEPRECATIONS_HELPER=999999",
|
||||||
|
"PANTHER_APP_ENV=panther",
|
||||||
|
"PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
"tests/bootstrap.php": {
|
"tests/bootstrap.php": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"<?php",
|
"<?php",
|
||||||
|
|||||||
@@ -19,37 +19,6 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"files": {
|
"files": {
|
||||||
".env.test": {
|
|
||||||
"contents": [
|
|
||||||
"# define your env variables for the test env here",
|
|
||||||
"KERNEL_CLASS='App\\Kernel'",
|
|
||||||
"APP_SECRET='$ecretf0rt3st'",
|
|
||||||
"SYMFONY_DEPRECATIONS_HELPER=999999",
|
|
||||||
"PANTHER_APP_ENV=panther",
|
|
||||||
"PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"bin/phpunit": {
|
|
||||||
"contents": [
|
|
||||||
"#!/usr/bin/env php",
|
|
||||||
"<?php",
|
|
||||||
"",
|
|
||||||
"if (!file_exists(dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php')) {",
|
|
||||||
" echo \"Unable to find the `simple-phpunit.php` script in `vendor/symfony/phpunit-bridge/bin/`.\\n\";",
|
|
||||||
" exit(1);",
|
|
||||||
"}",
|
|
||||||
"",
|
|
||||||
"if (false === getenv('SYMFONY_PHPUNIT_DIR')) {",
|
|
||||||
" putenv('SYMFONY_PHPUNIT_DIR='.__DIR__.'/.phpunit');",
|
|
||||||
"}",
|
|
||||||
"",
|
|
||||||
"require dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php';",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": true
|
|
||||||
},
|
|
||||||
"phpunit.xml.dist": {
|
"phpunit.xml.dist": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
|
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
|
||||||
@@ -96,6 +65,37 @@
|
|||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
},
|
||||||
|
"bin/phpunit": {
|
||||||
|
"contents": [
|
||||||
|
"#!/usr/bin/env php",
|
||||||
|
"<?php",
|
||||||
|
"",
|
||||||
|
"if (!file_exists(dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php')) {",
|
||||||
|
" echo \"Unable to find the `simple-phpunit.php` script in `vendor/symfony/phpunit-bridge/bin/`.\\n\";",
|
||||||
|
" exit(1);",
|
||||||
|
"}",
|
||||||
|
"",
|
||||||
|
"if (false === getenv('SYMFONY_PHPUNIT_DIR')) {",
|
||||||
|
" putenv('SYMFONY_PHPUNIT_DIR='.__DIR__.'/.phpunit');",
|
||||||
|
"}",
|
||||||
|
"",
|
||||||
|
"require dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php';",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": true
|
||||||
|
},
|
||||||
|
".env.test": {
|
||||||
|
"contents": [
|
||||||
|
"# define your env variables for the test env here",
|
||||||
|
"KERNEL_CLASS='App\\Kernel'",
|
||||||
|
"APP_SECRET='$ecretf0rt3st'",
|
||||||
|
"SYMFONY_DEPRECATIONS_HELPER=999999",
|
||||||
|
"PANTHER_APP_ENV=panther",
|
||||||
|
"PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
"tests/bootstrap.php": {
|
"tests/bootstrap.php": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"<?php",
|
"<?php",
|
||||||
|
|||||||
@@ -19,43 +19,6 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"files": {
|
"files": {
|
||||||
".env.test": {
|
|
||||||
"contents": [
|
|
||||||
"# define your env variables for the test env here",
|
|
||||||
"KERNEL_CLASS='App\\Kernel'",
|
|
||||||
"APP_SECRET='$ecretf0rt3st'",
|
|
||||||
"SYMFONY_DEPRECATIONS_HELPER=999999",
|
|
||||||
"PANTHER_APP_ENV=panther",
|
|
||||||
"PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"bin/phpunit": {
|
|
||||||
"contents": [
|
|
||||||
"#!/usr/bin/env php",
|
|
||||||
"<?php",
|
|
||||||
"",
|
|
||||||
"if (!ini_get('date.timezone')) {",
|
|
||||||
" ini_set('date.timezone', 'UTC');",
|
|
||||||
"}",
|
|
||||||
"",
|
|
||||||
"if (is_file(dirname(__DIR__).'/vendor/phpunit/phpunit/phpunit')) {",
|
|
||||||
" define('PHPUNIT_COMPOSER_INSTALL', dirname(__DIR__).'/vendor/autoload.php');",
|
|
||||||
" require PHPUNIT_COMPOSER_INSTALL;",
|
|
||||||
" PHPUnit\\TextUI\\Command::main();",
|
|
||||||
"} else {",
|
|
||||||
" if (!is_file(dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php')) {",
|
|
||||||
" echo \"Unable to find the `simple-phpunit.php` script in `vendor/symfony/phpunit-bridge/bin/`.\\n\";",
|
|
||||||
" exit(1);",
|
|
||||||
" }",
|
|
||||||
"",
|
|
||||||
" require dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php';",
|
|
||||||
"}",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": true
|
|
||||||
},
|
|
||||||
"phpunit.xml.dist": {
|
"phpunit.xml.dist": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
|
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
|
||||||
@@ -104,6 +67,43 @@
|
|||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
},
|
||||||
|
"bin/phpunit": {
|
||||||
|
"contents": [
|
||||||
|
"#!/usr/bin/env php",
|
||||||
|
"<?php",
|
||||||
|
"",
|
||||||
|
"if (!ini_get('date.timezone')) {",
|
||||||
|
" ini_set('date.timezone', 'UTC');",
|
||||||
|
"}",
|
||||||
|
"",
|
||||||
|
"if (is_file(dirname(__DIR__).'/vendor/phpunit/phpunit/phpunit')) {",
|
||||||
|
" define('PHPUNIT_COMPOSER_INSTALL', dirname(__DIR__).'/vendor/autoload.php');",
|
||||||
|
" require PHPUNIT_COMPOSER_INSTALL;",
|
||||||
|
" PHPUnit\\TextUI\\Command::main();",
|
||||||
|
"} else {",
|
||||||
|
" if (!is_file(dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php')) {",
|
||||||
|
" echo \"Unable to find the `simple-phpunit.php` script in `vendor/symfony/phpunit-bridge/bin/`.\\n\";",
|
||||||
|
" exit(1);",
|
||||||
|
" }",
|
||||||
|
"",
|
||||||
|
" require dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php';",
|
||||||
|
"}",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": true
|
||||||
|
},
|
||||||
|
".env.test": {
|
||||||
|
"contents": [
|
||||||
|
"# define your env variables for the test env here",
|
||||||
|
"KERNEL_CLASS='App\\Kernel'",
|
||||||
|
"APP_SECRET='$ecretf0rt3st'",
|
||||||
|
"SYMFONY_DEPRECATIONS_HELPER=999999",
|
||||||
|
"PANTHER_APP_ENV=panther",
|
||||||
|
"PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
"tests/bootstrap.php": {
|
"tests/bootstrap.php": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"<?php",
|
"<?php",
|
||||||
|
|||||||
@@ -16,15 +16,6 @@
|
|||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
},
|
||||||
"config/packages/prod/routing.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"framework:",
|
|
||||||
" router:",
|
|
||||||
" strict_requirements: null",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/packages/routing.yaml": {
|
"config/packages/routing.yaml": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"framework:",
|
"framework:",
|
||||||
@@ -33,6 +24,15 @@
|
|||||||
""
|
""
|
||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
|
},
|
||||||
|
"config/packages/prod/routing.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"framework:",
|
||||||
|
" router:",
|
||||||
|
" strict_requirements: null",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ref": "683dcb08707ba8d41b7e34adb0344bfd68d248a7"
|
"ref": "683dcb08707ba8d41b7e34adb0344bfd68d248a7"
|
||||||
|
|||||||
@@ -16,15 +16,6 @@
|
|||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
},
|
||||||
"config/packages/prod/routing.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"framework:",
|
|
||||||
" router:",
|
|
||||||
" strict_requirements: null",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/packages/routing.yaml": {
|
"config/packages/routing.yaml": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"framework:",
|
"framework:",
|
||||||
@@ -37,6 +28,15 @@
|
|||||||
""
|
""
|
||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
|
},
|
||||||
|
"config/packages/prod/routing.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"framework:",
|
||||||
|
" router:",
|
||||||
|
" strict_requirements: null",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ref": "8c5b5f86ec3e4547cec9a3ae30c3b40ae51cab1f"
|
"ref": "8c5b5f86ec3e4547cec9a3ae30c3b40ae51cab1f"
|
||||||
|
|||||||
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"manifests": {
|
||||||
|
"symfony/sms77-notifier": {
|
||||||
|
"manifest": {
|
||||||
|
"env": {
|
||||||
|
"#1": "SMS77_DSN=sms77://API_KEY@default?from=FROM"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"files": [],
|
||||||
|
"ref": "218301a71fa1e2b22fdce63f2021563b971e4e87"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -18,16 +18,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"files": {
|
"files": {
|
||||||
"config/packages/dev/swiftmailer.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"# See https://symfony.com/doc/current/email/dev_environment.html",
|
|
||||||
"#swiftmailer:",
|
|
||||||
"# send all emails to a specific address",
|
|
||||||
"# delivery_addresses: ['me@example.com']",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/packages/test/swiftmailer.yaml": {
|
"config/packages/test/swiftmailer.yaml": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"swiftmailer:",
|
"swiftmailer:",
|
||||||
@@ -44,6 +34,16 @@
|
|||||||
""
|
""
|
||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
|
},
|
||||||
|
"config/packages/dev/swiftmailer.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"# See https://symfony.com/doc/current/email/dev_environment.html",
|
||||||
|
"#swiftmailer:",
|
||||||
|
"# send all emails to a specific address",
|
||||||
|
"# delivery_addresses: ['me@example.com']",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ref": "f0b2fccdca2dfd97dc2fd5ad216d5e27c4f895ac"
|
"ref": "f0b2fccdca2dfd97dc2fd5ad216d5e27c4f895ac"
|
||||||
|
|||||||
@@ -13,6 +13,33 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"files": {
|
"files": {
|
||||||
|
"config/routes/dev/twig.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"_errors:",
|
||||||
|
" resource: '@TwigBundle/Resources/config/routing/errors.xml'",
|
||||||
|
" prefix: /_error",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"config/packages/test/twig.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"twig:",
|
||||||
|
" strict_variables: true",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"config/packages/twig.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"twig:",
|
||||||
|
" default_path: '%kernel.project_dir%/templates'",
|
||||||
|
" debug: '%kernel.debug%'",
|
||||||
|
" strict_variables: '%kernel.debug%'",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
"templates/base.html.twig": {
|
"templates/base.html.twig": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"<!DOCTYPE html>",
|
"<!DOCTYPE html>",
|
||||||
@@ -37,33 +64,6 @@
|
|||||||
""
|
""
|
||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
|
||||||
"config/routes/dev/twig.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"_errors:",
|
|
||||||
" resource: '@TwigBundle/Resources/config/routing/errors.xml'",
|
|
||||||
" prefix: /_error",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/packages/twig.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"twig:",
|
|
||||||
" default_path: '%kernel.project_dir%/templates'",
|
|
||||||
" debug: '%kernel.debug%'",
|
|
||||||
" strict_variables: '%kernel.debug%'",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/packages/test/twig.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"twig:",
|
|
||||||
" strict_variables: true",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ref": "7e5381cd17e0e27d1b432af9230b65060b75ac4c"
|
"ref": "7e5381cd17e0e27d1b432af9230b65060b75ac4c"
|
||||||
|
|||||||
@@ -13,6 +13,25 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"files": {
|
"files": {
|
||||||
|
"config/packages/test/twig.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"twig:",
|
||||||
|
" strict_variables: true",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"config/packages/twig.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"twig:",
|
||||||
|
" default_path: '%kernel.project_dir%/templates'",
|
||||||
|
" debug: '%kernel.debug%'",
|
||||||
|
" strict_variables: '%kernel.debug%'",
|
||||||
|
" exception_controller: null",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
"templates/base.html.twig": {
|
"templates/base.html.twig": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"<!DOCTYPE html>",
|
"<!DOCTYPE html>",
|
||||||
@@ -37,25 +56,6 @@
|
|||||||
""
|
""
|
||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
|
||||||
"config/packages/twig.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"twig:",
|
|
||||||
" default_path: '%kernel.project_dir%/templates'",
|
|
||||||
" debug: '%kernel.debug%'",
|
|
||||||
" strict_variables: '%kernel.debug%'",
|
|
||||||
" exception_controller: null",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/packages/test/twig.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"twig:",
|
|
||||||
" strict_variables: true",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ref": "73baff3f7b3cea12a73812a7cfd2c0924a9e250f"
|
"ref": "73baff3f7b3cea12a73812a7cfd2c0924a9e250f"
|
||||||
|
|||||||
@@ -13,6 +13,22 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"files": {
|
"files": {
|
||||||
|
"config/packages/test/twig.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"twig:",
|
||||||
|
" strict_variables: true",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"config/packages/twig.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"twig:",
|
||||||
|
" default_path: '%kernel.project_dir%/templates'",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
"templates/base.html.twig": {
|
"templates/base.html.twig": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"<!DOCTYPE html>",
|
"<!DOCTYPE html>",
|
||||||
@@ -37,22 +53,6 @@
|
|||||||
""
|
""
|
||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
|
||||||
"config/packages/twig.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"twig:",
|
|
||||||
" default_path: '%kernel.project_dir%/templates'",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/packages/test/twig.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"twig:",
|
|
||||||
" strict_variables: true",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ref": "1766a292f47e3bf94bcfc192c2aa090588f9f46d"
|
"ref": "1766a292f47e3bf94bcfc192c2aa090588f9f46d"
|
||||||
|
|||||||
@@ -13,6 +13,18 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"files": {
|
"files": {
|
||||||
|
"config/packages/twig.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"twig:",
|
||||||
|
" default_path: '%kernel.project_dir%/templates'",
|
||||||
|
"",
|
||||||
|
"when@test:",
|
||||||
|
" twig:",
|
||||||
|
" strict_variables: true",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
"templates/base.html.twig": {
|
"templates/base.html.twig": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"<!DOCTYPE html>",
|
"<!DOCTYPE html>",
|
||||||
@@ -37,18 +49,6 @@
|
|||||||
""
|
""
|
||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
|
||||||
"config/packages/twig.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"twig:",
|
|
||||||
" default_path: '%kernel.project_dir%/templates'",
|
|
||||||
"",
|
|
||||||
"when@test:",
|
|
||||||
" twig:",
|
|
||||||
" strict_variables: true",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ref": "3dd530739a4284e3272274c128dbb7a8140a66f1"
|
"ref": "3dd530739a4284e3272274c128dbb7a8140a66f1"
|
||||||
|
|||||||
@@ -13,6 +13,18 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"files": {
|
"files": {
|
||||||
|
"config/packages/twig.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"twig:",
|
||||||
|
" default_path: '%kernel.project_dir%/templates'",
|
||||||
|
"",
|
||||||
|
"when@test:",
|
||||||
|
" twig:",
|
||||||
|
" strict_variables: true",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
"templates/base.html.twig": {
|
"templates/base.html.twig": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"<!DOCTYPE html>",
|
"<!DOCTYPE html>",
|
||||||
@@ -36,18 +48,6 @@
|
|||||||
""
|
""
|
||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
|
||||||
"config/packages/twig.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"twig:",
|
|
||||||
" default_path: '%kernel.project_dir%/templates'",
|
|
||||||
"",
|
|
||||||
"when@test:",
|
|
||||||
" twig:",
|
|
||||||
" strict_variables: true",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ref": "ba5388319da939fbb8a5ffab45179801a936da0d"
|
"ref": "ba5388319da939fbb8a5ffab45179801a936da0d"
|
||||||
|
|||||||
@@ -26,18 +26,6 @@
|
|||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
},
|
||||||
"config/packages/dev/web_profiler.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"web_profiler:",
|
|
||||||
" toolbar: true",
|
|
||||||
" intercept_redirects: false",
|
|
||||||
"",
|
|
||||||
"framework:",
|
|
||||||
" profiler: { only_exceptions: false }",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/packages/test/web_profiler.yaml": {
|
"config/packages/test/web_profiler.yaml": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"web_profiler:",
|
"web_profiler:",
|
||||||
@@ -49,6 +37,18 @@
|
|||||||
""
|
""
|
||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
|
},
|
||||||
|
"config/packages/dev/web_profiler.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"web_profiler:",
|
||||||
|
" toolbar: true",
|
||||||
|
" intercept_redirects: false",
|
||||||
|
"",
|
||||||
|
"framework:",
|
||||||
|
" profiler: { only_exceptions: false }",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ref": "6bdfa1a95f6b2e677ab985cd1af2eae35d62e0f6"
|
"ref": "6bdfa1a95f6b2e677ab985cd1af2eae35d62e0f6"
|
||||||
|
|||||||
@@ -60,47 +60,6 @@
|
|||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
},
|
||||||
"package.json": {
|
|
||||||
"contents": [
|
|
||||||
"{",
|
|
||||||
" \"devDependencies\": {",
|
|
||||||
" \"@symfony/stimulus-bridge\": \"^2.0.0\",",
|
|
||||||
" \"@symfony/webpack-encore\": \"^1.0.0\",",
|
|
||||||
" \"core-js\": \"^3.0.0\",",
|
|
||||||
" \"regenerator-runtime\": \"^0.13.2\",",
|
|
||||||
" \"stimulus\": \"^2.0.0\",",
|
|
||||||
" \"webpack-notifier\": \"^1.6.0\"",
|
|
||||||
" },",
|
|
||||||
" \"license\": \"UNLICENSED\",",
|
|
||||||
" \"private\": true,",
|
|
||||||
" \"scripts\": {",
|
|
||||||
" \"dev-server\": \"encore dev-server\",",
|
|
||||||
" \"dev\": \"encore dev\",",
|
|
||||||
" \"watch\": \"encore dev --watch\",",
|
|
||||||
" \"build\": \"encore production --progress\"",
|
|
||||||
" }",
|
|
||||||
"}",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"assets/bootstrap.js": {
|
|
||||||
"contents": [
|
|
||||||
"import { startStimulusApp } from '@symfony/stimulus-bridge';",
|
|
||||||
"",
|
|
||||||
"// Registers Stimulus controllers from controllers.json and in the controllers/ directory",
|
|
||||||
"export const app = startStimulusApp(require.context(",
|
|
||||||
" '@symfony/stimulus-bridge/lazy-controller-loader!./controllers',",
|
|
||||||
" true,",
|
|
||||||
" /\\.(j|t)sx?$/",
|
|
||||||
"));",
|
|
||||||
"",
|
|
||||||
"// register any custom, 3rd party controllers here",
|
|
||||||
"// app.register('some_controller_name', SomeImportedController);",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"assets/styles/app.css": {
|
"assets/styles/app.css": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"body {",
|
"body {",
|
||||||
@@ -160,6 +119,47 @@
|
|||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
},
|
||||||
|
"assets/bootstrap.js": {
|
||||||
|
"contents": [
|
||||||
|
"import { startStimulusApp } from '@symfony/stimulus-bridge';",
|
||||||
|
"",
|
||||||
|
"// Registers Stimulus controllers from controllers.json and in the controllers/ directory",
|
||||||
|
"export const app = startStimulusApp(require.context(",
|
||||||
|
" '@symfony/stimulus-bridge/lazy-controller-loader!./controllers',",
|
||||||
|
" true,",
|
||||||
|
" /\\.(j|t)sx?$/",
|
||||||
|
"));",
|
||||||
|
"",
|
||||||
|
"// register any custom, 3rd party controllers here",
|
||||||
|
"// app.register('some_controller_name', SomeImportedController);",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"package.json": {
|
||||||
|
"contents": [
|
||||||
|
"{",
|
||||||
|
" \"devDependencies\": {",
|
||||||
|
" \"@symfony/stimulus-bridge\": \"^2.0.0\",",
|
||||||
|
" \"@symfony/webpack-encore\": \"^1.0.0\",",
|
||||||
|
" \"core-js\": \"^3.0.0\",",
|
||||||
|
" \"regenerator-runtime\": \"^0.13.2\",",
|
||||||
|
" \"stimulus\": \"^2.0.0\",",
|
||||||
|
" \"webpack-notifier\": \"^1.6.0\"",
|
||||||
|
" },",
|
||||||
|
" \"license\": \"UNLICENSED\",",
|
||||||
|
" \"private\": true,",
|
||||||
|
" \"scripts\": {",
|
||||||
|
" \"dev-server\": \"encore dev-server\",",
|
||||||
|
" \"dev\": \"encore dev\",",
|
||||||
|
" \"watch\": \"encore dev --watch\",",
|
||||||
|
" \"build\": \"encore production --progress\"",
|
||||||
|
" }",
|
||||||
|
"}",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
"webpack.config.js": {
|
"webpack.config.js": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"const Encore = require('@symfony/webpack-encore');",
|
"const Encore = require('@symfony/webpack-encore');",
|
||||||
|
|||||||
@@ -52,6 +52,14 @@
|
|||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
},
|
||||||
|
"config/packages/test/webpack_encore.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"#webpack_encore:",
|
||||||
|
"# strict_mode: false",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
"config/packages/prod/webpack_encore.yaml": {
|
"config/packages/prod/webpack_encore.yaml": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"#webpack_encore:",
|
"#webpack_encore:",
|
||||||
@@ -62,14 +70,6 @@
|
|||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
},
|
||||||
"config/packages/test/webpack_encore.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"#webpack_encore:",
|
|
||||||
"# strict_mode: false",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/packages/assets.yaml": {
|
"config/packages/assets.yaml": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"framework:",
|
"framework:",
|
||||||
@@ -79,47 +79,6 @@
|
|||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
},
|
||||||
"package.json": {
|
|
||||||
"contents": [
|
|
||||||
"{",
|
|
||||||
" \"devDependencies\": {",
|
|
||||||
" \"@symfony/stimulus-bridge\": \"^2.0.0\",",
|
|
||||||
" \"@symfony/webpack-encore\": \"^1.0.0\",",
|
|
||||||
" \"core-js\": \"^3.0.0\",",
|
|
||||||
" \"regenerator-runtime\": \"^0.13.2\",",
|
|
||||||
" \"stimulus\": \"^2.0.0\",",
|
|
||||||
" \"webpack-notifier\": \"^1.6.0\"",
|
|
||||||
" },",
|
|
||||||
" \"license\": \"UNLICENSED\",",
|
|
||||||
" \"private\": true,",
|
|
||||||
" \"scripts\": {",
|
|
||||||
" \"dev-server\": \"encore dev-server\",",
|
|
||||||
" \"dev\": \"encore dev\",",
|
|
||||||
" \"watch\": \"encore dev --watch\",",
|
|
||||||
" \"build\": \"encore production --progress\"",
|
|
||||||
" }",
|
|
||||||
"}",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"assets/bootstrap.js": {
|
|
||||||
"contents": [
|
|
||||||
"import { startStimulusApp } from '@symfony/stimulus-bridge';",
|
|
||||||
"",
|
|
||||||
"// Registers Stimulus controllers from controllers.json and in the controllers/ directory",
|
|
||||||
"export const app = startStimulusApp(require.context(",
|
|
||||||
" '@symfony/stimulus-bridge/lazy-controller-loader!./controllers',",
|
|
||||||
" true,",
|
|
||||||
" /\\.(j|t)sx?$/",
|
|
||||||
"));",
|
|
||||||
"",
|
|
||||||
"// register any custom, 3rd party controllers here",
|
|
||||||
"// app.register('some_controller_name', SomeImportedController);",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"assets/styles/app.css": {
|
"assets/styles/app.css": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"body {",
|
"body {",
|
||||||
@@ -179,6 +138,47 @@
|
|||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
},
|
||||||
|
"assets/bootstrap.js": {
|
||||||
|
"contents": [
|
||||||
|
"import { startStimulusApp } from '@symfony/stimulus-bridge';",
|
||||||
|
"",
|
||||||
|
"// Registers Stimulus controllers from controllers.json and in the controllers/ directory",
|
||||||
|
"export const app = startStimulusApp(require.context(",
|
||||||
|
" '@symfony/stimulus-bridge/lazy-controller-loader!./controllers',",
|
||||||
|
" true,",
|
||||||
|
" /\\.(j|t)sx?$/",
|
||||||
|
"));",
|
||||||
|
"",
|
||||||
|
"// register any custom, 3rd party controllers here",
|
||||||
|
"// app.register('some_controller_name', SomeImportedController);",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"package.json": {
|
||||||
|
"contents": [
|
||||||
|
"{",
|
||||||
|
" \"devDependencies\": {",
|
||||||
|
" \"@symfony/stimulus-bridge\": \"^2.0.0\",",
|
||||||
|
" \"@symfony/webpack-encore\": \"^1.0.0\",",
|
||||||
|
" \"core-js\": \"^3.0.0\",",
|
||||||
|
" \"regenerator-runtime\": \"^0.13.2\",",
|
||||||
|
" \"stimulus\": \"^2.0.0\",",
|
||||||
|
" \"webpack-notifier\": \"^1.6.0\"",
|
||||||
|
" },",
|
||||||
|
" \"license\": \"UNLICENSED\",",
|
||||||
|
" \"private\": true,",
|
||||||
|
" \"scripts\": {",
|
||||||
|
" \"dev-server\": \"encore dev-server\",",
|
||||||
|
" \"dev\": \"encore dev\",",
|
||||||
|
" \"watch\": \"encore dev --watch\",",
|
||||||
|
" \"build\": \"encore production --progress\"",
|
||||||
|
" }",
|
||||||
|
"}",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
"webpack.config.js": {
|
"webpack.config.js": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"const Encore = require('@symfony/webpack-encore');",
|
"const Encore = require('@symfony/webpack-encore');",
|
||||||
|
|||||||
@@ -69,6 +69,14 @@
|
|||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
},
|
||||||
|
"config/packages/test/webpack_encore.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"#webpack_encore:",
|
||||||
|
"# strict_mode: false",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
"config/packages/prod/webpack_encore.yaml": {
|
"config/packages/prod/webpack_encore.yaml": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"#webpack_encore:",
|
"#webpack_encore:",
|
||||||
@@ -79,14 +87,6 @@
|
|||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
},
|
||||||
"config/packages/test/webpack_encore.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"#webpack_encore:",
|
|
||||||
"# strict_mode: false",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/packages/assets.yaml": {
|
"config/packages/assets.yaml": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"framework:",
|
"framework:",
|
||||||
@@ -96,47 +96,6 @@
|
|||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
},
|
||||||
"package.json": {
|
|
||||||
"contents": [
|
|
||||||
"{",
|
|
||||||
" \"devDependencies\": {",
|
|
||||||
" \"@symfony/stimulus-bridge\": \"^2.0.0\",",
|
|
||||||
" \"@symfony/webpack-encore\": \"^1.0.0\",",
|
|
||||||
" \"core-js\": \"^3.0.0\",",
|
|
||||||
" \"regenerator-runtime\": \"^0.13.2\",",
|
|
||||||
" \"stimulus\": \"^2.0.0\",",
|
|
||||||
" \"webpack-notifier\": \"^1.6.0\"",
|
|
||||||
" },",
|
|
||||||
" \"license\": \"UNLICENSED\",",
|
|
||||||
" \"private\": true,",
|
|
||||||
" \"scripts\": {",
|
|
||||||
" \"dev-server\": \"encore dev-server\",",
|
|
||||||
" \"dev\": \"encore dev\",",
|
|
||||||
" \"watch\": \"encore dev --watch\",",
|
|
||||||
" \"build\": \"encore production --progress\"",
|
|
||||||
" }",
|
|
||||||
"}",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"assets/bootstrap.js": {
|
|
||||||
"contents": [
|
|
||||||
"import { startStimulusApp } from '@symfony/stimulus-bridge';",
|
|
||||||
"",
|
|
||||||
"// Registers Stimulus controllers from controllers.json and in the controllers/ directory",
|
|
||||||
"export const app = startStimulusApp(require.context(",
|
|
||||||
" '@symfony/stimulus-bridge/lazy-controller-loader!./controllers',",
|
|
||||||
" true,",
|
|
||||||
" /\\.(j|t)sx?$/",
|
|
||||||
"));",
|
|
||||||
"",
|
|
||||||
"// register any custom, 3rd party controllers here",
|
|
||||||
"// app.register('some_controller_name', SomeImportedController);",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"assets/styles/app.css": {
|
"assets/styles/app.css": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"body {",
|
"body {",
|
||||||
@@ -196,6 +155,47 @@
|
|||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
},
|
||||||
|
"assets/bootstrap.js": {
|
||||||
|
"contents": [
|
||||||
|
"import { startStimulusApp } from '@symfony/stimulus-bridge';",
|
||||||
|
"",
|
||||||
|
"// Registers Stimulus controllers from controllers.json and in the controllers/ directory",
|
||||||
|
"export const app = startStimulusApp(require.context(",
|
||||||
|
" '@symfony/stimulus-bridge/lazy-controller-loader!./controllers',",
|
||||||
|
" true,",
|
||||||
|
" /\\.(j|t)sx?$/",
|
||||||
|
"));",
|
||||||
|
"",
|
||||||
|
"// register any custom, 3rd party controllers here",
|
||||||
|
"// app.register('some_controller_name', SomeImportedController);",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"package.json": {
|
||||||
|
"contents": [
|
||||||
|
"{",
|
||||||
|
" \"devDependencies\": {",
|
||||||
|
" \"@symfony/stimulus-bridge\": \"^2.0.0\",",
|
||||||
|
" \"@symfony/webpack-encore\": \"^1.0.0\",",
|
||||||
|
" \"core-js\": \"^3.0.0\",",
|
||||||
|
" \"regenerator-runtime\": \"^0.13.2\",",
|
||||||
|
" \"stimulus\": \"^2.0.0\",",
|
||||||
|
" \"webpack-notifier\": \"^1.6.0\"",
|
||||||
|
" },",
|
||||||
|
" \"license\": \"UNLICENSED\",",
|
||||||
|
" \"private\": true,",
|
||||||
|
" \"scripts\": {",
|
||||||
|
" \"dev-server\": \"encore dev-server\",",
|
||||||
|
" \"dev\": \"encore dev\",",
|
||||||
|
" \"watch\": \"encore dev --watch\",",
|
||||||
|
" \"build\": \"encore production --progress\"",
|
||||||
|
" }",
|
||||||
|
"}",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
"webpack.config.js": {
|
"webpack.config.js": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"const Encore = require('@symfony/webpack-encore');",
|
"const Encore = require('@symfony/webpack-encore');",
|
||||||
|
|||||||
+10
-10
@@ -19,16 +19,6 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"files": {
|
"files": {
|
||||||
"config/packages/dev/zenstruck_foundry.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"# See full configuration: https://github.com/zenstruck/foundry#full-default-bundle-configuration",
|
|
||||||
"zenstruck_foundry:",
|
|
||||||
" # Whether to auto-refresh proxies by default (https://github.com/zenstruck/foundry#auto-refresh)",
|
|
||||||
" auto_refresh_proxies: true",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/packages/test/zenstruck_foundry.yaml": {
|
"config/packages/test/zenstruck_foundry.yaml": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"# Unless you want different configuration for test/dev environments,",
|
"# Unless you want different configuration for test/dev environments,",
|
||||||
@@ -39,6 +29,16 @@
|
|||||||
""
|
""
|
||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
|
},
|
||||||
|
"config/packages/dev/zenstruck_foundry.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"# See full configuration: https://github.com/zenstruck/foundry#full-default-bundle-configuration",
|
||||||
|
"zenstruck_foundry:",
|
||||||
|
" # Whether to auto-refresh proxies by default (https://github.com/zenstruck/foundry#auto-refresh)",
|
||||||
|
" auto_refresh_proxies: true",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ref": "26a9e6291d5fc0bfd1d673bc1d6cfe3c582c7678"
|
"ref": "26a9e6291d5fc0bfd1d673bc1d6cfe3c582c7678"
|
||||||
|
|||||||
Reference in New Issue
Block a user