diff --git a/api-platform.admin-pack.1.0.json b/api-platform.admin-pack.1.0.json index b1d12325..6afdfc62 100644 --- a/api-platform.admin-pack.1.0.json +++ b/api-platform.admin-pack.1.0.json @@ -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(, 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(, document.getElementById('api-platform-admin'));", + "" + ], + "executable": false } }, "ref": "703c6453b039330753a7ae6cebd0af8ab1d770d8" diff --git a/doctrine.doctrine-bundle.1.12.json b/doctrine.doctrine-bundle.1.12.json index 5d2f2ca7..b36f0e30 100644 --- a/doctrine.doctrine-bundle.1.12.json +++ b/doctrine.doctrine-bundle.1.12.json @@ -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" diff --git a/doctrine.doctrine-bundle.1.6.json b/doctrine.doctrine-bundle.1.6.json index 1c62ec47..e402a3e3 100644 --- a/doctrine.doctrine-bundle.1.6.json +++ b/doctrine.doctrine-bundle.1.6.json @@ -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" diff --git a/doctrine.doctrine-bundle.2.0.json b/doctrine.doctrine-bundle.2.0.json index edd56a0a..523f8d2c 100644 --- a/doctrine.doctrine-bundle.2.0.json +++ b/doctrine.doctrine-bundle.2.0.json @@ -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" diff --git a/doctrine.doctrine-bundle.2.3.json b/doctrine.doctrine-bundle.2.3.json index 5caf1ca9..a7c7e0f3 100644 --- a/doctrine.doctrine-bundle.2.3.json +++ b/doctrine.doctrine-bundle.2.3.json @@ -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" diff --git a/doctrine.doctrine-bundle.2.4.json b/doctrine.doctrine-bundle.2.4.json index af0283ba..6f6ab441 100644 --- a/doctrine.doctrine-bundle.2.4.json +++ b/doctrine.doctrine-bundle.2.4.json @@ -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" diff --git a/index.json b/index.json index 3321ce8f..62b83397 100644 --- a/index.json +++ b/index.json @@ -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" } } diff --git a/phpunit.phpunit.4.7.json b/phpunit.phpunit.4.7.json index 5c29ecb1..fe78eb9e 100644 --- a/phpunit.phpunit.4.7.json +++ b/phpunit.phpunit.4.7.json @@ -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": [ "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" diff --git a/symfony.framework-bundle.3.4.json b/symfony.framework-bundle.3.4.json index b9cf404a..a964d6a5 100644 --- a/symfony.framework-bundle.3.4.json +++ b/symfony.framework-bundle.3.4.json @@ -74,6 +74,12 @@ ], "executable": false }, + "src/Controller/.gitignore": { + "contents": [ + "" + ], + "executable": false + }, "src/Kernel.php": { "contents": [ "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" diff --git a/symfony.framework-bundle.4.2.json b/symfony.framework-bundle.4.2.json index 78f78bfd..02d1634e 100644 --- a/symfony.framework-bundle.4.2.json +++ b/symfony.framework-bundle.4.2.json @@ -74,6 +74,12 @@ ], "executable": false }, + "src/Controller/.gitignore": { + "contents": [ + "" + ], + "executable": false + }, "src/Kernel.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.", @@ -230,35 +259,6 @@ "" ], "executable": false - }, - "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 } }, "ref": "1bbe9a46c76d162f0c81b4f051285d7bac45bdb8" diff --git a/symfony.framework-bundle.4.4.json b/symfony.framework-bundle.4.4.json index 6518877f..f3583854 100644 --- a/symfony.framework-bundle.4.4.json +++ b/symfony.framework-bundle.4.4.json @@ -74,6 +74,12 @@ ], "executable": false }, + "src/Controller/.gitignore": { + "contents": [ + "" + ], + "executable": false + }, "src/Kernel.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.", @@ -235,50 +279,6 @@ ], "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/routes/dev/framework.yaml": { "contents": [ "_errors:", diff --git a/symfony.framework-bundle.5.1.json b/symfony.framework-bundle.5.1.json index 90552ab0..f3b2564f 100644 --- a/symfony.framework-bundle.5.1.json +++ b/symfony.framework-bundle.5.1.json @@ -77,6 +77,12 @@ ], "executable": false }, + "src/Controller/.gitignore": { + "contents": [ + "" + ], + "executable": false + }, "src/Kernel.php": { "contents": [ "", @@ -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", + "", @@ -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", + "", @@ -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", + "", @@ -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", + "", @@ -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", + "", @@ -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" diff --git a/symfony.twig-bundle.4.4.json b/symfony.twig-bundle.4.4.json index d032f357..3466b771 100644 --- a/symfony.twig-bundle.4.4.json +++ b/symfony.twig-bundle.4.4.json @@ -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": [ "", @@ -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" diff --git a/symfony.twig-bundle.5.0.json b/symfony.twig-bundle.5.0.json index fe179922..efa28431 100644 --- a/symfony.twig-bundle.5.0.json +++ b/symfony.twig-bundle.5.0.json @@ -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": [ "", @@ -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" diff --git a/symfony.twig-bundle.5.3.json b/symfony.twig-bundle.5.3.json index eb2854cb..d67ca906 100644 --- a/symfony.twig-bundle.5.3.json +++ b/symfony.twig-bundle.5.3.json @@ -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": [ "", @@ -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" diff --git a/symfony.twig-bundle.5.4.json b/symfony.twig-bundle.5.4.json index 8cbcfbb5..1d3ecf76 100644 --- a/symfony.twig-bundle.5.4.json +++ b/symfony.twig-bundle.5.4.json @@ -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": [ "", @@ -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" diff --git a/symfony.webpack-encore-bundle.1.0.json b/symfony.webpack-encore-bundle.1.0.json index 8ba66837..bff9db7d 100644 --- a/symfony.webpack-encore-bundle.1.0.json +++ b/symfony.webpack-encore-bundle.1.0.json @@ -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" diff --git a/symfony.webpack-encore-bundle.1.6.json b/symfony.webpack-encore-bundle.1.6.json index 172b6f54..e9beca21 100644 --- a/symfony.webpack-encore-bundle.1.6.json +++ b/symfony.webpack-encore-bundle.1.6.json @@ -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" diff --git a/symfony.webpack-encore-bundle.1.9.json b/symfony.webpack-encore-bundle.1.9.json index b5b347f9..c2e867f5 100644 --- a/symfony.webpack-encore-bundle.1.9.json +++ b/symfony.webpack-encore-bundle.1.9.json @@ -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"