mirror of
https://github.com/symfony/recipes.git
synced 2026-09-17 10:06:28 +03:00
Update Flex endpoint
This commit is contained in:
@@ -23,30 +23,6 @@
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"assets/js/admin.js": {
|
||||
"contents": [
|
||||
"import React from 'react';",
|
||||
"import ReactDOM from 'react-dom';",
|
||||
"import { HydraAdmin } from '@api-platform/admin';",
|
||||
"",
|
||||
"const entrypoint = document.getElementById('api-entrypoint').innerText;",
|
||||
"",
|
||||
"ReactDOM.render(<HydraAdmin entrypoint={entrypoint}/>, document.getElementById('api-platform-admin'));",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/routes/api_platform_admin.yaml": {
|
||||
"contents": [
|
||||
"admin:",
|
||||
" path: /admin",
|
||||
" controller: Symfony\\Bundle\\FrameworkBundle\\Controller\\TemplateController",
|
||||
" defaults:",
|
||||
" template: admin.html.twig",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"templates/admin.html.twig": {
|
||||
"contents": [
|
||||
"{% extends 'base.html.twig' %}",
|
||||
@@ -62,6 +38,30 @@
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/routes/api_platform_admin.yaml": {
|
||||
"contents": [
|
||||
"admin:",
|
||||
" path: /admin",
|
||||
" controller: Symfony\\Bundle\\FrameworkBundle\\Controller\\TemplateController",
|
||||
" defaults:",
|
||||
" template: admin.html.twig",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/js/admin.js": {
|
||||
"contents": [
|
||||
"import React from 'react';",
|
||||
"import ReactDOM from 'react-dom';",
|
||||
"import { HydraAdmin } from '@api-platform/admin';",
|
||||
"",
|
||||
"const entrypoint = document.getElementById('api-entrypoint').innerText;",
|
||||
"",
|
||||
"ReactDOM.render(<HydraAdmin entrypoint={entrypoint}/>, document.getElementById('api-platform-admin'));",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "703c6453b039330753a7ae6cebd0af8ab1d770d8"
|
||||
|
||||
@@ -60,14 +60,40 @@
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"src/Entity/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Repository/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/.gitignore": {
|
||||
"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
|
||||
@@ -103,32 +129,6 @@
|
||||
""
|
||||
],
|
||||
"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
|
||||
}
|
||||
},
|
||||
"ref": "3cc0efdb85531c72c2b25cbb41eec849a279aa64"
|
||||
|
||||
@@ -60,43 +60,14 @@
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"src/Repository/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/doctrine.yaml": {
|
||||
"src/Repository/.gitignore": {
|
||||
"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
|
||||
@@ -138,6 +109,35 @@
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/doctrine.yaml": {
|
||||
"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
|
||||
}
|
||||
},
|
||||
"ref": "e4fc55e8adf9aa89d9bba8f5a95669d33a16cb00"
|
||||
|
||||
@@ -60,38 +60,14 @@
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"src/Repository/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/doctrine.yaml": {
|
||||
"src/Repository/.gitignore": {
|
||||
"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
|
||||
@@ -121,6 +97,30 @@
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/doctrine.yaml": {
|
||||
"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
|
||||
}
|
||||
},
|
||||
"ref": "c3d09597f211294e75b221b1d97a9c22f74957e1"
|
||||
|
||||
@@ -60,38 +60,14 @@
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"src/Repository/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/doctrine.yaml": {
|
||||
"src/Repository/.gitignore": {
|
||||
"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
|
||||
@@ -128,6 +104,30 @@
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/doctrine.yaml": {
|
||||
"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
|
||||
}
|
||||
},
|
||||
"ref": "4f5eb542f01475cc2eb49624e2f1a3ea458e73bf"
|
||||
|
||||
@@ -60,38 +60,14 @@
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"src/Repository/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/doctrine.yaml": {
|
||||
"src/Repository/.gitignore": {
|
||||
"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
|
||||
@@ -128,6 +104,30 @@
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/doctrine.yaml": {
|
||||
"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
|
||||
}
|
||||
},
|
||||
"ref": "032f52ed50a27762b78ca6a2aaf432958c473553"
|
||||
|
||||
+1
-1
@@ -1914,6 +1914,6 @@
|
||||
"_links": {
|
||||
"repository": "github.com/symfony/recipes",
|
||||
"origin_template": "{package}:{version}@github.com/symfony/recipes:master",
|
||||
"recipe_template": "https://api.github.com/repos/symfony/recipes/contents/{package_dotted}.{version}.json?ref=flex/main"
|
||||
"recipe_template": "https://raw.githubusercontent.com/symfony/recipes/flex/main/{package_dotted}.{version}.json"
|
||||
}
|
||||
}
|
||||
|
||||
+12
-12
@@ -13,18 +13,6 @@
|
||||
]
|
||||
},
|
||||
"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
|
||||
},
|
||||
"tests/bootstrap.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
@@ -86,6 +74,18 @@
|
||||
""
|
||||
],
|
||||
"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
|
||||
}
|
||||
},
|
||||
"ref": "b5b34fa22319ac1f7f6c180b30e160841c154a1e"
|
||||
|
||||
+12
-12
@@ -13,18 +13,6 @@
|
||||
]
|
||||
},
|
||||
"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
|
||||
},
|
||||
"tests/bootstrap.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
@@ -89,6 +77,18 @@
|
||||
""
|
||||
],
|
||||
"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
|
||||
}
|
||||
},
|
||||
"ref": "a6249a6c4392e9169b87abf93225f7f9f59025e6"
|
||||
|
||||
@@ -74,6 +74,12 @@
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Controller/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Kernel.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
@@ -141,32 +147,6 @@
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Controller/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"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:",
|
||||
@@ -202,38 +182,22 @@
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/services.yaml": {
|
||||
"config/packages/framework.yaml": {
|
||||
"contents": [
|
||||
"# This file is the entry point to configure your own services.",
|
||||
"# Files in the packages/ subdirectory configure your dependencies.",
|
||||
"framework:",
|
||||
" secret: '%env(APP_SECRET)%'",
|
||||
" #csrf_protection: true",
|
||||
" #http_method_override: true",
|
||||
"",
|
||||
"# 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:",
|
||||
" # 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",
|
||||
"",
|
||||
"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",
|
||||
" #esi: true",
|
||||
" #fragments: true",
|
||||
" php_errors:",
|
||||
" log: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
@@ -296,6 +260,42 @@
|
||||
""
|
||||
],
|
||||
"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
|
||||
}
|
||||
},
|
||||
"ref": "6b7854b4c2866b32bc86e98977e2ead4669fa9a5"
|
||||
|
||||
@@ -74,6 +74,12 @@
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Controller/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Kernel.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
@@ -141,33 +147,6 @@
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Controller/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"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:",
|
||||
@@ -203,38 +182,23 @@
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/services.yaml": {
|
||||
"config/packages/framework.yaml": {
|
||||
"contents": [
|
||||
"# This file is the entry point to configure your own services.",
|
||||
"# Files in the packages/ subdirectory configure your dependencies.",
|
||||
"framework:",
|
||||
" secret: '%env(APP_SECRET)%'",
|
||||
" #csrf_protection: true",
|
||||
" #http_method_override: true",
|
||||
"",
|
||||
"# 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:",
|
||||
" # 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",
|
||||
"",
|
||||
"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",
|
||||
" #esi: true",
|
||||
" #fragments: true",
|
||||
" php_errors:",
|
||||
" log: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
@@ -297,6 +261,42 @@
|
||||
""
|
||||
],
|
||||
"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
|
||||
}
|
||||
},
|
||||
"ref": "4e582450c27d790227d2596a2ffb514fd71d5db7"
|
||||
|
||||
@@ -74,6 +74,12 @@
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Controller/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Kernel.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
@@ -134,35 +140,6 @@
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Controller/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"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:",
|
||||
@@ -198,6 +175,58 @@
|
||||
],
|
||||
"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/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/services.yaml": {
|
||||
"contents": [
|
||||
"# This file is the entry point to configure your own services.",
|
||||
@@ -230,35 +259,6 @@
|
||||
""
|
||||
],
|
||||
"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
|
||||
}
|
||||
},
|
||||
"ref": "1bbe9a46c76d162f0c81b4f051285d7bac45bdb8"
|
||||
|
||||
@@ -74,6 +74,12 @@
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Controller/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Kernel.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
@@ -134,31 +140,17 @@
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Controller/.gitignore": {
|
||||
"config/preload.php": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"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",
|
||||
"<?php",
|
||||
"",
|
||||
" # 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",
|
||||
"if (file_exists(dirname(__DIR__).'/var/cache/prod/srcApp_KernelProdContainer.preload.php')) {",
|
||||
" require dirname(__DIR__).'/var/cache/prod/srcApp_KernelProdContainer.preload.php';",
|
||||
"}",
|
||||
"",
|
||||
" #esi: true",
|
||||
" #fragments: true",
|
||||
" php_errors:",
|
||||
" log: true",
|
||||
"if (file_exists(dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php')) {",
|
||||
" require dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php';",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
@@ -198,6 +190,58 @@
|
||||
],
|
||||
"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/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/services.yaml": {
|
||||
"contents": [
|
||||
"# This file is the entry point to configure your own services.",
|
||||
@@ -235,50 +279,6 @@
|
||||
],
|
||||
"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/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:",
|
||||
|
||||
@@ -77,6 +77,12 @@
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Controller/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Kernel.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
@@ -121,31 +127,13 @@
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Controller/.gitignore": {
|
||||
"config/preload.php": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"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",
|
||||
"<?php",
|
||||
"",
|
||||
" # 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",
|
||||
"if (file_exists(dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php')) {",
|
||||
" require dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php';",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
@@ -185,6 +173,29 @@
|
||||
],
|
||||
"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/services.yaml": {
|
||||
"contents": [
|
||||
"# This file is the entry point to configure your own services.",
|
||||
@@ -222,17 +233,6 @@
|
||||
],
|
||||
"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/routes/dev/framework.yaml": {
|
||||
"contents": [
|
||||
"_errors:",
|
||||
|
||||
@@ -67,6 +67,12 @@
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Controller/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Kernel.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
@@ -111,31 +117,13 @@
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Controller/.gitignore": {
|
||||
"config/preload.php": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"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",
|
||||
"<?php",
|
||||
"",
|
||||
" # 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",
|
||||
"if (file_exists(dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php')) {",
|
||||
" require dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php';",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
@@ -175,6 +163,29 @@
|
||||
],
|
||||
"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/services.yaml": {
|
||||
"contents": [
|
||||
"# This file is the entry point to configure your own services.",
|
||||
@@ -212,17 +223,6 @@
|
||||
],
|
||||
"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/routes/dev/framework.yaml": {
|
||||
"contents": [
|
||||
"_errors:",
|
||||
|
||||
@@ -54,6 +54,12 @@
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Controller/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Kernel.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
@@ -98,8 +104,38 @@
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Controller/.gitignore": {
|
||||
"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
|
||||
@@ -134,31 +170,6 @@
|
||||
],
|
||||
"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/services.yaml": {
|
||||
"contents": [
|
||||
"# This file is the entry point to configure your own services.",
|
||||
@@ -190,17 +201,6 @@
|
||||
],
|
||||
"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/routes/framework.yaml": {
|
||||
"contents": [
|
||||
"when@dev:",
|
||||
|
||||
@@ -54,6 +54,12 @@
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Controller/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Kernel.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
@@ -71,8 +77,38 @@
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Controller/.gitignore": {
|
||||
"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
|
||||
@@ -107,31 +143,6 @@
|
||||
],
|
||||
"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/services.yaml": {
|
||||
"contents": [
|
||||
"# This file is the entry point to configure your own services.",
|
||||
@@ -163,17 +174,6 @@
|
||||
],
|
||||
"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/routes/framework.yaml": {
|
||||
"contents": [
|
||||
"when@dev:",
|
||||
|
||||
@@ -12,44 +12,6 @@
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/prod/monolog.yaml": {
|
||||
"contents": [
|
||||
"monolog:",
|
||||
" handlers:",
|
||||
" main:",
|
||||
" type: fingers_crossed",
|
||||
" action_level: error",
|
||||
" handler: nested",
|
||||
" buffer_size: 50 # How many messages should be saved? Prevent memory leaks",
|
||||
" excluded_404s:",
|
||||
" # regex: exclude all 404 errors from the logs",
|
||||
" - ^/",
|
||||
" nested:",
|
||||
" type: stream",
|
||||
" path: \"%kernel.logs_dir%/%kernel.environment%.log\"",
|
||||
" level: debug",
|
||||
" console:",
|
||||
" type: console",
|
||||
" process_psr_3_messages: false",
|
||||
" channels: [\"!event\", \"!doctrine\"]",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/prod/deprecations.yaml": {
|
||||
"contents": [
|
||||
"# As of Symfony 5.1, deprecations are logged in the dedicated \"deprecation\" channel when it exists",
|
||||
"#monolog:",
|
||||
"# channels: [deprecation]",
|
||||
"# handlers:",
|
||||
"# deprecation:",
|
||||
"# type: stream",
|
||||
"# channels: [deprecation]",
|
||||
"# path: \"%kernel.logs_dir%/%kernel.environment%.deprecations.log\"",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/dev/monolog.yaml": {
|
||||
"contents": [
|
||||
"monolog:",
|
||||
@@ -75,6 +37,44 @@
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/prod/deprecations.yaml": {
|
||||
"contents": [
|
||||
"# As of Symfony 5.1, deprecations are logged in the dedicated \"deprecation\" channel when it exists",
|
||||
"#monolog:",
|
||||
"# channels: [deprecation]",
|
||||
"# handlers:",
|
||||
"# deprecation:",
|
||||
"# type: stream",
|
||||
"# channels: [deprecation]",
|
||||
"# path: \"%kernel.logs_dir%/%kernel.environment%.deprecations.log\"",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/prod/monolog.yaml": {
|
||||
"contents": [
|
||||
"monolog:",
|
||||
" handlers:",
|
||||
" main:",
|
||||
" type: fingers_crossed",
|
||||
" action_level: error",
|
||||
" handler: nested",
|
||||
" buffer_size: 50 # How many messages should be saved? Prevent memory leaks",
|
||||
" excluded_404s:",
|
||||
" # regex: exclude all 404 errors from the logs",
|
||||
" - ^/",
|
||||
" nested:",
|
||||
" type: stream",
|
||||
" path: \"%kernel.logs_dir%/%kernel.environment%.log\"",
|
||||
" level: debug",
|
||||
" console:",
|
||||
" type: console",
|
||||
" process_psr_3_messages: false",
|
||||
" channels: [\"!event\", \"!doctrine\"]",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/test/monolog.yaml": {
|
||||
"contents": [
|
||||
"monolog:",
|
||||
|
||||
@@ -12,42 +12,6 @@
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/prod/monolog.yaml": {
|
||||
"contents": [
|
||||
"monolog:",
|
||||
" handlers:",
|
||||
" main:",
|
||||
" type: fingers_crossed",
|
||||
" action_level: error",
|
||||
" handler: nested",
|
||||
" excluded_http_codes: [404, 405]",
|
||||
" buffer_size: 50 # How many messages should be saved? Prevent memory leaks",
|
||||
" nested:",
|
||||
" type: stream",
|
||||
" path: \"%kernel.logs_dir%/%kernel.environment%.log\"",
|
||||
" level: debug",
|
||||
" console:",
|
||||
" type: console",
|
||||
" process_psr_3_messages: false",
|
||||
" channels: [\"!event\", \"!doctrine\"]",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/prod/deprecations.yaml": {
|
||||
"contents": [
|
||||
"# As of Symfony 5.1, deprecations are logged in the dedicated \"deprecation\" channel when it exists",
|
||||
"#monolog:",
|
||||
"# channels: [deprecation]",
|
||||
"# handlers:",
|
||||
"# deprecation:",
|
||||
"# type: stream",
|
||||
"# channels: [deprecation]",
|
||||
"# path: \"%kernel.logs_dir%/%kernel.environment%.deprecations.log\"",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/dev/monolog.yaml": {
|
||||
"contents": [
|
||||
"monolog:",
|
||||
@@ -73,6 +37,42 @@
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/prod/deprecations.yaml": {
|
||||
"contents": [
|
||||
"# As of Symfony 5.1, deprecations are logged in the dedicated \"deprecation\" channel when it exists",
|
||||
"#monolog:",
|
||||
"# channels: [deprecation]",
|
||||
"# handlers:",
|
||||
"# deprecation:",
|
||||
"# type: stream",
|
||||
"# channels: [deprecation]",
|
||||
"# path: \"%kernel.logs_dir%/%kernel.environment%.deprecations.log\"",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/prod/monolog.yaml": {
|
||||
"contents": [
|
||||
"monolog:",
|
||||
" handlers:",
|
||||
" main:",
|
||||
" type: fingers_crossed",
|
||||
" action_level: error",
|
||||
" handler: nested",
|
||||
" excluded_http_codes: [404, 405]",
|
||||
" buffer_size: 50 # How many messages should be saved? Prevent memory leaks",
|
||||
" nested:",
|
||||
" type: stream",
|
||||
" path: \"%kernel.logs_dir%/%kernel.environment%.log\"",
|
||||
" level: debug",
|
||||
" console:",
|
||||
" type: console",
|
||||
" process_psr_3_messages: false",
|
||||
" channels: [\"!event\", \"!doctrine\"]",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/test/monolog.yaml": {
|
||||
"contents": [
|
||||
"monolog:",
|
||||
|
||||
@@ -12,43 +12,6 @@
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/prod/monolog.yaml": {
|
||||
"contents": [
|
||||
"monolog:",
|
||||
" handlers:",
|
||||
" main:",
|
||||
" type: fingers_crossed",
|
||||
" action_level: error",
|
||||
" handler: nested",
|
||||
" excluded_http_codes: [404, 405]",
|
||||
" buffer_size: 50 # How many messages should be saved? Prevent memory leaks",
|
||||
" nested:",
|
||||
" type: stream",
|
||||
" path: php://stderr",
|
||||
" level: debug",
|
||||
" formatter: monolog.formatter.json",
|
||||
" console:",
|
||||
" type: console",
|
||||
" process_psr_3_messages: false",
|
||||
" channels: [\"!event\", \"!doctrine\"]",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/prod/deprecations.yaml": {
|
||||
"contents": [
|
||||
"# As of Symfony 5.1, deprecations are logged in the dedicated \"deprecation\" channel when it exists",
|
||||
"#monolog:",
|
||||
"# channels: [deprecation]",
|
||||
"# handlers:",
|
||||
"# deprecation:",
|
||||
"# type: stream",
|
||||
"# channels: [deprecation]",
|
||||
"# path: php://stderr",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/dev/monolog.yaml": {
|
||||
"contents": [
|
||||
"monolog:",
|
||||
@@ -74,6 +37,43 @@
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/prod/deprecations.yaml": {
|
||||
"contents": [
|
||||
"# As of Symfony 5.1, deprecations are logged in the dedicated \"deprecation\" channel when it exists",
|
||||
"#monolog:",
|
||||
"# channels: [deprecation]",
|
||||
"# handlers:",
|
||||
"# deprecation:",
|
||||
"# type: stream",
|
||||
"# channels: [deprecation]",
|
||||
"# path: php://stderr",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/prod/monolog.yaml": {
|
||||
"contents": [
|
||||
"monolog:",
|
||||
" handlers:",
|
||||
" main:",
|
||||
" type: fingers_crossed",
|
||||
" action_level: error",
|
||||
" handler: nested",
|
||||
" excluded_http_codes: [404, 405]",
|
||||
" buffer_size: 50 # How many messages should be saved? Prevent memory leaks",
|
||||
" nested:",
|
||||
" type: stream",
|
||||
" path: php://stderr",
|
||||
" level: debug",
|
||||
" formatter: monolog.formatter.json",
|
||||
" console:",
|
||||
" type: console",
|
||||
" process_psr_3_messages: false",
|
||||
" channels: [\"!event\", \"!doctrine\"]",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/test/monolog.yaml": {
|
||||
"contents": [
|
||||
"monolog:",
|
||||
|
||||
@@ -19,16 +19,6 @@
|
||||
]
|
||||
},
|
||||
"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
|
||||
},
|
||||
"tests/bootstrap.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
@@ -46,31 +36,6 @@
|
||||
],
|
||||
"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": {
|
||||
"contents": [
|
||||
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
|
||||
@@ -108,6 +73,41 @@
|
||||
""
|
||||
],
|
||||
"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",
|
||||
""
|
||||
],
|
||||
"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
|
||||
}
|
||||
},
|
||||
"ref": "f59588dbcb508b1f45097a97d5066905aa6f8f41"
|
||||
|
||||
@@ -19,18 +19,6 @@
|
||||
]
|
||||
},
|
||||
"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
|
||||
},
|
||||
"tests/bootstrap.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
@@ -48,25 +36,6 @@
|
||||
],
|
||||
"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": {
|
||||
"contents": [
|
||||
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
|
||||
@@ -105,6 +74,37 @@
|
||||
""
|
||||
],
|
||||
"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
|
||||
},
|
||||
"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
|
||||
}
|
||||
},
|
||||
"ref": "2ba17ea3190d76e6e37a52378f6bca3d84891bc5"
|
||||
|
||||
@@ -19,18 +19,6 @@
|
||||
]
|
||||
},
|
||||
"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
|
||||
},
|
||||
"tests/bootstrap.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
@@ -48,25 +36,6 @@
|
||||
],
|
||||
"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": {
|
||||
"contents": [
|
||||
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
|
||||
@@ -106,6 +75,37 @@
|
||||
""
|
||||
],
|
||||
"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
|
||||
},
|
||||
"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
|
||||
}
|
||||
},
|
||||
"ref": "0e1b186400de9d4ab83363138b4eb0072c99b2ab"
|
||||
|
||||
@@ -19,18 +19,6 @@
|
||||
]
|
||||
},
|
||||
"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
|
||||
},
|
||||
"tests/bootstrap.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
@@ -48,25 +36,6 @@
|
||||
],
|
||||
"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": {
|
||||
"contents": [
|
||||
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
|
||||
@@ -112,6 +81,37 @@
|
||||
""
|
||||
],
|
||||
"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
|
||||
},
|
||||
"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
|
||||
}
|
||||
},
|
||||
"ref": "f42c00dd9758feeafde5dfad515117753599f8f2"
|
||||
|
||||
@@ -19,18 +19,6 @@
|
||||
]
|
||||
},
|
||||
"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
|
||||
},
|
||||
"tests/bootstrap.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
@@ -48,31 +36,6 @@
|
||||
],
|
||||
"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": {
|
||||
"contents": [
|
||||
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
|
||||
@@ -120,6 +83,43 @@
|
||||
""
|
||||
],
|
||||
"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
|
||||
},
|
||||
"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
|
||||
}
|
||||
},
|
||||
"ref": "97cb3dc7b0f39c7cfc4b7553504c9d7b7795de96"
|
||||
|
||||
@@ -7,6 +7,15 @@
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/prod/routing.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" router:",
|
||||
" strict_requirements: null",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/routes.yaml": {
|
||||
"contents": [
|
||||
"# This file is the entry point to configure your own HTTP routes.",
|
||||
@@ -18,15 +27,6 @@
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/prod/routing.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" router:",
|
||||
" strict_requirements: null",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "eb64cc2de2fa548a89fbf1446d37b391c9a9e936"
|
||||
|
||||
@@ -7,15 +7,6 @@
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/routes.yaml": {
|
||||
"contents": [
|
||||
"#index:",
|
||||
"# path: /",
|
||||
"# controller: App\\Controller\\DefaultController::index",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/prod/routing.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
@@ -24,6 +15,15 @@
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/routes.yaml": {
|
||||
"contents": [
|
||||
"#index:",
|
||||
"# path: /",
|
||||
"# controller: App\\Controller\\DefaultController::index",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "22715e3fd48c861b6390ccb16f3aa6d1cd6a58e5"
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/routes.yaml": {
|
||||
"config/packages/prod/routing.yaml": {
|
||||
"contents": [
|
||||
"#index:",
|
||||
"# path: /",
|
||||
"# controller: App\\Controller\\DefaultController::index",
|
||||
"framework:",
|
||||
" router:",
|
||||
" strict_requirements: null",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
@@ -25,11 +25,11 @@
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/prod/routing.yaml": {
|
||||
"config/routes.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" router:",
|
||||
" strict_requirements: null",
|
||||
"#index:",
|
||||
"# path: /",
|
||||
"# controller: App\\Controller\\DefaultController::index",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/routes.yaml": {
|
||||
"config/packages/prod/routing.yaml": {
|
||||
"contents": [
|
||||
"#index:",
|
||||
"# path: /",
|
||||
"# controller: App\\Controller\\DefaultController::index",
|
||||
"framework:",
|
||||
" router:",
|
||||
" strict_requirements: null",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
@@ -29,11 +29,11 @@
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/prod/routing.yaml": {
|
||||
"config/routes.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" router:",
|
||||
" strict_requirements: null",
|
||||
"#index:",
|
||||
"# path: /",
|
||||
"# controller: App\\Controller\\DefaultController::index",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
|
||||
@@ -7,15 +7,6 @@
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/routes.yaml": {
|
||||
"contents": [
|
||||
"#index:",
|
||||
"# path: /",
|
||||
"# controller: App\\Controller\\DefaultController::index",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/routing.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
@@ -33,6 +24,15 @@
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/routes.yaml": {
|
||||
"contents": [
|
||||
"#index:",
|
||||
"# path: /",
|
||||
"# controller: App\\Controller\\DefaultController::index",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "44633353926a0382d7dfb0530922c5c0b30fae11"
|
||||
|
||||
+13
-13
@@ -7,19 +7,6 @@
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/routes.yaml": {
|
||||
"contents": [
|
||||
"controllers:",
|
||||
" resource: ../src/Controller/",
|
||||
" type: annotation",
|
||||
"",
|
||||
"kernel:",
|
||||
" resource: ../src/Kernel.php",
|
||||
" type: annotation",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/routing.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
@@ -37,6 +24,19 @@
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/routes.yaml": {
|
||||
"contents": [
|
||||
"controllers:",
|
||||
" resource: ../src/Controller/",
|
||||
" type: annotation",
|
||||
"",
|
||||
"kernel:",
|
||||
" resource: ../src/Kernel.php",
|
||||
" type: annotation",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "ab9ad892b7bba7ac584f6dc2ccdb659d358c63c5"
|
||||
|
||||
@@ -18,15 +18,6 @@
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/swiftmailer.yaml": {
|
||||
"contents": [
|
||||
"swiftmailer:",
|
||||
" url: '%env(MAILER_URL)%'",
|
||||
" spool: { type: 'memory' }",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/dev/swiftmailer.yaml": {
|
||||
"contents": [
|
||||
"# See https://symfony.com/doc/current/email/dev_environment.html",
|
||||
@@ -44,6 +35,15 @@
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/swiftmailer.yaml": {
|
||||
"contents": [
|
||||
"swiftmailer:",
|
||||
" url: '%env(MAILER_URL)%'",
|
||||
" spool: { type: 'memory' }",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "f0b2fccdca2dfd97dc2fd5ad216d5e27c4f895ac"
|
||||
|
||||
@@ -13,33 +13,6 @@
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"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
|
||||
},
|
||||
"config/routes/dev/twig.yaml": {
|
||||
"contents": [
|
||||
"_errors:",
|
||||
" resource: '@TwigBundle/Resources/config/routing/errors.xml'",
|
||||
" prefix: /_error",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"templates/base.html.twig": {
|
||||
"contents": [
|
||||
"<!DOCTYPE html>",
|
||||
@@ -64,6 +37,33 @@
|
||||
""
|
||||
],
|
||||
"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
|
||||
},
|
||||
"config/routes/dev/twig.yaml": {
|
||||
"contents": [
|
||||
"_errors:",
|
||||
" resource: '@TwigBundle/Resources/config/routing/errors.xml'",
|
||||
" prefix: /_error",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "7e5381cd17e0e27d1b432af9230b65060b75ac4c"
|
||||
|
||||
@@ -13,25 +13,6 @@
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"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
|
||||
},
|
||||
"templates/base.html.twig": {
|
||||
"contents": [
|
||||
"<!DOCTYPE html>",
|
||||
@@ -56,6 +37,25 @@
|
||||
""
|
||||
],
|
||||
"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%'",
|
||||
" exception_controller: null",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "73baff3f7b3cea12a73812a7cfd2c0924a9e250f"
|
||||
|
||||
@@ -13,22 +13,6 @@
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"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
|
||||
},
|
||||
"templates/base.html.twig": {
|
||||
"contents": [
|
||||
"<!DOCTYPE html>",
|
||||
@@ -53,6 +37,22 @@
|
||||
""
|
||||
],
|
||||
"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'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "1766a292f47e3bf94bcfc192c2aa090588f9f46d"
|
||||
|
||||
@@ -13,18 +13,6 @@
|
||||
}
|
||||
},
|
||||
"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": {
|
||||
"contents": [
|
||||
"<!DOCTYPE html>",
|
||||
@@ -49,6 +37,18 @@
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/twig.yaml": {
|
||||
"contents": [
|
||||
"twig:",
|
||||
" default_path: '%kernel.project_dir%/templates'",
|
||||
"",
|
||||
"when@test:",
|
||||
" twig:",
|
||||
" strict_variables: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "3dd530739a4284e3272274c128dbb7a8140a66f1"
|
||||
|
||||
@@ -13,18 +13,6 @@
|
||||
}
|
||||
},
|
||||
"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": {
|
||||
"contents": [
|
||||
"<!DOCTYPE html>",
|
||||
@@ -49,6 +37,18 @@
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/twig.yaml": {
|
||||
"contents": [
|
||||
"twig:",
|
||||
" default_path: '%kernel.project_dir%/templates'",
|
||||
"",
|
||||
"when@test:",
|
||||
" twig:",
|
||||
" strict_variables: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "bffbb8f1a849736e64006735afae730cb428b6ff"
|
||||
|
||||
@@ -126,21 +126,59 @@
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/styles/app.css": {
|
||||
"config/packages/assets.yaml": {
|
||||
"contents": [
|
||||
"body {",
|
||||
" background-color: lightgray;",
|
||||
"}",
|
||||
"framework:",
|
||||
" assets:",
|
||||
" json_manifest_path: '%kernel.project_dir%/public/build/manifest.json'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/controllers.json": {
|
||||
"config/packages/webpack_encore.yaml": {
|
||||
"contents": [
|
||||
"{",
|
||||
" \"controllers\": [],",
|
||||
" \"entrypoints\": []",
|
||||
"}",
|
||||
"webpack_encore:",
|
||||
" # The path where Encore is building the assets.",
|
||||
" # This should match Encore.setOutputPath() in webpack.config.js.",
|
||||
" output_path: '%kernel.project_dir%/public/build'",
|
||||
" # If multiple builds are defined (as shown below), you can disable the default build:",
|
||||
" # output_path: false",
|
||||
"",
|
||||
" # if using Encore.enableIntegrityHashes() specify the crossorigin attribute value (default: false, or use 'anonymous' or 'use-credentials')",
|
||||
" # crossorigin: 'anonymous'",
|
||||
"",
|
||||
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes).",
|
||||
" # To enable caching for the production environment, creating a webpack_encore.yaml in the config/packages/prod directory with this value set to true",
|
||||
" # Available in version 1.2",
|
||||
" #cache: false",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/prod/webpack_encore.yaml": {
|
||||
"contents": [
|
||||
"#webpack_encore:",
|
||||
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)",
|
||||
" # Available in version 1.2",
|
||||
" #cache: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/app.js": {
|
||||
"contents": [
|
||||
"/*",
|
||||
" * Welcome to your app's main JavaScript file!",
|
||||
" *",
|
||||
" * We recommend including the built version of this JavaScript file",
|
||||
" * (and its CSS file) in your base layout (base.html.twig).",
|
||||
" */",
|
||||
"",
|
||||
"// any CSS you import will output into a single css file (app.css in this case)",
|
||||
"import './styles/app.css';",
|
||||
"",
|
||||
"// start the Stimulus application",
|
||||
"import './bootstrap';",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
@@ -167,20 +205,21 @@
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/app.js": {
|
||||
"assets/controllers.json": {
|
||||
"contents": [
|
||||
"/*",
|
||||
" * Welcome to your app's main JavaScript file!",
|
||||
" *",
|
||||
" * We recommend including the built version of this JavaScript file",
|
||||
" * (and its CSS file) in your base layout (base.html.twig).",
|
||||
" */",
|
||||
"",
|
||||
"// any CSS you import will output into a single css file (app.css in this case)",
|
||||
"import './styles/app.css';",
|
||||
"",
|
||||
"// start the Stimulus application",
|
||||
"import './bootstrap';",
|
||||
"{",
|
||||
" \"controllers\": [],",
|
||||
" \"entrypoints\": []",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/styles/app.css": {
|
||||
"contents": [
|
||||
"body {",
|
||||
" background-color: lightgray;",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
@@ -201,45 +240,6 @@
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/assets.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" assets:",
|
||||
" json_manifest_path: '%kernel.project_dir%/public/build/manifest.json'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/prod/webpack_encore.yaml": {
|
||||
"contents": [
|
||||
"#webpack_encore:",
|
||||
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)",
|
||||
" # Available in version 1.2",
|
||||
" #cache: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/webpack_encore.yaml": {
|
||||
"contents": [
|
||||
"webpack_encore:",
|
||||
" # The path where Encore is building the assets.",
|
||||
" # This should match Encore.setOutputPath() in webpack.config.js.",
|
||||
" output_path: '%kernel.project_dir%/public/build'",
|
||||
" # If multiple builds are defined (as shown below), you can disable the default build:",
|
||||
" # output_path: false",
|
||||
"",
|
||||
" # if using Encore.enableIntegrityHashes() specify the crossorigin attribute value (default: false, or use 'anonymous' or 'use-credentials')",
|
||||
" # crossorigin: 'anonymous'",
|
||||
"",
|
||||
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes).",
|
||||
" # To enable caching for the production environment, creating a webpack_encore.yaml in the config/packages/prod directory with this value set to true",
|
||||
" # Available in version 1.2",
|
||||
" #cache: false",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "2d96acce1b27ddaa12bd7405a39892928ce2b95d"
|
||||
|
||||
@@ -126,82 +126,6 @@
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/styles/app.css": {
|
||||
"contents": [
|
||||
"body {",
|
||||
" background-color: lightgray;",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/controllers.json": {
|
||||
"contents": [
|
||||
"{",
|
||||
" \"controllers\": [],",
|
||||
" \"entrypoints\": []",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/controllers/hello_controller.js": {
|
||||
"contents": [
|
||||
"import { Controller } from 'stimulus';",
|
||||
"",
|
||||
"/*",
|
||||
" * This is an example Stimulus controller!",
|
||||
" *",
|
||||
" * Any element with a data-controller=\"hello\" attribute will cause",
|
||||
" * this controller to be executed. The name \"hello\" comes from the filename:",
|
||||
" * hello_controller.js -> \"hello\"",
|
||||
" *",
|
||||
" * Delete this file or adapt it for your use!",
|
||||
" */",
|
||||
"export default class extends Controller {",
|
||||
" connect() {",
|
||||
" this.element.textContent = 'Hello Stimulus! Edit me in assets/controllers/hello_controller.js';",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/app.js": {
|
||||
"contents": [
|
||||
"/*",
|
||||
" * Welcome to your app's main JavaScript file!",
|
||||
" *",
|
||||
" * We recommend including the built version of this JavaScript file",
|
||||
" * (and its CSS file) in your base layout (base.html.twig).",
|
||||
" */",
|
||||
"",
|
||||
"// any CSS you import will output into a single css file (app.css in this case)",
|
||||
"import './styles/app.css';",
|
||||
"",
|
||||
"// start the Stimulus application",
|
||||
"import './bootstrap';",
|
||||
""
|
||||
],
|
||||
"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
|
||||
},
|
||||
"config/packages/assets.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
@@ -211,16 +135,6 @@
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/prod/webpack_encore.yaml": {
|
||||
"contents": [
|
||||
"#webpack_encore:",
|
||||
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)",
|
||||
" # Available in version 1.2",
|
||||
" #cache: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/webpack_encore.yaml": {
|
||||
"contents": [
|
||||
"webpack_encore:",
|
||||
@@ -252,6 +166,16 @@
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/prod/webpack_encore.yaml": {
|
||||
"contents": [
|
||||
"#webpack_encore:",
|
||||
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)",
|
||||
" # Available in version 1.2",
|
||||
" #cache: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/test/webpack_encore.yaml": {
|
||||
"contents": [
|
||||
"#webpack_encore:",
|
||||
@@ -259,6 +183,82 @@
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/app.js": {
|
||||
"contents": [
|
||||
"/*",
|
||||
" * Welcome to your app's main JavaScript file!",
|
||||
" *",
|
||||
" * We recommend including the built version of this JavaScript file",
|
||||
" * (and its CSS file) in your base layout (base.html.twig).",
|
||||
" */",
|
||||
"",
|
||||
"// any CSS you import will output into a single css file (app.css in this case)",
|
||||
"import './styles/app.css';",
|
||||
"",
|
||||
"// start the Stimulus application",
|
||||
"import './bootstrap';",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/controllers/hello_controller.js": {
|
||||
"contents": [
|
||||
"import { Controller } from 'stimulus';",
|
||||
"",
|
||||
"/*",
|
||||
" * This is an example Stimulus controller!",
|
||||
" *",
|
||||
" * Any element with a data-controller=\"hello\" attribute will cause",
|
||||
" * this controller to be executed. The name \"hello\" comes from the filename:",
|
||||
" * hello_controller.js -> \"hello\"",
|
||||
" *",
|
||||
" * Delete this file or adapt it for your use!",
|
||||
" */",
|
||||
"export default class extends Controller {",
|
||||
" connect() {",
|
||||
" this.element.textContent = 'Hello Stimulus! Edit me in assets/controllers/hello_controller.js';",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/controllers.json": {
|
||||
"contents": [
|
||||
"{",
|
||||
" \"controllers\": [],",
|
||||
" \"entrypoints\": []",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/styles/app.css": {
|
||||
"contents": [
|
||||
"body {",
|
||||
" background-color: lightgray;",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"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
|
||||
}
|
||||
},
|
||||
"ref": "729e968bd020e8e012a7073739b6ac536e04160e"
|
||||
|
||||
@@ -133,82 +133,6 @@
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/styles/app.css": {
|
||||
"contents": [
|
||||
"body {",
|
||||
" background-color: lightgray;",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/controllers.json": {
|
||||
"contents": [
|
||||
"{",
|
||||
" \"controllers\": [],",
|
||||
" \"entrypoints\": []",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/controllers/hello_controller.js": {
|
||||
"contents": [
|
||||
"import { Controller } from 'stimulus';",
|
||||
"",
|
||||
"/*",
|
||||
" * This is an example Stimulus controller!",
|
||||
" *",
|
||||
" * Any element with a data-controller=\"hello\" attribute will cause",
|
||||
" * this controller to be executed. The name \"hello\" comes from the filename:",
|
||||
" * hello_controller.js -> \"hello\"",
|
||||
" *",
|
||||
" * Delete this file or adapt it for your use!",
|
||||
" */",
|
||||
"export default class extends Controller {",
|
||||
" connect() {",
|
||||
" this.element.textContent = 'Hello Stimulus! Edit me in assets/controllers/hello_controller.js';",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/app.js": {
|
||||
"contents": [
|
||||
"/*",
|
||||
" * Welcome to your app's main JavaScript file!",
|
||||
" *",
|
||||
" * We recommend including the built version of this JavaScript file",
|
||||
" * (and its CSS file) in your base layout (base.html.twig).",
|
||||
" */",
|
||||
"",
|
||||
"// any CSS you import will output into a single css file (app.css in this case)",
|
||||
"import './styles/app.css';",
|
||||
"",
|
||||
"// start the Stimulus application",
|
||||
"import './bootstrap';",
|
||||
""
|
||||
],
|
||||
"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
|
||||
},
|
||||
"config/packages/assets.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
@@ -218,16 +142,6 @@
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/prod/webpack_encore.yaml": {
|
||||
"contents": [
|
||||
"#webpack_encore:",
|
||||
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)",
|
||||
" # Available in version 1.2",
|
||||
" #cache: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/webpack_encore.yaml": {
|
||||
"contents": [
|
||||
"webpack_encore:",
|
||||
@@ -269,6 +183,16 @@
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/prod/webpack_encore.yaml": {
|
||||
"contents": [
|
||||
"#webpack_encore:",
|
||||
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)",
|
||||
" # Available in version 1.2",
|
||||
" #cache: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/test/webpack_encore.yaml": {
|
||||
"contents": [
|
||||
"#webpack_encore:",
|
||||
@@ -276,6 +200,82 @@
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/app.js": {
|
||||
"contents": [
|
||||
"/*",
|
||||
" * Welcome to your app's main JavaScript file!",
|
||||
" *",
|
||||
" * We recommend including the built version of this JavaScript file",
|
||||
" * (and its CSS file) in your base layout (base.html.twig).",
|
||||
" */",
|
||||
"",
|
||||
"// any CSS you import will output into a single css file (app.css in this case)",
|
||||
"import './styles/app.css';",
|
||||
"",
|
||||
"// start the Stimulus application",
|
||||
"import './bootstrap';",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/controllers/hello_controller.js": {
|
||||
"contents": [
|
||||
"import { Controller } from 'stimulus';",
|
||||
"",
|
||||
"/*",
|
||||
" * This is an example Stimulus controller!",
|
||||
" *",
|
||||
" * Any element with a data-controller=\"hello\" attribute will cause",
|
||||
" * this controller to be executed. The name \"hello\" comes from the filename:",
|
||||
" * hello_controller.js -> \"hello\"",
|
||||
" *",
|
||||
" * Delete this file or adapt it for your use!",
|
||||
" */",
|
||||
"export default class extends Controller {",
|
||||
" connect() {",
|
||||
" this.element.textContent = 'Hello Stimulus! Edit me in assets/controllers/hello_controller.js';",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/controllers.json": {
|
||||
"contents": [
|
||||
"{",
|
||||
" \"controllers\": [],",
|
||||
" \"entrypoints\": []",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/styles/app.css": {
|
||||
"contents": [
|
||||
"body {",
|
||||
" background-color: lightgray;",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"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
|
||||
}
|
||||
},
|
||||
"ref": "0f274572ea315eb3b5884518a50ca43f211b4534"
|
||||
|
||||
Reference in New Issue
Block a user