diff --git a/api-platform.admin-pack.1.0.json b/api-platform.admin-pack.1.0.json index 6afdfc62..b1d12325 100644 --- a/api-platform.admin-pack.1.0.json +++ b/api-platform.admin-pack.1.0.json @@ -23,18 +23,15 @@ ] }, "files": { - "templates/admin.html.twig": { + "assets/js/admin.js": { "contents": [ - "{% extends 'base.html.twig' %}", + "import React from 'react';", + "import ReactDOM from 'react-dom';", + "import { HydraAdmin } from '@api-platform/admin';", "", - "{% block title %}API Platform Admin{% endblock %}", + "const entrypoint = document.getElementById('api-entrypoint').innerText;", "", - "{% block body %}
{% endblock %}", - "", - "{% block javascripts %}", - " ", - " {{ encore_entry_script_tags('admin') }}", - "{% endblock %}", + "ReactDOM.render(, document.getElementById('api-platform-admin'));", "" ], "executable": false @@ -50,15 +47,18 @@ ], "executable": false }, - "assets/js/admin.js": { + "templates/admin.html.twig": { "contents": [ - "import React from 'react';", - "import ReactDOM from 'react-dom';", - "import { HydraAdmin } from '@api-platform/admin';", + "{% extends 'base.html.twig' %}", "", - "const entrypoint = document.getElementById('api-entrypoint').innerText;", + "{% block title %}API Platform Admin{% endblock %}", "", - "ReactDOM.render(, document.getElementById('api-platform-admin'));", + "{% block body %}
{% endblock %}", + "", + "{% block javascripts %}", + " ", + " {{ encore_entry_script_tags('admin') }}", + "{% endblock %}", "" ], "executable": false diff --git a/api-platform.core.2.1.json b/api-platform.core.2.1.json index ce8e3282..c111b12d 100644 --- a/api-platform.core.2.1.json +++ b/api-platform.core.2.1.json @@ -23,12 +23,6 @@ ] }, "files": { - "src/Entity/.gitignore": { - "contents": [ - "" - ], - "executable": false - }, "config/packages/api_platform.yaml": { "contents": [ "api_platform:", @@ -47,6 +41,12 @@ "" ], "executable": false + }, + "src/Entity/.gitignore": { + "contents": [ + "" + ], + "executable": false } }, "ref": "d57f9ff8067d8d077f026c4b4700ec876839aed9" diff --git a/api-platform.core.2.5.json b/api-platform.core.2.5.json index 8e615dbe..04ced9a5 100644 --- a/api-platform.core.2.5.json +++ b/api-platform.core.2.5.json @@ -23,12 +23,6 @@ ] }, "files": { - "src/Entity/.gitignore": { - "contents": [ - "" - ], - "executable": false - }, "config/packages/api_platform.yaml": { "contents": [ "api_platform:", @@ -51,6 +45,12 @@ "" ], "executable": false + }, + "src/Entity/.gitignore": { + "contents": [ + "" + ], + "executable": false } }, "ref": "05b57782a78c21a664a42055dc11cf1954ca36bb" diff --git a/doctrine.doctrine-bundle.1.12.json b/doctrine.doctrine-bundle.1.12.json index b36f0e30..c2802ac3 100644 --- a/doctrine.doctrine-bundle.1.12.json +++ b/doctrine.doctrine-bundle.1.12.json @@ -60,44 +60,6 @@ ] }, "files": { - "src/Entity/.gitignore": { - "contents": [ - "" - ], - "executable": false - }, - "src/Repository/.gitignore": { - "contents": [ - "" - ], - "executable": false - }, - "config/packages/prod/doctrine.yaml": { - "contents": [ - "doctrine:", - " orm:", - " auto_generate_proxy_classes: false", - " metadata_cache_driver:", - " type: pool", - " pool: doctrine.system_cache_pool", - " query_cache_driver:", - " type: pool", - " pool: doctrine.system_cache_pool", - " result_cache_driver:", - " type: pool", - " pool: doctrine.result_cache_pool", - "", - "framework:", - " cache:", - " pools:", - " doctrine.result_cache_pool:", - " adapter: cache.app", - " doctrine.system_cache_pool:", - " adapter: cache.system", - "" - ], - "executable": false - }, "config/packages/doctrine.yaml": { "contents": [ "doctrine:", @@ -129,6 +91,44 @@ "" ], "executable": false + }, + "config/packages/prod/doctrine.yaml": { + "contents": [ + "doctrine:", + " orm:", + " auto_generate_proxy_classes: false", + " metadata_cache_driver:", + " type: pool", + " pool: doctrine.system_cache_pool", + " query_cache_driver:", + " type: pool", + " pool: doctrine.system_cache_pool", + " result_cache_driver:", + " type: pool", + " pool: doctrine.result_cache_pool", + "", + "framework:", + " cache:", + " pools:", + " doctrine.result_cache_pool:", + " adapter: cache.app", + " doctrine.system_cache_pool:", + " adapter: cache.system", + "" + ], + "executable": false + }, + "src/Entity/.gitignore": { + "contents": [ + "" + ], + "executable": false + }, + "src/Repository/.gitignore": { + "contents": [ + "" + ], + "executable": false } }, "ref": "3cc0efdb85531c72c2b25cbb41eec849a279aa64" diff --git a/doctrine.doctrine-bundle.1.6.json b/doctrine.doctrine-bundle.1.6.json index e402a3e3..6a1cd25e 100644 --- a/doctrine.doctrine-bundle.1.6.json +++ b/doctrine.doctrine-bundle.1.6.json @@ -60,14 +60,31 @@ ] }, "files": { - "src/Entity/.gitignore": { - "contents": [ - "" - ], - "executable": false - }, - "src/Repository/.gitignore": { + "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 @@ -110,31 +127,14 @@ ], "executable": false }, - "config/packages/doctrine.yaml": { + "src/Entity/.gitignore": { + "contents": [ + "" + ], + "executable": false + }, + "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 diff --git a/doctrine.doctrine-bundle.2.0.json b/doctrine.doctrine-bundle.2.0.json index 523f8d2c..61cd9241 100644 --- a/doctrine.doctrine-bundle.2.0.json +++ b/doctrine.doctrine-bundle.2.0.json @@ -60,14 +60,26 @@ ] }, "files": { - "src/Entity/.gitignore": { - "contents": [ - "" - ], - "executable": false - }, - "src/Repository/.gitignore": { + "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 @@ -98,26 +110,14 @@ ], "executable": false }, - "config/packages/doctrine.yaml": { + "src/Entity/.gitignore": { + "contents": [ + "" + ], + "executable": false + }, + "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 diff --git a/doctrine.doctrine-bundle.2.3.json b/doctrine.doctrine-bundle.2.3.json index a7c7e0f3..40e988bf 100644 --- a/doctrine.doctrine-bundle.2.3.json +++ b/doctrine.doctrine-bundle.2.3.json @@ -60,14 +60,26 @@ ] }, "files": { - "src/Entity/.gitignore": { - "contents": [ - "" - ], - "executable": false - }, - "src/Repository/.gitignore": { + "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 @@ -105,26 +117,14 @@ ], "executable": false }, - "config/packages/doctrine.yaml": { + "src/Entity/.gitignore": { + "contents": [ + "" + ], + "executable": false + }, + "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 diff --git a/doctrine.doctrine-bundle.2.4.json b/doctrine.doctrine-bundle.2.4.json index 6f6ab441..03550f5c 100644 --- a/doctrine.doctrine-bundle.2.4.json +++ b/doctrine.doctrine-bundle.2.4.json @@ -60,14 +60,26 @@ ] }, "files": { - "src/Entity/.gitignore": { - "contents": [ - "" - ], - "executable": false - }, - "src/Repository/.gitignore": { + "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 @@ -105,26 +117,14 @@ ], "executable": false }, - "config/packages/doctrine.yaml": { + "src/Entity/.gitignore": { + "contents": [ + "" + ], + "executable": false + }, + "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 diff --git a/doctrine.doctrine-migrations-bundle.1.2.json b/doctrine.doctrine-migrations-bundle.1.2.json index 987fcb38..e1a6cdfd 100644 --- a/doctrine.doctrine-migrations-bundle.1.2.json +++ b/doctrine.doctrine-migrations-bundle.1.2.json @@ -13,12 +13,6 @@ } }, "files": { - "migrations/.gitignore": { - "contents": [ - "" - ], - "executable": false - }, "config/packages/doctrine_migrations.yaml": { "contents": [ "doctrine_migrations:", @@ -29,6 +23,12 @@ "" ], "executable": false + }, + "migrations/.gitignore": { + "contents": [ + "" + ], + "executable": false } }, "ref": "b609494a0ab33d79acf3ead2067e3f67c9a47bd2" diff --git a/doctrine.doctrine-migrations-bundle.2.2.json b/doctrine.doctrine-migrations-bundle.2.2.json index bd6d5a3e..f0a2004d 100644 --- a/doctrine.doctrine-migrations-bundle.2.2.json +++ b/doctrine.doctrine-migrations-bundle.2.2.json @@ -13,12 +13,6 @@ } }, "files": { - "migrations/.gitignore": { - "contents": [ - "" - ], - "executable": false - }, "config/packages/doctrine_migrations.yaml": { "contents": [ "doctrine_migrations:", @@ -29,6 +23,12 @@ "" ], "executable": false + }, + "migrations/.gitignore": { + "contents": [ + "" + ], + "executable": false } }, "ref": "baaa439e3e3179e69e3da84b671f0a3e4a2f56ad" diff --git a/doctrine.doctrine-migrations-bundle.3.1.json b/doctrine.doctrine-migrations-bundle.3.1.json index 8df14216..bb2d4992 100644 --- a/doctrine.doctrine-migrations-bundle.3.1.json +++ b/doctrine.doctrine-migrations-bundle.3.1.json @@ -13,12 +13,6 @@ } }, "files": { - "migrations/.gitignore": { - "contents": [ - "" - ], - "executable": false - }, "config/packages/doctrine_migrations.yaml": { "contents": [ "doctrine_migrations:", @@ -30,6 +24,12 @@ "" ], "executable": false + }, + "migrations/.gitignore": { + "contents": [ + "" + ], + "executable": false } }, "ref": "ee609429c9ee23e22d6fa5728211768f51ed2818" diff --git a/hautelook.alice-bundle.2.1.json b/hautelook.alice-bundle.2.1.json index 97be18d9..898315d6 100644 --- a/hautelook.alice-bundle.2.1.json +++ b/hautelook.alice-bundle.2.1.json @@ -18,12 +18,6 @@ ] }, "files": { - "fixtures/.gitignore": { - "contents": [ - "" - ], - "executable": false - }, "config/packages/dev/hautelook_alice.yaml": { "contents": [ "hautelook_alice:", @@ -39,6 +33,12 @@ "" ], "executable": false + }, + "fixtures/.gitignore": { + "contents": [ + "" + ], + "executable": false } }, "ref": "ff94d76b2ec0c552b5d67d401f59ab8fd62f3d5f" diff --git a/phpunit.phpunit.4.7.json b/phpunit.phpunit.4.7.json index fe78eb9e..691ecb52 100644 --- a/phpunit.phpunit.4.7.json +++ b/phpunit.phpunit.4.7.json @@ -13,19 +13,14 @@ ] }, "files": { - "tests/bootstrap.php": { + ".env.test": { "contents": [ - "bootEnv(dirname(__DIR__).'/.env');", - "}", + "# 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 @@ -75,14 +70,19 @@ ], "executable": false }, - ".env.test": { + "tests/bootstrap.php": { "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", + "bootEnv(dirname(__DIR__).'/.env');", + "}", "" ], "executable": false diff --git a/phpunit.phpunit.9.3.json b/phpunit.phpunit.9.3.json index b2897b86..2707bd9d 100644 --- a/phpunit.phpunit.9.3.json +++ b/phpunit.phpunit.9.3.json @@ -13,19 +13,14 @@ ] }, "files": { - "tests/bootstrap.php": { + ".env.test": { "contents": [ - "bootEnv(dirname(__DIR__).'/.env');", - "}", + "# 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 @@ -78,14 +73,19 @@ ], "executable": false }, - ".env.test": { + "tests/bootstrap.php": { "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", + "bootEnv(dirname(__DIR__).'/.env');", + "}", "" ], "executable": false diff --git a/symfony.framework-bundle.3.3.json b/symfony.framework-bundle.3.3.json index b5bd3150..463c8b43 100644 --- a/symfony.framework-bundle.3.3.json +++ b/symfony.framework-bundle.3.3.json @@ -41,6 +41,156 @@ ] }, "files": { + "config/bootstrap.php": { + "contents": [ + "=1.2)", + "if (is_array($env = @include dirname(__DIR__).'/.env.local.php') && (!isset($env['APP_ENV']) || ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env['APP_ENV']) === $env['APP_ENV'])) {", + " (new Dotenv(false))->populate($env);", + "} else {", + " $path = dirname(__DIR__).'/.env';", + " $dotenv = new Dotenv(false);", + "", + " // load all the .env files", + " if (method_exists($dotenv, 'loadEnv')) {", + " $dotenv->loadEnv($path);", + " } else {", + " // fallback code in case your Dotenv component is not 4.2 or higher (when loadEnv() was added)", + "", + " if (file_exists($path) || !file_exists($p = \"$path.dist\")) {", + " $dotenv->load($path);", + " } else {", + " $dotenv->load($p);", + " }", + "", + " if (null === $env = $_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) {", + " $dotenv->populate(array('APP_ENV' => $env = 'dev'));", + " }", + "", + " if ('test' !== $env && file_exists($p = \"$path.local\")) {", + " $dotenv->load($p);", + " $env = $_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env;", + " }", + "", + " if (file_exists($p = \"$path.$env\")) {", + " $dotenv->load($p);", + " }", + "", + " if (file_exists($p = \"$path.$env.local\")) {", + " $dotenv->load($p);", + " }", + " }", + "}", + "", + "$_SERVER += $_ENV;", + "$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) ?: 'dev';", + "$_SERVER['APP_DEBUG'] = $_SERVER['APP_DEBUG'] ?? $_ENV['APP_DEBUG'] ?? 'prod' !== $_SERVER['APP_ENV'];", + "$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = (int) $_SERVER['APP_DEBUG'] || filter_var($_SERVER['APP_DEBUG'], FILTER_VALIDATE_BOOLEAN) ? '1' : '0';", + "" + ], + "executable": false + }, + "config/packages/cache.yaml": { + "contents": [ + "framework:", + " cache:", + " # Unique name of your app: used to compute stable namespaces for cache keys.", + " #prefix_seed: your_vendor_name/app_name", + "", + " # The \"app\" cache stores to the filesystem by default.", + " # The data in this cache should persist between deploys.", + " # Other options include:", + "", + " # Redis", + " #app: cache.adapter.redis", + " #default_redis_provider: redis://localhost", + "", + " # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)", + " #app: cache.adapter.apcu", + "", + " # Namespaced pools use the above \"app\" backend by default", + " #pools:", + " #my.dedicated.cache: null", + "" + ], + "executable": false + }, + "config/packages/framework.yaml": { + "contents": [ + "framework:", + " secret: '%env(APP_SECRET)%'", + " #csrf_protection: true", + " #http_method_override: true", + "", + " # Enables session support. Note that the session will ONLY be started if you read or write from it.", + " # Remove or comment this section to explicitly disable session support.", + " session:", + " handler_id: null", + "", + " #esi: true", + " #fragments: true", + " php_errors:", + " log: true", + "" + ], + "executable": false + }, + "config/packages/test/framework.yaml": { + "contents": [ + "framework:", + " test: true", + " session:", + " storage_id: session.storage.mock_file", + "" + ], + "executable": false + }, + "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 + }, "public/index.php": { "contents": [ "=1.2)", - "if (is_array($env = @include dirname(__DIR__).'/.env.local.php') && (!isset($env['APP_ENV']) || ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env['APP_ENV']) === $env['APP_ENV'])) {", - " (new Dotenv(false))->populate($env);", - "} else {", - " $path = dirname(__DIR__).'/.env';", - " $dotenv = new Dotenv(false);", - "", - " // load all the .env files", - " if (method_exists($dotenv, 'loadEnv')) {", - " $dotenv->loadEnv($path);", - " } else {", - " // fallback code in case your Dotenv component is not 4.2 or higher (when loadEnv() was added)", - "", - " if (file_exists($path) || !file_exists($p = \"$path.dist\")) {", - " $dotenv->load($path);", - " } else {", - " $dotenv->load($p);", - " }", - "", - " if (null === $env = $_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) {", - " $dotenv->populate(array('APP_ENV' => $env = 'dev'));", - " }", - "", - " if ('test' !== $env && file_exists($p = \"$path.local\")) {", - " $dotenv->load($p);", - " $env = $_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env;", - " }", - "", - " if (file_exists($p = \"$path.$env\")) {", - " $dotenv->load($p);", - " }", - "", - " if (file_exists($p = \"$path.$env.local\")) {", - " $dotenv->load($p);", - " }", - " }", - "}", - "", - "$_SERVER += $_ENV;", - "$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) ?: 'dev';", - "$_SERVER['APP_DEBUG'] = $_SERVER['APP_DEBUG'] ?? $_ENV['APP_DEBUG'] ?? 'prod' !== $_SERVER['APP_ENV'];", - "$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = (int) $_SERVER['APP_DEBUG'] || filter_var($_SERVER['APP_DEBUG'], FILTER_VALIDATE_BOOLEAN) ? '1' : '0';", - "" - ], - "executable": false - }, - "config/services.yaml": { - "contents": [ - "# This file is the entry point to configure your own services.", - "# Files in the packages/ subdirectory configure your dependencies.", - "", - "# Put parameters here that don't need to change on each machine where the app is deployed", - "# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration", - "parameters:", - "", - "services:", - " # default configuration for services in *this* file", - " _defaults:", - " autowire: true # Automatically injects dependencies in your services.", - " autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.", - " public: false # Allows optimizing the container by removing unused services; this also means", - " # fetching services directly from the container via $container->get() won't work.", - " # The best practice is to be explicit about your dependencies anyway.", - "", - " # makes classes in src/ available to be used as services", - " # this creates a service per class whose id is the fully-qualified class name", - " App\\:", - " resource: '../src/*'", - " exclude: '../src/{DependencyInjection,Entity,Migrations,Tests,Kernel.php}'", - "", - " # controllers are imported separately to make sure services can be injected", - " # as action arguments even if you don't extend any base controller class", - " App\\Controller\\:", - " resource: '../src/Controller'", - " tags: ['controller.service_arguments']", - "", - " # add more service definitions when explicit configuration is needed", - " # please note that last definitions always *replace* previous ones", - "" - ], - "executable": false } }, "ref": "6b7854b4c2866b32bc86e98977e2ead4669fa9a5" diff --git a/symfony.framework-bundle.3.4.json b/symfony.framework-bundle.3.4.json index a964d6a5..c7503d45 100644 --- a/symfony.framework-bundle.3.4.json +++ b/symfony.framework-bundle.3.4.json @@ -41,6 +41,157 @@ ] }, "files": { + "config/bootstrap.php": { + "contents": [ + "=1.2)", + "if (is_array($env = @include dirname(__DIR__).'/.env.local.php') && (!isset($env['APP_ENV']) || ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env['APP_ENV']) === $env['APP_ENV'])) {", + " (new Dotenv(false))->populate($env);", + "} else {", + " $path = dirname(__DIR__).'/.env';", + " $dotenv = new Dotenv(false);", + "", + " // load all the .env files", + " if (method_exists($dotenv, 'loadEnv')) {", + " $dotenv->loadEnv($path);", + " } else {", + " // fallback code in case your Dotenv component is not 4.2 or higher (when loadEnv() was added)", + "", + " if (file_exists($path) || !file_exists($p = \"$path.dist\")) {", + " $dotenv->load($path);", + " } else {", + " $dotenv->load($p);", + " }", + "", + " if (null === $env = $_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) {", + " $dotenv->populate(array('APP_ENV' => $env = 'dev'));", + " }", + "", + " if ('test' !== $env && file_exists($p = \"$path.local\")) {", + " $dotenv->load($p);", + " $env = $_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env;", + " }", + "", + " if (file_exists($p = \"$path.$env\")) {", + " $dotenv->load($p);", + " }", + "", + " if (file_exists($p = \"$path.$env.local\")) {", + " $dotenv->load($p);", + " }", + " }", + "}", + "", + "$_SERVER += $_ENV;", + "$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) ?: 'dev';", + "$_SERVER['APP_DEBUG'] = $_SERVER['APP_DEBUG'] ?? $_ENV['APP_DEBUG'] ?? 'prod' !== $_SERVER['APP_ENV'];", + "$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = (int) $_SERVER['APP_DEBUG'] || filter_var($_SERVER['APP_DEBUG'], FILTER_VALIDATE_BOOLEAN) ? '1' : '0';", + "" + ], + "executable": false + }, + "config/packages/cache.yaml": { + "contents": [ + "framework:", + " cache:", + " # Unique name of your app: used to compute stable namespaces for cache keys.", + " #prefix_seed: your_vendor_name/app_name", + "", + " # The \"app\" cache stores to the filesystem by default.", + " # The data in this cache should persist between deploys.", + " # Other options include:", + "", + " # Redis", + " #app: cache.adapter.redis", + " #default_redis_provider: redis://localhost", + "", + " # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)", + " #app: cache.adapter.apcu", + "", + " # Namespaced pools use the above \"app\" backend by default", + " #pools:", + " #my.dedicated.cache: null", + "" + ], + "executable": false + }, + "config/packages/framework.yaml": { + "contents": [ + "framework:", + " secret: '%env(APP_SECRET)%'", + " #csrf_protection: true", + " #http_method_override: true", + "", + " # Enables session support. Note that the session will ONLY be started if you read or write from it.", + " # Remove or comment this section to explicitly disable session support.", + " session:", + " handler_id: null", + " cookie_samesite: lax", + "", + " #esi: true", + " #fragments: true", + " php_errors:", + " log: true", + "" + ], + "executable": false + }, + "config/packages/test/framework.yaml": { + "contents": [ + "framework:", + " test: true", + " session:", + " storage_id: session.storage.mock_file", + "" + ], + "executable": false + }, + "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 + }, "public/index.php": { "contents": [ "=1.2)", - "if (is_array($env = @include dirname(__DIR__).'/.env.local.php') && (!isset($env['APP_ENV']) || ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env['APP_ENV']) === $env['APP_ENV'])) {", - " (new Dotenv(false))->populate($env);", - "} else {", - " $path = dirname(__DIR__).'/.env';", - " $dotenv = new Dotenv(false);", - "", - " // load all the .env files", - " if (method_exists($dotenv, 'loadEnv')) {", - " $dotenv->loadEnv($path);", - " } else {", - " // fallback code in case your Dotenv component is not 4.2 or higher (when loadEnv() was added)", - "", - " if (file_exists($path) || !file_exists($p = \"$path.dist\")) {", - " $dotenv->load($path);", - " } else {", - " $dotenv->load($p);", - " }", - "", - " if (null === $env = $_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) {", - " $dotenv->populate(array('APP_ENV' => $env = 'dev'));", - " }", - "", - " if ('test' !== $env && file_exists($p = \"$path.local\")) {", - " $dotenv->load($p);", - " $env = $_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env;", - " }", - "", - " if (file_exists($p = \"$path.$env\")) {", - " $dotenv->load($p);", - " }", - "", - " if (file_exists($p = \"$path.$env.local\")) {", - " $dotenv->load($p);", - " }", - " }", - "}", - "", - "$_SERVER += $_ENV;", - "$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) ?: 'dev';", - "$_SERVER['APP_DEBUG'] = $_SERVER['APP_DEBUG'] ?? $_ENV['APP_DEBUG'] ?? 'prod' !== $_SERVER['APP_ENV'];", - "$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = (int) $_SERVER['APP_DEBUG'] || filter_var($_SERVER['APP_DEBUG'], FILTER_VALIDATE_BOOLEAN) ? '1' : '0';", - "" - ], - "executable": false - }, - "config/services.yaml": { - "contents": [ - "# This file is the entry point to configure your own services.", - "# Files in the packages/ subdirectory configure your dependencies.", - "", - "# Put parameters here that don't need to change on each machine where the app is deployed", - "# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration", - "parameters:", - "", - "services:", - " # default configuration for services in *this* file", - " _defaults:", - " autowire: true # Automatically injects dependencies in your services.", - " autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.", - " public: false # Allows optimizing the container by removing unused services; this also means", - " # fetching services directly from the container via $container->get() won't work.", - " # The best practice is to be explicit about your dependencies anyway.", - "", - " # makes classes in src/ available to be used as services", - " # this creates a service per class whose id is the fully-qualified class name", - " App\\:", - " resource: '../src/*'", - " exclude: '../src/{DependencyInjection,Entity,Migrations,Tests,Kernel.php}'", - "", - " # controllers are imported separately to make sure services can be injected", - " # as action arguments even if you don't extend any base controller class", - " App\\Controller\\:", - " resource: '../src/Controller'", - " tags: ['controller.service_arguments']", - "", - " # add more service definitions when explicit configuration is needed", - " # please note that last definitions always *replace* previous ones", - "" - ], - "executable": false } }, "ref": "4e582450c27d790227d2596a2ffb514fd71d5db7" diff --git a/symfony.framework-bundle.4.2.json b/symfony.framework-bundle.4.2.json index 02d1634e..085c5f6b 100644 --- a/symfony.framework-bundle.4.2.json +++ b/symfony.framework-bundle.4.2.json @@ -41,6 +41,126 @@ ] }, "files": { + "config/bootstrap.php": { + "contents": [ + "=1.2)", + "if (is_array($env = @include dirname(__DIR__).'/.env.local.php') && (!isset($env['APP_ENV']) || ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env['APP_ENV']) === $env['APP_ENV'])) {", + " (new Dotenv(false))->populate($env);", + "} else {", + " // load all the .env files", + " (new Dotenv(false))->loadEnv(dirname(__DIR__).'/.env');", + "}", + "", + "$_SERVER += $_ENV;", + "$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) ?: 'dev';", + "$_SERVER['APP_DEBUG'] = $_SERVER['APP_DEBUG'] ?? $_ENV['APP_DEBUG'] ?? 'prod' !== $_SERVER['APP_ENV'];", + "$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = (int) $_SERVER['APP_DEBUG'] || filter_var($_SERVER['APP_DEBUG'], FILTER_VALIDATE_BOOLEAN) ? '1' : '0';", + "" + ], + "executable": false + }, + "config/packages/cache.yaml": { + "contents": [ + "framework:", + " cache:", + " # Unique name of your app: used to compute stable namespaces for cache keys.", + " #prefix_seed: your_vendor_name/app_name", + "", + " # The \"app\" cache stores to the filesystem by default.", + " # The data in this cache should persist between deploys.", + " # Other options include:", + "", + " # Redis", + " #app: cache.adapter.redis", + " #default_redis_provider: redis://localhost", + "", + " # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)", + " #app: cache.adapter.apcu", + "", + " # Namespaced pools use the above \"app\" backend by default", + " #pools:", + " #my.dedicated.cache: null", + "" + ], + "executable": false + }, + "config/packages/framework.yaml": { + "contents": [ + "# see https://symfony.com/doc/current/reference/configuration/framework.html", + "framework:", + " secret: '%env(APP_SECRET)%'", + " #csrf_protection: true", + " #http_method_override: true", + "", + " # Enables session support. Note that the session will ONLY be started if you read or write from it.", + " # Remove or comment this section to explicitly disable session support.", + " session:", + " handler_id: null", + " cookie_secure: auto", + " cookie_samesite: lax", + "", + " #esi: true", + " #fragments: true", + " php_errors:", + " log: true", + "" + ], + "executable": false + }, + "config/packages/test/framework.yaml": { + "contents": [ + "framework:", + " test: true", + " session:", + " storage_id: session.storage.mock_file", + "" + ], + "executable": false + }, + "config/services.yaml": { + "contents": [ + "# This file is the entry point to configure your own services.", + "# Files in the packages/ subdirectory configure your dependencies.", + "", + "# Put parameters here that don't need to change on each machine where the app is deployed", + "# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration", + "parameters:", + "", + "services:", + " # default configuration for services in *this* file", + " _defaults:", + " autowire: true # Automatically injects dependencies in your services.", + " autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.", + "", + " # makes classes in src/ available to be used as services", + " # this creates a service per class whose id is the fully-qualified class name", + " App\\:", + " resource: '../src/*'", + " exclude: '../src/{DependencyInjection,Entity,Tests,Kernel.php}'", + "", + " # controllers are imported separately to make sure services can be injected", + " # as action arguments even if you don't extend any base controller class", + " App\\Controller\\:", + " resource: '../src/Controller'", + " tags: ['controller.service_arguments']", + "", + " # add more service definitions when explicit configuration is needed", + " # please note that last definitions always *replace* previous ones", + "" + ], + "executable": false + }, "public/index.php": { "contents": [ "=1.2)", - "if (is_array($env = @include dirname(__DIR__).'/.env.local.php') && (!isset($env['APP_ENV']) || ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env['APP_ENV']) === $env['APP_ENV'])) {", - " (new Dotenv(false))->populate($env);", - "} else {", - " // load all the .env files", - " (new Dotenv(false))->loadEnv(dirname(__DIR__).'/.env');", - "}", - "", - "$_SERVER += $_ENV;", - "$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) ?: 'dev';", - "$_SERVER['APP_DEBUG'] = $_SERVER['APP_DEBUG'] ?? $_ENV['APP_DEBUG'] ?? 'prod' !== $_SERVER['APP_ENV'];", - "$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = (int) $_SERVER['APP_DEBUG'] || filter_var($_SERVER['APP_DEBUG'], FILTER_VALIDATE_BOOLEAN) ? '1' : '0';", - "" - ], - "executable": false - }, - "config/services.yaml": { - "contents": [ - "# This file is the entry point to configure your own services.", - "# Files in the packages/ subdirectory configure your dependencies.", - "", - "# Put parameters here that don't need to change on each machine where the app is deployed", - "# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration", - "parameters:", - "", - "services:", - " # default configuration for services in *this* file", - " _defaults:", - " autowire: true # Automatically injects dependencies in your services.", - " autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.", - "", - " # makes classes in src/ available to be used as services", - " # this creates a service per class whose id is the fully-qualified class name", - " App\\:", - " resource: '../src/*'", - " exclude: '../src/{DependencyInjection,Entity,Tests,Kernel.php}'", - "", - " # controllers are imported separately to make sure services can be injected", - " # as action arguments even if you don't extend any base controller class", - " App\\Controller\\:", - " resource: '../src/Controller'", - " tags: ['controller.service_arguments']", - "", - " # add more service definitions when explicit configuration is needed", - " # please note that last definitions always *replace* previous ones", - "" - ], - "executable": false } }, "ref": "1bbe9a46c76d162f0c81b4f051285d7bac45bdb8" diff --git a/symfony.framework-bundle.4.4.json b/symfony.framework-bundle.4.4.json index f3583854..702dce5c 100644 --- a/symfony.framework-bundle.4.4.json +++ b/symfony.framework-bundle.4.4.json @@ -41,6 +41,154 @@ ] }, "files": { + "config/bootstrap.php": { + "contents": [ + "=1.2)", + "if (is_array($env = @include dirname(__DIR__).'/.env.local.php') && (!isset($env['APP_ENV']) || ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env['APP_ENV']) === $env['APP_ENV'])) {", + " (new Dotenv(false))->populate($env);", + "} else {", + " // load all the .env files", + " (new Dotenv(false))->loadEnv(dirname(__DIR__).'/.env');", + "}", + "", + "$_SERVER += $_ENV;", + "$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) ?: 'dev';", + "$_SERVER['APP_DEBUG'] = $_SERVER['APP_DEBUG'] ?? $_ENV['APP_DEBUG'] ?? 'prod' !== $_SERVER['APP_ENV'];", + "$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = (int) $_SERVER['APP_DEBUG'] || filter_var($_SERVER['APP_DEBUG'], FILTER_VALIDATE_BOOLEAN) ? '1' : '0';", + "" + ], + "executable": false + }, + "config/packages/cache.yaml": { + "contents": [ + "framework:", + " cache:", + " # Unique name of your app: used to compute stable namespaces for cache keys.", + " #prefix_seed: your_vendor_name/app_name", + "", + " # The \"app\" cache stores to the filesystem by default.", + " # The data in this cache should persist between deploys.", + " # Other options include:", + "", + " # Redis", + " #app: cache.adapter.redis", + " #default_redis_provider: redis://localhost", + "", + " # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)", + " #app: cache.adapter.apcu", + "", + " # Namespaced pools use the above \"app\" backend by default", + " #pools:", + " #my.dedicated.cache: null", + "" + ], + "executable": false + }, + "config/packages/framework.yaml": { + "contents": [ + "# see https://symfony.com/doc/current/reference/configuration/framework.html", + "framework:", + " secret: '%env(APP_SECRET)%'", + " #csrf_protection: true", + " #http_method_override: true", + "", + " # Enables session support. Note that the session will ONLY be started if you read or write from it.", + " # Remove or comment this section to explicitly disable session support.", + " session:", + " handler_id: null", + " cookie_secure: auto", + " cookie_samesite: lax", + "", + " #esi: true", + " #fragments: true", + " php_errors:", + " log: true", + "" + ], + "executable": false + }, + "config/packages/test/framework.yaml": { + "contents": [ + "framework:", + " test: true", + " session:", + " storage_id: session.storage.mock_file", + "" + ], + "executable": false + }, + "config/preload.php": { + "contents": [ + "=1.2)", - "if (is_array($env = @include dirname(__DIR__).'/.env.local.php') && (!isset($env['APP_ENV']) || ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env['APP_ENV']) === $env['APP_ENV'])) {", - " (new Dotenv(false))->populate($env);", - "} else {", - " // load all the .env files", - " (new Dotenv(false))->loadEnv(dirname(__DIR__).'/.env');", - "}", - "", - "$_SERVER += $_ENV;", - "$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) ?: 'dev';", - "$_SERVER['APP_DEBUG'] = $_SERVER['APP_DEBUG'] ?? $_ENV['APP_DEBUG'] ?? 'prod' !== $_SERVER['APP_ENV'];", - "$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = (int) $_SERVER['APP_DEBUG'] || filter_var($_SERVER['APP_DEBUG'], FILTER_VALIDATE_BOOLEAN) ? '1' : '0';", - "" - ], - "executable": false - }, - "config/services.yaml": { - "contents": [ - "# This file is the entry point to configure your own services.", - "# Files in the packages/ subdirectory configure your dependencies.", - "", - "# Put parameters here that don't need to change on each machine where the app is deployed", - "# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration", - "parameters:", - "", - "services:", - " # default configuration for services in *this* file", - " _defaults:", - " autowire: true # Automatically injects dependencies in your services.", - " autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.", - "", - " # makes classes in src/ available to be used as services", - " # this creates a service per class whose id is the fully-qualified class name", - " App\\:", - " resource: '../src/'", - " exclude:", - " - '../src/DependencyInjection/'", - " - '../src/Entity/'", - " - '../src/Kernel.php'", - " - '../src/Tests/'", - "", - " # controllers are imported separately to make sure services can be injected", - " # as action arguments even if you don't extend any base controller class", - " App\\Controller\\:", - " resource: '../src/Controller/'", - " tags: ['controller.service_arguments']", - "", - " # add more service definitions when explicit configuration is needed", - " # please note that last definitions always *replace* previous ones", - "" - ], - "executable": false - }, - "config/routes/dev/framework.yaml": { - "contents": [ - "_errors:", - " resource: '@FrameworkBundle/Resources/config/routing/errors.xml'", - " prefix: /_error", - "" - ], - "executable": false } }, "ref": "3b9c85f14cad439042f88f94a1fd15fb8ed923c9" diff --git a/symfony.framework-bundle.5.1.json b/symfony.framework-bundle.5.1.json index f3b2564f..9ee0f544 100644 --- a/symfony.framework-bundle.5.1.json +++ b/symfony.framework-bundle.5.1.json @@ -41,6 +41,121 @@ ] }, "files": { + "config/packages/cache.yaml": { + "contents": [ + "framework:", + " cache:", + " # Unique name of your app: used to compute stable namespaces for cache keys.", + " #prefix_seed: your_vendor_name/app_name", + "", + " # The \"app\" cache stores to the filesystem by default.", + " # The data in this cache should persist between deploys.", + " # Other options include:", + "", + " # Redis", + " #app: cache.adapter.redis", + " #default_redis_provider: redis://localhost", + "", + " # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)", + " #app: cache.adapter.apcu", + "", + " # Namespaced pools use the above \"app\" backend by default", + " #pools:", + " #my.dedicated.cache: null", + "" + ], + "executable": false + }, + "config/packages/framework.yaml": { + "contents": [ + "# see https://symfony.com/doc/current/reference/configuration/framework.html", + "framework:", + " secret: '%env(APP_SECRET)%'", + " #csrf_protection: true", + " #http_method_override: true", + "", + " # Enables session support. Note that the session will ONLY be started if you read or write from it.", + " # Remove or comment this section to explicitly disable session support.", + " session:", + " handler_id: null", + " cookie_secure: auto", + " cookie_samesite: lax", + "", + " #esi: true", + " #fragments: true", + " php_errors:", + " log: true", + "" + ], + "executable": false + }, + "config/packages/test/framework.yaml": { + "contents": [ + "framework:", + " test: true", + " session:", + " storage_id: session.storage.mock_file", + "" + ], + "executable": false + }, + "config/preload.php": { + "contents": [ + "bootEnv(dirname(__DIR__).'/.env');", - "}", + "# 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", + "", @@ -74,40 +92,22 @@ ], "executable": false }, - ".env.test": { + "tests/bootstrap.php": { "contents": [ - "# define your env variables for the test env here", - "KERNEL_CLASS='App\\Kernel'", - "APP_SECRET='$ecretf0rt3st'", - "SYMFONY_DEPRECATIONS_HELPER=999999", + "bootEnv(dirname(__DIR__).'/.env');", + "}", "" ], "executable": false - }, - "bin/phpunit": { - "contents": [ - "#!/usr/bin/env php", - "bootEnv(dirname(__DIR__).'/.env');", - "}", + "# 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", + "", @@ -75,36 +89,22 @@ ], "executable": false }, - ".env.test": { + "tests/bootstrap.php": { "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", + "bootEnv(dirname(__DIR__).'/.env');", + "}", "" ], "executable": false - }, - "bin/phpunit": { - "contents": [ - "#!/usr/bin/env php", - "bootEnv(dirname(__DIR__).'/.env');", - "}", + "# 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", + "", @@ -76,36 +90,22 @@ ], "executable": false }, - ".env.test": { + "tests/bootstrap.php": { "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", + "bootEnv(dirname(__DIR__).'/.env');", + "}", "" ], "executable": false - }, - "bin/phpunit": { - "contents": [ - "#!/usr/bin/env php", - "bootEnv(dirname(__DIR__).'/.env');", - "}", + "# 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", + "", @@ -82,36 +96,22 @@ ], "executable": false }, - ".env.test": { + "tests/bootstrap.php": { "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", + "bootEnv(dirname(__DIR__).'/.env');", + "}", "" ], "executable": false - }, - "bin/phpunit": { - "contents": [ - "#!/usr/bin/env php", - "bootEnv(dirname(__DIR__).'/.env');", - "}", + "# 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", + "", @@ -84,42 +104,22 @@ ], "executable": false }, - ".env.test": { + "tests/bootstrap.php": { "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", + "bootEnv(dirname(__DIR__).'/.env');", + "}", "" ], "executable": false - }, - "bin/phpunit": { - "contents": [ - "#!/usr/bin/env php", - "", - "", - " ", - " ", - " {% block title %}Welcome!{% endblock %}", - " {# Run `composer require symfony/webpack-encore-bundle`", - " and uncomment the following Encore helpers to start using Symfony UX #}", - " {% block stylesheets %}", - " {#{{ encore_entry_link_tags('app') }}#}", - " {% endblock %}", - "", - " {% block javascripts %}", - " {#{{ encore_entry_script_tags('app') }}#}", - " {% endblock %}", - " ", - " ", - " {% block body %}{% endblock %}", - " ", - "", - "" - ], - "executable": false - }, "config/packages/test/twig.yaml": { "contents": [ "twig:", @@ -64,6 +39,31 @@ "" ], "executable": false + }, + "templates/base.html.twig": { + "contents": [ + "", + "", + " ", + " ", + " {% block title %}Welcome!{% endblock %}", + " {# Run `composer require symfony/webpack-encore-bundle`", + " and uncomment the following Encore helpers to start using Symfony UX #}", + " {% block stylesheets %}", + " {#{{ encore_entry_link_tags('app') }}#}", + " {% endblock %}", + "", + " {% block javascripts %}", + " {#{{ encore_entry_script_tags('app') }}#}", + " {% endblock %}", + " ", + " ", + " {% block body %}{% endblock %}", + " ", + "", + "" + ], + "executable": false } }, "ref": "7e5381cd17e0e27d1b432af9230b65060b75ac4c" diff --git a/symfony.twig-bundle.4.4.json b/symfony.twig-bundle.4.4.json index 3466b771..bf8e06a0 100644 --- a/symfony.twig-bundle.4.4.json +++ b/symfony.twig-bundle.4.4.json @@ -13,6 +13,25 @@ } }, "files": { + "config/packages/test/twig.yaml": { + "contents": [ + "twig:", + " strict_variables: true", + "" + ], + "executable": false + }, + "config/packages/twig.yaml": { + "contents": [ + "twig:", + " default_path: '%kernel.project_dir%/templates'", + " debug: '%kernel.debug%'", + " strict_variables: '%kernel.debug%'", + " exception_controller: null", + "" + ], + "executable": false + }, "templates/base.html.twig": { "contents": [ "", @@ -37,25 +56,6 @@ "" ], "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" diff --git a/symfony.twig-bundle.5.0.json b/symfony.twig-bundle.5.0.json index efa28431..89ee020e 100644 --- a/symfony.twig-bundle.5.0.json +++ b/symfony.twig-bundle.5.0.json @@ -13,6 +13,22 @@ } }, "files": { + "config/packages/test/twig.yaml": { + "contents": [ + "twig:", + " strict_variables: true", + "" + ], + "executable": false + }, + "config/packages/twig.yaml": { + "contents": [ + "twig:", + " default_path: '%kernel.project_dir%/templates'", + "" + ], + "executable": false + }, "templates/base.html.twig": { "contents": [ "", @@ -37,22 +53,6 @@ "" ], "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" diff --git a/symfony.twig-bundle.5.3.json b/symfony.twig-bundle.5.3.json index d67ca906..eb2854cb 100644 --- a/symfony.twig-bundle.5.3.json +++ b/symfony.twig-bundle.5.3.json @@ -13,6 +13,18 @@ } }, "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": [ "", @@ -37,18 +49,6 @@ "" ], "executable": false - }, - "config/packages/twig.yaml": { - "contents": [ - "twig:", - " default_path: '%kernel.project_dir%/templates'", - "", - "when@test:", - " twig:", - " strict_variables: true", - "" - ], - "executable": false } }, "ref": "3dd530739a4284e3272274c128dbb7a8140a66f1" diff --git a/symfony.twig-bundle.5.4.json b/symfony.twig-bundle.5.4.json index 1d3ecf76..8cbcfbb5 100644 --- a/symfony.twig-bundle.5.4.json +++ b/symfony.twig-bundle.5.4.json @@ -13,6 +13,18 @@ } }, "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": [ "", @@ -37,18 +49,6 @@ "" ], "executable": false - }, - "config/packages/twig.yaml": { - "contents": [ - "twig:", - " default_path: '%kernel.project_dir%/templates'", - "", - "when@test:", - " twig:", - " strict_variables: true", - "" - ], - "executable": false } }, "ref": "bffbb8f1a849736e64006735afae730cb428b6ff" diff --git a/symfony.validator.4.1.json b/symfony.validator.4.1.json index 2af0fa75..6f9a62dd 100644 --- a/symfony.validator.4.1.json +++ b/symfony.validator.4.1.json @@ -7,15 +7,6 @@ } }, "files": { - "config/packages/validator.yaml": { - "contents": [ - "framework:", - " validation:", - " email_validation_mode: html5", - "" - ], - "executable": false - }, "config/packages/test/validator.yaml": { "contents": [ "framework:", @@ -25,6 +16,15 @@ "" ], "executable": false + }, + "config/packages/validator.yaml": { + "contents": [ + "framework:", + " validation:", + " email_validation_mode: html5", + "" + ], + "executable": false } }, "ref": "21ab70175caf1e4b273791364fb30d27f1153546" diff --git a/symfony.validator.4.3.json b/symfony.validator.4.3.json index fa90dee7..3876a98c 100644 --- a/symfony.validator.4.3.json +++ b/symfony.validator.4.3.json @@ -7,6 +7,15 @@ } }, "files": { + "config/packages/test/validator.yaml": { + "contents": [ + "framework:", + " validation:", + " not_compromised_password: false", + "" + ], + "executable": false + }, "config/packages/validator.yaml": { "contents": [ "framework:", @@ -20,15 +29,6 @@ "" ], "executable": false - }, - "config/packages/test/validator.yaml": { - "contents": [ - "framework:", - " validation:", - " not_compromised_password: false", - "" - ], - "executable": false } }, "ref": "3eb8df139ec05414489d55b97603c5f6ca0c44cb" diff --git a/symfony.webpack-encore-bundle.1.0.json b/symfony.webpack-encore-bundle.1.0.json index bff9db7d..31c327b6 100644 --- a/symfony.webpack-encore-bundle.1.0.json +++ b/symfony.webpack-encore-bundle.1.0.json @@ -21,6 +21,145 @@ ] }, "files": { + "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 + }, + "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/styles/app.css": { + "contents": [ + "body {", + " background-color: lightgray;", + "}", + "" + ], + "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 + }, + "package.json": { + "contents": [ + "{", + " \"devDependencies\": {", + " \"@symfony/stimulus-bridge\": \"^2.0.0\",", + " \"@symfony/webpack-encore\": \"^1.0.0\",", + " \"core-js\": \"^3.0.0\",", + " \"regenerator-runtime\": \"^0.13.2\",", + " \"stimulus\": \"^2.0.0\",", + " \"webpack-notifier\": \"^1.6.0\"", + " },", + " \"license\": \"UNLICENSED\",", + " \"private\": true,", + " \"scripts\": {", + " \"dev-server\": \"encore dev-server\",", + " \"dev\": \"encore dev\",", + " \"watch\": \"encore dev --watch\",", + " \"build\": \"encore production --progress\"", + " }", + "}", + "" + ], + "executable": false + }, "webpack.config.js": { "contents": [ "const Encore = require('@symfony/webpack-encore');", @@ -101,145 +240,6 @@ "" ], "executable": false - }, - "package.json": { - "contents": [ - "{", - " \"devDependencies\": {", - " \"@symfony/stimulus-bridge\": \"^2.0.0\",", - " \"@symfony/webpack-encore\": \"^1.0.0\",", - " \"core-js\": \"^3.0.0\",", - " \"regenerator-runtime\": \"^0.13.2\",", - " \"stimulus\": \"^2.0.0\",", - " \"webpack-notifier\": \"^1.6.0\"", - " },", - " \"license\": \"UNLICENSED\",", - " \"private\": true,", - " \"scripts\": {", - " \"dev-server\": \"encore dev-server\",", - " \"dev\": \"encore dev\",", - " \"watch\": \"encore dev --watch\",", - " \"build\": \"encore production --progress\"", - " }", - "}", - "" - ], - "executable": false - }, - "config/packages/assets.yaml": { - "contents": [ - "framework:", - " assets:", - " json_manifest_path: '%kernel.project_dir%/public/build/manifest.json'", - "" - ], - "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 - }, - "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 - }, - "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": "2d96acce1b27ddaa12bd7405a39892928ce2b95d" diff --git a/symfony.webpack-encore-bundle.1.6.json b/symfony.webpack-encore-bundle.1.6.json index e9beca21..8db4b02a 100644 --- a/symfony.webpack-encore-bundle.1.6.json +++ b/symfony.webpack-encore-bundle.1.6.json @@ -21,6 +21,164 @@ ] }, "files": { + "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 + }, + "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/styles/app.css": { + "contents": [ + "body {", + " background-color: lightgray;", + "}", + "" + ], + "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/test/webpack_encore.yaml": { + "contents": [ + "#webpack_encore:", + "# strict_mode: false", + "" + ], + "executable": false + }, + "config/packages/webpack_encore.yaml": { + "contents": [ + "webpack_encore:", + " # The path where Encore is building the assets - i.e. Encore.setOutputPath()", + " output_path: '%kernel.project_dir%/public/build'", + " # If multiple builds are defined (as shown below), you can disable the default build:", + " # output_path: false", + "", + " # If using Encore.enableIntegrityHashes() and need the crossorigin attribute (default: false, or use 'anonymous' or 'use-credentials')", + " # crossorigin: 'anonymous'", + "", + " # Preload all rendered script and link tags automatically via the HTTP/2 Link header", + " # preload: true", + "", + " # Throw an exception if the entrypoints.json file is missing or an entry is missing from the data", + " # strict_mode: false", + "", + " # If you have multiple builds:", + " # builds:", + " # pass \"frontend\" as the 3rg arg to the Twig functions", + " # {{ encore_entry_script_tags('entry1', null, 'frontend') }}", + "", + " # frontend: '%kernel.project_dir%/public/frontend/build'", + "", + " # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)", + " # Put in config/packages/prod/webpack_encore.yaml", + " # cache: true", + "" + ], + "executable": false + }, + "package.json": { + "contents": [ + "{", + " \"devDependencies\": {", + " \"@symfony/stimulus-bridge\": \"^2.0.0\",", + " \"@symfony/webpack-encore\": \"^1.0.0\",", + " \"core-js\": \"^3.0.0\",", + " \"regenerator-runtime\": \"^0.13.2\",", + " \"stimulus\": \"^2.0.0\",", + " \"webpack-notifier\": \"^1.6.0\"", + " },", + " \"license\": \"UNLICENSED\",", + " \"private\": true,", + " \"scripts\": {", + " \"dev-server\": \"encore dev-server\",", + " \"dev\": \"encore dev\",", + " \"watch\": \"encore dev --watch\",", + " \"build\": \"encore production --progress\"", + " }", + "}", + "" + ], + "executable": false + }, "webpack.config.js": { "contents": [ "const Encore = require('@symfony/webpack-encore');", @@ -101,164 +259,6 @@ "" ], "executable": false - }, - "package.json": { - "contents": [ - "{", - " \"devDependencies\": {", - " \"@symfony/stimulus-bridge\": \"^2.0.0\",", - " \"@symfony/webpack-encore\": \"^1.0.0\",", - " \"core-js\": \"^3.0.0\",", - " \"regenerator-runtime\": \"^0.13.2\",", - " \"stimulus\": \"^2.0.0\",", - " \"webpack-notifier\": \"^1.6.0\"", - " },", - " \"license\": \"UNLICENSED\",", - " \"private\": true,", - " \"scripts\": {", - " \"dev-server\": \"encore dev-server\",", - " \"dev\": \"encore dev\",", - " \"watch\": \"encore dev --watch\",", - " \"build\": \"encore production --progress\"", - " }", - "}", - "" - ], - "executable": false - }, - "config/packages/assets.yaml": { - "contents": [ - "framework:", - " assets:", - " json_manifest_path: '%kernel.project_dir%/public/build/manifest.json'", - "" - ], - "executable": false - }, - "config/packages/webpack_encore.yaml": { - "contents": [ - "webpack_encore:", - " # The path where Encore is building the assets - i.e. Encore.setOutputPath()", - " output_path: '%kernel.project_dir%/public/build'", - " # If multiple builds are defined (as shown below), you can disable the default build:", - " # output_path: false", - "", - " # If using Encore.enableIntegrityHashes() and need the crossorigin attribute (default: false, or use 'anonymous' or 'use-credentials')", - " # crossorigin: 'anonymous'", - "", - " # Preload all rendered script and link tags automatically via the HTTP/2 Link header", - " # preload: true", - "", - " # Throw an exception if the entrypoints.json file is missing or an entry is missing from the data", - " # strict_mode: false", - "", - " # If you have multiple builds:", - " # builds:", - " # pass \"frontend\" as the 3rg arg to the Twig functions", - " # {{ encore_entry_script_tags('entry1', null, 'frontend') }}", - "", - " # frontend: '%kernel.project_dir%/public/frontend/build'", - "", - " # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)", - " # Put in config/packages/prod/webpack_encore.yaml", - " # cache: true", - "" - ], - "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:", - "# strict_mode: false", - "" - ], - "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" diff --git a/symfony.webpack-encore-bundle.1.9.json b/symfony.webpack-encore-bundle.1.9.json index c2e867f5..a12b55ee 100644 --- a/symfony.webpack-encore-bundle.1.9.json +++ b/symfony.webpack-encore-bundle.1.9.json @@ -28,6 +28,174 @@ ] }, "files": { + "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 + }, + "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/styles/app.css": { + "contents": [ + "body {", + " background-color: lightgray;", + "}", + "" + ], + "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/test/webpack_encore.yaml": { + "contents": [ + "#webpack_encore:", + "# strict_mode: false", + "" + ], + "executable": false + }, + "config/packages/webpack_encore.yaml": { + "contents": [ + "webpack_encore:", + " # The path where Encore is building the assets - i.e. Encore.setOutputPath()", + " output_path: '%kernel.project_dir%/public/build'", + " # If multiple builds are defined (as shown below), you can disable the default build:", + " # output_path: false", + "", + " # Set attributes that will be rendered on all script and link tags", + " script_attributes:", + " defer: true", + " # Uncomment (also under link_attributes) if using Turbo Drive", + " # https://turbo.hotwired.dev/handbook/drive#reloading-when-assets-change", + " # 'data-turbo-track': reload", + " # link_attributes:", + " # Uncomment if using Turbo Drive", + " # 'data-turbo-track': reload", + "", + " # If using Encore.enableIntegrityHashes() and need the crossorigin attribute (default: false, or use 'anonymous' or 'use-credentials')", + " # crossorigin: 'anonymous'", + "", + " # Preload all rendered script and link tags automatically via the HTTP/2 Link header", + " # preload: true", + "", + " # Throw an exception if the entrypoints.json file is missing or an entry is missing from the data", + " # strict_mode: false", + "", + " # If you have multiple builds:", + " # builds:", + " # pass \"frontend\" as the 3rg arg to the Twig functions", + " # {{ encore_entry_script_tags('entry1', null, 'frontend') }}", + "", + " # frontend: '%kernel.project_dir%/public/frontend/build'", + "", + " # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)", + " # Put in config/packages/prod/webpack_encore.yaml", + " # cache: true", + "" + ], + "executable": false + }, + "package.json": { + "contents": [ + "{", + " \"devDependencies\": {", + " \"@symfony/stimulus-bridge\": \"^2.0.0\",", + " \"@symfony/webpack-encore\": \"^1.0.0\",", + " \"core-js\": \"^3.0.0\",", + " \"regenerator-runtime\": \"^0.13.2\",", + " \"stimulus\": \"^2.0.0\",", + " \"webpack-notifier\": \"^1.6.0\"", + " },", + " \"license\": \"UNLICENSED\",", + " \"private\": true,", + " \"scripts\": {", + " \"dev-server\": \"encore dev-server\",", + " \"dev\": \"encore dev\",", + " \"watch\": \"encore dev --watch\",", + " \"build\": \"encore production --progress\"", + " }", + "}", + "" + ], + "executable": false + }, "webpack.config.js": { "contents": [ "const Encore = require('@symfony/webpack-encore');", @@ -108,174 +276,6 @@ "" ], "executable": false - }, - "package.json": { - "contents": [ - "{", - " \"devDependencies\": {", - " \"@symfony/stimulus-bridge\": \"^2.0.0\",", - " \"@symfony/webpack-encore\": \"^1.0.0\",", - " \"core-js\": \"^3.0.0\",", - " \"regenerator-runtime\": \"^0.13.2\",", - " \"stimulus\": \"^2.0.0\",", - " \"webpack-notifier\": \"^1.6.0\"", - " },", - " \"license\": \"UNLICENSED\",", - " \"private\": true,", - " \"scripts\": {", - " \"dev-server\": \"encore dev-server\",", - " \"dev\": \"encore dev\",", - " \"watch\": \"encore dev --watch\",", - " \"build\": \"encore production --progress\"", - " }", - "}", - "" - ], - "executable": false - }, - "config/packages/assets.yaml": { - "contents": [ - "framework:", - " assets:", - " json_manifest_path: '%kernel.project_dir%/public/build/manifest.json'", - "" - ], - "executable": false - }, - "config/packages/webpack_encore.yaml": { - "contents": [ - "webpack_encore:", - " # The path where Encore is building the assets - i.e. Encore.setOutputPath()", - " output_path: '%kernel.project_dir%/public/build'", - " # If multiple builds are defined (as shown below), you can disable the default build:", - " # output_path: false", - "", - " # Set attributes that will be rendered on all script and link tags", - " script_attributes:", - " defer: true", - " # Uncomment (also under link_attributes) if using Turbo Drive", - " # https://turbo.hotwired.dev/handbook/drive#reloading-when-assets-change", - " # 'data-turbo-track': reload", - " # link_attributes:", - " # Uncomment if using Turbo Drive", - " # 'data-turbo-track': reload", - "", - " # If using Encore.enableIntegrityHashes() and need the crossorigin attribute (default: false, or use 'anonymous' or 'use-credentials')", - " # crossorigin: 'anonymous'", - "", - " # Preload all rendered script and link tags automatically via the HTTP/2 Link header", - " # preload: true", - "", - " # Throw an exception if the entrypoints.json file is missing or an entry is missing from the data", - " # strict_mode: false", - "", - " # If you have multiple builds:", - " # builds:", - " # pass \"frontend\" as the 3rg arg to the Twig functions", - " # {{ encore_entry_script_tags('entry1', null, 'frontend') }}", - "", - " # frontend: '%kernel.project_dir%/public/frontend/build'", - "", - " # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)", - " # Put in config/packages/prod/webpack_encore.yaml", - " # cache: true", - "" - ], - "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:", - "# strict_mode: false", - "" - ], - "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"