From a1a70353f64f405cfbacfc4ce860af623442d6e5 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Wed, 7 Jul 2021 15:59:29 +0200 Subject: [PATCH] Remove all symlinks --- api-platform/core/2.5/config/routes | 1 - .../core/2.5/config/routes/api_platform.yaml | 4 + api-platform/core/2.5/manifest.json | 10 ++- api-platform/core/2.5/post-install.txt | 13 +++- api-platform/core/2.5/src | 1 - api-platform/core/2.5/src/Entity/.gitignore | 0 doctrine/doctrine-bundle/1.12/manifest.json | 49 +++++++++++- .../doctrine-bundle/1.12/post-install.txt | 9 ++- doctrine/doctrine-bundle/1.12/src | 1 - .../1.12/src/Entity/.gitignore | 0 .../1.12/src/Repository/.gitignore | 0 .../2.0/config/packages/prod/doctrine.yaml | 21 ++++- doctrine/doctrine-bundle/2.0/manifest.json | 49 +++++++++++- doctrine/doctrine-bundle/2.0/src | 1 - .../doctrine-bundle/2.0/src/Entity/.gitignore | 0 .../2.0/src/Repository/.gitignore | 0 phpunit/phpunit/4.7/tests | 1 - phpunit/phpunit/4.7/tests/bootstrap.php | 11 +++ phpunit/phpunit/9.3/tests | 1 - phpunit/phpunit/9.3/tests/bootstrap.php | 11 +++ symfony/console/3.3/config/bootstrap.php | 54 ++++++++++++- symfony/console/4.2/bin | 1 - symfony/console/4.2/bin/console | 42 ++++++++++ symfony/console/4.2/config/bootstrap.php | 24 +++++- symfony/console/4.2/manifest.json | 8 +- symfony/console/4.4/config | 1 - symfony/console/4.4/config/bootstrap.php | 23 ++++++ symfony/console/4.4/manifest.json | 8 +- .../framework-bundle/3.4/config/bootstrap.php | 54 ++++++++++++- .../3.4/config/packages/cache.yaml | 20 ++++- .../framework-bundle/3.4/config/packages/test | 1 - .../3.4/config/packages/test/framework.yaml | 4 + .../framework-bundle/3.4/config/services.yaml | 31 +++++++- symfony/framework-bundle/3.4/manifest.json | 29 ++++++- symfony/framework-bundle/3.4/post-install.txt | 12 ++- symfony/framework-bundle/3.4/public | 1 - symfony/framework-bundle/3.4/public/index.php | 27 +++++++ symfony/framework-bundle/3.4/src | 1 - .../3.4/src/Controller/.gitignore | 0 symfony/framework-bundle/3.4/src/Kernel.php | 61 +++++++++++++++ .../4.2/config/packages/cache.yaml | 20 ++++- .../framework-bundle/4.4/config/bootstrap.php | 24 +++++- symfony/framework-bundle/4.4/config/packages | 1 - .../4.4/config/packages/cache.yaml | 19 +++++ .../4.4/config/packages/framework.yaml | 17 +++++ .../4.4/config/packages/test/framework.yaml | 4 + symfony/framework-bundle/4.4/manifest.json | 30 +++++++- symfony/framework-bundle/4.4/post-install.txt | 11 ++- symfony/framework-bundle/4.4/src | 1 - .../4.4/src/Controller/.gitignore | 0 symfony/framework-bundle/4.4/src/Kernel.php | 54 +++++++++++++ symfony/framework-bundle/5.1/config/packages | 1 - .../5.1/config/packages/cache.yaml | 19 +++++ .../5.1/config/packages/framework.yaml | 17 +++++ .../5.1/config/packages/test/framework.yaml | 4 + symfony/framework-bundle/5.1/config/routes | 1 - .../5.1/config/routes/dev/framework.yaml | 3 + .../framework-bundle/5.1/config/services.yaml | 32 +++++++- symfony/framework-bundle/5.1/manifest.json | 30 +++++++- symfony/framework-bundle/5.1/post-install.txt | 11 ++- symfony/framework-bundle/5.1/src/Controller | 1 - .../5.1/src/Controller/.gitignore | 0 symfony/framework-bundle/5.2/config | 1 - .../5.2/config/packages/cache.yaml | 19 +++++ .../5.2/config/packages/framework.yaml | 17 +++++ .../5.2/config/packages/test/framework.yaml | 4 + .../framework-bundle/5.2/config/preload.php | 5 ++ .../5.2/config/routes/dev/framework.yaml | 3 + .../framework-bundle/5.2/config/services.yaml | 31 ++++++++ symfony/framework-bundle/5.2/post-install.txt | 11 ++- symfony/framework-bundle/5.2/src | 1 - .../5.2/src/Controller/.gitignore | 0 symfony/framework-bundle/5.2/src/Kernel.php | 38 ++++++++++ symfony/lock/5.2/config | 1 - symfony/lock/5.2/config/packages/lock.yaml | 2 + symfony/mercure-bundle/0.2/manifest.json | 16 +++- .../monolog-bundle/3.3/config/packages/dev | 1 - .../3.3/config/packages/dev/monolog.yaml | 19 +++++ .../config/packages/prod/deprecations.yaml | 9 ++- .../monolog-bundle/3.7/config/packages/test | 1 - .../3.7/config/packages/test/monolog.yaml | 12 +++ symfony/monolog-bundle/3.7/manifest.json | 10 ++- symfony/phpunit-bridge/4.1/manifest.json | 15 +++- symfony/phpunit-bridge/4.1/post-install.txt | 7 +- symfony/phpunit-bridge/4.1/tests | 1 - .../phpunit-bridge/4.1/tests/bootstrap.php | 11 +++ symfony/phpunit-bridge/4.3/.env.test | 7 +- symfony/phpunit-bridge/4.3/manifest.json | 15 +++- symfony/phpunit-bridge/4.3/phpunit.xml.dist | 34 ++++++++- symfony/phpunit-bridge/4.3/post-install.txt | 7 +- symfony/phpunit-bridge/4.3/tests | 1 - .../phpunit-bridge/4.3/tests/bootstrap.php | 11 +++ symfony/phpunit-bridge/5.1/.env.test | 7 +- symfony/phpunit-bridge/5.1/bin/phpunit | 14 +++- symfony/phpunit-bridge/5.1/manifest.json | 15 +++- symfony/phpunit-bridge/5.1/post-install.txt | 7 +- symfony/phpunit-bridge/5.1/tests | 1 - .../phpunit-bridge/5.1/tests/bootstrap.php | 11 +++ symfony/routing/5.1/config/packages/prod | 1 - .../5.1/config/packages/prod/routing.yaml | 3 + symfony/routing/5.1/config/routes.yaml | 4 +- symfony/routing/5.1/manifest.json | 7 +- symfony/routing/5.3/config/routes.yaml | 4 +- symfony/routing/5.3/manifest.json | 7 +- symfony/twig-bundle/4.4/config/packages/test | 1 - .../4.4/config/packages/test/twig.yaml | 2 + symfony/twig-bundle/4.4/manifest.json | 10 ++- symfony/twig-bundle/4.4/templates | 1 - .../twig-bundle/4.4/templates/base.html.twig | 19 +++++ symfony/twig-bundle/5.0/config/packages/test | 1 - .../5.0/config/packages/test/twig.yaml | 2 + symfony/twig-bundle/5.0/manifest.json | 10 ++- symfony/twig-bundle/5.0/templates | 1 - .../twig-bundle/5.0/templates/base.html.twig | 19 +++++ symfony/twig-bundle/5.3/manifest.json | 10 ++- symfony/twig-bundle/5.3/templates | 1 - .../twig-bundle/5.3/templates/base.html.twig | 19 +++++ symfony/validator/4.3/manifest.json | 7 +- symfony/webpack-encore-bundle/1.6/assets | 1 - .../webpack-encore-bundle/1.6/assets/app.js | 12 +++ .../1.6/assets/bootstrap.js | 11 +++ .../1.6/assets/controllers.json | 4 + .../assets/controllers/hello_controller.js | 16 ++++ .../1.6/assets/styles/app.css | 3 + .../1.6/config/packages/assets.yaml | 4 +- .../1.6/config/packages/prod | 1 - .../config/packages/prod/webpack_encore.yaml | 4 + .../webpack-encore-bundle/1.6/manifest.json | 19 ++++- .../webpack-encore-bundle/1.6/package.json | 19 ++++- .../1.6/webpack.config.js | 76 ++++++++++++++++++- symfony/webpack-encore-bundle/1.9/assets | 1 - .../webpack-encore-bundle/1.9/assets/app.js | 12 +++ .../1.9/assets/bootstrap.js | 11 +++ .../1.9/assets/controllers.json | 4 + .../assets/controllers/hello_controller.js | 16 ++++ .../1.9/assets/styles/app.css | 3 + .../1.9/config/packages/assets.yaml | 4 +- .../1.9/config/packages/prod | 1 - .../config/packages/prod/webpack_encore.yaml | 4 + .../1.9/config/packages/test | 1 - .../config/packages/test/webpack_encore.yaml | 2 + .../webpack-encore-bundle/1.9/manifest.json | 19 ++++- .../webpack-encore-bundle/1.9/package.json | 19 ++++- .../1.9/webpack.config.js | 76 ++++++++++++++++++- 144 files changed, 1635 insertions(+), 87 deletions(-) delete mode 120000 api-platform/core/2.5/config/routes create mode 100644 api-platform/core/2.5/config/routes/api_platform.yaml mode change 120000 => 100644 api-platform/core/2.5/manifest.json mode change 120000 => 100644 api-platform/core/2.5/post-install.txt delete mode 120000 api-platform/core/2.5/src create mode 100644 api-platform/core/2.5/src/Entity/.gitignore mode change 120000 => 100644 doctrine/doctrine-bundle/1.12/manifest.json mode change 120000 => 100644 doctrine/doctrine-bundle/1.12/post-install.txt delete mode 120000 doctrine/doctrine-bundle/1.12/src create mode 100644 doctrine/doctrine-bundle/1.12/src/Entity/.gitignore create mode 100644 doctrine/doctrine-bundle/1.12/src/Repository/.gitignore mode change 120000 => 100644 doctrine/doctrine-bundle/2.0/config/packages/prod/doctrine.yaml mode change 120000 => 100644 doctrine/doctrine-bundle/2.0/manifest.json delete mode 120000 doctrine/doctrine-bundle/2.0/src create mode 100644 doctrine/doctrine-bundle/2.0/src/Entity/.gitignore create mode 100644 doctrine/doctrine-bundle/2.0/src/Repository/.gitignore delete mode 120000 phpunit/phpunit/4.7/tests create mode 100644 phpunit/phpunit/4.7/tests/bootstrap.php delete mode 120000 phpunit/phpunit/9.3/tests create mode 100644 phpunit/phpunit/9.3/tests/bootstrap.php mode change 120000 => 100644 symfony/console/3.3/config/bootstrap.php delete mode 120000 symfony/console/4.2/bin create mode 100755 symfony/console/4.2/bin/console mode change 120000 => 100644 symfony/console/4.2/config/bootstrap.php mode change 120000 => 100644 symfony/console/4.2/manifest.json delete mode 120000 symfony/console/4.4/config create mode 100644 symfony/console/4.4/config/bootstrap.php mode change 120000 => 100644 symfony/console/4.4/manifest.json mode change 120000 => 100644 symfony/framework-bundle/3.4/config/bootstrap.php mode change 120000 => 100644 symfony/framework-bundle/3.4/config/packages/cache.yaml delete mode 120000 symfony/framework-bundle/3.4/config/packages/test create mode 100644 symfony/framework-bundle/3.4/config/packages/test/framework.yaml mode change 120000 => 100644 symfony/framework-bundle/3.4/config/services.yaml mode change 120000 => 100644 symfony/framework-bundle/3.4/manifest.json mode change 120000 => 100644 symfony/framework-bundle/3.4/post-install.txt delete mode 120000 symfony/framework-bundle/3.4/public create mode 100644 symfony/framework-bundle/3.4/public/index.php delete mode 120000 symfony/framework-bundle/3.4/src create mode 100644 symfony/framework-bundle/3.4/src/Controller/.gitignore create mode 100644 symfony/framework-bundle/3.4/src/Kernel.php mode change 120000 => 100644 symfony/framework-bundle/4.2/config/packages/cache.yaml mode change 120000 => 100644 symfony/framework-bundle/4.4/config/bootstrap.php delete mode 120000 symfony/framework-bundle/4.4/config/packages create mode 100644 symfony/framework-bundle/4.4/config/packages/cache.yaml create mode 100644 symfony/framework-bundle/4.4/config/packages/framework.yaml create mode 100644 symfony/framework-bundle/4.4/config/packages/test/framework.yaml mode change 120000 => 100644 symfony/framework-bundle/4.4/manifest.json mode change 120000 => 100644 symfony/framework-bundle/4.4/post-install.txt delete mode 120000 symfony/framework-bundle/4.4/src create mode 100644 symfony/framework-bundle/4.4/src/Controller/.gitignore create mode 100644 symfony/framework-bundle/4.4/src/Kernel.php delete mode 120000 symfony/framework-bundle/5.1/config/packages create mode 100644 symfony/framework-bundle/5.1/config/packages/cache.yaml create mode 100644 symfony/framework-bundle/5.1/config/packages/framework.yaml create mode 100644 symfony/framework-bundle/5.1/config/packages/test/framework.yaml delete mode 120000 symfony/framework-bundle/5.1/config/routes create mode 100644 symfony/framework-bundle/5.1/config/routes/dev/framework.yaml mode change 120000 => 100644 symfony/framework-bundle/5.1/config/services.yaml mode change 120000 => 100644 symfony/framework-bundle/5.1/manifest.json mode change 120000 => 100644 symfony/framework-bundle/5.1/post-install.txt delete mode 120000 symfony/framework-bundle/5.1/src/Controller create mode 100644 symfony/framework-bundle/5.1/src/Controller/.gitignore delete mode 120000 symfony/framework-bundle/5.2/config create mode 100644 symfony/framework-bundle/5.2/config/packages/cache.yaml create mode 100644 symfony/framework-bundle/5.2/config/packages/framework.yaml create mode 100644 symfony/framework-bundle/5.2/config/packages/test/framework.yaml create mode 100644 symfony/framework-bundle/5.2/config/preload.php create mode 100644 symfony/framework-bundle/5.2/config/routes/dev/framework.yaml create mode 100644 symfony/framework-bundle/5.2/config/services.yaml mode change 120000 => 100644 symfony/framework-bundle/5.2/post-install.txt delete mode 120000 symfony/framework-bundle/5.2/src create mode 100644 symfony/framework-bundle/5.2/src/Controller/.gitignore create mode 100644 symfony/framework-bundle/5.2/src/Kernel.php delete mode 120000 symfony/lock/5.2/config create mode 100644 symfony/lock/5.2/config/packages/lock.yaml mode change 120000 => 100644 symfony/mercure-bundle/0.2/manifest.json delete mode 120000 symfony/monolog-bundle/3.3/config/packages/dev create mode 100644 symfony/monolog-bundle/3.3/config/packages/dev/monolog.yaml mode change 120000 => 100644 symfony/monolog-bundle/3.3/config/packages/prod/deprecations.yaml delete mode 120000 symfony/monolog-bundle/3.7/config/packages/test create mode 100644 symfony/monolog-bundle/3.7/config/packages/test/monolog.yaml mode change 120000 => 100644 symfony/monolog-bundle/3.7/manifest.json mode change 120000 => 100644 symfony/phpunit-bridge/4.1/manifest.json mode change 120000 => 100644 symfony/phpunit-bridge/4.1/post-install.txt delete mode 120000 symfony/phpunit-bridge/4.1/tests create mode 100644 symfony/phpunit-bridge/4.1/tests/bootstrap.php mode change 120000 => 100644 symfony/phpunit-bridge/4.3/.env.test mode change 120000 => 100644 symfony/phpunit-bridge/4.3/manifest.json mode change 120000 => 100644 symfony/phpunit-bridge/4.3/phpunit.xml.dist mode change 120000 => 100644 symfony/phpunit-bridge/4.3/post-install.txt delete mode 120000 symfony/phpunit-bridge/4.3/tests create mode 100644 symfony/phpunit-bridge/4.3/tests/bootstrap.php mode change 120000 => 100644 symfony/phpunit-bridge/5.1/.env.test mode change 120000 => 100755 symfony/phpunit-bridge/5.1/bin/phpunit mode change 120000 => 100644 symfony/phpunit-bridge/5.1/manifest.json mode change 120000 => 100644 symfony/phpunit-bridge/5.1/post-install.txt delete mode 120000 symfony/phpunit-bridge/5.1/tests create mode 100644 symfony/phpunit-bridge/5.1/tests/bootstrap.php delete mode 120000 symfony/routing/5.1/config/packages/prod create mode 100644 symfony/routing/5.1/config/packages/prod/routing.yaml mode change 120000 => 100644 symfony/routing/5.1/config/routes.yaml mode change 120000 => 100644 symfony/routing/5.1/manifest.json mode change 120000 => 100644 symfony/routing/5.3/config/routes.yaml mode change 120000 => 100644 symfony/routing/5.3/manifest.json delete mode 120000 symfony/twig-bundle/4.4/config/packages/test create mode 100644 symfony/twig-bundle/4.4/config/packages/test/twig.yaml mode change 120000 => 100644 symfony/twig-bundle/4.4/manifest.json delete mode 120000 symfony/twig-bundle/4.4/templates create mode 100644 symfony/twig-bundle/4.4/templates/base.html.twig delete mode 120000 symfony/twig-bundle/5.0/config/packages/test create mode 100644 symfony/twig-bundle/5.0/config/packages/test/twig.yaml mode change 120000 => 100644 symfony/twig-bundle/5.0/manifest.json delete mode 120000 symfony/twig-bundle/5.0/templates create mode 100644 symfony/twig-bundle/5.0/templates/base.html.twig mode change 120000 => 100644 symfony/twig-bundle/5.3/manifest.json delete mode 120000 symfony/twig-bundle/5.3/templates create mode 100644 symfony/twig-bundle/5.3/templates/base.html.twig mode change 120000 => 100644 symfony/validator/4.3/manifest.json delete mode 120000 symfony/webpack-encore-bundle/1.6/assets create mode 100644 symfony/webpack-encore-bundle/1.6/assets/app.js create mode 100644 symfony/webpack-encore-bundle/1.6/assets/bootstrap.js create mode 100644 symfony/webpack-encore-bundle/1.6/assets/controllers.json create mode 100644 symfony/webpack-encore-bundle/1.6/assets/controllers/hello_controller.js create mode 100644 symfony/webpack-encore-bundle/1.6/assets/styles/app.css mode change 120000 => 100644 symfony/webpack-encore-bundle/1.6/config/packages/assets.yaml delete mode 120000 symfony/webpack-encore-bundle/1.6/config/packages/prod create mode 100644 symfony/webpack-encore-bundle/1.6/config/packages/prod/webpack_encore.yaml mode change 120000 => 100644 symfony/webpack-encore-bundle/1.6/manifest.json mode change 120000 => 100644 symfony/webpack-encore-bundle/1.6/package.json mode change 120000 => 100644 symfony/webpack-encore-bundle/1.6/webpack.config.js delete mode 120000 symfony/webpack-encore-bundle/1.9/assets create mode 100644 symfony/webpack-encore-bundle/1.9/assets/app.js create mode 100644 symfony/webpack-encore-bundle/1.9/assets/bootstrap.js create mode 100644 symfony/webpack-encore-bundle/1.9/assets/controllers.json create mode 100644 symfony/webpack-encore-bundle/1.9/assets/controllers/hello_controller.js create mode 100644 symfony/webpack-encore-bundle/1.9/assets/styles/app.css mode change 120000 => 100644 symfony/webpack-encore-bundle/1.9/config/packages/assets.yaml delete mode 120000 symfony/webpack-encore-bundle/1.9/config/packages/prod create mode 100644 symfony/webpack-encore-bundle/1.9/config/packages/prod/webpack_encore.yaml delete mode 120000 symfony/webpack-encore-bundle/1.9/config/packages/test create mode 100644 symfony/webpack-encore-bundle/1.9/config/packages/test/webpack_encore.yaml mode change 120000 => 100644 symfony/webpack-encore-bundle/1.9/manifest.json mode change 120000 => 100644 symfony/webpack-encore-bundle/1.9/package.json mode change 120000 => 100644 symfony/webpack-encore-bundle/1.9/webpack.config.js diff --git a/api-platform/core/2.5/config/routes b/api-platform/core/2.5/config/routes deleted file mode 120000 index b0b4cf19..00000000 --- a/api-platform/core/2.5/config/routes +++ /dev/null @@ -1 +0,0 @@ -../../2.1/config/routes \ No newline at end of file diff --git a/api-platform/core/2.5/config/routes/api_platform.yaml b/api-platform/core/2.5/config/routes/api_platform.yaml new file mode 100644 index 00000000..38f11cba --- /dev/null +++ b/api-platform/core/2.5/config/routes/api_platform.yaml @@ -0,0 +1,4 @@ +api_platform: + resource: . + type: api_platform + prefix: /api diff --git a/api-platform/core/2.5/manifest.json b/api-platform/core/2.5/manifest.json deleted file mode 120000 index 083ea6af..00000000 --- a/api-platform/core/2.5/manifest.json +++ /dev/null @@ -1 +0,0 @@ -../2.1/manifest.json \ No newline at end of file diff --git a/api-platform/core/2.5/manifest.json b/api-platform/core/2.5/manifest.json new file mode 100644 index 00000000..a886a48a --- /dev/null +++ b/api-platform/core/2.5/manifest.json @@ -0,0 +1,9 @@ +{ + "bundles": { + "ApiPlatform\\Core\\Bridge\\Symfony\\Bundle\\ApiPlatformBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/", + "src/": "%SRC_DIR%/" + } +} diff --git a/api-platform/core/2.5/post-install.txt b/api-platform/core/2.5/post-install.txt deleted file mode 120000 index 27388f27..00000000 --- a/api-platform/core/2.5/post-install.txt +++ /dev/null @@ -1 +0,0 @@ -../2.1/post-install.txt \ No newline at end of file diff --git a/api-platform/core/2.5/post-install.txt b/api-platform/core/2.5/post-install.txt new file mode 100644 index 00000000..e975b191 --- /dev/null +++ b/api-platform/core/2.5/post-install.txt @@ -0,0 +1,12 @@ + + What's next? + + + * Your API is almost ready: + 1. Create your first API resource in src/Entity; + 2. Go to /api to browse your API + + * To enable the GraphQL support, run composer require webonyx/graphql-php, + then browse /api/graphql. + + * Read the documentation at https://api-platform.com/docs diff --git a/api-platform/core/2.5/src b/api-platform/core/2.5/src deleted file mode 120000 index 783ae52e..00000000 --- a/api-platform/core/2.5/src +++ /dev/null @@ -1 +0,0 @@ -../2.1/src \ No newline at end of file diff --git a/api-platform/core/2.5/src/Entity/.gitignore b/api-platform/core/2.5/src/Entity/.gitignore new file mode 100644 index 00000000..e69de29b diff --git a/doctrine/doctrine-bundle/1.12/manifest.json b/doctrine/doctrine-bundle/1.12/manifest.json deleted file mode 120000 index f2934780..00000000 --- a/doctrine/doctrine-bundle/1.12/manifest.json +++ /dev/null @@ -1 +0,0 @@ -../1.6/manifest.json \ No newline at end of file diff --git a/doctrine/doctrine-bundle/1.12/manifest.json b/doctrine/doctrine-bundle/1.12/manifest.json new file mode 100644 index 00000000..062aed0e --- /dev/null +++ b/doctrine/doctrine-bundle/1.12/manifest.json @@ -0,0 +1,48 @@ +{ + "bundles": { + "Doctrine\\Bundle\\DoctrineBundle\\DoctrineBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/", + "src/": "%SRC_DIR%/" + }, + "env": { + "#1": "Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url", + "#2": "IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml", + "#3": "", + "#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data.db\"", + "#5": "DATABASE_URL=\"mysql://db_user:db_password@127.0.0.1:3306/db_name?serverVersion=5.7\"", + "DATABASE_URL": "postgresql://db_user:db_password@127.0.0.1:5432/db_name?serverVersion=13&charset=utf8" + }, + "dockerfile": [ + "RUN apk add --no-cache --virtual .pgsql-deps postgresql-dev && \\", + "\tdocker-php-ext-install -j$(nproc) pdo_pgsql && \\", + "\tapk add --no-cache --virtual .pgsql-rundeps so:libpq.so.5 && \\", + "\tapk del .pgsql-deps" + ], + "docker-compose": { + "docker-compose.yml": { + "services": [ + "database:", + " image: postgres:${POSTGRES_VERSION:-13}-alpine", + " environment:", + " POSTGRES_DB: ${POSTGRES_DB:-app}", + " # You should definitely change the password in production", + " POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-ChangeMe}", + " POSTGRES_USER: ${POSTGRES_USER:-symfony}", + " volumes:", + " - db-data:/var/lib/postgresql/data:rw", + " # You may use a bind-mounted host directory instead, so that it is harder to accidentally remove the volume and lose all your data!", + " # - ./docker/db/data:/var/lib/postgresql/data:rw" + ], + "volumes": ["db-data:"] + }, + "docker-compose.override.yml": { + "services": [ + "database:", + " ports:", + " - \"5432\"" + ] + } + } +} diff --git a/doctrine/doctrine-bundle/1.12/post-install.txt b/doctrine/doctrine-bundle/1.12/post-install.txt deleted file mode 120000 index 4f3bb5c7..00000000 --- a/doctrine/doctrine-bundle/1.12/post-install.txt +++ /dev/null @@ -1 +0,0 @@ -../1.6/post-install.txt \ No newline at end of file diff --git a/doctrine/doctrine-bundle/1.12/post-install.txt b/doctrine/doctrine-bundle/1.12/post-install.txt new file mode 100644 index 00000000..8dd3c86d --- /dev/null +++ b/doctrine/doctrine-bundle/1.12/post-install.txt @@ -0,0 +1,8 @@ + + Database Configuration + + + * Modify your DATABASE_URL config in .env + + * Configure the driver (mysql) and + server_version (5.7) in config/packages/doctrine.yaml diff --git a/doctrine/doctrine-bundle/1.12/src b/doctrine/doctrine-bundle/1.12/src deleted file mode 120000 index d78be8c5..00000000 --- a/doctrine/doctrine-bundle/1.12/src +++ /dev/null @@ -1 +0,0 @@ -../1.6/src \ No newline at end of file diff --git a/doctrine/doctrine-bundle/1.12/src/Entity/.gitignore b/doctrine/doctrine-bundle/1.12/src/Entity/.gitignore new file mode 100644 index 00000000..e69de29b diff --git a/doctrine/doctrine-bundle/1.12/src/Repository/.gitignore b/doctrine/doctrine-bundle/1.12/src/Repository/.gitignore new file mode 100644 index 00000000..e69de29b diff --git a/doctrine/doctrine-bundle/2.0/config/packages/prod/doctrine.yaml b/doctrine/doctrine-bundle/2.0/config/packages/prod/doctrine.yaml deleted file mode 120000 index 2e0bc3c3..00000000 --- a/doctrine/doctrine-bundle/2.0/config/packages/prod/doctrine.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../1.12/config/packages/prod/doctrine.yaml \ No newline at end of file diff --git a/doctrine/doctrine-bundle/2.0/config/packages/prod/doctrine.yaml b/doctrine/doctrine-bundle/2.0/config/packages/prod/doctrine.yaml new file mode 100644 index 00000000..084f59a0 --- /dev/null +++ b/doctrine/doctrine-bundle/2.0/config/packages/prod/doctrine.yaml @@ -0,0 +1,20 @@ +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 diff --git a/doctrine/doctrine-bundle/2.0/manifest.json b/doctrine/doctrine-bundle/2.0/manifest.json deleted file mode 120000 index f2934780..00000000 --- a/doctrine/doctrine-bundle/2.0/manifest.json +++ /dev/null @@ -1 +0,0 @@ -../1.6/manifest.json \ No newline at end of file diff --git a/doctrine/doctrine-bundle/2.0/manifest.json b/doctrine/doctrine-bundle/2.0/manifest.json new file mode 100644 index 00000000..062aed0e --- /dev/null +++ b/doctrine/doctrine-bundle/2.0/manifest.json @@ -0,0 +1,48 @@ +{ + "bundles": { + "Doctrine\\Bundle\\DoctrineBundle\\DoctrineBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/", + "src/": "%SRC_DIR%/" + }, + "env": { + "#1": "Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url", + "#2": "IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml", + "#3": "", + "#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data.db\"", + "#5": "DATABASE_URL=\"mysql://db_user:db_password@127.0.0.1:3306/db_name?serverVersion=5.7\"", + "DATABASE_URL": "postgresql://db_user:db_password@127.0.0.1:5432/db_name?serverVersion=13&charset=utf8" + }, + "dockerfile": [ + "RUN apk add --no-cache --virtual .pgsql-deps postgresql-dev && \\", + "\tdocker-php-ext-install -j$(nproc) pdo_pgsql && \\", + "\tapk add --no-cache --virtual .pgsql-rundeps so:libpq.so.5 && \\", + "\tapk del .pgsql-deps" + ], + "docker-compose": { + "docker-compose.yml": { + "services": [ + "database:", + " image: postgres:${POSTGRES_VERSION:-13}-alpine", + " environment:", + " POSTGRES_DB: ${POSTGRES_DB:-app}", + " # You should definitely change the password in production", + " POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-ChangeMe}", + " POSTGRES_USER: ${POSTGRES_USER:-symfony}", + " volumes:", + " - db-data:/var/lib/postgresql/data:rw", + " # You may use a bind-mounted host directory instead, so that it is harder to accidentally remove the volume and lose all your data!", + " # - ./docker/db/data:/var/lib/postgresql/data:rw" + ], + "volumes": ["db-data:"] + }, + "docker-compose.override.yml": { + "services": [ + "database:", + " ports:", + " - \"5432\"" + ] + } + } +} diff --git a/doctrine/doctrine-bundle/2.0/src b/doctrine/doctrine-bundle/2.0/src deleted file mode 120000 index d78be8c5..00000000 --- a/doctrine/doctrine-bundle/2.0/src +++ /dev/null @@ -1 +0,0 @@ -../1.6/src \ No newline at end of file diff --git a/doctrine/doctrine-bundle/2.0/src/Entity/.gitignore b/doctrine/doctrine-bundle/2.0/src/Entity/.gitignore new file mode 100644 index 00000000..e69de29b diff --git a/doctrine/doctrine-bundle/2.0/src/Repository/.gitignore b/doctrine/doctrine-bundle/2.0/src/Repository/.gitignore new file mode 100644 index 00000000..e69de29b diff --git a/phpunit/phpunit/4.7/tests b/phpunit/phpunit/4.7/tests deleted file mode 120000 index 98911dc6..00000000 --- a/phpunit/phpunit/4.7/tests +++ /dev/null @@ -1 +0,0 @@ -../../../symfony/phpunit-bridge/3.3/tests/ \ No newline at end of file diff --git a/phpunit/phpunit/4.7/tests/bootstrap.php b/phpunit/phpunit/4.7/tests/bootstrap.php new file mode 100644 index 00000000..469dccee --- /dev/null +++ b/phpunit/phpunit/4.7/tests/bootstrap.php @@ -0,0 +1,11 @@ +bootEnv(dirname(__DIR__).'/.env'); +} diff --git a/phpunit/phpunit/9.3/tests b/phpunit/phpunit/9.3/tests deleted file mode 120000 index 98911dc6..00000000 --- a/phpunit/phpunit/9.3/tests +++ /dev/null @@ -1 +0,0 @@ -../../../symfony/phpunit-bridge/3.3/tests/ \ No newline at end of file diff --git a/phpunit/phpunit/9.3/tests/bootstrap.php b/phpunit/phpunit/9.3/tests/bootstrap.php new file mode 100644 index 00000000..469dccee --- /dev/null +++ b/phpunit/phpunit/9.3/tests/bootstrap.php @@ -0,0 +1,11 @@ +bootEnv(dirname(__DIR__).'/.env'); +} diff --git a/symfony/console/3.3/config/bootstrap.php b/symfony/console/3.3/config/bootstrap.php deleted file mode 120000 index 57ba1e6e..00000000 --- a/symfony/console/3.3/config/bootstrap.php +++ /dev/null @@ -1 +0,0 @@ -../../../../symfony/framework-bundle/3.3/config/bootstrap.php \ No newline at end of file diff --git a/symfony/console/3.3/config/bootstrap.php b/symfony/console/3.3/config/bootstrap.php new file mode 100644 index 00000000..2a471864 --- /dev/null +++ b/symfony/console/3.3/config/bootstrap.php @@ -0,0 +1,53 @@ +=1.2) +if (is_array($env = @include dirname(__DIR__).'/.env.local.php') && (!isset($env['APP_ENV']) || ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env['APP_ENV']) === $env['APP_ENV'])) { + (new Dotenv(false))->populate($env); +} else { + $path = dirname(__DIR__).'/.env'; + $dotenv = new Dotenv(false); + + // load all the .env files + if (method_exists($dotenv, 'loadEnv')) { + $dotenv->loadEnv($path); + } else { + // fallback code in case your Dotenv component is not 4.2 or higher (when loadEnv() was added) + + if (file_exists($path) || !file_exists($p = "$path.dist")) { + $dotenv->load($path); + } else { + $dotenv->load($p); + } + + if (null === $env = $_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) { + $dotenv->populate(array('APP_ENV' => $env = 'dev')); + } + + if ('test' !== $env && file_exists($p = "$path.local")) { + $dotenv->load($p); + $env = $_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env; + } + + if (file_exists($p = "$path.$env")) { + $dotenv->load($p); + } + + if (file_exists($p = "$path.$env.local")) { + $dotenv->load($p); + } + } +} + +$_SERVER += $_ENV; +$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) ?: 'dev'; +$_SERVER['APP_DEBUG'] = $_SERVER['APP_DEBUG'] ?? $_ENV['APP_DEBUG'] ?? 'prod' !== $_SERVER['APP_ENV']; +$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = (int) $_SERVER['APP_DEBUG'] || filter_var($_SERVER['APP_DEBUG'], FILTER_VALIDATE_BOOLEAN) ? '1' : '0'; diff --git a/symfony/console/4.2/bin b/symfony/console/4.2/bin deleted file mode 120000 index 4f9c537e..00000000 --- a/symfony/console/4.2/bin +++ /dev/null @@ -1 +0,0 @@ -../3.3/bin \ No newline at end of file diff --git a/symfony/console/4.2/bin/console b/symfony/console/4.2/bin/console new file mode 100755 index 00000000..5cef8797 --- /dev/null +++ b/symfony/console/4.2/bin/console @@ -0,0 +1,42 @@ +#!/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); diff --git a/symfony/console/4.2/config/bootstrap.php b/symfony/console/4.2/config/bootstrap.php deleted file mode 120000 index df20375d..00000000 --- a/symfony/console/4.2/config/bootstrap.php +++ /dev/null @@ -1 +0,0 @@ -../../../framework-bundle/4.2/config/bootstrap.php \ No newline at end of file diff --git a/symfony/console/4.2/config/bootstrap.php b/symfony/console/4.2/config/bootstrap.php new file mode 100644 index 00000000..55560fb8 --- /dev/null +++ b/symfony/console/4.2/config/bootstrap.php @@ -0,0 +1,23 @@ +=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'; diff --git a/symfony/console/4.2/manifest.json b/symfony/console/4.2/manifest.json deleted file mode 120000 index ae0cf233..00000000 --- a/symfony/console/4.2/manifest.json +++ /dev/null @@ -1 +0,0 @@ -../3.3/manifest.json \ No newline at end of file diff --git a/symfony/console/4.2/manifest.json b/symfony/console/4.2/manifest.json new file mode 100644 index 00000000..c00421d6 --- /dev/null +++ b/symfony/console/4.2/manifest.json @@ -0,0 +1,7 @@ +{ + "copy-from-recipe": { + "bin/": "%BIN_DIR%/", + "config/": "%CONFIG_DIR%/" + }, + "aliases": ["cli"] +} diff --git a/symfony/console/4.4/config b/symfony/console/4.4/config deleted file mode 120000 index c38f08f2..00000000 --- a/symfony/console/4.4/config +++ /dev/null @@ -1 +0,0 @@ -../4.2/config \ No newline at end of file diff --git a/symfony/console/4.4/config/bootstrap.php b/symfony/console/4.4/config/bootstrap.php new file mode 100644 index 00000000..55560fb8 --- /dev/null +++ b/symfony/console/4.4/config/bootstrap.php @@ -0,0 +1,23 @@ +=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'; diff --git a/symfony/console/4.4/manifest.json b/symfony/console/4.4/manifest.json deleted file mode 120000 index ae0cf233..00000000 --- a/symfony/console/4.4/manifest.json +++ /dev/null @@ -1 +0,0 @@ -../3.3/manifest.json \ No newline at end of file diff --git a/symfony/console/4.4/manifest.json b/symfony/console/4.4/manifest.json new file mode 100644 index 00000000..c00421d6 --- /dev/null +++ b/symfony/console/4.4/manifest.json @@ -0,0 +1,7 @@ +{ + "copy-from-recipe": { + "bin/": "%BIN_DIR%/", + "config/": "%CONFIG_DIR%/" + }, + "aliases": ["cli"] +} diff --git a/symfony/framework-bundle/3.4/config/bootstrap.php b/symfony/framework-bundle/3.4/config/bootstrap.php deleted file mode 120000 index 81810920..00000000 --- a/symfony/framework-bundle/3.4/config/bootstrap.php +++ /dev/null @@ -1 +0,0 @@ -../../3.3/config/bootstrap.php \ No newline at end of file diff --git a/symfony/framework-bundle/3.4/config/bootstrap.php b/symfony/framework-bundle/3.4/config/bootstrap.php new file mode 100644 index 00000000..2a471864 --- /dev/null +++ b/symfony/framework-bundle/3.4/config/bootstrap.php @@ -0,0 +1,53 @@ +=1.2) +if (is_array($env = @include dirname(__DIR__).'/.env.local.php') && (!isset($env['APP_ENV']) || ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env['APP_ENV']) === $env['APP_ENV'])) { + (new Dotenv(false))->populate($env); +} else { + $path = dirname(__DIR__).'/.env'; + $dotenv = new Dotenv(false); + + // load all the .env files + if (method_exists($dotenv, 'loadEnv')) { + $dotenv->loadEnv($path); + } else { + // fallback code in case your Dotenv component is not 4.2 or higher (when loadEnv() was added) + + if (file_exists($path) || !file_exists($p = "$path.dist")) { + $dotenv->load($path); + } else { + $dotenv->load($p); + } + + if (null === $env = $_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) { + $dotenv->populate(array('APP_ENV' => $env = 'dev')); + } + + if ('test' !== $env && file_exists($p = "$path.local")) { + $dotenv->load($p); + $env = $_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env; + } + + if (file_exists($p = "$path.$env")) { + $dotenv->load($p); + } + + if (file_exists($p = "$path.$env.local")) { + $dotenv->load($p); + } + } +} + +$_SERVER += $_ENV; +$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) ?: 'dev'; +$_SERVER['APP_DEBUG'] = $_SERVER['APP_DEBUG'] ?? $_ENV['APP_DEBUG'] ?? 'prod' !== $_SERVER['APP_ENV']; +$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = (int) $_SERVER['APP_DEBUG'] || filter_var($_SERVER['APP_DEBUG'], FILTER_VALIDATE_BOOLEAN) ? '1' : '0'; diff --git a/symfony/framework-bundle/3.4/config/packages/cache.yaml b/symfony/framework-bundle/3.4/config/packages/cache.yaml deleted file mode 120000 index a8816e95..00000000 --- a/symfony/framework-bundle/3.4/config/packages/cache.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../3.3/config/packages/cache.yaml \ No newline at end of file diff --git a/symfony/framework-bundle/3.4/config/packages/cache.yaml b/symfony/framework-bundle/3.4/config/packages/cache.yaml new file mode 100644 index 00000000..6899b720 --- /dev/null +++ b/symfony/framework-bundle/3.4/config/packages/cache.yaml @@ -0,0 +1,19 @@ +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 diff --git a/symfony/framework-bundle/3.4/config/packages/test b/symfony/framework-bundle/3.4/config/packages/test deleted file mode 120000 index 8761a022..00000000 --- a/symfony/framework-bundle/3.4/config/packages/test +++ /dev/null @@ -1 +0,0 @@ -../../../3.3/config/packages/test/ \ No newline at end of file diff --git a/symfony/framework-bundle/3.4/config/packages/test/framework.yaml b/symfony/framework-bundle/3.4/config/packages/test/framework.yaml new file mode 100644 index 00000000..d051c840 --- /dev/null +++ b/symfony/framework-bundle/3.4/config/packages/test/framework.yaml @@ -0,0 +1,4 @@ +framework: + test: true + session: + storage_id: session.storage.mock_file diff --git a/symfony/framework-bundle/3.4/config/services.yaml b/symfony/framework-bundle/3.4/config/services.yaml deleted file mode 120000 index d047ff7f..00000000 --- a/symfony/framework-bundle/3.4/config/services.yaml +++ /dev/null @@ -1 +0,0 @@ -../../3.3/config/services.yaml \ No newline at end of file diff --git a/symfony/framework-bundle/3.4/config/services.yaml b/symfony/framework-bundle/3.4/config/services.yaml new file mode 100644 index 00000000..07d653cb --- /dev/null +++ b/symfony/framework-bundle/3.4/config/services.yaml @@ -0,0 +1,30 @@ +# 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 diff --git a/symfony/framework-bundle/3.4/manifest.json b/symfony/framework-bundle/3.4/manifest.json deleted file mode 120000 index ae0cf233..00000000 --- a/symfony/framework-bundle/3.4/manifest.json +++ /dev/null @@ -1 +0,0 @@ -../3.3/manifest.json \ No newline at end of file diff --git a/symfony/framework-bundle/3.4/manifest.json b/symfony/framework-bundle/3.4/manifest.json new file mode 100644 index 00000000..aa0150ea --- /dev/null +++ b/symfony/framework-bundle/3.4/manifest.json @@ -0,0 +1,28 @@ +{ + "bundles": { + "Symfony\\Bundle\\FrameworkBundle\\FrameworkBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/", + "public/": "%PUBLIC_DIR%/", + "src/": "%SRC_DIR%/" + }, + "composer-scripts": { + "cache:clear": "symfony-cmd", + "assets:install %PUBLIC_DIR%": "symfony-cmd" + }, + "env": { + "APP_ENV": "dev", + "APP_SECRET": "%generate(secret)%", + "#TRUSTED_PROXIES": "127.0.0.1,127.0.0.2", + "#TRUSTED_HOSTS": "'^(localhost|example\\.com)$'" + }, + "gitignore": [ + "/.env.local", + "/.env.local.php", + "/.env.*.local", + "/%PUBLIC_DIR%/bundles/", + "/%VAR_DIR%/", + "/vendor/" + ] +} diff --git a/symfony/framework-bundle/3.4/post-install.txt b/symfony/framework-bundle/3.4/post-install.txt deleted file mode 120000 index bba626e0..00000000 --- a/symfony/framework-bundle/3.4/post-install.txt +++ /dev/null @@ -1 +0,0 @@ -../3.3/post-install.txt \ No newline at end of file diff --git a/symfony/framework-bundle/3.4/post-install.txt b/symfony/framework-bundle/3.4/post-install.txt new file mode 100644 index 00000000..dba20f82 --- /dev/null +++ b/symfony/framework-bundle/3.4/post-install.txt @@ -0,0 +1,11 @@ + + What's next? + + + * Run your application: + 1. Go to the project directory + 2. Create your code repository with the git init command + 3. Download the Symfony CLI at https://symfony.com/download to install a development web server, + or run composer require server --dev for a minimalist one + + * Read the documentation at https://symfony.com/doc diff --git a/symfony/framework-bundle/3.4/public b/symfony/framework-bundle/3.4/public deleted file mode 120000 index 909d7094..00000000 --- a/symfony/framework-bundle/3.4/public +++ /dev/null @@ -1 +0,0 @@ -../3.3/public/ \ No newline at end of file diff --git a/symfony/framework-bundle/3.4/public/index.php b/symfony/framework-bundle/3.4/public/index.php new file mode 100644 index 00000000..929197ce --- /dev/null +++ b/symfony/framework-bundle/3.4/public/index.php @@ -0,0 +1,27 @@ +handle($request); +$response->send(); +$kernel->terminate($request, $response); diff --git a/symfony/framework-bundle/3.4/src b/symfony/framework-bundle/3.4/src deleted file mode 120000 index b4c62e0a..00000000 --- a/symfony/framework-bundle/3.4/src +++ /dev/null @@ -1 +0,0 @@ -../3.3/src/ \ No newline at end of file diff --git a/symfony/framework-bundle/3.4/src/Controller/.gitignore b/symfony/framework-bundle/3.4/src/Controller/.gitignore new file mode 100644 index 00000000..e69de29b diff --git a/symfony/framework-bundle/3.4/src/Kernel.php b/symfony/framework-bundle/3.4/src/Kernel.php new file mode 100644 index 00000000..68b7a561 --- /dev/null +++ b/symfony/framework-bundle/3.4/src/Kernel.php @@ -0,0 +1,61 @@ +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'); + } +} diff --git a/symfony/framework-bundle/4.2/config/packages/cache.yaml b/symfony/framework-bundle/4.2/config/packages/cache.yaml deleted file mode 120000 index a8816e95..00000000 --- a/symfony/framework-bundle/4.2/config/packages/cache.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../3.3/config/packages/cache.yaml \ No newline at end of file diff --git a/symfony/framework-bundle/4.2/config/packages/cache.yaml b/symfony/framework-bundle/4.2/config/packages/cache.yaml new file mode 100644 index 00000000..6899b720 --- /dev/null +++ b/symfony/framework-bundle/4.2/config/packages/cache.yaml @@ -0,0 +1,19 @@ +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 diff --git a/symfony/framework-bundle/4.4/config/bootstrap.php b/symfony/framework-bundle/4.4/config/bootstrap.php deleted file mode 120000 index a1c12047..00000000 --- a/symfony/framework-bundle/4.4/config/bootstrap.php +++ /dev/null @@ -1 +0,0 @@ -../../4.2/config/bootstrap.php \ No newline at end of file diff --git a/symfony/framework-bundle/4.4/config/bootstrap.php b/symfony/framework-bundle/4.4/config/bootstrap.php new file mode 100644 index 00000000..55560fb8 --- /dev/null +++ b/symfony/framework-bundle/4.4/config/bootstrap.php @@ -0,0 +1,23 @@ +=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'; diff --git a/symfony/framework-bundle/4.4/config/packages b/symfony/framework-bundle/4.4/config/packages deleted file mode 120000 index d3c89450..00000000 --- a/symfony/framework-bundle/4.4/config/packages +++ /dev/null @@ -1 +0,0 @@ -../../4.2/config/packages/ \ No newline at end of file diff --git a/symfony/framework-bundle/4.4/config/packages/cache.yaml b/symfony/framework-bundle/4.4/config/packages/cache.yaml new file mode 100644 index 00000000..6899b720 --- /dev/null +++ b/symfony/framework-bundle/4.4/config/packages/cache.yaml @@ -0,0 +1,19 @@ +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 diff --git a/symfony/framework-bundle/4.4/config/packages/framework.yaml b/symfony/framework-bundle/4.4/config/packages/framework.yaml new file mode 100644 index 00000000..cad7f780 --- /dev/null +++ b/symfony/framework-bundle/4.4/config/packages/framework.yaml @@ -0,0 +1,17 @@ +# 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 diff --git a/symfony/framework-bundle/4.4/config/packages/test/framework.yaml b/symfony/framework-bundle/4.4/config/packages/test/framework.yaml new file mode 100644 index 00000000..d051c840 --- /dev/null +++ b/symfony/framework-bundle/4.4/config/packages/test/framework.yaml @@ -0,0 +1,4 @@ +framework: + test: true + session: + storage_id: session.storage.mock_file diff --git a/symfony/framework-bundle/4.4/manifest.json b/symfony/framework-bundle/4.4/manifest.json deleted file mode 120000 index 5fe6af0e..00000000 --- a/symfony/framework-bundle/4.4/manifest.json +++ /dev/null @@ -1 +0,0 @@ -../4.2/manifest.json \ No newline at end of file diff --git a/symfony/framework-bundle/4.4/manifest.json b/symfony/framework-bundle/4.4/manifest.json new file mode 100644 index 00000000..101b2aa2 --- /dev/null +++ b/symfony/framework-bundle/4.4/manifest.json @@ -0,0 +1,29 @@ +{ + "bundles": { + "Symfony\\Bundle\\FrameworkBundle\\FrameworkBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/", + "public/": "%PUBLIC_DIR%/", + "src/": "%SRC_DIR%/" + }, + "composer-scripts": { + "cache:clear": "symfony-cmd", + "assets:install %PUBLIC_DIR%": "symfony-cmd" + }, + "env": { + "APP_ENV": "dev", + "APP_SECRET": "%generate(secret)%", + "#TRUSTED_PROXIES": "127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16", + "#TRUSTED_HOSTS": "'^(localhost|example\\.com)$'" + }, + "gitignore": [ + "/.env.local", + "/.env.local.php", + "/.env.*.local", + "/%CONFIG_DIR%/secrets/prod/prod.decrypt.private.php", + "/%PUBLIC_DIR%/bundles/", + "/%VAR_DIR%/", + "/vendor/" + ] +} diff --git a/symfony/framework-bundle/4.4/post-install.txt b/symfony/framework-bundle/4.4/post-install.txt deleted file mode 120000 index 943d1280..00000000 --- a/symfony/framework-bundle/4.4/post-install.txt +++ /dev/null @@ -1 +0,0 @@ -../4.2/post-install.txt \ No newline at end of file diff --git a/symfony/framework-bundle/4.4/post-install.txt b/symfony/framework-bundle/4.4/post-install.txt new file mode 100644 index 00000000..f2f7cf94 --- /dev/null +++ b/symfony/framework-bundle/4.4/post-install.txt @@ -0,0 +1,10 @@ + + What's next? + + + * Run your application: + 1. Go to the project directory + 2. Create your code repository with the git init command + 3. Download the Symfony CLI at https://symfony.com/download to install a development web server + + * Read the documentation at https://symfony.com/doc diff --git a/symfony/framework-bundle/4.4/src b/symfony/framework-bundle/4.4/src deleted file mode 120000 index c9188806..00000000 --- a/symfony/framework-bundle/4.4/src +++ /dev/null @@ -1 +0,0 @@ -../4.2/src/ \ No newline at end of file diff --git a/symfony/framework-bundle/4.4/src/Controller/.gitignore b/symfony/framework-bundle/4.4/src/Controller/.gitignore new file mode 100644 index 00000000..e69de29b diff --git a/symfony/framework-bundle/4.4/src/Kernel.php b/symfony/framework-bundle/4.4/src/Kernel.php new file mode 100644 index 00000000..1cd05726 --- /dev/null +++ b/symfony/framework-bundle/4.4/src/Kernel.php @@ -0,0 +1,54 @@ +getProjectDir().'/config/bundles.php'; + foreach ($contents as $class => $envs) { + if ($envs[$this->environment] ?? $envs['all'] ?? false) { + yield new $class(); + } + } + } + + public function getProjectDir(): string + { + return \dirname(__DIR__); + } + + protected function configureContainer(ContainerBuilder $container, LoaderInterface $loader): void + { + $container->addResource(new FileResource($this->getProjectDir().'/config/bundles.php')); + $container->setParameter('container.dumper.inline_class_loader', \PHP_VERSION_ID < 70400 || $this->debug); + $container->setParameter('container.dumper.inline_factories', 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): void + { + $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'); + } +} diff --git a/symfony/framework-bundle/5.1/config/packages b/symfony/framework-bundle/5.1/config/packages deleted file mode 120000 index ab9ed62e..00000000 --- a/symfony/framework-bundle/5.1/config/packages +++ /dev/null @@ -1 +0,0 @@ -../../4.2/config/packages \ No newline at end of file diff --git a/symfony/framework-bundle/5.1/config/packages/cache.yaml b/symfony/framework-bundle/5.1/config/packages/cache.yaml new file mode 100644 index 00000000..6899b720 --- /dev/null +++ b/symfony/framework-bundle/5.1/config/packages/cache.yaml @@ -0,0 +1,19 @@ +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 diff --git a/symfony/framework-bundle/5.1/config/packages/framework.yaml b/symfony/framework-bundle/5.1/config/packages/framework.yaml new file mode 100644 index 00000000..cad7f780 --- /dev/null +++ b/symfony/framework-bundle/5.1/config/packages/framework.yaml @@ -0,0 +1,17 @@ +# 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 diff --git a/symfony/framework-bundle/5.1/config/packages/test/framework.yaml b/symfony/framework-bundle/5.1/config/packages/test/framework.yaml new file mode 100644 index 00000000..d051c840 --- /dev/null +++ b/symfony/framework-bundle/5.1/config/packages/test/framework.yaml @@ -0,0 +1,4 @@ +framework: + test: true + session: + storage_id: session.storage.mock_file diff --git a/symfony/framework-bundle/5.1/config/routes b/symfony/framework-bundle/5.1/config/routes deleted file mode 120000 index c4d8e6b9..00000000 --- a/symfony/framework-bundle/5.1/config/routes +++ /dev/null @@ -1 +0,0 @@ -../../4.4/config/routes/ \ No newline at end of file diff --git a/symfony/framework-bundle/5.1/config/routes/dev/framework.yaml b/symfony/framework-bundle/5.1/config/routes/dev/framework.yaml new file mode 100644 index 00000000..bcbbf13d --- /dev/null +++ b/symfony/framework-bundle/5.1/config/routes/dev/framework.yaml @@ -0,0 +1,3 @@ +_errors: + resource: '@FrameworkBundle/Resources/config/routing/errors.xml' + prefix: /_error diff --git a/symfony/framework-bundle/5.1/config/services.yaml b/symfony/framework-bundle/5.1/config/services.yaml deleted file mode 120000 index 9b79d819..00000000 --- a/symfony/framework-bundle/5.1/config/services.yaml +++ /dev/null @@ -1 +0,0 @@ -../../4.4/config/services.yaml \ No newline at end of file diff --git a/symfony/framework-bundle/5.1/config/services.yaml b/symfony/framework-bundle/5.1/config/services.yaml new file mode 100644 index 00000000..c7296dd5 --- /dev/null +++ b/symfony/framework-bundle/5.1/config/services.yaml @@ -0,0 +1,31 @@ +# 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 diff --git a/symfony/framework-bundle/5.1/manifest.json b/symfony/framework-bundle/5.1/manifest.json deleted file mode 120000 index 5fe6af0e..00000000 --- a/symfony/framework-bundle/5.1/manifest.json +++ /dev/null @@ -1 +0,0 @@ -../4.2/manifest.json \ No newline at end of file diff --git a/symfony/framework-bundle/5.1/manifest.json b/symfony/framework-bundle/5.1/manifest.json new file mode 100644 index 00000000..101b2aa2 --- /dev/null +++ b/symfony/framework-bundle/5.1/manifest.json @@ -0,0 +1,29 @@ +{ + "bundles": { + "Symfony\\Bundle\\FrameworkBundle\\FrameworkBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/", + "public/": "%PUBLIC_DIR%/", + "src/": "%SRC_DIR%/" + }, + "composer-scripts": { + "cache:clear": "symfony-cmd", + "assets:install %PUBLIC_DIR%": "symfony-cmd" + }, + "env": { + "APP_ENV": "dev", + "APP_SECRET": "%generate(secret)%", + "#TRUSTED_PROXIES": "127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16", + "#TRUSTED_HOSTS": "'^(localhost|example\\.com)$'" + }, + "gitignore": [ + "/.env.local", + "/.env.local.php", + "/.env.*.local", + "/%CONFIG_DIR%/secrets/prod/prod.decrypt.private.php", + "/%PUBLIC_DIR%/bundles/", + "/%VAR_DIR%/", + "/vendor/" + ] +} diff --git a/symfony/framework-bundle/5.1/post-install.txt b/symfony/framework-bundle/5.1/post-install.txt deleted file mode 120000 index 943d1280..00000000 --- a/symfony/framework-bundle/5.1/post-install.txt +++ /dev/null @@ -1 +0,0 @@ -../4.2/post-install.txt \ No newline at end of file diff --git a/symfony/framework-bundle/5.1/post-install.txt b/symfony/framework-bundle/5.1/post-install.txt new file mode 100644 index 00000000..f2f7cf94 --- /dev/null +++ b/symfony/framework-bundle/5.1/post-install.txt @@ -0,0 +1,10 @@ + + What's next? + + + * Run your application: + 1. Go to the project directory + 2. Create your code repository with the git init command + 3. Download the Symfony CLI at https://symfony.com/download to install a development web server + + * Read the documentation at https://symfony.com/doc diff --git a/symfony/framework-bundle/5.1/src/Controller b/symfony/framework-bundle/5.1/src/Controller deleted file mode 120000 index c7a4d088..00000000 --- a/symfony/framework-bundle/5.1/src/Controller +++ /dev/null @@ -1 +0,0 @@ -../../4.4/src/Controller \ No newline at end of file diff --git a/symfony/framework-bundle/5.1/src/Controller/.gitignore b/symfony/framework-bundle/5.1/src/Controller/.gitignore new file mode 100644 index 00000000..e69de29b diff --git a/symfony/framework-bundle/5.2/config b/symfony/framework-bundle/5.2/config deleted file mode 120000 index 71b73f3e..00000000 --- a/symfony/framework-bundle/5.2/config +++ /dev/null @@ -1 +0,0 @@ -../5.1/config/ \ No newline at end of file diff --git a/symfony/framework-bundle/5.2/config/packages/cache.yaml b/symfony/framework-bundle/5.2/config/packages/cache.yaml new file mode 100644 index 00000000..6899b720 --- /dev/null +++ b/symfony/framework-bundle/5.2/config/packages/cache.yaml @@ -0,0 +1,19 @@ +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 diff --git a/symfony/framework-bundle/5.2/config/packages/framework.yaml b/symfony/framework-bundle/5.2/config/packages/framework.yaml new file mode 100644 index 00000000..cad7f780 --- /dev/null +++ b/symfony/framework-bundle/5.2/config/packages/framework.yaml @@ -0,0 +1,17 @@ +# 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 diff --git a/symfony/framework-bundle/5.2/config/packages/test/framework.yaml b/symfony/framework-bundle/5.2/config/packages/test/framework.yaml new file mode 100644 index 00000000..d051c840 --- /dev/null +++ b/symfony/framework-bundle/5.2/config/packages/test/framework.yaml @@ -0,0 +1,4 @@ +framework: + test: true + session: + storage_id: session.storage.mock_file diff --git a/symfony/framework-bundle/5.2/config/preload.php b/symfony/framework-bundle/5.2/config/preload.php new file mode 100644 index 00000000..5ebcdb21 --- /dev/null +++ b/symfony/framework-bundle/5.2/config/preload.php @@ -0,0 +1,5 @@ + + What's next? + + + * Run your application: + 1. Go to the project directory + 2. Create your code repository with the git init command + 3. Download the Symfony CLI at https://symfony.com/download to install a development web server + + * Read the documentation at https://symfony.com/doc diff --git a/symfony/framework-bundle/5.2/src b/symfony/framework-bundle/5.2/src deleted file mode 120000 index 0e2a6e16..00000000 --- a/symfony/framework-bundle/5.2/src +++ /dev/null @@ -1 +0,0 @@ -../5.1/src/ \ No newline at end of file diff --git a/symfony/framework-bundle/5.2/src/Controller/.gitignore b/symfony/framework-bundle/5.2/src/Controller/.gitignore new file mode 100644 index 00000000..e69de29b diff --git a/symfony/framework-bundle/5.2/src/Kernel.php b/symfony/framework-bundle/5.2/src/Kernel.php new file mode 100644 index 00000000..655e7966 --- /dev/null +++ b/symfony/framework-bundle/5.2/src/Kernel.php @@ -0,0 +1,38 @@ +import('../config/{packages}/*.yaml'); + $container->import('../config/{packages}/'.$this->environment.'/*.yaml'); + + if (is_file(\dirname(__DIR__).'/config/services.yaml')) { + $container->import('../config/services.yaml'); + $container->import('../config/{services}_'.$this->environment.'.yaml'); + } elseif (is_file($path = \dirname(__DIR__).'/config/services.php')) { + (require $path)($container->withPath($path), $this); + } + } + + protected function configureRoutes(RoutingConfigurator $routes): void + { + $routes->import('../config/{routes}/'.$this->environment.'/*.yaml'); + $routes->import('../config/{routes}/*.yaml'); + + if (is_file(\dirname(__DIR__).'/config/routes.yaml')) { + $routes->import('../config/routes.yaml'); + } elseif (is_file($path = \dirname(__DIR__).'/config/routes.php')) { + (require $path)($routes->withPath($path), $this); + } + } +} diff --git a/symfony/lock/5.2/config b/symfony/lock/5.2/config deleted file mode 120000 index 7c6880c7..00000000 --- a/symfony/lock/5.2/config +++ /dev/null @@ -1 +0,0 @@ -../4.4/config \ No newline at end of file diff --git a/symfony/lock/5.2/config/packages/lock.yaml b/symfony/lock/5.2/config/packages/lock.yaml new file mode 100644 index 00000000..574879f8 --- /dev/null +++ b/symfony/lock/5.2/config/packages/lock.yaml @@ -0,0 +1,2 @@ +framework: + lock: '%env(LOCK_DSN)%' diff --git a/symfony/mercure-bundle/0.2/manifest.json b/symfony/mercure-bundle/0.2/manifest.json deleted file mode 120000 index 601da602..00000000 --- a/symfony/mercure-bundle/0.2/manifest.json +++ /dev/null @@ -1 +0,0 @@ -../0.1/manifest.json \ No newline at end of file diff --git a/symfony/mercure-bundle/0.2/manifest.json b/symfony/mercure-bundle/0.2/manifest.json new file mode 100644 index 00000000..ba8f74df --- /dev/null +++ b/symfony/mercure-bundle/0.2/manifest.json @@ -0,0 +1,15 @@ +{ + "bundles": { + "Symfony\\Bundle\\MercureBundle\\MercureBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "#1": "See https://symfony.com/doc/current/mercure.html#configuration", + "MERCURE_PUBLISH_URL": "http://mercure/.well-known/mercure", + "#2": "The default token is signed with the secret key: !ChangeMe!", + "MERCURE_JWT_TOKEN": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJtZXJjdXJlIjp7InB1Ymxpc2giOltdfX0.Oo0yg7y4yMa1vr_bziltxuTCqb8JVHKxp-f_FwwOim0" + }, + "aliases": ["mercure"] +} diff --git a/symfony/monolog-bundle/3.3/config/packages/dev b/symfony/monolog-bundle/3.3/config/packages/dev deleted file mode 120000 index 46edd655..00000000 --- a/symfony/monolog-bundle/3.3/config/packages/dev +++ /dev/null @@ -1 +0,0 @@ -../../../3.1/config/packages/dev \ No newline at end of file diff --git a/symfony/monolog-bundle/3.3/config/packages/dev/monolog.yaml b/symfony/monolog-bundle/3.3/config/packages/dev/monolog.yaml new file mode 100644 index 00000000..b1998da1 --- /dev/null +++ b/symfony/monolog-bundle/3.3/config/packages/dev/monolog.yaml @@ -0,0 +1,19 @@ +monolog: + handlers: + main: + type: stream + path: "%kernel.logs_dir%/%kernel.environment%.log" + level: debug + channels: ["!event"] + # uncomment to get logging in your browser + # you may have to allow bigger header sizes in your Web server configuration + #firephp: + # type: firephp + # level: info + #chromephp: + # type: chromephp + # level: info + console: + type: console + process_psr_3_messages: false + channels: ["!event", "!doctrine", "!console"] diff --git a/symfony/monolog-bundle/3.3/config/packages/prod/deprecations.yaml b/symfony/monolog-bundle/3.3/config/packages/prod/deprecations.yaml deleted file mode 120000 index 06a14e66..00000000 --- a/symfony/monolog-bundle/3.3/config/packages/prod/deprecations.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../3.1/config/packages/prod/deprecations.yaml \ No newline at end of file diff --git a/symfony/monolog-bundle/3.3/config/packages/prod/deprecations.yaml b/symfony/monolog-bundle/3.3/config/packages/prod/deprecations.yaml new file mode 100644 index 00000000..920a0619 --- /dev/null +++ b/symfony/monolog-bundle/3.3/config/packages/prod/deprecations.yaml @@ -0,0 +1,8 @@ +# As of Symfony 5.1, deprecations are logged in the dedicated "deprecation" channel when it exists +#monolog: +# channels: [deprecation] +# handlers: +# deprecation: +# type: stream +# channels: [deprecation] +# path: "%kernel.logs_dir%/%kernel.environment%.deprecations.log" diff --git a/symfony/monolog-bundle/3.7/config/packages/test b/symfony/monolog-bundle/3.7/config/packages/test deleted file mode 120000 index ee2f5f60..00000000 --- a/symfony/monolog-bundle/3.7/config/packages/test +++ /dev/null @@ -1 +0,0 @@ -../../../3.3/config/packages/test \ No newline at end of file diff --git a/symfony/monolog-bundle/3.7/config/packages/test/monolog.yaml b/symfony/monolog-bundle/3.7/config/packages/test/monolog.yaml new file mode 100644 index 00000000..fc40641d --- /dev/null +++ b/symfony/monolog-bundle/3.7/config/packages/test/monolog.yaml @@ -0,0 +1,12 @@ +monolog: + handlers: + main: + type: fingers_crossed + action_level: error + handler: nested + excluded_http_codes: [404, 405] + channels: ["!event"] + nested: + type: stream + path: "%kernel.logs_dir%/%kernel.environment%.log" + level: debug diff --git a/symfony/monolog-bundle/3.7/manifest.json b/symfony/monolog-bundle/3.7/manifest.json deleted file mode 120000 index ae0cf233..00000000 --- a/symfony/monolog-bundle/3.7/manifest.json +++ /dev/null @@ -1 +0,0 @@ -../3.3/manifest.json \ No newline at end of file diff --git a/symfony/monolog-bundle/3.7/manifest.json b/symfony/monolog-bundle/3.7/manifest.json new file mode 100644 index 00000000..1dc6c694 --- /dev/null +++ b/symfony/monolog-bundle/3.7/manifest.json @@ -0,0 +1,9 @@ +{ + "bundles": { + "Symfony\\Bundle\\MonologBundle\\MonologBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "aliases": ["log", "logger", "logging", "logs", "monolog"] +} diff --git a/symfony/phpunit-bridge/4.1/manifest.json b/symfony/phpunit-bridge/4.1/manifest.json deleted file mode 120000 index ae0cf233..00000000 --- a/symfony/phpunit-bridge/4.1/manifest.json +++ /dev/null @@ -1 +0,0 @@ -../3.3/manifest.json \ No newline at end of file diff --git a/symfony/phpunit-bridge/4.1/manifest.json b/symfony/phpunit-bridge/4.1/manifest.json new file mode 100644 index 00000000..a2ed0cb4 --- /dev/null +++ b/symfony/phpunit-bridge/4.1/manifest.json @@ -0,0 +1,14 @@ +{ + "copy-from-recipe": { + ".env.test": ".env.test", + "bin/": "%BIN_DIR%/", + "phpunit.xml.dist": "phpunit.xml.dist", + "tests/": "tests/" + }, + "gitignore": [ + ".phpunit", + ".phpunit.result.cache", + "/phpunit.xml" + ], + "aliases": ["simple-phpunit"] +} diff --git a/symfony/phpunit-bridge/4.1/post-install.txt b/symfony/phpunit-bridge/4.1/post-install.txt deleted file mode 120000 index bba626e0..00000000 --- a/symfony/phpunit-bridge/4.1/post-install.txt +++ /dev/null @@ -1 +0,0 @@ -../3.3/post-install.txt \ No newline at end of file diff --git a/symfony/phpunit-bridge/4.1/post-install.txt b/symfony/phpunit-bridge/4.1/post-install.txt new file mode 100644 index 00000000..6dd929f7 --- /dev/null +++ b/symfony/phpunit-bridge/4.1/post-install.txt @@ -0,0 +1,6 @@ + + How to test? + + + * Write test cases in the tests/ folder + * Run php bin/phpunit diff --git a/symfony/phpunit-bridge/4.1/tests b/symfony/phpunit-bridge/4.1/tests deleted file mode 120000 index 1f30e2be..00000000 --- a/symfony/phpunit-bridge/4.1/tests +++ /dev/null @@ -1 +0,0 @@ -../3.3/tests/ \ No newline at end of file diff --git a/symfony/phpunit-bridge/4.1/tests/bootstrap.php b/symfony/phpunit-bridge/4.1/tests/bootstrap.php new file mode 100644 index 00000000..469dccee --- /dev/null +++ b/symfony/phpunit-bridge/4.1/tests/bootstrap.php @@ -0,0 +1,11 @@ +bootEnv(dirname(__DIR__).'/.env'); +} diff --git a/symfony/phpunit-bridge/4.3/.env.test b/symfony/phpunit-bridge/4.3/.env.test deleted file mode 120000 index ba1559e9..00000000 --- a/symfony/phpunit-bridge/4.3/.env.test +++ /dev/null @@ -1 +0,0 @@ -../4.1/.env.test \ No newline at end of file diff --git a/symfony/phpunit-bridge/4.3/.env.test b/symfony/phpunit-bridge/4.3/.env.test new file mode 100644 index 00000000..9e7162f0 --- /dev/null +++ b/symfony/phpunit-bridge/4.3/.env.test @@ -0,0 +1,6 @@ +# 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 diff --git a/symfony/phpunit-bridge/4.3/manifest.json b/symfony/phpunit-bridge/4.3/manifest.json deleted file mode 120000 index ae0cf233..00000000 --- a/symfony/phpunit-bridge/4.3/manifest.json +++ /dev/null @@ -1 +0,0 @@ -../3.3/manifest.json \ No newline at end of file diff --git a/symfony/phpunit-bridge/4.3/manifest.json b/symfony/phpunit-bridge/4.3/manifest.json new file mode 100644 index 00000000..a2ed0cb4 --- /dev/null +++ b/symfony/phpunit-bridge/4.3/manifest.json @@ -0,0 +1,14 @@ +{ + "copy-from-recipe": { + ".env.test": ".env.test", + "bin/": "%BIN_DIR%/", + "phpunit.xml.dist": "phpunit.xml.dist", + "tests/": "tests/" + }, + "gitignore": [ + ".phpunit", + ".phpunit.result.cache", + "/phpunit.xml" + ], + "aliases": ["simple-phpunit"] +} diff --git a/symfony/phpunit-bridge/4.3/phpunit.xml.dist b/symfony/phpunit-bridge/4.3/phpunit.xml.dist deleted file mode 120000 index 87fc0532..00000000 --- a/symfony/phpunit-bridge/4.3/phpunit.xml.dist +++ /dev/null @@ -1 +0,0 @@ -../4.1/phpunit.xml.dist \ No newline at end of file diff --git a/symfony/phpunit-bridge/4.3/phpunit.xml.dist b/symfony/phpunit-bridge/4.3/phpunit.xml.dist new file mode 100644 index 00000000..d81f0c30 --- /dev/null +++ b/symfony/phpunit-bridge/4.3/phpunit.xml.dist @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + tests + + + + + + src + + + + + + + diff --git a/symfony/phpunit-bridge/4.3/post-install.txt b/symfony/phpunit-bridge/4.3/post-install.txt deleted file mode 120000 index bba626e0..00000000 --- a/symfony/phpunit-bridge/4.3/post-install.txt +++ /dev/null @@ -1 +0,0 @@ -../3.3/post-install.txt \ No newline at end of file diff --git a/symfony/phpunit-bridge/4.3/post-install.txt b/symfony/phpunit-bridge/4.3/post-install.txt new file mode 100644 index 00000000..6dd929f7 --- /dev/null +++ b/symfony/phpunit-bridge/4.3/post-install.txt @@ -0,0 +1,6 @@ + + How to test? + + + * Write test cases in the tests/ folder + * Run php bin/phpunit diff --git a/symfony/phpunit-bridge/4.3/tests b/symfony/phpunit-bridge/4.3/tests deleted file mode 120000 index 1f30e2be..00000000 --- a/symfony/phpunit-bridge/4.3/tests +++ /dev/null @@ -1 +0,0 @@ -../3.3/tests/ \ No newline at end of file diff --git a/symfony/phpunit-bridge/4.3/tests/bootstrap.php b/symfony/phpunit-bridge/4.3/tests/bootstrap.php new file mode 100644 index 00000000..469dccee --- /dev/null +++ b/symfony/phpunit-bridge/4.3/tests/bootstrap.php @@ -0,0 +1,11 @@ +bootEnv(dirname(__DIR__).'/.env'); +} diff --git a/symfony/phpunit-bridge/5.1/.env.test b/symfony/phpunit-bridge/5.1/.env.test deleted file mode 120000 index ba1559e9..00000000 --- a/symfony/phpunit-bridge/5.1/.env.test +++ /dev/null @@ -1 +0,0 @@ -../4.1/.env.test \ No newline at end of file diff --git a/symfony/phpunit-bridge/5.1/.env.test b/symfony/phpunit-bridge/5.1/.env.test new file mode 100644 index 00000000..9e7162f0 --- /dev/null +++ b/symfony/phpunit-bridge/5.1/.env.test @@ -0,0 +1,6 @@ +# 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 diff --git a/symfony/phpunit-bridge/5.1/bin/phpunit b/symfony/phpunit-bridge/5.1/bin/phpunit deleted file mode 120000 index ff70bb1a..00000000 --- a/symfony/phpunit-bridge/5.1/bin/phpunit +++ /dev/null @@ -1 +0,0 @@ -../../4.3/bin/phpunit \ No newline at end of file diff --git a/symfony/phpunit-bridge/5.1/bin/phpunit b/symfony/phpunit-bridge/5.1/bin/phpunit new file mode 100755 index 00000000..4d1ed05d --- /dev/null +++ b/symfony/phpunit-bridge/5.1/bin/phpunit @@ -0,0 +1,13 @@ +#!/usr/bin/env php + + How to test? + + + * Write test cases in the tests/ folder + * Run php bin/phpunit diff --git a/symfony/phpunit-bridge/5.1/tests b/symfony/phpunit-bridge/5.1/tests deleted file mode 120000 index 1f30e2be..00000000 --- a/symfony/phpunit-bridge/5.1/tests +++ /dev/null @@ -1 +0,0 @@ -../3.3/tests/ \ No newline at end of file diff --git a/symfony/phpunit-bridge/5.1/tests/bootstrap.php b/symfony/phpunit-bridge/5.1/tests/bootstrap.php new file mode 100644 index 00000000..469dccee --- /dev/null +++ b/symfony/phpunit-bridge/5.1/tests/bootstrap.php @@ -0,0 +1,11 @@ +bootEnv(dirname(__DIR__).'/.env'); +} diff --git a/symfony/routing/5.1/config/packages/prod b/symfony/routing/5.1/config/packages/prod deleted file mode 120000 index aa93e6e4..00000000 --- a/symfony/routing/5.1/config/packages/prod +++ /dev/null @@ -1 +0,0 @@ -../../../4.2/config/packages/prod/ \ No newline at end of file diff --git a/symfony/routing/5.1/config/packages/prod/routing.yaml b/symfony/routing/5.1/config/packages/prod/routing.yaml new file mode 100644 index 00000000..b3e6a0af --- /dev/null +++ b/symfony/routing/5.1/config/packages/prod/routing.yaml @@ -0,0 +1,3 @@ +framework: + router: + strict_requirements: null diff --git a/symfony/routing/5.1/config/routes.yaml b/symfony/routing/5.1/config/routes.yaml deleted file mode 120000 index fdfb9caa..00000000 --- a/symfony/routing/5.1/config/routes.yaml +++ /dev/null @@ -1 +0,0 @@ -../../4.2/config/routes.yaml \ No newline at end of file diff --git a/symfony/routing/5.1/config/routes.yaml b/symfony/routing/5.1/config/routes.yaml new file mode 100644 index 00000000..c3283aa2 --- /dev/null +++ b/symfony/routing/5.1/config/routes.yaml @@ -0,0 +1,3 @@ +#index: +# path: / +# controller: App\Controller\DefaultController::index diff --git a/symfony/routing/5.1/manifest.json b/symfony/routing/5.1/manifest.json deleted file mode 120000 index 5fe6af0e..00000000 --- a/symfony/routing/5.1/manifest.json +++ /dev/null @@ -1 +0,0 @@ -../4.2/manifest.json \ No newline at end of file diff --git a/symfony/routing/5.1/manifest.json b/symfony/routing/5.1/manifest.json new file mode 100644 index 00000000..c0c66b64 --- /dev/null +++ b/symfony/routing/5.1/manifest.json @@ -0,0 +1,6 @@ +{ + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "aliases": ["router"] +} diff --git a/symfony/routing/5.3/config/routes.yaml b/symfony/routing/5.3/config/routes.yaml deleted file mode 120000 index fdfb9caa..00000000 --- a/symfony/routing/5.3/config/routes.yaml +++ /dev/null @@ -1 +0,0 @@ -../../4.2/config/routes.yaml \ No newline at end of file diff --git a/symfony/routing/5.3/config/routes.yaml b/symfony/routing/5.3/config/routes.yaml new file mode 100644 index 00000000..c3283aa2 --- /dev/null +++ b/symfony/routing/5.3/config/routes.yaml @@ -0,0 +1,3 @@ +#index: +# path: / +# controller: App\Controller\DefaultController::index diff --git a/symfony/routing/5.3/manifest.json b/symfony/routing/5.3/manifest.json deleted file mode 120000 index 5fe6af0e..00000000 --- a/symfony/routing/5.3/manifest.json +++ /dev/null @@ -1 +0,0 @@ -../4.2/manifest.json \ No newline at end of file diff --git a/symfony/routing/5.3/manifest.json b/symfony/routing/5.3/manifest.json new file mode 100644 index 00000000..c0c66b64 --- /dev/null +++ b/symfony/routing/5.3/manifest.json @@ -0,0 +1,6 @@ +{ + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "aliases": ["router"] +} diff --git a/symfony/twig-bundle/4.4/config/packages/test b/symfony/twig-bundle/4.4/config/packages/test deleted file mode 120000 index ee2f5f60..00000000 --- a/symfony/twig-bundle/4.4/config/packages/test +++ /dev/null @@ -1 +0,0 @@ -../../../3.3/config/packages/test \ No newline at end of file diff --git a/symfony/twig-bundle/4.4/config/packages/test/twig.yaml b/symfony/twig-bundle/4.4/config/packages/test/twig.yaml new file mode 100644 index 00000000..8c6e0b40 --- /dev/null +++ b/symfony/twig-bundle/4.4/config/packages/test/twig.yaml @@ -0,0 +1,2 @@ +twig: + strict_variables: true diff --git a/symfony/twig-bundle/4.4/manifest.json b/symfony/twig-bundle/4.4/manifest.json deleted file mode 120000 index ae0cf233..00000000 --- a/symfony/twig-bundle/4.4/manifest.json +++ /dev/null @@ -1 +0,0 @@ -../3.3/manifest.json \ No newline at end of file diff --git a/symfony/twig-bundle/4.4/manifest.json b/symfony/twig-bundle/4.4/manifest.json new file mode 100644 index 00000000..30d5643b --- /dev/null +++ b/symfony/twig-bundle/4.4/manifest.json @@ -0,0 +1,9 @@ +{ + "bundles": { + "Symfony\\Bundle\\TwigBundle\\TwigBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/", + "templates/": "templates/" + } +} diff --git a/symfony/twig-bundle/4.4/templates b/symfony/twig-bundle/4.4/templates deleted file mode 120000 index 4acb2806..00000000 --- a/symfony/twig-bundle/4.4/templates +++ /dev/null @@ -1 +0,0 @@ -../3.3/templates/ \ No newline at end of file diff --git a/symfony/twig-bundle/4.4/templates/base.html.twig b/symfony/twig-bundle/4.4/templates/base.html.twig new file mode 100644 index 00000000..16d7273b --- /dev/null +++ b/symfony/twig-bundle/4.4/templates/base.html.twig @@ -0,0 +1,19 @@ + + + + + {% block title %}Welcome!{% endblock %} + {# Run `composer require symfony/webpack-encore-bundle` + and uncomment the following Encore helpers to start using Symfony UX #} + {% block stylesheets %} + {#{{ encore_entry_link_tags('app') }}#} + {% endblock %} + + {% block javascripts %} + {#{{ encore_entry_script_tags('app') }}#} + {% endblock %} + + + {% block body %}{% endblock %} + + diff --git a/symfony/twig-bundle/5.0/config/packages/test b/symfony/twig-bundle/5.0/config/packages/test deleted file mode 120000 index ee2f5f60..00000000 --- a/symfony/twig-bundle/5.0/config/packages/test +++ /dev/null @@ -1 +0,0 @@ -../../../3.3/config/packages/test \ No newline at end of file diff --git a/symfony/twig-bundle/5.0/config/packages/test/twig.yaml b/symfony/twig-bundle/5.0/config/packages/test/twig.yaml new file mode 100644 index 00000000..8c6e0b40 --- /dev/null +++ b/symfony/twig-bundle/5.0/config/packages/test/twig.yaml @@ -0,0 +1,2 @@ +twig: + strict_variables: true diff --git a/symfony/twig-bundle/5.0/manifest.json b/symfony/twig-bundle/5.0/manifest.json deleted file mode 120000 index ae0cf233..00000000 --- a/symfony/twig-bundle/5.0/manifest.json +++ /dev/null @@ -1 +0,0 @@ -../3.3/manifest.json \ No newline at end of file diff --git a/symfony/twig-bundle/5.0/manifest.json b/symfony/twig-bundle/5.0/manifest.json new file mode 100644 index 00000000..30d5643b --- /dev/null +++ b/symfony/twig-bundle/5.0/manifest.json @@ -0,0 +1,9 @@ +{ + "bundles": { + "Symfony\\Bundle\\TwigBundle\\TwigBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/", + "templates/": "templates/" + } +} diff --git a/symfony/twig-bundle/5.0/templates b/symfony/twig-bundle/5.0/templates deleted file mode 120000 index 4acb2806..00000000 --- a/symfony/twig-bundle/5.0/templates +++ /dev/null @@ -1 +0,0 @@ -../3.3/templates/ \ No newline at end of file diff --git a/symfony/twig-bundle/5.0/templates/base.html.twig b/symfony/twig-bundle/5.0/templates/base.html.twig new file mode 100644 index 00000000..16d7273b --- /dev/null +++ b/symfony/twig-bundle/5.0/templates/base.html.twig @@ -0,0 +1,19 @@ + + + + + {% block title %}Welcome!{% endblock %} + {# Run `composer require symfony/webpack-encore-bundle` + and uncomment the following Encore helpers to start using Symfony UX #} + {% block stylesheets %} + {#{{ encore_entry_link_tags('app') }}#} + {% endblock %} + + {% block javascripts %} + {#{{ encore_entry_script_tags('app') }}#} + {% endblock %} + + + {% block body %}{% endblock %} + + diff --git a/symfony/twig-bundle/5.3/manifest.json b/symfony/twig-bundle/5.3/manifest.json deleted file mode 120000 index ae0cf233..00000000 --- a/symfony/twig-bundle/5.3/manifest.json +++ /dev/null @@ -1 +0,0 @@ -../3.3/manifest.json \ No newline at end of file diff --git a/symfony/twig-bundle/5.3/manifest.json b/symfony/twig-bundle/5.3/manifest.json new file mode 100644 index 00000000..30d5643b --- /dev/null +++ b/symfony/twig-bundle/5.3/manifest.json @@ -0,0 +1,9 @@ +{ + "bundles": { + "Symfony\\Bundle\\TwigBundle\\TwigBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/", + "templates/": "templates/" + } +} diff --git a/symfony/twig-bundle/5.3/templates b/symfony/twig-bundle/5.3/templates deleted file mode 120000 index e1438990..00000000 --- a/symfony/twig-bundle/5.3/templates +++ /dev/null @@ -1 +0,0 @@ -../3.3/templates \ No newline at end of file diff --git a/symfony/twig-bundle/5.3/templates/base.html.twig b/symfony/twig-bundle/5.3/templates/base.html.twig new file mode 100644 index 00000000..16d7273b --- /dev/null +++ b/symfony/twig-bundle/5.3/templates/base.html.twig @@ -0,0 +1,19 @@ + + + + + {% block title %}Welcome!{% endblock %} + {# Run `composer require symfony/webpack-encore-bundle` + and uncomment the following Encore helpers to start using Symfony UX #} + {% block stylesheets %} + {#{{ encore_entry_link_tags('app') }}#} + {% endblock %} + + {% block javascripts %} + {#{{ encore_entry_script_tags('app') }}#} + {% endblock %} + + + {% block body %}{% endblock %} + + diff --git a/symfony/validator/4.3/manifest.json b/symfony/validator/4.3/manifest.json deleted file mode 120000 index 39fa2e74..00000000 --- a/symfony/validator/4.3/manifest.json +++ /dev/null @@ -1 +0,0 @@ -../4.1/manifest.json \ No newline at end of file diff --git a/symfony/validator/4.3/manifest.json b/symfony/validator/4.3/manifest.json new file mode 100644 index 00000000..57f78dce --- /dev/null +++ b/symfony/validator/4.3/manifest.json @@ -0,0 +1,6 @@ +{ + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "aliases": ["validation"] +} diff --git a/symfony/webpack-encore-bundle/1.6/assets b/symfony/webpack-encore-bundle/1.6/assets deleted file mode 120000 index 4dec183c..00000000 --- a/symfony/webpack-encore-bundle/1.6/assets +++ /dev/null @@ -1 +0,0 @@ -../1.0/assets \ No newline at end of file diff --git a/symfony/webpack-encore-bundle/1.6/assets/app.js b/symfony/webpack-encore-bundle/1.6/assets/app.js new file mode 100644 index 00000000..bb0a6aa1 --- /dev/null +++ b/symfony/webpack-encore-bundle/1.6/assets/app.js @@ -0,0 +1,12 @@ +/* + * 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'; diff --git a/symfony/webpack-encore-bundle/1.6/assets/bootstrap.js b/symfony/webpack-encore-bundle/1.6/assets/bootstrap.js new file mode 100644 index 00000000..58308a6b --- /dev/null +++ b/symfony/webpack-encore-bundle/1.6/assets/bootstrap.js @@ -0,0 +1,11 @@ +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); diff --git a/symfony/webpack-encore-bundle/1.6/assets/controllers.json b/symfony/webpack-encore-bundle/1.6/assets/controllers.json new file mode 100644 index 00000000..a1c6e90c --- /dev/null +++ b/symfony/webpack-encore-bundle/1.6/assets/controllers.json @@ -0,0 +1,4 @@ +{ + "controllers": [], + "entrypoints": [] +} diff --git a/symfony/webpack-encore-bundle/1.6/assets/controllers/hello_controller.js b/symfony/webpack-encore-bundle/1.6/assets/controllers/hello_controller.js new file mode 100644 index 00000000..8c79f65a --- /dev/null +++ b/symfony/webpack-encore-bundle/1.6/assets/controllers/hello_controller.js @@ -0,0 +1,16 @@ +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'; + } +} diff --git a/symfony/webpack-encore-bundle/1.6/assets/styles/app.css b/symfony/webpack-encore-bundle/1.6/assets/styles/app.css new file mode 100644 index 00000000..cb33b131 --- /dev/null +++ b/symfony/webpack-encore-bundle/1.6/assets/styles/app.css @@ -0,0 +1,3 @@ +body { + background-color: lightgray; +} diff --git a/symfony/webpack-encore-bundle/1.6/config/packages/assets.yaml b/symfony/webpack-encore-bundle/1.6/config/packages/assets.yaml deleted file mode 120000 index 7cb51332..00000000 --- a/symfony/webpack-encore-bundle/1.6/config/packages/assets.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../1.0/config/packages/assets.yaml \ No newline at end of file diff --git a/symfony/webpack-encore-bundle/1.6/config/packages/assets.yaml b/symfony/webpack-encore-bundle/1.6/config/packages/assets.yaml new file mode 100644 index 00000000..051d36dc --- /dev/null +++ b/symfony/webpack-encore-bundle/1.6/config/packages/assets.yaml @@ -0,0 +1,3 @@ +framework: + assets: + json_manifest_path: '%kernel.project_dir%/public/build/manifest.json' diff --git a/symfony/webpack-encore-bundle/1.6/config/packages/prod b/symfony/webpack-encore-bundle/1.6/config/packages/prod deleted file mode 120000 index bc7768cf..00000000 --- a/symfony/webpack-encore-bundle/1.6/config/packages/prod +++ /dev/null @@ -1 +0,0 @@ -../../../1.0/config/packages/prod \ No newline at end of file diff --git a/symfony/webpack-encore-bundle/1.6/config/packages/prod/webpack_encore.yaml b/symfony/webpack-encore-bundle/1.6/config/packages/prod/webpack_encore.yaml new file mode 100644 index 00000000..d0b3ba81 --- /dev/null +++ b/symfony/webpack-encore-bundle/1.6/config/packages/prod/webpack_encore.yaml @@ -0,0 +1,4 @@ +#webpack_encore: + # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes) + # Available in version 1.2 + #cache: true diff --git a/symfony/webpack-encore-bundle/1.6/manifest.json b/symfony/webpack-encore-bundle/1.6/manifest.json deleted file mode 120000 index 3abdbe32..00000000 --- a/symfony/webpack-encore-bundle/1.6/manifest.json +++ /dev/null @@ -1 +0,0 @@ -../1.0/manifest.json \ No newline at end of file diff --git a/symfony/webpack-encore-bundle/1.6/manifest.json b/symfony/webpack-encore-bundle/1.6/manifest.json new file mode 100644 index 00000000..84ab3961 --- /dev/null +++ b/symfony/webpack-encore-bundle/1.6/manifest.json @@ -0,0 +1,18 @@ +{ + "bundles": { + "Symfony\\WebpackEncoreBundle\\WebpackEncoreBundle": ["all"] + }, + "copy-from-recipe": { + "assets/": "assets/", + "config/": "%CONFIG_DIR%/", + "package.json": "package.json", + "webpack.config.js": "webpack.config.js" + }, + "aliases": ["ux", "encore", "webpack", "webpack-encore"], + "gitignore": [ + "/node_modules/", + "/%PUBLIC_DIR%/build/", + "npm-debug.log", + "yarn-error.log" + ] +} diff --git a/symfony/webpack-encore-bundle/1.6/package.json b/symfony/webpack-encore-bundle/1.6/package.json deleted file mode 120000 index cc120ece..00000000 --- a/symfony/webpack-encore-bundle/1.6/package.json +++ /dev/null @@ -1 +0,0 @@ -../1.0/package.json \ No newline at end of file diff --git a/symfony/webpack-encore-bundle/1.6/package.json b/symfony/webpack-encore-bundle/1.6/package.json new file mode 100644 index 00000000..ba0e4f41 --- /dev/null +++ b/symfony/webpack-encore-bundle/1.6/package.json @@ -0,0 +1,18 @@ +{ + "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" + } +} diff --git a/symfony/webpack-encore-bundle/1.6/webpack.config.js b/symfony/webpack-encore-bundle/1.6/webpack.config.js deleted file mode 120000 index 0eb7084a..00000000 --- a/symfony/webpack-encore-bundle/1.6/webpack.config.js +++ /dev/null @@ -1 +0,0 @@ -../1.0/webpack.config.js \ No newline at end of file diff --git a/symfony/webpack-encore-bundle/1.6/webpack.config.js b/symfony/webpack-encore-bundle/1.6/webpack.config.js new file mode 100644 index 00000000..056b04aa --- /dev/null +++ b/symfony/webpack-encore-bundle/1.6/webpack.config.js @@ -0,0 +1,75 @@ +const Encore = require('@symfony/webpack-encore'); + +// Manually configure the runtime environment if not already configured yet by the "encore" command. +// It's useful when you use tools that rely on webpack.config.js file. +if (!Encore.isRuntimeEnvironmentConfigured()) { + Encore.configureRuntimeEnvironment(process.env.NODE_ENV || 'dev'); +} + +Encore + // directory where compiled assets will be stored + .setOutputPath('public/build/') + // public path used by the web server to access the output path + .setPublicPath('/build') + // only needed for CDN's or sub-directory deploy + //.setManifestKeyPrefix('build/') + + /* + * ENTRY CONFIG + * + * Each entry will result in one JavaScript file (e.g. app.js) + * and one CSS file (e.g. app.css) if your JavaScript imports CSS. + */ + .addEntry('app', './assets/app.js') + + // enables the Symfony UX Stimulus bridge (used in assets/bootstrap.js) + .enableStimulusBridge('./assets/controllers.json') + + // When enabled, Webpack "splits" your files into smaller pieces for greater optimization. + .splitEntryChunks() + + // will require an extra script tag for runtime.js + // but, you probably want this, unless you're building a single-page app + .enableSingleRuntimeChunk() + + /* + * FEATURE CONFIG + * + * Enable & configure other features below. For a full + * list of features, see: + * https://symfony.com/doc/current/frontend.html#adding-more-features + */ + .cleanupOutputBeforeBuild() + .enableBuildNotifications() + .enableSourceMaps(!Encore.isProduction()) + // enables hashed filenames (e.g. app.abc123.css) + .enableVersioning(Encore.isProduction()) + + .configureBabel((config) => { + config.plugins.push('@babel/plugin-proposal-class-properties'); + }) + + // enables @babel/preset-env polyfills + .configureBabelPresetEnv((config) => { + config.useBuiltIns = 'usage'; + config.corejs = 3; + }) + + // enables Sass/SCSS support + //.enableSassLoader() + + // uncomment if you use TypeScript + //.enableTypeScriptLoader() + + // uncomment if you use React + //.enableReactPreset() + + // uncomment to get integrity="..." attributes on your script & link tags + // requires WebpackEncoreBundle 1.4 or higher + //.enableIntegrityHashes(Encore.isProduction()) + + // uncomment if you're having problems with a jQuery plugin + //.autoProvidejQuery() +; + +module.exports = Encore.getWebpackConfig(); diff --git a/symfony/webpack-encore-bundle/1.9/assets b/symfony/webpack-encore-bundle/1.9/assets deleted file mode 120000 index 4dec183c..00000000 --- a/symfony/webpack-encore-bundle/1.9/assets +++ /dev/null @@ -1 +0,0 @@ -../1.0/assets \ No newline at end of file diff --git a/symfony/webpack-encore-bundle/1.9/assets/app.js b/symfony/webpack-encore-bundle/1.9/assets/app.js new file mode 100644 index 00000000..bb0a6aa1 --- /dev/null +++ b/symfony/webpack-encore-bundle/1.9/assets/app.js @@ -0,0 +1,12 @@ +/* + * 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'; diff --git a/symfony/webpack-encore-bundle/1.9/assets/bootstrap.js b/symfony/webpack-encore-bundle/1.9/assets/bootstrap.js new file mode 100644 index 00000000..58308a6b --- /dev/null +++ b/symfony/webpack-encore-bundle/1.9/assets/bootstrap.js @@ -0,0 +1,11 @@ +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); diff --git a/symfony/webpack-encore-bundle/1.9/assets/controllers.json b/symfony/webpack-encore-bundle/1.9/assets/controllers.json new file mode 100644 index 00000000..a1c6e90c --- /dev/null +++ b/symfony/webpack-encore-bundle/1.9/assets/controllers.json @@ -0,0 +1,4 @@ +{ + "controllers": [], + "entrypoints": [] +} diff --git a/symfony/webpack-encore-bundle/1.9/assets/controllers/hello_controller.js b/symfony/webpack-encore-bundle/1.9/assets/controllers/hello_controller.js new file mode 100644 index 00000000..8c79f65a --- /dev/null +++ b/symfony/webpack-encore-bundle/1.9/assets/controllers/hello_controller.js @@ -0,0 +1,16 @@ +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'; + } +} diff --git a/symfony/webpack-encore-bundle/1.9/assets/styles/app.css b/symfony/webpack-encore-bundle/1.9/assets/styles/app.css new file mode 100644 index 00000000..cb33b131 --- /dev/null +++ b/symfony/webpack-encore-bundle/1.9/assets/styles/app.css @@ -0,0 +1,3 @@ +body { + background-color: lightgray; +} diff --git a/symfony/webpack-encore-bundle/1.9/config/packages/assets.yaml b/symfony/webpack-encore-bundle/1.9/config/packages/assets.yaml deleted file mode 120000 index 7cb51332..00000000 --- a/symfony/webpack-encore-bundle/1.9/config/packages/assets.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../1.0/config/packages/assets.yaml \ No newline at end of file diff --git a/symfony/webpack-encore-bundle/1.9/config/packages/assets.yaml b/symfony/webpack-encore-bundle/1.9/config/packages/assets.yaml new file mode 100644 index 00000000..051d36dc --- /dev/null +++ b/symfony/webpack-encore-bundle/1.9/config/packages/assets.yaml @@ -0,0 +1,3 @@ +framework: + assets: + json_manifest_path: '%kernel.project_dir%/public/build/manifest.json' diff --git a/symfony/webpack-encore-bundle/1.9/config/packages/prod b/symfony/webpack-encore-bundle/1.9/config/packages/prod deleted file mode 120000 index bc7768cf..00000000 --- a/symfony/webpack-encore-bundle/1.9/config/packages/prod +++ /dev/null @@ -1 +0,0 @@ -../../../1.0/config/packages/prod \ No newline at end of file diff --git a/symfony/webpack-encore-bundle/1.9/config/packages/prod/webpack_encore.yaml b/symfony/webpack-encore-bundle/1.9/config/packages/prod/webpack_encore.yaml new file mode 100644 index 00000000..d0b3ba81 --- /dev/null +++ b/symfony/webpack-encore-bundle/1.9/config/packages/prod/webpack_encore.yaml @@ -0,0 +1,4 @@ +#webpack_encore: + # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes) + # Available in version 1.2 + #cache: true diff --git a/symfony/webpack-encore-bundle/1.9/config/packages/test b/symfony/webpack-encore-bundle/1.9/config/packages/test deleted file mode 120000 index d2dde6ff..00000000 --- a/symfony/webpack-encore-bundle/1.9/config/packages/test +++ /dev/null @@ -1 +0,0 @@ -../../../1.6/config/packages/test \ No newline at end of file diff --git a/symfony/webpack-encore-bundle/1.9/config/packages/test/webpack_encore.yaml b/symfony/webpack-encore-bundle/1.9/config/packages/test/webpack_encore.yaml new file mode 100644 index 00000000..02a76515 --- /dev/null +++ b/symfony/webpack-encore-bundle/1.9/config/packages/test/webpack_encore.yaml @@ -0,0 +1,2 @@ +#webpack_encore: +# strict_mode: false diff --git a/symfony/webpack-encore-bundle/1.9/manifest.json b/symfony/webpack-encore-bundle/1.9/manifest.json deleted file mode 120000 index 3abdbe32..00000000 --- a/symfony/webpack-encore-bundle/1.9/manifest.json +++ /dev/null @@ -1 +0,0 @@ -../1.0/manifest.json \ No newline at end of file diff --git a/symfony/webpack-encore-bundle/1.9/manifest.json b/symfony/webpack-encore-bundle/1.9/manifest.json new file mode 100644 index 00000000..84ab3961 --- /dev/null +++ b/symfony/webpack-encore-bundle/1.9/manifest.json @@ -0,0 +1,18 @@ +{ + "bundles": { + "Symfony\\WebpackEncoreBundle\\WebpackEncoreBundle": ["all"] + }, + "copy-from-recipe": { + "assets/": "assets/", + "config/": "%CONFIG_DIR%/", + "package.json": "package.json", + "webpack.config.js": "webpack.config.js" + }, + "aliases": ["ux", "encore", "webpack", "webpack-encore"], + "gitignore": [ + "/node_modules/", + "/%PUBLIC_DIR%/build/", + "npm-debug.log", + "yarn-error.log" + ] +} diff --git a/symfony/webpack-encore-bundle/1.9/package.json b/symfony/webpack-encore-bundle/1.9/package.json deleted file mode 120000 index cc120ece..00000000 --- a/symfony/webpack-encore-bundle/1.9/package.json +++ /dev/null @@ -1 +0,0 @@ -../1.0/package.json \ No newline at end of file diff --git a/symfony/webpack-encore-bundle/1.9/package.json b/symfony/webpack-encore-bundle/1.9/package.json new file mode 100644 index 00000000..ba0e4f41 --- /dev/null +++ b/symfony/webpack-encore-bundle/1.9/package.json @@ -0,0 +1,18 @@ +{ + "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" + } +} diff --git a/symfony/webpack-encore-bundle/1.9/webpack.config.js b/symfony/webpack-encore-bundle/1.9/webpack.config.js deleted file mode 120000 index 0eb7084a..00000000 --- a/symfony/webpack-encore-bundle/1.9/webpack.config.js +++ /dev/null @@ -1 +0,0 @@ -../1.0/webpack.config.js \ No newline at end of file diff --git a/symfony/webpack-encore-bundle/1.9/webpack.config.js b/symfony/webpack-encore-bundle/1.9/webpack.config.js new file mode 100644 index 00000000..056b04aa --- /dev/null +++ b/symfony/webpack-encore-bundle/1.9/webpack.config.js @@ -0,0 +1,75 @@ +const Encore = require('@symfony/webpack-encore'); + +// Manually configure the runtime environment if not already configured yet by the "encore" command. +// It's useful when you use tools that rely on webpack.config.js file. +if (!Encore.isRuntimeEnvironmentConfigured()) { + Encore.configureRuntimeEnvironment(process.env.NODE_ENV || 'dev'); +} + +Encore + // directory where compiled assets will be stored + .setOutputPath('public/build/') + // public path used by the web server to access the output path + .setPublicPath('/build') + // only needed for CDN's or sub-directory deploy + //.setManifestKeyPrefix('build/') + + /* + * ENTRY CONFIG + * + * Each entry will result in one JavaScript file (e.g. app.js) + * and one CSS file (e.g. app.css) if your JavaScript imports CSS. + */ + .addEntry('app', './assets/app.js') + + // enables the Symfony UX Stimulus bridge (used in assets/bootstrap.js) + .enableStimulusBridge('./assets/controllers.json') + + // When enabled, Webpack "splits" your files into smaller pieces for greater optimization. + .splitEntryChunks() + + // will require an extra script tag for runtime.js + // but, you probably want this, unless you're building a single-page app + .enableSingleRuntimeChunk() + + /* + * FEATURE CONFIG + * + * Enable & configure other features below. For a full + * list of features, see: + * https://symfony.com/doc/current/frontend.html#adding-more-features + */ + .cleanupOutputBeforeBuild() + .enableBuildNotifications() + .enableSourceMaps(!Encore.isProduction()) + // enables hashed filenames (e.g. app.abc123.css) + .enableVersioning(Encore.isProduction()) + + .configureBabel((config) => { + config.plugins.push('@babel/plugin-proposal-class-properties'); + }) + + // enables @babel/preset-env polyfills + .configureBabelPresetEnv((config) => { + config.useBuiltIns = 'usage'; + config.corejs = 3; + }) + + // enables Sass/SCSS support + //.enableSassLoader() + + // uncomment if you use TypeScript + //.enableTypeScriptLoader() + + // uncomment if you use React + //.enableReactPreset() + + // uncomment to get integrity="..." attributes on your script & link tags + // requires WebpackEncoreBundle 1.4 or higher + //.enableIntegrityHashes(Encore.isProduction()) + + // uncomment if you're having problems with a jQuery plugin + //.autoProvidejQuery() +; + +module.exports = Encore.getWebpackConfig();