From d36ab15b521c1780fb4847ff489cc807f4e43a46 Mon Sep 17 00:00:00 2001 From: "github-action[bot]" <> Date: Fri, 12 Nov 2021 14:52:32 +0000 Subject: [PATCH] Update Flex endpoint --- api-platform.admin-pack.1.0.json | 22 +- api-platform.core.2.1.json | 12 +- api-platform.core.2.5.json | 12 +- doctrine.doctrine-bundle.1.12.json | 24 +- doctrine.doctrine-bundle.1.6.json | 24 +- doctrine.doctrine-bundle.2.0.json | 24 +- doctrine.doctrine-bundle.2.3.json | 34 +- doctrine.doctrine-bundle.2.4.json | 34 +- doctrine.doctrine-migrations-bundle.1.2.json | 12 +- doctrine.doctrine-migrations-bundle.2.2.json | 12 +- doctrine.doctrine-migrations-bundle.3.1.json | 12 +- easycorp.easyadmin-bundle.1.17.json | 20 +- easycorp.easyadmin-bundle.2.0.json | 20 +- hautelook.alice-bundle.2.1.json | 8 +- index.json | 3 +- javiereguiluz.easyadmin-bundle.1.16.json | 20 +- javiereguiluz.easyadmin-bundle.1.17.json | 20 +- nelmio.alice.3.2.json | 16 +- phpunit.phpunit.4.7.json | 58 ++-- phpunit.phpunit.9.3.json | 58 ++-- scheb.2fa-bundle.5.0.json | 26 +- symfony.console.3.3.json | 96 +++--- symfony.console.4.2.json | 58 ++-- symfony.console.4.4.json | 58 ++-- symfony.framework-bundle.3.3.json | 256 +++++++------- symfony.framework-bundle.3.4.json | 258 +++++++------- symfony.framework-bundle.4.2.json | 240 ++++++------- symfony.framework-bundle.4.4.json | 296 ++++++++-------- symfony.framework-bundle.5.1.json | 230 ++++++------- symfony.framework-bundle.5.2.json | 230 ++++++------- symfony.framework-bundle.5.3.json | 214 ++++++------ symfony.framework-bundle.5.4.json | 148 ++++---- symfony.monolog-bundle.3.1.json | 26 +- symfony.monolog-bundle.3.3.json | 36 +- symfony.monolog-bundle.3.7.json | 36 +- symfony.phpunit-bridge.3.3.json | 104 +++--- symfony.phpunit-bridge.4.1.json | 96 +++--- symfony.phpunit-bridge.4.3.json | 96 +++--- symfony.phpunit-bridge.5.1.json | 96 +++--- symfony.phpunit-bridge.5.3.json | 108 +++--- symfony.routing.6.0.json | 45 +++ symfony.swiftmailer-bundle.2.5.json | 16 +- symfony.translation.3.3.json | 12 +- symfony.translation.5.3.json | 12 +- symfony.twig-bundle.3.3.json | 18 +- symfony.twig-bundle.4.4.json | 16 +- symfony.twig-bundle.5.0.json | 16 +- symfony.web-profiler-bundle.3.3.json | 26 +- symfony.webpack-encore-bundle.1.0.json | 278 +++++++-------- symfony.webpack-encore-bundle.1.6.json | 316 ++++++++--------- symfony.webpack-encore-bundle.1.9.json | 336 +++++++++---------- zenstruck.foundry.1.9.json | 20 +- 52 files changed, 2155 insertions(+), 2109 deletions(-) create mode 100644 symfony.routing.6.0.json diff --git a/api-platform.admin-pack.1.0.json b/api-platform.admin-pack.1.0.json index db63a921..b1d12325 100644 --- a/api-platform.admin-pack.1.0.json +++ b/api-platform.admin-pack.1.0.json @@ -23,17 +23,6 @@ ] }, "files": { - "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';", @@ -47,6 +36,17 @@ ], "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' %}", diff --git a/api-platform.core.2.1.json b/api-platform.core.2.1.json index 5484efd9..ce8e3282 100644 --- a/api-platform.core.2.1.json +++ b/api-platform.core.2.1.json @@ -23,12 +23,8 @@ ] }, "files": { - "config/routes/api_platform.yaml": { + "src/Entity/.gitignore": { "contents": [ - "api_platform:", - " resource: .", - " type: api_platform", - " prefix: /api", "" ], "executable": false @@ -42,8 +38,12 @@ ], "executable": false }, - "src/Entity/.gitignore": { + "config/routes/api_platform.yaml": { "contents": [ + "api_platform:", + " resource: .", + " type: api_platform", + " prefix: /api", "" ], "executable": false diff --git a/api-platform.core.2.5.json b/api-platform.core.2.5.json index ddd317ad..8e615dbe 100644 --- a/api-platform.core.2.5.json +++ b/api-platform.core.2.5.json @@ -23,12 +23,8 @@ ] }, "files": { - "config/routes/api_platform.yaml": { + "src/Entity/.gitignore": { "contents": [ - "api_platform:", - " resource: .", - " type: api_platform", - " prefix: /api", "" ], "executable": false @@ -46,8 +42,12 @@ ], "executable": false }, - "src/Entity/.gitignore": { + "config/routes/api_platform.yaml": { "contents": [ + "api_platform:", + " resource: .", + " type: api_platform", + " prefix: /api", "" ], "executable": false diff --git a/doctrine.doctrine-bundle.1.12.json b/doctrine.doctrine-bundle.1.12.json index 1f46590e..5d2f2ca7 100644 --- a/doctrine.doctrine-bundle.1.12.json +++ b/doctrine.doctrine-bundle.1.12.json @@ -60,6 +60,18 @@ ] }, "files": { + "src/Repository/.gitignore": { + "contents": [ + "" + ], + "executable": false + }, + "src/Entity/.gitignore": { + "contents": [ + "" + ], + "executable": false + }, "config/packages/doctrine.yaml": { "contents": [ "doctrine:", @@ -117,18 +129,6 @@ "" ], "executable": false - }, - "src/Repository/.gitignore": { - "contents": [ - "" - ], - "executable": false - }, - "src/Entity/.gitignore": { - "contents": [ - "" - ], - "executable": false } }, "ref": "3cc0efdb85531c72c2b25cbb41eec849a279aa64" diff --git a/doctrine.doctrine-bundle.1.6.json b/doctrine.doctrine-bundle.1.6.json index cfd091b7..1c62ec47 100644 --- a/doctrine.doctrine-bundle.1.6.json +++ b/doctrine.doctrine-bundle.1.6.json @@ -60,6 +60,18 @@ ] }, "files": { + "src/Repository/.gitignore": { + "contents": [ + "" + ], + "executable": false + }, + "src/Entity/.gitignore": { + "contents": [ + "" + ], + "executable": false + }, "config/packages/doctrine.yaml": { "contents": [ "doctrine:", @@ -126,18 +138,6 @@ "" ], "executable": false - }, - "src/Repository/.gitignore": { - "contents": [ - "" - ], - "executable": false - }, - "src/Entity/.gitignore": { - "contents": [ - "" - ], - "executable": false } }, "ref": "e4fc55e8adf9aa89d9bba8f5a95669d33a16cb00" diff --git a/doctrine.doctrine-bundle.2.0.json b/doctrine.doctrine-bundle.2.0.json index 5dc9122b..edd56a0a 100644 --- a/doctrine.doctrine-bundle.2.0.json +++ b/doctrine.doctrine-bundle.2.0.json @@ -60,6 +60,18 @@ ] }, "files": { + "src/Repository/.gitignore": { + "contents": [ + "" + ], + "executable": false + }, + "src/Entity/.gitignore": { + "contents": [ + "" + ], + "executable": false + }, "config/packages/doctrine.yaml": { "contents": [ "doctrine:", @@ -109,18 +121,6 @@ "" ], "executable": false - }, - "src/Repository/.gitignore": { - "contents": [ - "" - ], - "executable": false - }, - "src/Entity/.gitignore": { - "contents": [ - "" - ], - "executable": false } }, "ref": "c3d09597f211294e75b221b1d97a9c22f74957e1" diff --git a/doctrine.doctrine-bundle.2.3.json b/doctrine.doctrine-bundle.2.3.json index b4c616e2..5caf1ca9 100644 --- a/doctrine.doctrine-bundle.2.3.json +++ b/doctrine.doctrine-bundle.2.3.json @@ -60,6 +60,18 @@ ] }, "files": { + "src/Repository/.gitignore": { + "contents": [ + "" + ], + "executable": false + }, + "src/Entity/.gitignore": { + "contents": [ + "" + ], + "executable": false + }, "config/packages/doctrine.yaml": { "contents": [ "doctrine:", @@ -84,16 +96,6 @@ ], "executable": false }, - "config/packages/test/doctrine.yaml": { - "contents": [ - "doctrine:", - " dbal:", - " # \"TEST_TOKEN\" is typically set by ParaTest", - " dbname: 'main_test%env(default::TEST_TOKEN)%'", - "" - ], - "executable": false - }, "config/packages/prod/doctrine.yaml": { "contents": [ "doctrine:", @@ -117,14 +119,12 @@ ], "executable": false }, - "src/Repository/.gitignore": { - "contents": [ - "" - ], - "executable": false - }, - "src/Entity/.gitignore": { + "config/packages/test/doctrine.yaml": { "contents": [ + "doctrine:", + " dbal:", + " # \"TEST_TOKEN\" is typically set by ParaTest", + " dbname: 'main_test%env(default::TEST_TOKEN)%'", "" ], "executable": false diff --git a/doctrine.doctrine-bundle.2.4.json b/doctrine.doctrine-bundle.2.4.json index 2962c6d7..af0283ba 100644 --- a/doctrine.doctrine-bundle.2.4.json +++ b/doctrine.doctrine-bundle.2.4.json @@ -60,6 +60,18 @@ ] }, "files": { + "src/Repository/.gitignore": { + "contents": [ + "" + ], + "executable": false + }, + "src/Entity/.gitignore": { + "contents": [ + "" + ], + "executable": false + }, "config/packages/doctrine.yaml": { "contents": [ "doctrine:", @@ -84,16 +96,6 @@ ], "executable": false }, - "config/packages/test/doctrine.yaml": { - "contents": [ - "doctrine:", - " dbal:", - " # \"TEST_TOKEN\" is typically set by ParaTest", - " dbname_suffix: '_test%env(default::TEST_TOKEN)%'", - "" - ], - "executable": false - }, "config/packages/prod/doctrine.yaml": { "contents": [ "doctrine:", @@ -117,14 +119,12 @@ ], "executable": false }, - "src/Repository/.gitignore": { - "contents": [ - "" - ], - "executable": false - }, - "src/Entity/.gitignore": { + "config/packages/test/doctrine.yaml": { "contents": [ + "doctrine:", + " dbal:", + " # \"TEST_TOKEN\" is typically set by ParaTest", + " dbname_suffix: '_test%env(default::TEST_TOKEN)%'", "" ], "executable": false diff --git a/doctrine.doctrine-migrations-bundle.1.2.json b/doctrine.doctrine-migrations-bundle.1.2.json index e1a6cdfd..987fcb38 100644 --- a/doctrine.doctrine-migrations-bundle.1.2.json +++ b/doctrine.doctrine-migrations-bundle.1.2.json @@ -13,6 +13,12 @@ } }, "files": { + "migrations/.gitignore": { + "contents": [ + "" + ], + "executable": false + }, "config/packages/doctrine_migrations.yaml": { "contents": [ "doctrine_migrations:", @@ -23,12 +29,6 @@ "" ], "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 f0a2004d..bd6d5a3e 100644 --- a/doctrine.doctrine-migrations-bundle.2.2.json +++ b/doctrine.doctrine-migrations-bundle.2.2.json @@ -13,6 +13,12 @@ } }, "files": { + "migrations/.gitignore": { + "contents": [ + "" + ], + "executable": false + }, "config/packages/doctrine_migrations.yaml": { "contents": [ "doctrine_migrations:", @@ -23,12 +29,6 @@ "" ], "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 bb2d4992..8df14216 100644 --- a/doctrine.doctrine-migrations-bundle.3.1.json +++ b/doctrine.doctrine-migrations-bundle.3.1.json @@ -13,6 +13,12 @@ } }, "files": { + "migrations/.gitignore": { + "contents": [ + "" + ], + "executable": false + }, "config/packages/doctrine_migrations.yaml": { "contents": [ "doctrine_migrations:", @@ -24,12 +30,6 @@ "" ], "executable": false - }, - "migrations/.gitignore": { - "contents": [ - "" - ], - "executable": false } }, "ref": "ee609429c9ee23e22d6fa5728211768f51ed2818" diff --git a/easycorp.easyadmin-bundle.1.17.json b/easycorp.easyadmin-bundle.1.17.json index 2ef4c13e..b34ec140 100644 --- a/easycorp.easyadmin-bundle.1.17.json +++ b/easycorp.easyadmin-bundle.1.17.json @@ -12,16 +12,6 @@ } }, "files": { - "config/routes/easy_admin.yaml": { - "contents": [ - "easy_admin_bundle:", - " resource: '@EasyAdminBundle/Controller/AdminController.php'", - " prefix: /admin", - " type: annotation", - "" - ], - "executable": false - }, "config/packages/easy_admin.yaml": { "contents": [ "#easy_admin:", @@ -33,6 +23,16 @@ "" ], "executable": false + }, + "config/routes/easy_admin.yaml": { + "contents": [ + "easy_admin_bundle:", + " resource: '@EasyAdminBundle/Controller/AdminController.php'", + " prefix: /admin", + " type: annotation", + "" + ], + "executable": false } }, "ref": "66070ea553247b0cd5275e21d0fe5399a25f40be" diff --git a/easycorp.easyadmin-bundle.2.0.json b/easycorp.easyadmin-bundle.2.0.json index d80ffbd3..6c104827 100644 --- a/easycorp.easyadmin-bundle.2.0.json +++ b/easycorp.easyadmin-bundle.2.0.json @@ -12,16 +12,6 @@ } }, "files": { - "config/routes/easy_admin.yaml": { - "contents": [ - "easy_admin_bundle:", - " resource: '@EasyAdminBundle/Controller/EasyAdminController.php'", - " prefix: /admin", - " type: annotation", - "" - ], - "executable": false - }, "config/packages/easy_admin.yaml": { "contents": [ "#easy_admin:", @@ -33,6 +23,16 @@ "" ], "executable": false + }, + "config/routes/easy_admin.yaml": { + "contents": [ + "easy_admin_bundle:", + " resource: '@EasyAdminBundle/Controller/EasyAdminController.php'", + " prefix: /admin", + " type: annotation", + "" + ], + "executable": false } }, "ref": "0a51040a43c6f2172a3a0135cd15daf2043905d7" diff --git a/hautelook.alice-bundle.2.1.json b/hautelook.alice-bundle.2.1.json index 40772998..97be18d9 100644 --- a/hautelook.alice-bundle.2.1.json +++ b/hautelook.alice-bundle.2.1.json @@ -18,10 +18,8 @@ ] }, "files": { - "config/packages/test/hautelook_alice.yaml": { + "fixtures/.gitignore": { "contents": [ - "imports:", - " - { resource: ../dev/hautelook_alice.yaml }", "" ], "executable": false @@ -34,8 +32,10 @@ ], "executable": false }, - "fixtures/.gitignore": { + "config/packages/test/hautelook_alice.yaml": { "contents": [ + "imports:", + " - { resource: ../dev/hautelook_alice.yaml }", "" ], "executable": false diff --git a/index.json b/index.json index a13ca4cb..3321ce8f 100644 --- a/index.json +++ b/index.json @@ -621,7 +621,8 @@ "4.0", "4.2", "5.1", - "5.3" + "5.3", + "6.0" ], "symfony/security-bundle": [ "3.3", diff --git a/javiereguiluz.easyadmin-bundle.1.16.json b/javiereguiluz.easyadmin-bundle.1.16.json index 66b3a415..dd030df2 100644 --- a/javiereguiluz.easyadmin-bundle.1.16.json +++ b/javiereguiluz.easyadmin-bundle.1.16.json @@ -12,16 +12,6 @@ } }, "files": { - "config/routes/easy_admin.yaml": { - "contents": [ - "easy_admin_bundle:", - " resource: '@EasyAdminBundle/Controller/AdminController.php'", - " prefix: /admin", - " type: annotation", - "" - ], - "executable": false - }, "config/packages/easy_admin.yaml": { "contents": [ "#easy_admin:", @@ -33,6 +23,16 @@ "" ], "executable": false + }, + "config/routes/easy_admin.yaml": { + "contents": [ + "easy_admin_bundle:", + " resource: '@EasyAdminBundle/Controller/AdminController.php'", + " prefix: /admin", + " type: annotation", + "" + ], + "executable": false } }, "ref": "eb4a4fe0e4ab0dc4337808de561b7cb0ff592a0a" diff --git a/javiereguiluz.easyadmin-bundle.1.17.json b/javiereguiluz.easyadmin-bundle.1.17.json index d97ecda6..fa2e9f29 100644 --- a/javiereguiluz.easyadmin-bundle.1.17.json +++ b/javiereguiluz.easyadmin-bundle.1.17.json @@ -12,16 +12,6 @@ } }, "files": { - "config/routes/easy_admin.yaml": { - "contents": [ - "easy_admin_bundle:", - " resource: '@EasyAdminBundle/Controller/AdminController.php'", - " prefix: /admin", - " type: annotation", - "" - ], - "executable": false - }, "config/packages/easy_admin.yaml": { "contents": [ "#easy_admin:", @@ -33,6 +23,16 @@ "" ], "executable": false + }, + "config/routes/easy_admin.yaml": { + "contents": [ + "easy_admin_bundle:", + " resource: '@EasyAdminBundle/Controller/AdminController.php'", + " prefix: /admin", + " type: annotation", + "" + ], + "executable": false } }, "ref": "e58cc3a3956761ff41c27bc9847b145655494d42" diff --git a/nelmio.alice.3.2.json b/nelmio.alice.3.2.json index 28fa6aa4..616a5ba5 100644 --- a/nelmio.alice.3.2.json +++ b/nelmio.alice.3.2.json @@ -13,14 +13,6 @@ } }, "files": { - "config/packages/test/nelmio_alice.yaml": { - "contents": [ - "imports:", - " - { resource: ../dev/nelmio_alice.yaml }", - "" - ], - "executable": false - }, "config/packages/dev/nelmio_alice.yaml": { "contents": [ "nelmio_alice:", @@ -35,6 +27,14 @@ "" ], "executable": false + }, + "config/packages/test/nelmio_alice.yaml": { + "contents": [ + "imports:", + " - { resource: ../dev/nelmio_alice.yaml }", + "" + ], + "executable": false } }, "ref": "0b9900ece737bec7752e4155c0164639dd9b0cb0" diff --git a/phpunit.phpunit.4.7.json b/phpunit.phpunit.4.7.json index 10b277c6..5c29ecb1 100644 --- a/phpunit.phpunit.4.7.json +++ b/phpunit.phpunit.4.7.json @@ -13,6 +13,35 @@ ] }, "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": [ + "bootEnv(dirname(__DIR__).'/.env');", + "}", + "" + ], + "executable": false + }, "phpunit.xml.dist": { "contents": [ "", @@ -57,35 +86,6 @@ "" ], "executable": false - }, - ".env.test": { - "contents": [ - "# define your env variables for the test env here", - "KERNEL_CLASS='App\\Kernel'", - "APP_SECRET='$ecretf0rt3st'", - "SYMFONY_DEPRECATIONS_HELPER=999999", - "PANTHER_APP_ENV=panther", - "PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots", - "" - ], - "executable": false - }, - "tests/bootstrap.php": { - "contents": [ - "bootEnv(dirname(__DIR__).'/.env');", - "}", - "" - ], - "executable": false } }, "ref": "b5b34fa22319ac1f7f6c180b30e160841c154a1e" diff --git a/phpunit.phpunit.9.3.json b/phpunit.phpunit.9.3.json index a27e964a..e2f2dabe 100644 --- a/phpunit.phpunit.9.3.json +++ b/phpunit.phpunit.9.3.json @@ -13,6 +13,35 @@ ] }, "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": [ + "bootEnv(dirname(__DIR__).'/.env');", + "}", + "" + ], + "executable": false + }, "phpunit.xml.dist": { "contents": [ "", @@ -60,35 +89,6 @@ "" ], "executable": false - }, - ".env.test": { - "contents": [ - "# define your env variables for the test env here", - "KERNEL_CLASS='App\\Kernel'", - "APP_SECRET='$ecretf0rt3st'", - "SYMFONY_DEPRECATIONS_HELPER=999999", - "PANTHER_APP_ENV=panther", - "PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots", - "" - ], - "executable": false - }, - "tests/bootstrap.php": { - "contents": [ - "bootEnv(dirname(__DIR__).'/.env');", - "}", - "" - ], - "executable": false } }, "ref": "a6249a6c4392e9169b87abf93225f7f9f59025e6" diff --git a/scheb.2fa-bundle.5.0.json b/scheb.2fa-bundle.5.0.json index ccddf772..43a7e37f 100644 --- a/scheb.2fa-bundle.5.0.json +++ b/scheb.2fa-bundle.5.0.json @@ -12,19 +12,6 @@ } }, "files": { - "config/routes/scheb_2fa.yaml": { - "contents": [ - "2fa_login:", - " path: /2fa", - " defaults:", - " _controller: \"scheb_two_factor.form_controller:form\"", - "", - "2fa_login_check:", - " path: /2fa_check", - "" - ], - "executable": false - }, "config/packages/scheb_2fa.yaml": { "contents": [ "# See the configuration reference at https://github.com/scheb/2fa/blob/master/doc/configuration.md", @@ -38,6 +25,19 @@ "" ], "executable": false + }, + "config/routes/scheb_2fa.yaml": { + "contents": [ + "2fa_login:", + " path: /2fa", + " defaults:", + " _controller: \"scheb_two_factor.form_controller:form\"", + "", + "2fa_login_check:", + " path: /2fa_check", + "" + ], + "executable": false } }, "ref": "62660e7d21b8b5295c5a6f8ca17dc7099881f267" diff --git a/symfony.console.3.3.json b/symfony.console.3.3.json index be051818..eaa5e4fa 100644 --- a/symfony.console.3.3.json +++ b/symfony.console.3.3.json @@ -8,6 +8,54 @@ } }, "files": { + "bin/console": { + "contents": [ + "#!/usr/bin/env php", + "getParameterOption(['--env', '-e'], null, true)) {", + " putenv('APP_ENV='.$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = $env);", + "}", + "", + "if ($input->hasParameterOption('--no-debug', true)) {", + " putenv('APP_DEBUG='.$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = '0');", + "}", + "", + "require dirname(__DIR__).'/config/bootstrap.php';", + "", + "if ($_SERVER['APP_DEBUG']) {", + " umask(0000);", + "", + " if (class_exists(Debug::class)) {", + " Debug::enable();", + " }", + "}", + "", + "$kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);", + "$application = new Application($kernel);", + "$application->run($input);", + "" + ], + "executable": true + }, "config/bootstrap.php": { "contents": [ "getParameterOption(['--env', '-e'], null, true)) {", - " putenv('APP_ENV='.$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = $env);", - "}", - "", - "if ($input->hasParameterOption('--no-debug', true)) {", - " putenv('APP_DEBUG='.$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = '0');", - "}", - "", - "require dirname(__DIR__).'/config/bootstrap.php';", - "", - "if ($_SERVER['APP_DEBUG']) {", - " umask(0000);", - "", - " if (class_exists(Debug::class)) {", - " Debug::enable();", - " }", - "}", - "", - "$kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);", - "$application = new Application($kernel);", - "$application->run($input);", - "" - ], - "executable": true } }, "ref": "524e110a6284dae4172aa8cc32db6f819428f6ac" diff --git a/symfony.console.4.2.json b/symfony.console.4.2.json index b93258ed..c5baf15b 100644 --- a/symfony.console.4.2.json +++ b/symfony.console.4.2.json @@ -8,35 +8,6 @@ } }, "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 - }, "bin/console": { "contents": [ "#!/usr/bin/env php", @@ -84,6 +55,35 @@ "" ], "executable": true + }, + "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": "0a4841612ca4dd3464cbbe1e06b073c79ce7a7f2" diff --git a/symfony.console.4.4.json b/symfony.console.4.4.json index 09606cb4..bb40524f 100644 --- a/symfony.console.4.4.json +++ b/symfony.console.4.4.json @@ -8,35 +8,6 @@ } }, "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 - }, "bin/console": { "contents": [ "#!/usr/bin/env php", @@ -84,6 +55,35 @@ "" ], "executable": true + }, + "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": "fd5340d07d4c90504843b53da41525cf42e31f5c" diff --git a/symfony.framework-bundle.3.3.json b/symfony.framework-bundle.3.3.json index 724c3adb..dd23a93e 100644 --- a/symfony.framework-bundle.3.3.json +++ b/symfony.framework-bundle.3.3.json @@ -74,6 +74,134 @@ ], "executable": false }, + "src/Kernel.php": { + "contents": [ + "getProjectDir().'/var/cache/'.$this->environment;", + " }", + "", + " public function getLogDir()", + " {", + " return $this->getProjectDir().'/var/log';", + " }", + "", + " public function registerBundles()", + " {", + " $contents = require $this->getProjectDir().'/config/bundles.php';", + " foreach ($contents as $class => $envs) {", + " if ($envs[$this->environment] ?? $envs['all'] ?? false) {", + " yield new $class();", + " }", + " }", + " }", + "", + " protected function configureContainer(ContainerBuilder $container, LoaderInterface $loader)", + " {", + " $container->addResource(new FileResource($this->getProjectDir().'/config/bundles.php'));", + " // Feel free to remove the \"container.autowiring.strict_mode\" parameter", + " // if you are using symfony/dependency-injection 4.0+ as it's the default behavior", + " $container->setParameter('container.autowiring.strict_mode', true);", + " $container->setParameter('container.dumper.inline_class_loader', true);", + " $confDir = $this->getProjectDir().'/config';", + "", + " $loader->load($confDir.'/{packages}/*'.self::CONFIG_EXTS, 'glob');", + " $loader->load($confDir.'/{packages}/'.$this->environment.'/*'.self::CONFIG_EXTS, 'glob');", + " $loader->load($confDir.'/{services}'.self::CONFIG_EXTS, 'glob');", + " $loader->load($confDir.'/{services}_'.$this->environment.self::CONFIG_EXTS, 'glob');", + " }", + "", + " protected function configureRoutes(RouteCollectionBuilder $routes)", + " {", + " $confDir = $this->getProjectDir().'/config';", + "", + " $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');", + " $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');", + " $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');", + " }", + "}", + "" + ], + "executable": false + }, + "src/Controller/.gitignore": { + "contents": [ + "" + ], + "executable": false + }, + "config/packages/framework.yaml": { + "contents": [ + "framework:", + " secret: '%env(APP_SECRET)%'", + " #csrf_protection: true", + " #http_method_override: true", + "", + " # Enables session support. Note that the session will ONLY be started if you read or write from it.", + " # Remove or comment this section to explicitly disable session support.", + " session:", + " handler_id: null", + "", + " #esi: true", + " #fragments: true", + " php_errors:", + " log: true", + "" + ], + "executable": false + }, + "config/packages/cache.yaml": { + "contents": [ + "framework:", + " cache:", + " # Unique name of your app: used to compute stable namespaces for cache keys.", + " #prefix_seed: your_vendor_name/app_name", + "", + " # The \"app\" cache stores to the filesystem by default.", + " # The data in this cache should persist between deploys.", + " # Other options include:", + "", + " # Redis", + " #app: cache.adapter.redis", + " #default_redis_provider: redis://localhost", + "", + " # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)", + " #app: cache.adapter.apcu", + "", + " # Namespaced pools use the above \"app\" backend by default", + " #pools:", + " #my.dedicated.cache: null", + "" + ], + "executable": false + }, + "config/packages/test/framework.yaml": { + "contents": [ + "framework:", + " test: true", + " session:", + " storage_id: session.storage.mock_file", + "" + ], + "executable": false + }, "config/services.yaml": { "contents": [ "# This file is the entry point to configure your own services.", @@ -168,134 +296,6 @@ "" ], "executable": false - }, - "config/packages/cache.yaml": { - "contents": [ - "framework:", - " cache:", - " # Unique name of your app: used to compute stable namespaces for cache keys.", - " #prefix_seed: your_vendor_name/app_name", - "", - " # The \"app\" cache stores to the filesystem by default.", - " # The data in this cache should persist between deploys.", - " # Other options include:", - "", - " # Redis", - " #app: cache.adapter.redis", - " #default_redis_provider: redis://localhost", - "", - " # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)", - " #app: cache.adapter.apcu", - "", - " # Namespaced pools use the above \"app\" backend by default", - " #pools:", - " #my.dedicated.cache: null", - "" - ], - "executable": false - }, - "config/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 - }, - "src/Kernel.php": { - "contents": [ - "getProjectDir().'/var/cache/'.$this->environment;", - " }", - "", - " public function getLogDir()", - " {", - " return $this->getProjectDir().'/var/log';", - " }", - "", - " public function registerBundles()", - " {", - " $contents = require $this->getProjectDir().'/config/bundles.php';", - " foreach ($contents as $class => $envs) {", - " if ($envs[$this->environment] ?? $envs['all'] ?? false) {", - " yield new $class();", - " }", - " }", - " }", - "", - " protected function configureContainer(ContainerBuilder $container, LoaderInterface $loader)", - " {", - " $container->addResource(new FileResource($this->getProjectDir().'/config/bundles.php'));", - " // Feel free to remove the \"container.autowiring.strict_mode\" parameter", - " // if you are using symfony/dependency-injection 4.0+ as it's the default behavior", - " $container->setParameter('container.autowiring.strict_mode', true);", - " $container->setParameter('container.dumper.inline_class_loader', true);", - " $confDir = $this->getProjectDir().'/config';", - "", - " $loader->load($confDir.'/{packages}/*'.self::CONFIG_EXTS, 'glob');", - " $loader->load($confDir.'/{packages}/'.$this->environment.'/*'.self::CONFIG_EXTS, 'glob');", - " $loader->load($confDir.'/{services}'.self::CONFIG_EXTS, 'glob');", - " $loader->load($confDir.'/{services}_'.$this->environment.self::CONFIG_EXTS, 'glob');", - " }", - "", - " protected function configureRoutes(RouteCollectionBuilder $routes)", - " {", - " $confDir = $this->getProjectDir().'/config';", - "", - " $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');", - " $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');", - " $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');", - " }", - "}", - "" - ], - "executable": false - }, - "src/Controller/.gitignore": { - "contents": [ - "" - ], - "executable": false } }, "ref": "6b7854b4c2866b32bc86e98977e2ead4669fa9a5" diff --git a/symfony.framework-bundle.3.4.json b/symfony.framework-bundle.3.4.json index 38c04bf3..b9cf404a 100644 --- a/symfony.framework-bundle.3.4.json +++ b/symfony.framework-bundle.3.4.json @@ -74,6 +74,135 @@ ], "executable": false }, + "src/Kernel.php": { + "contents": [ + "getProjectDir().'/var/cache/'.$this->environment;", + " }", + "", + " public function getLogDir()", + " {", + " return $this->getProjectDir().'/var/log';", + " }", + "", + " public function registerBundles()", + " {", + " $contents = require $this->getProjectDir().'/config/bundles.php';", + " foreach ($contents as $class => $envs) {", + " if ($envs[$this->environment] ?? $envs['all'] ?? false) {", + " yield new $class();", + " }", + " }", + " }", + "", + " protected function configureContainer(ContainerBuilder $container, LoaderInterface $loader)", + " {", + " $container->addResource(new FileResource($this->getProjectDir().'/config/bundles.php'));", + " // Feel free to remove the \"container.autowiring.strict_mode\" parameter", + " // if you are using symfony/dependency-injection 4.0+ as it's the default behavior", + " $container->setParameter('container.autowiring.strict_mode', true);", + " $container->setParameter('container.dumper.inline_class_loader', true);", + " $confDir = $this->getProjectDir().'/config';", + "", + " $loader->load($confDir.'/{packages}/*'.self::CONFIG_EXTS, 'glob');", + " $loader->load($confDir.'/{packages}/'.$this->environment.'/*'.self::CONFIG_EXTS, 'glob');", + " $loader->load($confDir.'/{services}'.self::CONFIG_EXTS, 'glob');", + " $loader->load($confDir.'/{services}_'.$this->environment.self::CONFIG_EXTS, 'glob');", + " }", + "", + " protected function configureRoutes(RouteCollectionBuilder $routes)", + " {", + " $confDir = $this->getProjectDir().'/config';", + "", + " $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');", + " $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');", + " $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');", + " }", + "}", + "" + ], + "executable": false + }, + "src/Controller/.gitignore": { + "contents": [ + "" + ], + "executable": false + }, + "config/packages/framework.yaml": { + "contents": [ + "framework:", + " secret: '%env(APP_SECRET)%'", + " #csrf_protection: true", + " #http_method_override: true", + "", + " # Enables session support. Note that the session will ONLY be started if you read or write from it.", + " # Remove or comment this section to explicitly disable session support.", + " session:", + " handler_id: null", + " cookie_samesite: lax", + "", + " #esi: true", + " #fragments: true", + " php_errors:", + " log: true", + "" + ], + "executable": false + }, + "config/packages/cache.yaml": { + "contents": [ + "framework:", + " cache:", + " # Unique name of your app: used to compute stable namespaces for cache keys.", + " #prefix_seed: your_vendor_name/app_name", + "", + " # The \"app\" cache stores to the filesystem by default.", + " # The data in this cache should persist between deploys.", + " # Other options include:", + "", + " # Redis", + " #app: cache.adapter.redis", + " #default_redis_provider: redis://localhost", + "", + " # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)", + " #app: cache.adapter.apcu", + "", + " # Namespaced pools use the above \"app\" backend by default", + " #pools:", + " #my.dedicated.cache: null", + "" + ], + "executable": false + }, + "config/packages/test/framework.yaml": { + "contents": [ + "framework:", + " test: true", + " session:", + " storage_id: session.storage.mock_file", + "" + ], + "executable": false + }, "config/services.yaml": { "contents": [ "# This file is the entry point to configure your own services.", @@ -168,135 +297,6 @@ "" ], "executable": false - }, - "config/packages/cache.yaml": { - "contents": [ - "framework:", - " cache:", - " # Unique name of your app: used to compute stable namespaces for cache keys.", - " #prefix_seed: your_vendor_name/app_name", - "", - " # The \"app\" cache stores to the filesystem by default.", - " # The data in this cache should persist between deploys.", - " # Other options include:", - "", - " # Redis", - " #app: cache.adapter.redis", - " #default_redis_provider: redis://localhost", - "", - " # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)", - " #app: cache.adapter.apcu", - "", - " # Namespaced pools use the above \"app\" backend by default", - " #pools:", - " #my.dedicated.cache: null", - "" - ], - "executable": false - }, - "config/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 - }, - "src/Kernel.php": { - "contents": [ - "getProjectDir().'/var/cache/'.$this->environment;", - " }", - "", - " public function getLogDir()", - " {", - " return $this->getProjectDir().'/var/log';", - " }", - "", - " public function registerBundles()", - " {", - " $contents = require $this->getProjectDir().'/config/bundles.php';", - " foreach ($contents as $class => $envs) {", - " if ($envs[$this->environment] ?? $envs['all'] ?? false) {", - " yield new $class();", - " }", - " }", - " }", - "", - " protected function configureContainer(ContainerBuilder $container, LoaderInterface $loader)", - " {", - " $container->addResource(new FileResource($this->getProjectDir().'/config/bundles.php'));", - " // Feel free to remove the \"container.autowiring.strict_mode\" parameter", - " // if you are using symfony/dependency-injection 4.0+ as it's the default behavior", - " $container->setParameter('container.autowiring.strict_mode', true);", - " $container->setParameter('container.dumper.inline_class_loader', true);", - " $confDir = $this->getProjectDir().'/config';", - "", - " $loader->load($confDir.'/{packages}/*'.self::CONFIG_EXTS, 'glob');", - " $loader->load($confDir.'/{packages}/'.$this->environment.'/*'.self::CONFIG_EXTS, 'glob');", - " $loader->load($confDir.'/{services}'.self::CONFIG_EXTS, 'glob');", - " $loader->load($confDir.'/{services}_'.$this->environment.self::CONFIG_EXTS, 'glob');", - " }", - "", - " protected function configureRoutes(RouteCollectionBuilder $routes)", - " {", - " $confDir = $this->getProjectDir().'/config';", - "", - " $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');", - " $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');", - " $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');", - " }", - "}", - "" - ], - "executable": false - }, - "src/Controller/.gitignore": { - "contents": [ - "" - ], - "executable": false } }, "ref": "4e582450c27d790227d2596a2ffb514fd71d5db7" diff --git a/symfony.framework-bundle.4.2.json b/symfony.framework-bundle.4.2.json index bc98bc70..78f78bfd 100644 --- a/symfony.framework-bundle.4.2.json +++ b/symfony.framework-bundle.4.2.json @@ -74,126 +74,6 @@ ], "executable": false }, - "config/services.yaml": { - "contents": [ - "# This file is the entry point to configure your own services.", - "# Files in the packages/ subdirectory configure your dependencies.", - "", - "# Put parameters here that don't need to change on each machine where the app is deployed", - "# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration", - "parameters:", - "", - "services:", - " # default configuration for services in *this* file", - " _defaults:", - " autowire: true # Automatically injects dependencies in your services.", - " autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.", - "", - " # makes classes in src/ available to be used as services", - " # this creates a service per class whose id is the fully-qualified class name", - " App\\:", - " resource: '../src/*'", - " exclude: '../src/{DependencyInjection,Entity,Tests,Kernel.php}'", - "", - " # controllers are imported separately to make sure services can be injected", - " # as action arguments even if you don't extend any base controller class", - " App\\Controller\\:", - " resource: '../src/Controller'", - " tags: ['controller.service_arguments']", - "", - " # add more service definitions when explicit configuration is needed", - " # please note that last definitions always *replace* previous ones", - "" - ], - "executable": false - }, - "config/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 - }, "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 } }, "ref": "1bbe9a46c76d162f0c81b4f051285d7bac45bdb8" diff --git a/symfony.framework-bundle.4.4.json b/symfony.framework-bundle.4.4.json index 55aebb67..6518877f 100644 --- a/symfony.framework-bundle.4.4.json +++ b/symfony.framework-bundle.4.4.json @@ -74,154 +74,6 @@ ], "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/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/routes/dev/framework.yaml": { - "contents": [ - "_errors:", - " resource: '@FrameworkBundle/Resources/config/routing/errors.xml'", - " prefix: /_error", - "" - ], - "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:", + " 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 4c47524b..90552ab0 100644 --- a/symfony.framework-bundle.5.1.json +++ b/symfony.framework-bundle.5.1.json @@ -77,121 +77,6 @@ ], "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 - }, - "config/preload.php": { - "contents": [ - "bootEnv(dirname(__DIR__).'/.env');", + "}", + "" + ], + "executable": false + }, + "bin/phpunit": { + "contents": [ + "#!/usr/bin/env php", + "", @@ -56,58 +108,6 @@ "" ], "executable": false - }, - "bin/phpunit": { - "contents": [ - "#!/usr/bin/env php", - "bootEnv(dirname(__DIR__).'/.env');", - "}", - "" - ], - "executable": false } }, "ref": "f59588dbcb508b1f45097a97d5066905aa6f8f41" diff --git a/symfony.phpunit-bridge.4.1.json b/symfony.phpunit-bridge.4.1.json index f54a376a..7a80959f 100644 --- a/symfony.phpunit-bridge.4.1.json +++ b/symfony.phpunit-bridge.4.1.json @@ -19,6 +19,54 @@ ] }, "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": [ + "bootEnv(dirname(__DIR__).'/.env');", + "}", + "" + ], + "executable": false + }, + "bin/phpunit": { + "contents": [ + "#!/usr/bin/env php", + "", @@ -57,54 +105,6 @@ "" ], "executable": false - }, - "bin/phpunit": { - "contents": [ - "#!/usr/bin/env php", - "bootEnv(dirname(__DIR__).'/.env');", - "}", - "" - ], - "executable": false } }, "ref": "2ba17ea3190d76e6e37a52378f6bca3d84891bc5" diff --git a/symfony.phpunit-bridge.4.3.json b/symfony.phpunit-bridge.4.3.json index 0f26068d..dda397e7 100644 --- a/symfony.phpunit-bridge.4.3.json +++ b/symfony.phpunit-bridge.4.3.json @@ -19,6 +19,54 @@ ] }, "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": [ + "bootEnv(dirname(__DIR__).'/.env');", + "}", + "" + ], + "executable": false + }, + "bin/phpunit": { + "contents": [ + "#!/usr/bin/env php", + "", @@ -58,54 +106,6 @@ "" ], "executable": false - }, - "bin/phpunit": { - "contents": [ - "#!/usr/bin/env php", - "bootEnv(dirname(__DIR__).'/.env');", - "}", - "" - ], - "executable": false } }, "ref": "0e1b186400de9d4ab83363138b4eb0072c99b2ab" diff --git a/symfony.phpunit-bridge.5.1.json b/symfony.phpunit-bridge.5.1.json index b36f7af7..3ae18610 100644 --- a/symfony.phpunit-bridge.5.1.json +++ b/symfony.phpunit-bridge.5.1.json @@ -19,6 +19,54 @@ ] }, "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": [ + "bootEnv(dirname(__DIR__).'/.env');", + "}", + "" + ], + "executable": false + }, + "bin/phpunit": { + "contents": [ + "#!/usr/bin/env php", + "", @@ -64,54 +112,6 @@ "" ], "executable": false - }, - "bin/phpunit": { - "contents": [ - "#!/usr/bin/env php", - "bootEnv(dirname(__DIR__).'/.env');", - "}", - "" - ], - "executable": false } }, "ref": "f42c00dd9758feeafde5dfad515117753599f8f2" diff --git a/symfony.phpunit-bridge.5.3.json b/symfony.phpunit-bridge.5.3.json index d9b2662b..e7ed2be0 100644 --- a/symfony.phpunit-bridge.5.3.json +++ b/symfony.phpunit-bridge.5.3.json @@ -19,6 +19,60 @@ ] }, "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": [ + "bootEnv(dirname(__DIR__).'/.env');", + "}", + "" + ], + "executable": false + }, + "bin/phpunit": { + "contents": [ + "#!/usr/bin/env php", + "", @@ -66,60 +120,6 @@ "" ], "executable": false - }, - "bin/phpunit": { - "contents": [ - "#!/usr/bin/env php", - "bootEnv(dirname(__DIR__).'/.env');", - "}", - "" - ], - "executable": false } }, "ref": "97cb3dc7b0f39c7cfc4b7553504c9d7b7795de96" diff --git a/symfony.routing.6.0.json b/symfony.routing.6.0.json new file mode 100644 index 00000000..ce5730e7 --- /dev/null +++ b/symfony.routing.6.0.json @@ -0,0 +1,45 @@ +{ + "manifests": { + "symfony/routing": { + "manifest": { + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } + }, + "files": { + "config/routes.yaml": { + "contents": [ + "controllers:", + " resource: ../src/Controller/", + " type: annotation", + "", + "kernel:", + " resource: ../src/Kernel.php", + " type: annotation", + "" + ], + "executable": false + }, + "config/packages/routing.yaml": { + "contents": [ + "framework:", + " router:", + " utf8: true", + "", + " # Configure how to generate URLs in non-HTTP contexts, such as CLI commands.", + " # See https://symfony.com/doc/current/routing.html#generating-urls-in-commands", + " #default_uri: http://localhost", + "", + "when@prod:", + " framework:", + " router:", + " strict_requirements: null", + "" + ], + "executable": false + } + }, + "ref": "ab9ad892b7bba7ac584f6dc2ccdb659d358c63c5" + } + } +} diff --git a/symfony.swiftmailer-bundle.2.5.json b/symfony.swiftmailer-bundle.2.5.json index 26b718ff..aefa927e 100644 --- a/symfony.swiftmailer-bundle.2.5.json +++ b/symfony.swiftmailer-bundle.2.5.json @@ -18,14 +18,6 @@ } }, "files": { - "config/packages/test/swiftmailer.yaml": { - "contents": [ - "swiftmailer:", - " disable_delivery: true", - "" - ], - "executable": false - }, "config/packages/swiftmailer.yaml": { "contents": [ "swiftmailer:", @@ -44,6 +36,14 @@ "" ], "executable": false + }, + "config/packages/test/swiftmailer.yaml": { + "contents": [ + "swiftmailer:", + " disable_delivery: true", + "" + ], + "executable": false } }, "ref": "f0b2fccdca2dfd97dc2fd5ad216d5e27c4f895ac" diff --git a/symfony.translation.3.3.json b/symfony.translation.3.3.json index e469856b..3a510337 100644 --- a/symfony.translation.3.3.json +++ b/symfony.translation.3.3.json @@ -8,6 +8,12 @@ } }, "files": { + "translations/.gitignore": { + "contents": [ + "" + ], + "executable": false + }, "config/packages/translation.yaml": { "contents": [ "framework:", @@ -19,12 +25,6 @@ "" ], "executable": false - }, - "translations/.gitignore": { - "contents": [ - "" - ], - "executable": false } }, "ref": "2ad9d2545bce8ca1a863e50e92141f0b9d87ffcd" diff --git a/symfony.translation.5.3.json b/symfony.translation.5.3.json index a105c313..47734828 100644 --- a/symfony.translation.5.3.json +++ b/symfony.translation.5.3.json @@ -8,6 +8,12 @@ } }, "files": { + "translations/.gitignore": { + "contents": [ + "" + ], + "executable": false + }, "config/packages/translation.yaml": { "contents": [ "framework:", @@ -26,12 +32,6 @@ "" ], "executable": false - }, - "translations/.gitignore": { - "contents": [ - "" - ], - "executable": false } }, "ref": "da64f5a2b6d96f5dc24914517c0350a5f91dee43" diff --git a/symfony.twig-bundle.3.3.json b/symfony.twig-bundle.3.3.json index ba641018..d6cc86ed 100644 --- a/symfony.twig-bundle.3.3.json +++ b/symfony.twig-bundle.3.3.json @@ -13,11 +13,12 @@ } }, "files": { - "config/routes/dev/twig.yaml": { + "config/packages/twig.yaml": { "contents": [ - "_errors:", - " resource: '@TwigBundle/Resources/config/routing/errors.xml'", - " prefix: /_error", + "twig:", + " default_path: '%kernel.project_dir%/templates'", + " debug: '%kernel.debug%'", + " strict_variables: '%kernel.debug%'", "" ], "executable": false @@ -30,12 +31,11 @@ ], "executable": false }, - "config/packages/twig.yaml": { + "config/routes/dev/twig.yaml": { "contents": [ - "twig:", - " default_path: '%kernel.project_dir%/templates'", - " debug: '%kernel.debug%'", - " strict_variables: '%kernel.debug%'", + "_errors:", + " resource: '@TwigBundle/Resources/config/routing/errors.xml'", + " prefix: /_error", "" ], "executable": false diff --git a/symfony.twig-bundle.4.4.json b/symfony.twig-bundle.4.4.json index bf8e06a0..d032f357 100644 --- a/symfony.twig-bundle.4.4.json +++ b/symfony.twig-bundle.4.4.json @@ -13,14 +13,6 @@ } }, "files": { - "config/packages/test/twig.yaml": { - "contents": [ - "twig:", - " strict_variables: true", - "" - ], - "executable": false - }, "config/packages/twig.yaml": { "contents": [ "twig:", @@ -32,6 +24,14 @@ ], "executable": false }, + "config/packages/test/twig.yaml": { + "contents": [ + "twig:", + " strict_variables: true", + "" + ], + "executable": false + }, "templates/base.html.twig": { "contents": [ "", diff --git a/symfony.twig-bundle.5.0.json b/symfony.twig-bundle.5.0.json index 89ee020e..fe179922 100644 --- a/symfony.twig-bundle.5.0.json +++ b/symfony.twig-bundle.5.0.json @@ -13,14 +13,6 @@ } }, "files": { - "config/packages/test/twig.yaml": { - "contents": [ - "twig:", - " strict_variables: true", - "" - ], - "executable": false - }, "config/packages/twig.yaml": { "contents": [ "twig:", @@ -29,6 +21,14 @@ ], "executable": false }, + "config/packages/test/twig.yaml": { + "contents": [ + "twig:", + " strict_variables: true", + "" + ], + "executable": false + }, "templates/base.html.twig": { "contents": [ "", diff --git a/symfony.web-profiler-bundle.3.3.json b/symfony.web-profiler-bundle.3.3.json index 63beff7e..c9b0d5e6 100644 --- a/symfony.web-profiler-bundle.3.3.json +++ b/symfony.web-profiler-bundle.3.3.json @@ -13,15 +13,14 @@ } }, "files": { - "config/routes/dev/web_profiler.yaml": { + "config/packages/dev/web_profiler.yaml": { "contents": [ - "web_profiler_wdt:", - " resource: '@WebProfilerBundle/Resources/config/routing/wdt.xml'", - " prefix: /_wdt", + "web_profiler:", + " toolbar: true", + " intercept_redirects: false", "", - "web_profiler_profiler:", - " resource: '@WebProfilerBundle/Resources/config/routing/profiler.xml'", - " prefix: /_profiler", + "framework:", + " profiler: { only_exceptions: false }", "" ], "executable": false @@ -38,14 +37,15 @@ ], "executable": false }, - "config/packages/dev/web_profiler.yaml": { + "config/routes/dev/web_profiler.yaml": { "contents": [ - "web_profiler:", - " toolbar: true", - " intercept_redirects: false", + "web_profiler_wdt:", + " resource: '@WebProfilerBundle/Resources/config/routing/wdt.xml'", + " prefix: /_wdt", "", - "framework:", - " profiler: { only_exceptions: false }", + "web_profiler_profiler:", + " resource: '@WebProfilerBundle/Resources/config/routing/profiler.xml'", + " prefix: /_profiler", "" ], "executable": false diff --git a/symfony.webpack-encore-bundle.1.0.json b/symfony.webpack-encore-bundle.1.0.json index 53045dfa..8ba66837 100644 --- a/symfony.webpack-encore-bundle.1.0.json +++ b/symfony.webpack-encore-bundle.1.0.json @@ -21,145 +21,6 @@ ] }, "files": { - "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 - }, - "config/packages/assets.yaml": { - "contents": [ - "framework:", - " assets:", - " json_manifest_path: '%kernel.project_dir%/public/build/manifest.json'", - "" - ], - "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 - }, - "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');", @@ -240,6 +101,145 @@ "" ], "executable": false + }, + "package.json": { + "contents": [ + "{", + " \"devDependencies\": {", + " \"@symfony/stimulus-bridge\": \"^2.0.0\",", + " \"@symfony/webpack-encore\": \"^1.0.0\",", + " \"core-js\": \"^3.0.0\",", + " \"regenerator-runtime\": \"^0.13.2\",", + " \"stimulus\": \"^2.0.0\",", + " \"webpack-notifier\": \"^1.6.0\"", + " },", + " \"license\": \"UNLICENSED\",", + " \"private\": true,", + " \"scripts\": {", + " \"dev-server\": \"encore dev-server\",", + " \"dev\": \"encore dev\",", + " \"watch\": \"encore dev --watch\",", + " \"build\": \"encore production --progress\"", + " }", + "}", + "" + ], + "executable": false + }, + "assets/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:", + " 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 bbeba1db..172b6f54 100644 --- a/symfony.webpack-encore-bundle.1.6.json +++ b/symfony.webpack-encore-bundle.1.6.json @@ -21,164 +21,6 @@ ] }, "files": { - "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/test/webpack_encore.yaml": { - "contents": [ - "#webpack_encore:", - "# strict_mode: 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 - }, - "config/packages/assets.yaml": { - "contents": [ - "framework:", - " assets:", - " json_manifest_path: '%kernel.project_dir%/public/build/manifest.json'", - "" - ], - "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 - }, - "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');", @@ -259,6 +101,164 @@ "" ], "executable": false + }, + "package.json": { + "contents": [ + "{", + " \"devDependencies\": {", + " \"@symfony/stimulus-bridge\": \"^2.0.0\",", + " \"@symfony/webpack-encore\": \"^1.0.0\",", + " \"core-js\": \"^3.0.0\",", + " \"regenerator-runtime\": \"^0.13.2\",", + " \"stimulus\": \"^2.0.0\",", + " \"webpack-notifier\": \"^1.6.0\"", + " },", + " \"license\": \"UNLICENSED\",", + " \"private\": true,", + " \"scripts\": {", + " \"dev-server\": \"encore dev-server\",", + " \"dev\": \"encore dev\",", + " \"watch\": \"encore dev --watch\",", + " \"build\": \"encore production --progress\"", + " }", + "}", + "" + ], + "executable": false + }, + "assets/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:", + " 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 - 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/test/webpack_encore.yaml": { + "contents": [ + "#webpack_encore:", + "# strict_mode: false", + "" + ], + "executable": false } }, "ref": "729e968bd020e8e012a7073739b6ac536e04160e" diff --git a/symfony.webpack-encore-bundle.1.9.json b/symfony.webpack-encore-bundle.1.9.json index 45702bf5..b5b347f9 100644 --- a/symfony.webpack-encore-bundle.1.9.json +++ b/symfony.webpack-encore-bundle.1.9.json @@ -28,174 +28,6 @@ ] }, "files": { - "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/test/webpack_encore.yaml": { - "contents": [ - "#webpack_encore:", - "# strict_mode: 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 - }, - "config/packages/assets.yaml": { - "contents": [ - "framework:", - " assets:", - " json_manifest_path: '%kernel.project_dir%/public/build/manifest.json'", - "" - ], - "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 - }, - "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');", @@ -276,6 +108,174 @@ "" ], "executable": false + }, + "package.json": { + "contents": [ + "{", + " \"devDependencies\": {", + " \"@symfony/stimulus-bridge\": \"^2.0.0\",", + " \"@symfony/webpack-encore\": \"^1.0.0\",", + " \"core-js\": \"^3.0.0\",", + " \"regenerator-runtime\": \"^0.13.2\",", + " \"stimulus\": \"^2.0.0\",", + " \"webpack-notifier\": \"^1.6.0\"", + " },", + " \"license\": \"UNLICENSED\",", + " \"private\": true,", + " \"scripts\": {", + " \"dev-server\": \"encore dev-server\",", + " \"dev\": \"encore dev\",", + " \"watch\": \"encore dev --watch\",", + " \"build\": \"encore production --progress\"", + " }", + "}", + "" + ], + "executable": false + }, + "assets/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:", + " 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 - 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/test/webpack_encore.yaml": { + "contents": [ + "#webpack_encore:", + "# strict_mode: false", + "" + ], + "executable": false } }, "ref": "0f274572ea315eb3b5884518a50ca43f211b4534" diff --git a/zenstruck.foundry.1.9.json b/zenstruck.foundry.1.9.json index f1f29f58..4538ecd9 100644 --- a/zenstruck.foundry.1.9.json +++ b/zenstruck.foundry.1.9.json @@ -19,6 +19,16 @@ ] }, "files": { + "config/packages/dev/zenstruck_foundry.yaml": { + "contents": [ + "# See full configuration: https://github.com/zenstruck/foundry#full-default-bundle-configuration", + "zenstruck_foundry:", + " # Whether to auto-refresh proxies by default (https://github.com/zenstruck/foundry#auto-refresh)", + " auto_refresh_proxies: true", + "" + ], + "executable": false + }, "config/packages/test/zenstruck_foundry.yaml": { "contents": [ "# Unless you want different configuration for test/dev environments,", @@ -29,16 +39,6 @@ "" ], "executable": false - }, - "config/packages/dev/zenstruck_foundry.yaml": { - "contents": [ - "# See full configuration: https://github.com/zenstruck/foundry#full-default-bundle-configuration", - "zenstruck_foundry:", - " # Whether to auto-refresh proxies by default (https://github.com/zenstruck/foundry#auto-refresh)", - " auto_refresh_proxies: true", - "" - ], - "executable": false } }, "ref": "26a9e6291d5fc0bfd1d673bc1d6cfe3c582c7678"