From 5fe4ccf3b1bb577488395cf59cc00448c586fa66 Mon Sep 17 00:00:00 2001 From: Antoine Makdessi Date: Tue, 19 Nov 2019 14:39:45 +0100 Subject: [PATCH 001/660] Update app.js --- symfony/webpack-encore-bundle/1.0/assets/js/app.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/symfony/webpack-encore-bundle/1.0/assets/js/app.js b/symfony/webpack-encore-bundle/1.0/assets/js/app.js index 0648e871c..1748c1495 100644 --- a/symfony/webpack-encore-bundle/1.0/assets/js/app.js +++ b/symfony/webpack-encore-bundle/1.0/assets/js/app.js @@ -5,10 +5,10 @@ * (and its CSS file) in your base layout (base.html.twig). */ -// any CSS you require will output into a single css file (app.css in this case) -require('../css/app.css'); +// any CSS you import will output into a single css file (app.css in this case) +import '../css/app.css'; -// Need jQuery? Install it with "yarn add jquery", then uncomment to require it. -// const $ = require('jquery'); +// Need jQuery? Install it with "yarn add jquery", then uncomment to import it. +// import $ from 'jquery'; console.log('Hello Webpack Encore! Edit me in assets/js/app.js'); From 95e75e5e424c5f5f611cc57073e399baaf287570 Mon Sep 17 00:00:00 2001 From: Valentin Udaltsov Date: Mon, 25 Nov 2019 13:06:38 +0300 Subject: [PATCH 002/660] Use MicroKernel::configureRouting(Configurator) in FrameworkBundle >= 5.1 --- symfony/framework-bundle/5.1/config | 1 + symfony/framework-bundle/5.1/manifest.json | 1 + symfony/framework-bundle/5.1/post-install.txt | 1 + symfony/framework-bundle/5.1/public | 1 + symfony/framework-bundle/5.1/src/Controller | 1 + symfony/framework-bundle/5.1/src/Kernel.php | 54 +++++++++++++++++++ 6 files changed, 59 insertions(+) create mode 120000 symfony/framework-bundle/5.1/config create mode 120000 symfony/framework-bundle/5.1/manifest.json create mode 120000 symfony/framework-bundle/5.1/post-install.txt create mode 120000 symfony/framework-bundle/5.1/public create mode 120000 symfony/framework-bundle/5.1/src/Controller create mode 100644 symfony/framework-bundle/5.1/src/Kernel.php diff --git a/symfony/framework-bundle/5.1/config b/symfony/framework-bundle/5.1/config new file mode 120000 index 000000000..7c6880c71 --- /dev/null +++ b/symfony/framework-bundle/5.1/config @@ -0,0 +1 @@ +../4.4/config \ 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 120000 index 000000000..6646fc44b --- /dev/null +++ b/symfony/framework-bundle/5.1/manifest.json @@ -0,0 +1 @@ +../4.4/manifest.json \ 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 120000 index 000000000..a98bd2364 --- /dev/null +++ b/symfony/framework-bundle/5.1/post-install.txt @@ -0,0 +1 @@ +../4.4/post-install.txt \ No newline at end of file diff --git a/symfony/framework-bundle/5.1/public b/symfony/framework-bundle/5.1/public new file mode 120000 index 000000000..7f72027ed --- /dev/null +++ b/symfony/framework-bundle/5.1/public @@ -0,0 +1 @@ +../4.4/public \ No newline at end of file diff --git a/symfony/framework-bundle/5.1/src/Controller b/symfony/framework-bundle/5.1/src/Controller new file mode 120000 index 000000000..c7a4d088a --- /dev/null +++ b/symfony/framework-bundle/5.1/src/Controller @@ -0,0 +1 @@ +../../4.4/src/Controller \ No newline at end of file diff --git a/symfony/framework-bundle/5.1/src/Kernel.php b/symfony/framework-bundle/5.1/src/Kernel.php new file mode 100644 index 000000000..945485729 --- /dev/null +++ b/symfony/framework-bundle/5.1/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 || !ini_get('opcache.preload')); + $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 configureRouting(RoutingConfigurator $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'); + } +} From adb0480079cce55b7dc23b430301690083e98f7c Mon Sep 17 00:00:00 2001 From: Roland Franssen Date: Mon, 2 Dec 2019 18:28:48 +0100 Subject: [PATCH 003/660] Update monolog.yaml --- .../3.3/config/packages/test/monolog.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/symfony/monolog-bundle/3.3/config/packages/test/monolog.yaml b/symfony/monolog-bundle/3.3/config/packages/test/monolog.yaml index 2762653c8..0ec2d68c9 100644 --- a/symfony/monolog-bundle/3.3/config/packages/test/monolog.yaml +++ b/symfony/monolog-bundle/3.3/config/packages/test/monolog.yaml @@ -1,7 +1,8 @@ monolog: handlers: - main: - type: stream - path: "%kernel.logs_dir%/%kernel.environment%.log" - level: debug - channels: ["!event"] + # Enable if you need logs during (automated) tests + #main: + # type: stream + # path: "%kernel.logs_dir%/%kernel.environment%.log" + # level: debug + # channels: ["!event"] From 9851993758d42e6ac91ae8e4340ee4e964bb7b60 Mon Sep 17 00:00:00 2001 From: Roland Franssen Date: Mon, 2 Dec 2019 18:46:28 +0100 Subject: [PATCH 004/660] Update monolog.yaml --- .../3.3/config/packages/test/monolog.yaml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/symfony/monolog-bundle/3.3/config/packages/test/monolog.yaml b/symfony/monolog-bundle/3.3/config/packages/test/monolog.yaml index 0ec2d68c9..001dd8067 100644 --- a/symfony/monolog-bundle/3.3/config/packages/test/monolog.yaml +++ b/symfony/monolog-bundle/3.3/config/packages/test/monolog.yaml @@ -1,8 +1,11 @@ monolog: handlers: - # Enable if you need logs during (automated) tests - #main: - # type: stream - # path: "%kernel.logs_dir%/%kernel.environment%.log" - # level: debug - # channels: ["!event"] + main: + type: fingers_crossed + action_level: error + handler: nested + excluded_http_codes: [404, 405] + nested: + type: stream + path: "%kernel.logs_dir%/%kernel.environment%.log" + level: debug From f94f51f15614551eb36c1701ccc67dd83c031d9e Mon Sep 17 00:00:00 2001 From: Roland Franssen Date: Mon, 2 Dec 2019 18:47:28 +0100 Subject: [PATCH 005/660] Update monolog.yaml --- symfony/monolog-bundle/3.3/config/packages/test/monolog.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/symfony/monolog-bundle/3.3/config/packages/test/monolog.yaml b/symfony/monolog-bundle/3.3/config/packages/test/monolog.yaml index 001dd8067..c86f9f121 100644 --- a/symfony/monolog-bundle/3.3/config/packages/test/monolog.yaml +++ b/symfony/monolog-bundle/3.3/config/packages/test/monolog.yaml @@ -9,3 +9,4 @@ monolog: type: stream path: "%kernel.logs_dir%/%kernel.environment%.log" level: debug + channels: ["!event"] From 5b81a617eb9cc15734235118f9174413d3e463d8 Mon Sep 17 00:00:00 2001 From: Roland Franssen Date: Mon, 2 Dec 2019 18:50:32 +0100 Subject: [PATCH 006/660] Update monolog.yaml --- symfony/monolog-bundle/3.3/config/packages/test/monolog.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/symfony/monolog-bundle/3.3/config/packages/test/monolog.yaml b/symfony/monolog-bundle/3.3/config/packages/test/monolog.yaml index c86f9f121..fc40641dc 100644 --- a/symfony/monolog-bundle/3.3/config/packages/test/monolog.yaml +++ b/symfony/monolog-bundle/3.3/config/packages/test/monolog.yaml @@ -5,8 +5,8 @@ monolog: action_level: error handler: nested excluded_http_codes: [404, 405] + channels: ["!event"] nested: type: stream path: "%kernel.logs_dir%/%kernel.environment%.log" level: debug - channels: ["!event"] From e1a13418ab20b4064b453be5898595666e1dfdeb Mon Sep 17 00:00:00 2001 From: Roland Franssen Date: Fri, 6 Dec 2019 16:05:43 +0100 Subject: [PATCH 007/660] enable query profiling for debug --- doctrine/doctrine-bundle/1.12/config/packages/doctrine.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/doctrine/doctrine-bundle/1.12/config/packages/doctrine.yaml b/doctrine/doctrine-bundle/1.12/config/packages/doctrine.yaml index c052bb0b6..2f04bf2e2 100644 --- a/doctrine/doctrine-bundle/1.12/config/packages/doctrine.yaml +++ b/doctrine/doctrine-bundle/1.12/config/packages/doctrine.yaml @@ -1,6 +1,7 @@ doctrine: dbal: url: '%env(resolve:DATABASE_URL)%' + profiling_collect_backtrace: '%kernel.debug%' # IMPORTANT: You MUST configure your server version, # either here or in the DATABASE_URL env var (see .env file) From 98d0e9a248c9a19ecb15e3311d1c98760ad8fa95 Mon Sep 17 00:00:00 2001 From: Roland Franssen Date: Fri, 6 Dec 2019 23:55:40 +0100 Subject: [PATCH 008/660] Update doctrine.yaml --- doctrine/doctrine-bundle/1.12/config/packages/doctrine.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doctrine/doctrine-bundle/1.12/config/packages/doctrine.yaml b/doctrine/doctrine-bundle/1.12/config/packages/doctrine.yaml index 2f04bf2e2..a21ad0d19 100644 --- a/doctrine/doctrine-bundle/1.12/config/packages/doctrine.yaml +++ b/doctrine/doctrine-bundle/1.12/config/packages/doctrine.yaml @@ -1,12 +1,14 @@ doctrine: dbal: url: '%env(resolve:DATABASE_URL)%' - profiling_collect_backtrace: '%kernel.debug%' # IMPORTANT: You MUST configure your server version, # either here or in the DATABASE_URL env var (see .env file) #server_version: '5.7' + # backtrace queries in profiler (significantly increases memory usage per request) + #profiling_collect_backtrace: '%kernel.debug%' + # only needed for MySQL charset: utf8mb4 default_table_options: From a3e45d607efd841b57a2e48e7cd41dad70b16e55 Mon Sep 17 00:00:00 2001 From: Yannick Ihmels Date: Fri, 6 Dec 2019 09:00:26 +0100 Subject: [PATCH 009/660] Use configureBabelPresetEnv() --- symfony/webpack-encore-bundle/1.0/package.json | 2 +- symfony/webpack-encore-bundle/1.0/webpack.config.js | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/symfony/webpack-encore-bundle/1.0/package.json b/symfony/webpack-encore-bundle/1.0/package.json index cfa25b99c..875d54d79 100644 --- a/symfony/webpack-encore-bundle/1.0/package.json +++ b/symfony/webpack-encore-bundle/1.0/package.json @@ -1,6 +1,6 @@ { "devDependencies": { - "@symfony/webpack-encore": "^0.28.0", + "@symfony/webpack-encore": "^0.28.2", "core-js": "^3.0.0", "regenerator-runtime": "^0.13.2", "webpack-notifier": "^1.6.0" diff --git a/symfony/webpack-encore-bundle/1.0/webpack.config.js b/symfony/webpack-encore-bundle/1.0/webpack.config.js index f077608a2..80585d808 100644 --- a/symfony/webpack-encore-bundle/1.0/webpack.config.js +++ b/symfony/webpack-encore-bundle/1.0/webpack.config.js @@ -48,10 +48,10 @@ Encore .enableVersioning(Encore.isProduction()) // enables @babel/preset-env polyfills - .configureBabel(() => {}, { - useBuiltIns: 'usage', - corejs: 3 - }) + .configureBabelPresetEnv((config) => { + config.useBuiltIns = 'usage'; + config.corejs = 3; + }); // enables Sass/SCSS support //.enableSassLoader() From 88046e8b26f3a5ccb7b78c3ec3bf3be80628adc0 Mon Sep 17 00:00:00 2001 From: Nyholm Date: Tue, 10 Dec 2019 09:16:45 +0100 Subject: [PATCH 010/660] Remove snapshot test for PHP 7.4 --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 867b2b9f7..96ad47f72 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,11 +8,11 @@ cache: matrix: fast_finish: true include: - - php: 7.4snapshot + - php: 7.4 env: SKELETON_VERSION="^3.4" - - php: 7.4snapshot + - php: 7.4 env: SKELETON_VERSION="^4.4" - - php: 7.4snapshot + - php: 7.4 env: SKELETON_VERSION="^5.0" before_install: From 39f031b39b8a130535753d4e7c5948ec9a012930 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Wed, 11 Dec 2019 09:36:04 +0100 Subject: [PATCH 011/660] Remove ; --- symfony/webpack-encore-bundle/1.0/webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/symfony/webpack-encore-bundle/1.0/webpack.config.js b/symfony/webpack-encore-bundle/1.0/webpack.config.js index 80585d808..e8b42835e 100644 --- a/symfony/webpack-encore-bundle/1.0/webpack.config.js +++ b/symfony/webpack-encore-bundle/1.0/webpack.config.js @@ -51,7 +51,7 @@ Encore .configureBabelPresetEnv((config) => { config.useBuiltIns = 'usage'; config.corejs = 3; - }); + }) // enables Sass/SCSS support //.enableSassLoader() From e32a75b3cd1418d8f49c53c6c30d4b5ebc52b638 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Wed, 11 Dec 2019 11:35:40 +0100 Subject: [PATCH 012/660] Dont create config/secrets/ by default --- symfony/framework-bundle/4.2/manifest.json | 1 + symfony/framework-bundle/4.4/config/secrets/prod/.gitignore | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 symfony/framework-bundle/4.4/config/secrets/prod/.gitignore diff --git a/symfony/framework-bundle/4.2/manifest.json b/symfony/framework-bundle/4.2/manifest.json index 8cdbc68d8..b0ffdbcbc 100644 --- a/symfony/framework-bundle/4.2/manifest.json +++ b/symfony/framework-bundle/4.2/manifest.json @@ -21,6 +21,7 @@ "/.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/config/secrets/prod/.gitignore b/symfony/framework-bundle/4.4/config/secrets/prod/.gitignore deleted file mode 100644 index ba126a05d..000000000 --- a/symfony/framework-bundle/4.4/config/secrets/prod/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/prod.decrypt.private.php From 1a4241eda79f1f4392c0d01022f259c6798756f3 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Wed, 11 Dec 2019 11:43:09 +0100 Subject: [PATCH 013/660] Dont inline_class_loader on PHP 7.4 --- symfony/framework-bundle/4.2/src/Kernel.php | 2 +- symfony/framework-bundle/5.1/src/Kernel.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/symfony/framework-bundle/4.2/src/Kernel.php b/symfony/framework-bundle/4.2/src/Kernel.php index 5730a9be4..316d0be55 100644 --- a/symfony/framework-bundle/4.2/src/Kernel.php +++ b/symfony/framework-bundle/4.2/src/Kernel.php @@ -33,7 +33,7 @@ public function getProjectDir(): string 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 || !ini_get('opcache.preload')); + $container->setParameter('container.dumper.inline_class_loader', \PHP_VERSION_ID < 70400); $container->setParameter('container.dumper.inline_factories', true); $confDir = $this->getProjectDir().'/config'; diff --git a/symfony/framework-bundle/5.1/src/Kernel.php b/symfony/framework-bundle/5.1/src/Kernel.php index 945485729..587722434 100644 --- a/symfony/framework-bundle/5.1/src/Kernel.php +++ b/symfony/framework-bundle/5.1/src/Kernel.php @@ -33,7 +33,7 @@ public function getProjectDir(): string 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 || !ini_get('opcache.preload')); + $container->setParameter('container.dumper.inline_class_loader', \PHP_VERSION_ID < 70400); $container->setParameter('container.dumper.inline_factories', true); $confDir = $this->getProjectDir().'/config'; From 1a886501b80fe60e29d350962c8ebfa010372685 Mon Sep 17 00:00:00 2001 From: Ryan Weaver Date: Thu, 12 Dec 2019 16:48:07 -0500 Subject: [PATCH 014/660] Making symfony/console 4.2 use symfony/framework 4.2's config/bootstrap.php file This assumes that the components are upgraded at the same time, but that is an assumption we need to make for sane versioning. This assumption is already made (for example) in the framework-bundle 4.2 recipe, whose config/bootstrap.php file references a DotEnv 4.2 method --- symfony/console/4.2/bin | 1 + symfony/console/4.2/config/bootstrap.php | 1 + symfony/console/4.2/manifest.json | 1 + symfony/console/4.4/config | 2 +- 4 files changed, 4 insertions(+), 1 deletion(-) create mode 120000 symfony/console/4.2/bin create mode 120000 symfony/console/4.2/config/bootstrap.php create mode 120000 symfony/console/4.2/manifest.json diff --git a/symfony/console/4.2/bin b/symfony/console/4.2/bin new file mode 120000 index 000000000..4f9c537eb --- /dev/null +++ b/symfony/console/4.2/bin @@ -0,0 +1 @@ +../3.3/bin \ 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 120000 index 000000000..df20375df --- /dev/null +++ b/symfony/console/4.2/config/bootstrap.php @@ -0,0 +1 @@ +../../../framework-bundle/4.2/config/bootstrap.php \ 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 120000 index 000000000..ae0cf2332 --- /dev/null +++ b/symfony/console/4.2/manifest.json @@ -0,0 +1 @@ +../3.3/manifest.json \ No newline at end of file diff --git a/symfony/console/4.4/config b/symfony/console/4.4/config index 5b435e976..c38f08f2f 120000 --- a/symfony/console/4.4/config +++ b/symfony/console/4.4/config @@ -1 +1 @@ -../3.3/config/ \ No newline at end of file +../4.2/config \ No newline at end of file From cb9d2fc495e19677dcdc72cd2288f88435f3d750 Mon Sep 17 00:00:00 2001 From: Ryan Weaver Date: Fri, 13 Dec 2019 14:33:55 -0500 Subject: [PATCH 015/660] Creating phpunit-bridge 4.2 recipe to point to 4.2 version of bootstrap.php This also updates the 4.3 recipe to use all the stuff from 4.2 --- symfony/phpunit-bridge/4.2/.env.test | 1 + symfony/phpunit-bridge/4.2/bin | 1 + symfony/phpunit-bridge/4.2/config/bootstrap.php | 1 + symfony/phpunit-bridge/4.2/manifest.json | 1 + symfony/phpunit-bridge/4.2/phpunit.xml.dist | 1 + symfony/phpunit-bridge/4.2/post-install.txt | 1 + symfony/phpunit-bridge/4.2/tests | 1 + symfony/phpunit-bridge/4.3/.env.test | 2 +- symfony/phpunit-bridge/4.3/config/bootstrap.php | 2 +- symfony/phpunit-bridge/4.3/manifest.json | 2 +- symfony/phpunit-bridge/4.3/phpunit.xml.dist | 2 +- symfony/phpunit-bridge/4.3/post-install.txt | 2 +- 12 files changed, 12 insertions(+), 5 deletions(-) create mode 120000 symfony/phpunit-bridge/4.2/.env.test create mode 120000 symfony/phpunit-bridge/4.2/bin create mode 120000 symfony/phpunit-bridge/4.2/config/bootstrap.php create mode 120000 symfony/phpunit-bridge/4.2/manifest.json create mode 120000 symfony/phpunit-bridge/4.2/phpunit.xml.dist create mode 120000 symfony/phpunit-bridge/4.2/post-install.txt create mode 120000 symfony/phpunit-bridge/4.2/tests diff --git a/symfony/phpunit-bridge/4.2/.env.test b/symfony/phpunit-bridge/4.2/.env.test new file mode 120000 index 000000000..ba1559e97 --- /dev/null +++ b/symfony/phpunit-bridge/4.2/.env.test @@ -0,0 +1 @@ +../4.1/.env.test \ No newline at end of file diff --git a/symfony/phpunit-bridge/4.2/bin b/symfony/phpunit-bridge/4.2/bin new file mode 120000 index 000000000..7aedead0d --- /dev/null +++ b/symfony/phpunit-bridge/4.2/bin @@ -0,0 +1 @@ +../4.1/bin \ No newline at end of file diff --git a/symfony/phpunit-bridge/4.2/config/bootstrap.php b/symfony/phpunit-bridge/4.2/config/bootstrap.php new file mode 120000 index 000000000..df20375df --- /dev/null +++ b/symfony/phpunit-bridge/4.2/config/bootstrap.php @@ -0,0 +1 @@ +../../../framework-bundle/4.2/config/bootstrap.php \ No newline at end of file diff --git a/symfony/phpunit-bridge/4.2/manifest.json b/symfony/phpunit-bridge/4.2/manifest.json new file mode 120000 index 000000000..39fa2e74e --- /dev/null +++ b/symfony/phpunit-bridge/4.2/manifest.json @@ -0,0 +1 @@ +../4.1/manifest.json \ No newline at end of file diff --git a/symfony/phpunit-bridge/4.2/phpunit.xml.dist b/symfony/phpunit-bridge/4.2/phpunit.xml.dist new file mode 120000 index 000000000..87fc05322 --- /dev/null +++ b/symfony/phpunit-bridge/4.2/phpunit.xml.dist @@ -0,0 +1 @@ +../4.1/phpunit.xml.dist \ No newline at end of file diff --git a/symfony/phpunit-bridge/4.2/post-install.txt b/symfony/phpunit-bridge/4.2/post-install.txt new file mode 120000 index 000000000..62244d6b4 --- /dev/null +++ b/symfony/phpunit-bridge/4.2/post-install.txt @@ -0,0 +1 @@ +../4.1/post-install.txt \ No newline at end of file diff --git a/symfony/phpunit-bridge/4.2/tests b/symfony/phpunit-bridge/4.2/tests new file mode 120000 index 000000000..1b0fd3bbe --- /dev/null +++ b/symfony/phpunit-bridge/4.2/tests @@ -0,0 +1 @@ +../4.1/tests \ No newline at end of file diff --git a/symfony/phpunit-bridge/4.3/.env.test b/symfony/phpunit-bridge/4.3/.env.test index ba1559e97..bd5950f55 120000 --- a/symfony/phpunit-bridge/4.3/.env.test +++ b/symfony/phpunit-bridge/4.3/.env.test @@ -1 +1 @@ -../4.1/.env.test \ No newline at end of file +../4.2/.env.test \ No newline at end of file diff --git a/symfony/phpunit-bridge/4.3/config/bootstrap.php b/symfony/phpunit-bridge/4.3/config/bootstrap.php index 57ba1e6e0..a1c120479 120000 --- a/symfony/phpunit-bridge/4.3/config/bootstrap.php +++ b/symfony/phpunit-bridge/4.3/config/bootstrap.php @@ -1 +1 @@ -../../../../symfony/framework-bundle/3.3/config/bootstrap.php \ No newline at end of file +../../4.2/config/bootstrap.php \ No newline at end of file diff --git a/symfony/phpunit-bridge/4.3/manifest.json b/symfony/phpunit-bridge/4.3/manifest.json index 39fa2e74e..5fe6af0e3 120000 --- a/symfony/phpunit-bridge/4.3/manifest.json +++ b/symfony/phpunit-bridge/4.3/manifest.json @@ -1 +1 @@ -../4.1/manifest.json \ No newline at end of file +../4.2/manifest.json \ 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 index 87fc05322..9144dcd16 120000 --- a/symfony/phpunit-bridge/4.3/phpunit.xml.dist +++ b/symfony/phpunit-bridge/4.3/phpunit.xml.dist @@ -1 +1 @@ -../4.1/phpunit.xml.dist \ No newline at end of file +../4.2/phpunit.xml.dist \ 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 index 62244d6b4..943d12803 120000 --- a/symfony/phpunit-bridge/4.3/post-install.txt +++ b/symfony/phpunit-bridge/4.3/post-install.txt @@ -1 +1 @@ -../4.1/post-install.txt \ No newline at end of file +../4.2/post-install.txt \ No newline at end of file From 5d24d659fc54e2ed564ae93f2f09a2fefe0c850f Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Sat, 7 Dec 2019 14:29:56 +0100 Subject: [PATCH 016/660] Simplify the default Kernel --- symfony/framework-bundle/5.1/src/Kernel.php | 46 +++++---------------- 1 file changed, 10 insertions(+), 36 deletions(-) diff --git a/symfony/framework-bundle/5.1/src/Kernel.php b/symfony/framework-bundle/5.1/src/Kernel.php index 587722434..58608c76d 100644 --- a/symfony/framework-bundle/5.1/src/Kernel.php +++ b/symfony/framework-bundle/5.1/src/Kernel.php @@ -3,9 +3,7 @@ namespace App; use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait; -use Symfony\Component\Config\Loader\LoaderInterface; -use Symfony\Component\Config\Resource\FileResource; -use Symfony\Component\DependencyInjection\ContainerBuilder; +use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; use Symfony\Component\HttpKernel\Kernel as BaseKernel; use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator; @@ -13,42 +11,18 @@ class Kernel extends BaseKernel { use MicroKernelTrait; - private const CONFIG_EXTS = '.{php,xml,yaml,yml}'; - - public function registerBundles(): iterable + protected function configureContainer(ContainerConfigurator $container): void { - $contents = require $this->getProjectDir().'/config/bundles.php'; - foreach ($contents as $class => $envs) { - if ($envs[$this->environment] ?? $envs['all'] ?? false) { - yield new $class(); - } - } + $container->import('../config/{packages}/*.yaml'); + $container->import('../config/{packages}/'.$this->environment.'/*.yaml'); + $container->import('../config/{services}.yaml'); + $container->import('../config/{services}_'.$this->environment.'.yaml'); } - public function getProjectDir(): string + protected function configureRoutes(RoutingConfigurator $routes): void { - 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); - $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 configureRouting(RoutingConfigurator $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'); + $routes->import('../config/{routes}/'.$this->environment.'/*.yaml'); + $routes->import('../config/{routes}/*.yaml'); + $routes->import('../config/{routes}.yaml'); } } From 3015f125e3186b48dfa844aad29ef2499e596eb5 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Wed, 18 Dec 2019 12:04:56 +0100 Subject: [PATCH 017/660] Enable inline_class_loader in debug mode --- symfony/framework-bundle/4.2/src/Kernel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/symfony/framework-bundle/4.2/src/Kernel.php b/symfony/framework-bundle/4.2/src/Kernel.php index 316d0be55..1cd05726a 100644 --- a/symfony/framework-bundle/4.2/src/Kernel.php +++ b/symfony/framework-bundle/4.2/src/Kernel.php @@ -33,7 +33,7 @@ public function getProjectDir(): string 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); + $container->setParameter('container.dumper.inline_class_loader', \PHP_VERSION_ID < 70400 || $this->debug); $container->setParameter('container.dumper.inline_factories', true); $confDir = $this->getProjectDir().'/config'; From a610be6c1295ed01067d6be3b7392658ddd24b5e Mon Sep 17 00:00:00 2001 From: Roland Franssen Date: Wed, 18 Dec 2019 13:15:17 +0100 Subject: [PATCH 018/660] Update doctrine.yaml --- doctrine/doctrine-bundle/1.12/config/packages/doctrine.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doctrine/doctrine-bundle/1.12/config/packages/doctrine.yaml b/doctrine/doctrine-bundle/1.12/config/packages/doctrine.yaml index a21ad0d19..7809415d7 100644 --- a/doctrine/doctrine-bundle/1.12/config/packages/doctrine.yaml +++ b/doctrine/doctrine-bundle/1.12/config/packages/doctrine.yaml @@ -6,7 +6,7 @@ doctrine: # either here or in the DATABASE_URL env var (see .env file) #server_version: '5.7' - # backtrace queries in profiler (significantly increases memory usage per request) + # backtrace queries in profiler (increases memory usage per request) #profiling_collect_backtrace: '%kernel.debug%' # only needed for MySQL From f009bcac08c7711433e8625c7a9c88e65462483b Mon Sep 17 00:00:00 2001 From: Roland Franssen Date: Wed, 18 Dec 2019 14:06:31 +0100 Subject: [PATCH 019/660] Update doctrine.yaml --- doctrine/doctrine-bundle/1.12/config/packages/doctrine.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doctrine/doctrine-bundle/1.12/config/packages/doctrine.yaml b/doctrine/doctrine-bundle/1.12/config/packages/doctrine.yaml index 7809415d7..2ef77cc0d 100644 --- a/doctrine/doctrine-bundle/1.12/config/packages/doctrine.yaml +++ b/doctrine/doctrine-bundle/1.12/config/packages/doctrine.yaml @@ -6,13 +6,13 @@ doctrine: # either here or in the DATABASE_URL env var (see .env file) #server_version: '5.7' - # backtrace queries in profiler (increases memory usage per request) - #profiling_collect_backtrace: '%kernel.debug%' - # only needed for MySQL charset: utf8mb4 default_table_options: collate: utf8mb4_unicode_ci + + # backtrace queries in profiler (increases memory usage per request) + #profiling_collect_backtrace: '%kernel.debug%' orm: auto_generate_proxy_classes: true naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware From a51bcbbcdc87517deafa52527674759d11ad2897 Mon Sep 17 00:00:00 2001 From: Kevin Date: Wed, 18 Dec 2019 18:00:20 +0100 Subject: [PATCH 020/660] Align code coverage settings with documentation After noticing slow coverage collection on our jenkins server for our symfony project, i noticed after some time that we were missing the on the whitelist configuration the processUncoveredFilesFromWhitelist attribute. I tried to backtrace why this configuration was missing and realized that this might come from the phpunit flex recipe. So here we go with the fix. Fixes issues with slow coverage collection mentioned here: https://github.com/sebastianbergmann/phpunit/issues/2489 Also the documentation already includes the configuration: https://symfony.com/doc/4.4/create_framework/unit_testing.html https://symfony.com/doc/current/create_framework/unit_testing.html --- phpunit/phpunit/4.7/phpunit.xml.dist | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpunit/phpunit/4.7/phpunit.xml.dist b/phpunit/phpunit/4.7/phpunit.xml.dist index e4aab3c59..f50358e20 100644 --- a/phpunit/phpunit/4.7/phpunit.xml.dist +++ b/phpunit/phpunit/4.7/phpunit.xml.dist @@ -20,8 +20,8 @@ - - src + + src From d8149875dacf4eb1eefea12d08133f578b6672e2 Mon Sep 17 00:00:00 2001 From: Kevin Date: Wed, 18 Dec 2019 18:22:12 +0100 Subject: [PATCH 021/660] Code coverage settings for phpunit-bridge Same reasoning as commit a51bcbbcdc87517deafa52527674759d11ad2897 --- symfony/phpunit-bridge/4.1/phpunit.xml.dist | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/symfony/phpunit-bridge/4.1/phpunit.xml.dist b/symfony/phpunit-bridge/4.1/phpunit.xml.dist index 5b7c82022..7ad83637f 100644 --- a/symfony/phpunit-bridge/4.1/phpunit.xml.dist +++ b/symfony/phpunit-bridge/4.1/phpunit.xml.dist @@ -22,8 +22,8 @@ - - src + + src From a03235ded6af24668130ce6aab8c7bd000706d2b Mon Sep 17 00:00:00 2001 From: Oleg Voronkovich Date: Wed, 1 Jan 2020 04:26:57 +0300 Subject: [PATCH 022/660] Fix broken link in .env file --- symfony/flex/1.0/.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/symfony/flex/1.0/.env b/symfony/flex/1.0/.env index 91da8d194..7d391a90d 100644 --- a/symfony/flex/1.0/.env +++ b/symfony/flex/1.0/.env @@ -11,4 +11,4 @@ # DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES. # # Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2). -# https://symfony.com/doc/current/best_practices/configuration.html#infrastructure-related-configuration +# https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration From 321ef8390c2877d5f866f9a3d14c11405821e25d Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Mon, 6 Jan 2020 20:17:28 +0100 Subject: [PATCH 023/660] Allow missing APP_ENV in .env.local.php --- symfony/framework-bundle/3.3/config/bootstrap.php | 2 +- symfony/framework-bundle/4.2/config/bootstrap.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/symfony/framework-bundle/3.3/config/bootstrap.php b/symfony/framework-bundle/3.3/config/bootstrap.php index 78b63c265..cb1ea0195 100644 --- a/symfony/framework-bundle/3.3/config/bootstrap.php +++ b/symfony/framework-bundle/3.3/config/bootstrap.php @@ -6,7 +6,7 @@ // Load cached env vars if the .env.local.php file exists // Run "composer dump-env prod" to create it (requires symfony/flex >=1.2) -if (is_array($env = @include dirname(__DIR__).'/.env.local.php') && ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env['APP_ENV']) === $env['APP_ENV']) { +if (is_array($env = @include dirname(__DIR__).'/.env.local.php') && ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env['APP_ENV'] ?? null) === ($env['APP_ENV'] ?? null))) { foreach ($env as $k => $v) { $_ENV[$k] = $_ENV[$k] ?? (isset($_SERVER[$k]) && 0 !== strpos($k, 'HTTP_') ? $_SERVER[$k] : $v); } diff --git a/symfony/framework-bundle/4.2/config/bootstrap.php b/symfony/framework-bundle/4.2/config/bootstrap.php index 976a77639..58494c553 100644 --- a/symfony/framework-bundle/4.2/config/bootstrap.php +++ b/symfony/framework-bundle/4.2/config/bootstrap.php @@ -6,7 +6,7 @@ // Load cached env vars if the .env.local.php file exists // Run "composer dump-env prod" to create it (requires symfony/flex >=1.2) -if (is_array($env = @include dirname(__DIR__).'/.env.local.php') && ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env['APP_ENV']) === $env['APP_ENV']) { +if (is_array($env = @include dirname(__DIR__).'/.env.local.php') && ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env['APP_ENV'] ?? null) === ($env['APP_ENV'] ?? null))) { foreach ($env as $k => $v) { $_ENV[$k] = $_ENV[$k] ?? (isset($_SERVER[$k]) && 0 !== strpos($k, 'HTTP_') ? $_SERVER[$k] : $v); } From 1d3ba22b75ed21030780308f5ef56c93e11144ef Mon Sep 17 00:00:00 2001 From: thewalkingcoder Date: Fri, 10 Jan 2020 08:00:49 +0100 Subject: [PATCH 024/660] Fix error synthax in bootstrap.php PR to fix #35293 --- symfony/framework-bundle/4.2/config/bootstrap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/symfony/framework-bundle/4.2/config/bootstrap.php b/symfony/framework-bundle/4.2/config/bootstrap.php index 58494c553..009b6f554 100644 --- a/symfony/framework-bundle/4.2/config/bootstrap.php +++ b/symfony/framework-bundle/4.2/config/bootstrap.php @@ -6,7 +6,7 @@ // Load cached env vars if the .env.local.php file exists // Run "composer dump-env prod" to create it (requires symfony/flex >=1.2) -if (is_array($env = @include dirname(__DIR__).'/.env.local.php') && ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env['APP_ENV'] ?? null) === ($env['APP_ENV'] ?? null))) { +if (is_array($env = @include dirname(__DIR__).'/.env.local.php') && ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env['APP_ENV'] ?? null) === ($env['APP_ENV'] ?? null)) { foreach ($env as $k => $v) { $_ENV[$k] = $_ENV[$k] ?? (isset($_SERVER[$k]) && 0 !== strpos($k, 'HTTP_') ? $_SERVER[$k] : $v); } From c0aa165e432624e23b0041cc2ab8d6ffb3a5208a Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Sat, 11 Jan 2020 10:26:23 +0100 Subject: [PATCH 025/660] fix PHP syntax error --- symfony/framework-bundle/3.3/config/bootstrap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/symfony/framework-bundle/3.3/config/bootstrap.php b/symfony/framework-bundle/3.3/config/bootstrap.php index cb1ea0195..10ab2f46f 100644 --- a/symfony/framework-bundle/3.3/config/bootstrap.php +++ b/symfony/framework-bundle/3.3/config/bootstrap.php @@ -6,7 +6,7 @@ // Load cached env vars if the .env.local.php file exists // Run "composer dump-env prod" to create it (requires symfony/flex >=1.2) -if (is_array($env = @include dirname(__DIR__).'/.env.local.php') && ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env['APP_ENV'] ?? null) === ($env['APP_ENV'] ?? null))) { +if (is_array($env = @include dirname(__DIR__).'/.env.local.php') && ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env['APP_ENV'] ?? null) === ($env['APP_ENV'] ?? null)) { foreach ($env as $k => $v) { $_ENV[$k] = $_ENV[$k] ?? (isset($_SERVER[$k]) && 0 !== strpos($k, 'HTTP_') ? $_SERVER[$k] : $v); } From 4912cc6f870ec12a546b32e83869a4b3583d007f Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Thu, 23 Jan 2020 11:42:12 +0100 Subject: [PATCH 026/660] Some cleanups --- symfony/console/3.3/bin/console | 6 +++--- symfony/console/4.4/bin/console | 6 +++--- symfony/phpunit-bridge/3.3/manifest.json | 1 + 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/symfony/console/3.3/bin/console b/symfony/console/3.3/bin/console index 19c2f6c3c..5cef87976 100755 --- a/symfony/console/3.3/bin/console +++ b/symfony/console/3.3/bin/console @@ -6,8 +6,8 @@ use Symfony\Bundle\FrameworkBundle\Console\Application; use Symfony\Component\Console\Input\ArgvInput; use Symfony\Component\Debug\Debug; -if (false === in_array(\PHP_SAPI, ['cli', 'phpdbg', 'embed'], true)) { - echo 'Warning: The console should be invoked via the CLI version of PHP, not the '.\PHP_SAPI.' SAPI'.\PHP_EOL; +if (!in_array(PHP_SAPI, ['cli', 'phpdbg', 'embed'], true)) { + echo 'Warning: The console should be invoked via the CLI version of PHP, not the '.PHP_SAPI.' SAPI'.PHP_EOL; } set_time_limit(0); @@ -15,7 +15,7 @@ set_time_limit(0); require dirname(__DIR__).'/vendor/autoload.php'; if (!class_exists(Application::class)) { - throw new RuntimeException('You need to add "symfony/framework-bundle" as a Composer dependency.'); + throw new LogicException('You need to add "symfony/framework-bundle" as a Composer dependency.'); } $input = new ArgvInput(); diff --git a/symfony/console/4.4/bin/console b/symfony/console/4.4/bin/console index 5d5c80fba..5de0e1c5b 100755 --- a/symfony/console/4.4/bin/console +++ b/symfony/console/4.4/bin/console @@ -6,8 +6,8 @@ use Symfony\Bundle\FrameworkBundle\Console\Application; use Symfony\Component\Console\Input\ArgvInput; use Symfony\Component\ErrorHandler\Debug; -if (false === in_array(\PHP_SAPI, ['cli', 'phpdbg', 'embed'], true)) { - echo 'Warning: The console should be invoked via the CLI version of PHP, not the '.\PHP_SAPI.' SAPI'.\PHP_EOL; +if (!in_array(PHP_SAPI, ['cli', 'phpdbg', 'embed'], true)) { + echo 'Warning: The console should be invoked via the CLI version of PHP, not the '.PHP_SAPI.' SAPI'.PHP_EOL; } set_time_limit(0); @@ -15,7 +15,7 @@ set_time_limit(0); require dirname(__DIR__).'/vendor/autoload.php'; if (!class_exists(Application::class)) { - throw new RuntimeException('You need to add "symfony/framework-bundle" as a Composer dependency.'); + throw new LogicException('You need to add "symfony/framework-bundle" as a Composer dependency.'); } $input = new ArgvInput(); diff --git a/symfony/phpunit-bridge/3.3/manifest.json b/symfony/phpunit-bridge/3.3/manifest.json index 6a0aab996..a0437e546 100644 --- a/symfony/phpunit-bridge/3.3/manifest.json +++ b/symfony/phpunit-bridge/3.3/manifest.json @@ -8,6 +8,7 @@ }, "gitignore": [ ".phpunit", + ".phpunit.result.cache", "/phpunit.xml" ], "aliases": ["simple-phpunit"] From 8ca8f49826e3d00878500b1bc0ad13639458d9bd Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Sat, 25 Jan 2020 11:21:29 +0100 Subject: [PATCH 027/660] Fix loading .env.local.php --- symfony/framework-bundle/4.2/config/bootstrap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/symfony/framework-bundle/4.2/config/bootstrap.php b/symfony/framework-bundle/4.2/config/bootstrap.php index 009b6f554..3164fd1c6 100644 --- a/symfony/framework-bundle/4.2/config/bootstrap.php +++ b/symfony/framework-bundle/4.2/config/bootstrap.php @@ -6,7 +6,7 @@ // Load cached env vars if the .env.local.php file exists // Run "composer dump-env prod" to create it (requires symfony/flex >=1.2) -if (is_array($env = @include dirname(__DIR__).'/.env.local.php') && ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env['APP_ENV'] ?? null) === ($env['APP_ENV'] ?? null)) { +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'])) { foreach ($env as $k => $v) { $_ENV[$k] = $_ENV[$k] ?? (isset($_SERVER[$k]) && 0 !== strpos($k, 'HTTP_') ? $_SERVER[$k] : $v); } From bc2ac1be8bd8d562eed76b30147e4f6ff7290a36 Mon Sep 17 00:00:00 2001 From: Guilliam Xavier Date: Wed, 29 Jan 2020 16:31:21 +0100 Subject: [PATCH 028/660] Fix TRUSTED_HOSTS regexp example --- symfony/framework-bundle/3.3/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/symfony/framework-bundle/3.3/manifest.json b/symfony/framework-bundle/3.3/manifest.json index ea46c0b02..14f88f769 100644 --- a/symfony/framework-bundle/3.3/manifest.json +++ b/symfony/framework-bundle/3.3/manifest.json @@ -15,7 +15,7 @@ "APP_ENV": "dev", "APP_SECRET": "%generate(secret)%", "#TRUSTED_PROXIES": "127.0.0.1,127.0.0.2", - "#TRUSTED_HOSTS": "'^localhost|example\\.com$'" + "#TRUSTED_HOSTS": "'^localhost$|^example\\.com$'" }, "gitignore": [ "/.env.local", From 7d12a7bf9ecf85bc85dcceee0ca5d9d907235a0f Mon Sep 17 00:00:00 2001 From: Guilliam Xavier Date: Wed, 29 Jan 2020 16:31:47 +0100 Subject: [PATCH 029/660] Fix TRUSTED_HOSTS regexp example --- symfony/framework-bundle/4.2/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/symfony/framework-bundle/4.2/manifest.json b/symfony/framework-bundle/4.2/manifest.json index b0ffdbcbc..53132b0f6 100644 --- a/symfony/framework-bundle/4.2/manifest.json +++ b/symfony/framework-bundle/4.2/manifest.json @@ -15,7 +15,7 @@ "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$'" + "#TRUSTED_HOSTS": "'^localhost$|^example\\.com$'" }, "gitignore": [ "/.env.local", From a0cb2ea41f20f6e1f5b3c2c180f51dc8800132f4 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Sat, 11 Jan 2020 18:03:54 +0100 Subject: [PATCH 030/660] Get rid of config/bootstrap.php for 5.1 apps --- .../2.1/config/bootstrap.php | 1 - .../2.1/features/bootstrap/bootstrap.php | 9 +++- behat/symfony2-extension/2.1/manifest.json | 1 - phpunit/phpunit/4.7/config/bootstrap.php | 1 - phpunit/phpunit/4.7/manifest.json | 1 - phpunit/phpunit/4.7/phpunit.xml.dist | 2 +- phpunit/phpunit/4.7/tests | 1 + phpunit/phpunit/4.7/tests/.gitignore | 0 symfony/console/5.1/bin/console | 43 +++++++++++++++++++ symfony/console/5.1/manifest.json | 6 +++ symfony/framework-bundle/5.1/config | 1 - .../5.1/config/packages/cache.yaml | 1 + .../5.1/config/packages/framework.yaml | 15 +++++++ .../framework-bundle/5.1/config/packages/test | 1 + symfony/framework-bundle/5.1/config/routes | 1 + .../framework-bundle/5.1/config/services.yaml | 1 + symfony/framework-bundle/5.1/manifest.json | 2 +- symfony/framework-bundle/5.1/post-install.txt | 2 +- symfony/framework-bundle/5.1/public | 1 - symfony/framework-bundle/5.1/public/index.php | 30 +++++++++++++ .../phpunit-bridge/3.3/config/bootstrap.php | 1 - symfony/phpunit-bridge/3.3/phpunit.xml.dist | 2 +- symfony/phpunit-bridge/3.3/tests/.gitignore | 0 .../phpunit-bridge/3.3/tests/bootstrap.php | 11 +++++ symfony/phpunit-bridge/4.1/config | 1 + .../phpunit-bridge/4.1/config/bootstrap.php | 1 - symfony/phpunit-bridge/4.1/manifest.json | 16 +------ symfony/phpunit-bridge/4.1/phpunit.xml.dist | 2 +- symfony/phpunit-bridge/4.1/post-install.txt | 7 +-- symfony/phpunit-bridge/4.1/tests | 1 + symfony/phpunit-bridge/4.1/tests/.gitignore | 0 symfony/phpunit-bridge/4.2/.env.test | 1 - symfony/phpunit-bridge/4.2/bin | 1 - .../phpunit-bridge/4.2/config/bootstrap.php | 1 - symfony/phpunit-bridge/4.2/manifest.json | 1 - symfony/phpunit-bridge/4.2/phpunit.xml.dist | 1 - symfony/phpunit-bridge/4.2/post-install.txt | 1 - symfony/phpunit-bridge/4.2/tests | 1 - symfony/phpunit-bridge/4.3/config | 1 + .../phpunit-bridge/4.3/config/bootstrap.php | 1 - symfony/phpunit-bridge/4.3/manifest.json | 2 +- symfony/phpunit-bridge/4.3/phpunit.xml.dist | 2 +- symfony/phpunit-bridge/4.3/post-install.txt | 2 +- symfony/phpunit-bridge/4.3/tests | 1 + symfony/phpunit-bridge/4.3/tests/.gitignore | 0 45 files changed, 132 insertions(+), 46 deletions(-) delete mode 120000 behat/symfony2-extension/2.1/config/bootstrap.php delete mode 120000 phpunit/phpunit/4.7/config/bootstrap.php create mode 120000 phpunit/phpunit/4.7/tests delete mode 100644 phpunit/phpunit/4.7/tests/.gitignore create mode 100755 symfony/console/5.1/bin/console create mode 100644 symfony/console/5.1/manifest.json delete mode 120000 symfony/framework-bundle/5.1/config create mode 120000 symfony/framework-bundle/5.1/config/packages/cache.yaml create mode 100644 symfony/framework-bundle/5.1/config/packages/framework.yaml create mode 120000 symfony/framework-bundle/5.1/config/packages/test create mode 120000 symfony/framework-bundle/5.1/config/routes create mode 120000 symfony/framework-bundle/5.1/config/services.yaml delete mode 120000 symfony/framework-bundle/5.1/public create mode 100644 symfony/framework-bundle/5.1/public/index.php delete mode 120000 symfony/phpunit-bridge/3.3/config/bootstrap.php delete mode 100644 symfony/phpunit-bridge/3.3/tests/.gitignore create mode 100644 symfony/phpunit-bridge/3.3/tests/bootstrap.php create mode 120000 symfony/phpunit-bridge/4.1/config delete mode 120000 symfony/phpunit-bridge/4.1/config/bootstrap.php mode change 100644 => 120000 symfony/phpunit-bridge/4.1/manifest.json mode change 100644 => 120000 symfony/phpunit-bridge/4.1/post-install.txt create mode 120000 symfony/phpunit-bridge/4.1/tests delete mode 100644 symfony/phpunit-bridge/4.1/tests/.gitignore delete mode 120000 symfony/phpunit-bridge/4.2/.env.test delete mode 120000 symfony/phpunit-bridge/4.2/bin delete mode 120000 symfony/phpunit-bridge/4.2/config/bootstrap.php delete mode 120000 symfony/phpunit-bridge/4.2/manifest.json delete mode 120000 symfony/phpunit-bridge/4.2/phpunit.xml.dist delete mode 120000 symfony/phpunit-bridge/4.2/post-install.txt delete mode 120000 symfony/phpunit-bridge/4.2/tests create mode 120000 symfony/phpunit-bridge/4.3/config delete mode 120000 symfony/phpunit-bridge/4.3/config/bootstrap.php create mode 120000 symfony/phpunit-bridge/4.3/tests delete mode 100644 symfony/phpunit-bridge/4.3/tests/.gitignore diff --git a/behat/symfony2-extension/2.1/config/bootstrap.php b/behat/symfony2-extension/2.1/config/bootstrap.php deleted file mode 120000 index 57ba1e6e0..000000000 --- a/behat/symfony2-extension/2.1/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/behat/symfony2-extension/2.1/features/bootstrap/bootstrap.php b/behat/symfony2-extension/2.1/features/bootstrap/bootstrap.php index 0f3ad18d3..c6d7aa061 100644 --- a/behat/symfony2-extension/2.1/features/bootstrap/bootstrap.php +++ b/behat/symfony2-extension/2.1/features/bootstrap/bootstrap.php @@ -1,4 +1,11 @@ bootEnv(dirname(__DIR__, 2).'/.env'); +} diff --git a/behat/symfony2-extension/2.1/manifest.json b/behat/symfony2-extension/2.1/manifest.json index 36c582999..73d923207 100644 --- a/behat/symfony2-extension/2.1/manifest.json +++ b/behat/symfony2-extension/2.1/manifest.json @@ -1,7 +1,6 @@ { "copy-from-recipe": { "behat.yml.dist": "behat.yml.dist", - "config/": "%CONFIG_DIR%/", "features/": "features/" }, "aliases": ["behat"], diff --git a/phpunit/phpunit/4.7/config/bootstrap.php b/phpunit/phpunit/4.7/config/bootstrap.php deleted file mode 120000 index 57ba1e6e0..000000000 --- a/phpunit/phpunit/4.7/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/phpunit/phpunit/4.7/manifest.json b/phpunit/phpunit/4.7/manifest.json index ef0eb1168..8af7b3b35 100644 --- a/phpunit/phpunit/4.7/manifest.json +++ b/phpunit/phpunit/4.7/manifest.json @@ -2,7 +2,6 @@ "copy-from-recipe": { ".env.test": ".env.test", "phpunit.xml.dist": "phpunit.xml.dist", - "config/": "%CONFIG_DIR%/", "tests/": "tests/" }, "gitignore": [ diff --git a/phpunit/phpunit/4.7/phpunit.xml.dist b/phpunit/phpunit/4.7/phpunit.xml.dist index f50358e20..214665a4e 100644 --- a/phpunit/phpunit/4.7/phpunit.xml.dist +++ b/phpunit/phpunit/4.7/phpunit.xml.dist @@ -5,7 +5,7 @@ xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd" backupGlobals="false" colors="true" - bootstrap="config/bootstrap.php" + bootstrap="tests/bootstrap.php" > diff --git a/phpunit/phpunit/4.7/tests b/phpunit/phpunit/4.7/tests new file mode 120000 index 000000000..98911dc67 --- /dev/null +++ b/phpunit/phpunit/4.7/tests @@ -0,0 +1 @@ +../../../symfony/phpunit-bridge/3.3/tests/ \ No newline at end of file diff --git a/phpunit/phpunit/4.7/tests/.gitignore b/phpunit/phpunit/4.7/tests/.gitignore deleted file mode 100644 index e69de29bb..000000000 diff --git a/symfony/console/5.1/bin/console b/symfony/console/5.1/bin/console new file mode 100755 index 000000000..8fe9d4948 --- /dev/null +++ b/symfony/console/5.1/bin/console @@ -0,0 +1,43 @@ +#!/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'); +} + +(new Dotenv())->bootEnv(dirname(__DIR__).'/.env'); + +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/5.1/manifest.json b/symfony/console/5.1/manifest.json new file mode 100644 index 000000000..b0e9e1d41 --- /dev/null +++ b/symfony/console/5.1/manifest.json @@ -0,0 +1,6 @@ +{ + "copy-from-recipe": { + "bin/": "%BIN_DIR%/" + }, + "aliases": ["cli"] +} diff --git a/symfony/framework-bundle/5.1/config b/symfony/framework-bundle/5.1/config deleted file mode 120000 index 7c6880c71..000000000 --- a/symfony/framework-bundle/5.1/config +++ /dev/null @@ -1 +0,0 @@ -../4.4/config \ 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 120000 index 000000000..a8816e955 --- /dev/null +++ b/symfony/framework-bundle/5.1/config/packages/cache.yaml @@ -0,0 +1 @@ +../../../3.3/config/packages/cache.yaml \ No newline at end of file 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 000000000..f0db032de --- /dev/null +++ b/symfony/framework-bundle/5.1/config/packages/framework.yaml @@ -0,0 +1,15 @@ +framework: + #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 b/symfony/framework-bundle/5.1/config/packages/test new file mode 120000 index 000000000..6e4727486 --- /dev/null +++ b/symfony/framework-bundle/5.1/config/packages/test @@ -0,0 +1 @@ +../../../4.2/config/packages/test/ \ No newline at end of file diff --git a/symfony/framework-bundle/5.1/config/routes b/symfony/framework-bundle/5.1/config/routes new file mode 120000 index 000000000..c4d8e6b9a --- /dev/null +++ b/symfony/framework-bundle/5.1/config/routes @@ -0,0 +1 @@ +../../4.4/config/routes/ \ 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 120000 index 000000000..be69bb027 --- /dev/null +++ b/symfony/framework-bundle/5.1/config/services.yaml @@ -0,0 +1 @@ +../../4.2/config/services.yaml \ No newline at end of file diff --git a/symfony/framework-bundle/5.1/manifest.json b/symfony/framework-bundle/5.1/manifest.json index 6646fc44b..5fe6af0e3 120000 --- a/symfony/framework-bundle/5.1/manifest.json +++ b/symfony/framework-bundle/5.1/manifest.json @@ -1 +1 @@ -../4.4/manifest.json \ No newline at end of file +../4.2/manifest.json \ 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 index a98bd2364..943d12803 120000 --- a/symfony/framework-bundle/5.1/post-install.txt +++ b/symfony/framework-bundle/5.1/post-install.txt @@ -1 +1 @@ -../4.4/post-install.txt \ No newline at end of file +../4.2/post-install.txt \ No newline at end of file diff --git a/symfony/framework-bundle/5.1/public b/symfony/framework-bundle/5.1/public deleted file mode 120000 index 7f72027ed..000000000 --- a/symfony/framework-bundle/5.1/public +++ /dev/null @@ -1 +0,0 @@ -../4.4/public \ No newline at end of file diff --git a/symfony/framework-bundle/5.1/public/index.php b/symfony/framework-bundle/5.1/public/index.php new file mode 100644 index 000000000..f3b571cf7 --- /dev/null +++ b/symfony/framework-bundle/5.1/public/index.php @@ -0,0 +1,30 @@ +bootEnv(dirname(__DIR__).'/.env'); + +if ($_SERVER['APP_DEBUG']) { + umask(0000); + + Debug::enable(); +} + +if ($trustedProxies = $_SERVER['TRUSTED_PROXIES'] ?? $_ENV['TRUSTED_PROXIES'] ?? false) { + Request::setTrustedProxies(explode(',', $trustedProxies), Request::HEADER_X_FORWARDED_ALL ^ Request::HEADER_X_FORWARDED_HOST); +} + +if ($trustedHosts = $_SERVER['TRUSTED_HOSTS'] ?? $_ENV['TRUSTED_HOSTS'] ?? false) { + Request::setTrustedHosts([$trustedHosts]); +} + +$kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']); +$request = Request::createFromGlobals(); +$response = $kernel->handle($request); +$response->send(); +$kernel->terminate($request, $response); diff --git a/symfony/phpunit-bridge/3.3/config/bootstrap.php b/symfony/phpunit-bridge/3.3/config/bootstrap.php deleted file mode 120000 index 57ba1e6e0..000000000 --- a/symfony/phpunit-bridge/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/phpunit-bridge/3.3/phpunit.xml.dist b/symfony/phpunit-bridge/3.3/phpunit.xml.dist index 57c353356..d04e8ff59 100644 --- a/symfony/phpunit-bridge/3.3/phpunit.xml.dist +++ b/symfony/phpunit-bridge/3.3/phpunit.xml.dist @@ -5,7 +5,7 @@ xsi:noNamespaceSchemaLocation="bin/.phpunit/phpunit.xsd" backupGlobals="false" colors="true" - bootstrap="config/bootstrap.php" + bootstrap="tests/bootstrap.php" > diff --git a/symfony/phpunit-bridge/3.3/tests/.gitignore b/symfony/phpunit-bridge/3.3/tests/.gitignore deleted file mode 100644 index e69de29bb..000000000 diff --git a/symfony/phpunit-bridge/3.3/tests/bootstrap.php b/symfony/phpunit-bridge/3.3/tests/bootstrap.php new file mode 100644 index 000000000..469dccee4 --- /dev/null +++ b/symfony/phpunit-bridge/3.3/tests/bootstrap.php @@ -0,0 +1,11 @@ +bootEnv(dirname(__DIR__).'/.env'); +} diff --git a/symfony/phpunit-bridge/4.1/config b/symfony/phpunit-bridge/4.1/config new file mode 120000 index 000000000..5b435e976 --- /dev/null +++ b/symfony/phpunit-bridge/4.1/config @@ -0,0 +1 @@ +../3.3/config/ \ No newline at end of file diff --git a/symfony/phpunit-bridge/4.1/config/bootstrap.php b/symfony/phpunit-bridge/4.1/config/bootstrap.php deleted file mode 120000 index 57ba1e6e0..000000000 --- a/symfony/phpunit-bridge/4.1/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/phpunit-bridge/4.1/manifest.json b/symfony/phpunit-bridge/4.1/manifest.json deleted file mode 100644 index a0437e546..000000000 --- a/symfony/phpunit-bridge/4.1/manifest.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "copy-from-recipe": { - ".env.test": ".env.test", - "bin/": "%BIN_DIR%/", - "config/": "%CONFIG_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/manifest.json b/symfony/phpunit-bridge/4.1/manifest.json new file mode 120000 index 000000000..ae0cf2332 --- /dev/null +++ b/symfony/phpunit-bridge/4.1/manifest.json @@ -0,0 +1 @@ +../3.3/manifest.json \ No newline at end of file diff --git a/symfony/phpunit-bridge/4.1/phpunit.xml.dist b/symfony/phpunit-bridge/4.1/phpunit.xml.dist index 7ad83637f..d81f0c307 100644 --- a/symfony/phpunit-bridge/4.1/phpunit.xml.dist +++ b/symfony/phpunit-bridge/4.1/phpunit.xml.dist @@ -5,7 +5,7 @@ xsi:noNamespaceSchemaLocation="bin/.phpunit/phpunit.xsd" backupGlobals="false" colors="true" - bootstrap="config/bootstrap.php" + bootstrap="tests/bootstrap.php" > diff --git a/symfony/phpunit-bridge/4.1/post-install.txt b/symfony/phpunit-bridge/4.1/post-install.txt deleted file mode 100644 index 6dd929f7f..000000000 --- a/symfony/phpunit-bridge/4.1/post-install.txt +++ /dev/null @@ -1,6 +0,0 @@ - - How to test? - - - * Write test cases in the tests/ folder - * Run php bin/phpunit diff --git a/symfony/phpunit-bridge/4.1/post-install.txt b/symfony/phpunit-bridge/4.1/post-install.txt new file mode 120000 index 000000000..bba626e07 --- /dev/null +++ b/symfony/phpunit-bridge/4.1/post-install.txt @@ -0,0 +1 @@ +../3.3/post-install.txt \ No newline at end of file diff --git a/symfony/phpunit-bridge/4.1/tests b/symfony/phpunit-bridge/4.1/tests new file mode 120000 index 000000000..1f30e2be7 --- /dev/null +++ b/symfony/phpunit-bridge/4.1/tests @@ -0,0 +1 @@ +../3.3/tests/ \ No newline at end of file diff --git a/symfony/phpunit-bridge/4.1/tests/.gitignore b/symfony/phpunit-bridge/4.1/tests/.gitignore deleted file mode 100644 index e69de29bb..000000000 diff --git a/symfony/phpunit-bridge/4.2/.env.test b/symfony/phpunit-bridge/4.2/.env.test deleted file mode 120000 index ba1559e97..000000000 --- a/symfony/phpunit-bridge/4.2/.env.test +++ /dev/null @@ -1 +0,0 @@ -../4.1/.env.test \ No newline at end of file diff --git a/symfony/phpunit-bridge/4.2/bin b/symfony/phpunit-bridge/4.2/bin deleted file mode 120000 index 7aedead0d..000000000 --- a/symfony/phpunit-bridge/4.2/bin +++ /dev/null @@ -1 +0,0 @@ -../4.1/bin \ No newline at end of file diff --git a/symfony/phpunit-bridge/4.2/config/bootstrap.php b/symfony/phpunit-bridge/4.2/config/bootstrap.php deleted file mode 120000 index df20375df..000000000 --- a/symfony/phpunit-bridge/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/phpunit-bridge/4.2/manifest.json b/symfony/phpunit-bridge/4.2/manifest.json deleted file mode 120000 index 39fa2e74e..000000000 --- a/symfony/phpunit-bridge/4.2/manifest.json +++ /dev/null @@ -1 +0,0 @@ -../4.1/manifest.json \ No newline at end of file diff --git a/symfony/phpunit-bridge/4.2/phpunit.xml.dist b/symfony/phpunit-bridge/4.2/phpunit.xml.dist deleted file mode 120000 index 87fc05322..000000000 --- a/symfony/phpunit-bridge/4.2/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.2/post-install.txt b/symfony/phpunit-bridge/4.2/post-install.txt deleted file mode 120000 index 62244d6b4..000000000 --- a/symfony/phpunit-bridge/4.2/post-install.txt +++ /dev/null @@ -1 +0,0 @@ -../4.1/post-install.txt \ No newline at end of file diff --git a/symfony/phpunit-bridge/4.2/tests b/symfony/phpunit-bridge/4.2/tests deleted file mode 120000 index 1b0fd3bbe..000000000 --- a/symfony/phpunit-bridge/4.2/tests +++ /dev/null @@ -1 +0,0 @@ -../4.1/tests \ No newline at end of file diff --git a/symfony/phpunit-bridge/4.3/config b/symfony/phpunit-bridge/4.3/config new file mode 120000 index 000000000..5b435e976 --- /dev/null +++ b/symfony/phpunit-bridge/4.3/config @@ -0,0 +1 @@ +../3.3/config/ \ No newline at end of file diff --git a/symfony/phpunit-bridge/4.3/config/bootstrap.php b/symfony/phpunit-bridge/4.3/config/bootstrap.php deleted file mode 120000 index a1c120479..000000000 --- a/symfony/phpunit-bridge/4.3/config/bootstrap.php +++ /dev/null @@ -1 +0,0 @@ -../../4.2/config/bootstrap.php \ No newline at end of file diff --git a/symfony/phpunit-bridge/4.3/manifest.json b/symfony/phpunit-bridge/4.3/manifest.json index 5fe6af0e3..ae0cf2332 120000 --- a/symfony/phpunit-bridge/4.3/manifest.json +++ b/symfony/phpunit-bridge/4.3/manifest.json @@ -1 +1 @@ -../4.2/manifest.json \ No newline at end of file +../3.3/manifest.json \ 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 index 9144dcd16..87fc05322 120000 --- a/symfony/phpunit-bridge/4.3/phpunit.xml.dist +++ b/symfony/phpunit-bridge/4.3/phpunit.xml.dist @@ -1 +1 @@ -../4.2/phpunit.xml.dist \ No newline at end of file +../4.1/phpunit.xml.dist \ 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 index 943d12803..bba626e07 120000 --- a/symfony/phpunit-bridge/4.3/post-install.txt +++ b/symfony/phpunit-bridge/4.3/post-install.txt @@ -1 +1 @@ -../4.2/post-install.txt \ No newline at end of file +../3.3/post-install.txt \ No newline at end of file diff --git a/symfony/phpunit-bridge/4.3/tests b/symfony/phpunit-bridge/4.3/tests new file mode 120000 index 000000000..1f30e2be7 --- /dev/null +++ b/symfony/phpunit-bridge/4.3/tests @@ -0,0 +1 @@ +../3.3/tests/ \ No newline at end of file diff --git a/symfony/phpunit-bridge/4.3/tests/.gitignore b/symfony/phpunit-bridge/4.3/tests/.gitignore deleted file mode 100644 index e69de29bb..000000000 From f3d210946ac8de6860f4af8c0ec9fc3e04bb0b4c Mon Sep 17 00:00:00 2001 From: Guilliam Xavier Date: Wed, 29 Jan 2020 17:45:58 +0100 Subject: [PATCH 031/660] Fix TRUSTED_HOSTS regexp example --- symfony/framework-bundle/3.3/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/symfony/framework-bundle/3.3/manifest.json b/symfony/framework-bundle/3.3/manifest.json index 14f88f769..aa0150ea6 100644 --- a/symfony/framework-bundle/3.3/manifest.json +++ b/symfony/framework-bundle/3.3/manifest.json @@ -15,7 +15,7 @@ "APP_ENV": "dev", "APP_SECRET": "%generate(secret)%", "#TRUSTED_PROXIES": "127.0.0.1,127.0.0.2", - "#TRUSTED_HOSTS": "'^localhost$|^example\\.com$'" + "#TRUSTED_HOSTS": "'^(localhost|example\\.com)$'" }, "gitignore": [ "/.env.local", From 86714aef3068e71cddbe02fd2034a9a1ff527570 Mon Sep 17 00:00:00 2001 From: Guilliam Xavier Date: Wed, 29 Jan 2020 17:46:04 +0100 Subject: [PATCH 032/660] Fix TRUSTED_HOSTS regexp example --- symfony/framework-bundle/4.2/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/symfony/framework-bundle/4.2/manifest.json b/symfony/framework-bundle/4.2/manifest.json index 53132b0f6..101b2aa23 100644 --- a/symfony/framework-bundle/4.2/manifest.json +++ b/symfony/framework-bundle/4.2/manifest.json @@ -15,7 +15,7 @@ "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$'" + "#TRUSTED_HOSTS": "'^(localhost|example\\.com)$'" }, "gitignore": [ "/.env.local", From 0142d02a80409295e977427aba1c8d9eeddaa383 Mon Sep 17 00:00:00 2001 From: Nyholm Date: Thu, 30 Jan 2020 14:10:07 +0100 Subject: [PATCH 033/660] [Monolog] Add buffer_size on fingers_crossed handler --- symfony/monolog-bundle/3.1/config/packages/prod/monolog.yaml | 1 + symfony/monolog-bundle/3.3/config/packages/prod/monolog.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/symfony/monolog-bundle/3.1/config/packages/prod/monolog.yaml b/symfony/monolog-bundle/3.1/config/packages/prod/monolog.yaml index 96dbf9693..fbbf94640 100644 --- a/symfony/monolog-bundle/3.1/config/packages/prod/monolog.yaml +++ b/symfony/monolog-bundle/3.1/config/packages/prod/monolog.yaml @@ -4,6 +4,7 @@ monolog: type: fingers_crossed action_level: error handler: nested + buffer_size: 50 # How many messages should be saved? Prevent memory leaks excluded_404s: # regex: exclude all 404 errors from the logs - ^/ diff --git a/symfony/monolog-bundle/3.3/config/packages/prod/monolog.yaml b/symfony/monolog-bundle/3.3/config/packages/prod/monolog.yaml index 5bcdf06ea..fead7edfb 100644 --- a/symfony/monolog-bundle/3.3/config/packages/prod/monolog.yaml +++ b/symfony/monolog-bundle/3.3/config/packages/prod/monolog.yaml @@ -5,6 +5,7 @@ monolog: action_level: error handler: nested excluded_http_codes: [404, 405] + buffer_size: 50 # How many messages should be saved? Prevent memory leaks nested: type: stream path: "%kernel.logs_dir%/%kernel.environment%.log" From 37d61b6d540da1d22a069ba6ff921f90beba2b6c Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Fri, 31 Jan 2020 17:51:50 +0100 Subject: [PATCH 034/660] Fix broken link --- symfony/phpunit-bridge/4.3/.env.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/symfony/phpunit-bridge/4.3/.env.test b/symfony/phpunit-bridge/4.3/.env.test index bd5950f55..ba1559e97 120000 --- a/symfony/phpunit-bridge/4.3/.env.test +++ b/symfony/phpunit-bridge/4.3/.env.test @@ -1 +1 @@ -../4.2/.env.test \ No newline at end of file +../4.1/.env.test \ No newline at end of file From 27e6507023c2f4f8319415300701d951cd6200ed Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Sun, 2 Feb 2020 12:56:46 +0100 Subject: [PATCH 035/660] Use Dotenv::populate() to define the dumped env vars --- symfony/framework-bundle/3.3/config/bootstrap.php | 12 ++++++------ symfony/framework-bundle/4.2/config/bootstrap.php | 10 +++++----- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/symfony/framework-bundle/3.3/config/bootstrap.php b/symfony/framework-bundle/3.3/config/bootstrap.php index 10ab2f46f..2a471864d 100644 --- a/symfony/framework-bundle/3.3/config/bootstrap.php +++ b/symfony/framework-bundle/3.3/config/bootstrap.php @@ -4,14 +4,14 @@ require dirname(__DIR__).'/vendor/autoload.php'; +if (!class_exists(Dotenv::class)) { + throw new LogicException('Please run "composer require symfony/dotenv" to load the ".env" files configuring the application.'); +} + // Load cached env vars if the .env.local.php file exists // Run "composer dump-env prod" to create it (requires symfony/flex >=1.2) -if (is_array($env = @include dirname(__DIR__).'/.env.local.php') && ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env['APP_ENV'] ?? null) === ($env['APP_ENV'] ?? null)) { - foreach ($env as $k => $v) { - $_ENV[$k] = $_ENV[$k] ?? (isset($_SERVER[$k]) && 0 !== strpos($k, 'HTTP_') ? $_SERVER[$k] : $v); - } -} elseif (!class_exists(Dotenv::class)) { - throw new RuntimeException('Please run "composer require symfony/dotenv" to load the ".env" files configuring the application.'); +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); diff --git a/symfony/framework-bundle/4.2/config/bootstrap.php b/symfony/framework-bundle/4.2/config/bootstrap.php index 3164fd1c6..55560fb83 100644 --- a/symfony/framework-bundle/4.2/config/bootstrap.php +++ b/symfony/framework-bundle/4.2/config/bootstrap.php @@ -4,14 +4,14 @@ require dirname(__DIR__).'/vendor/autoload.php'; +if (!class_exists(Dotenv::class)) { + throw new LogicException('Please run "composer require symfony/dotenv" to load the ".env" files configuring the application.'); +} + // Load cached env vars if the .env.local.php file exists // Run "composer dump-env prod" to create it (requires symfony/flex >=1.2) if (is_array($env = @include dirname(__DIR__).'/.env.local.php') && (!isset($env['APP_ENV']) || ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env['APP_ENV']) === $env['APP_ENV'])) { - foreach ($env as $k => $v) { - $_ENV[$k] = $_ENV[$k] ?? (isset($_SERVER[$k]) && 0 !== strpos($k, 'HTTP_') ? $_SERVER[$k] : $v); - } -} elseif (!class_exists(Dotenv::class)) { - throw new RuntimeException('Please run "composer require symfony/dotenv" to load the ".env" files configuring the application.'); + (new Dotenv(false))->populate($env); } else { // load all the .env files (new Dotenv(false))->loadEnv(dirname(__DIR__).'/.env'); From 49370eb45b995dcfbe1cd3a08606918a9f478682 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Sun, 2 Feb 2020 17:41:24 +0100 Subject: [PATCH 036/660] Look at the Kernel for annotations --- doctrine/annotations/1.0/config/routes/annotations.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doctrine/annotations/1.0/config/routes/annotations.yaml b/doctrine/annotations/1.0/config/routes/annotations.yaml index d49a502a8..e92efc596 100644 --- a/doctrine/annotations/1.0/config/routes/annotations.yaml +++ b/doctrine/annotations/1.0/config/routes/annotations.yaml @@ -1,3 +1,7 @@ controllers: resource: ../../src/Controller/ type: annotation + +kernel: + resource: ../../src/Kernel.php + type: annotation From 28153091b988c6570c50934add307928134a8c7d Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Thu, 6 Feb 2020 12:58:19 +0100 Subject: [PATCH 037/660] Remove space yamllint is complaining about it --- symfony/monolog-bundle/3.1/config/packages/prod/monolog.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/symfony/monolog-bundle/3.1/config/packages/prod/monolog.yaml b/symfony/monolog-bundle/3.1/config/packages/prod/monolog.yaml index fbbf94640..cd532bb5e 100644 --- a/symfony/monolog-bundle/3.1/config/packages/prod/monolog.yaml +++ b/symfony/monolog-bundle/3.1/config/packages/prod/monolog.yaml @@ -4,7 +4,7 @@ monolog: type: fingers_crossed action_level: error handler: nested - buffer_size: 50 # How many messages should be saved? Prevent memory leaks + buffer_size: 50 # How many messages should be saved? Prevent memory leaks excluded_404s: # regex: exclude all 404 errors from the logs - ^/ From cbe18584868bc7e090ddfec912022732f9c762d0 Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Thu, 6 Feb 2020 12:59:17 +0100 Subject: [PATCH 038/660] Remove space yamllint is complaining about it --- symfony/monolog-bundle/3.3/config/packages/prod/monolog.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/symfony/monolog-bundle/3.3/config/packages/prod/monolog.yaml b/symfony/monolog-bundle/3.3/config/packages/prod/monolog.yaml index fead7edfb..14b42bba5 100644 --- a/symfony/monolog-bundle/3.3/config/packages/prod/monolog.yaml +++ b/symfony/monolog-bundle/3.3/config/packages/prod/monolog.yaml @@ -5,7 +5,7 @@ monolog: action_level: error handler: nested excluded_http_codes: [404, 405] - buffer_size: 50 # How many messages should be saved? Prevent memory leaks + buffer_size: 50 # How many messages should be saved? Prevent memory leaks nested: type: stream path: "%kernel.logs_dir%/%kernel.environment%.log" From a871481ea6a8e1c6236a65ee20a0419cea1a9597 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Fri, 7 Feb 2020 10:58:48 +0100 Subject: [PATCH 039/660] Enable "cookie_samesite: lax" on 3.4 --- symfony/framework-bundle/3.4/config/bootstrap.php | 1 + .../3.4/config/packages/cache.yaml | 1 + .../3.4/config/packages/framework.yaml | 15 +++++++++++++++ symfony/framework-bundle/3.4/config/packages/test | 1 + symfony/framework-bundle/3.4/config/services.yaml | 1 + symfony/framework-bundle/3.4/manifest.json | 1 + symfony/framework-bundle/3.4/post-install.txt | 1 + symfony/framework-bundle/3.4/public | 1 + symfony/framework-bundle/3.4/src | 1 + 9 files changed, 23 insertions(+) create mode 120000 symfony/framework-bundle/3.4/config/bootstrap.php create mode 120000 symfony/framework-bundle/3.4/config/packages/cache.yaml create mode 100644 symfony/framework-bundle/3.4/config/packages/framework.yaml create mode 120000 symfony/framework-bundle/3.4/config/packages/test create mode 120000 symfony/framework-bundle/3.4/config/services.yaml create mode 120000 symfony/framework-bundle/3.4/manifest.json create mode 120000 symfony/framework-bundle/3.4/post-install.txt create mode 120000 symfony/framework-bundle/3.4/public create mode 120000 symfony/framework-bundle/3.4/src diff --git a/symfony/framework-bundle/3.4/config/bootstrap.php b/symfony/framework-bundle/3.4/config/bootstrap.php new file mode 120000 index 000000000..818109208 --- /dev/null +++ b/symfony/framework-bundle/3.4/config/bootstrap.php @@ -0,0 +1 @@ +../../3.3/config/bootstrap.php \ 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 120000 index 000000000..a8816e955 --- /dev/null +++ b/symfony/framework-bundle/3.4/config/packages/cache.yaml @@ -0,0 +1 @@ +../../../3.3/config/packages/cache.yaml \ No newline at end of file diff --git a/symfony/framework-bundle/3.4/config/packages/framework.yaml b/symfony/framework-bundle/3.4/config/packages/framework.yaml new file mode 100644 index 000000000..f5325764a --- /dev/null +++ b/symfony/framework-bundle/3.4/config/packages/framework.yaml @@ -0,0 +1,15 @@ +framework: + secret: '%env(APP_SECRET)%' + #csrf_protection: true + #http_method_override: true + + # Enables session support. Note that the session will ONLY be started if you read or write from it. + # Remove or comment this section to explicitly disable session support. + session: + handler_id: null + cookie_samesite: lax + + #esi: true + #fragments: true + php_errors: + log: true diff --git a/symfony/framework-bundle/3.4/config/packages/test b/symfony/framework-bundle/3.4/config/packages/test new file mode 120000 index 000000000..8761a0221 --- /dev/null +++ b/symfony/framework-bundle/3.4/config/packages/test @@ -0,0 +1 @@ +../../../3.3/config/packages/test/ \ 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 120000 index 000000000..d047ff7f1 --- /dev/null +++ b/symfony/framework-bundle/3.4/config/services.yaml @@ -0,0 +1 @@ +../../3.3/config/services.yaml \ 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 120000 index 000000000..ae0cf2332 --- /dev/null +++ b/symfony/framework-bundle/3.4/manifest.json @@ -0,0 +1 @@ +../3.3/manifest.json \ 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 120000 index 000000000..bba626e07 --- /dev/null +++ b/symfony/framework-bundle/3.4/post-install.txt @@ -0,0 +1 @@ +../3.3/post-install.txt \ No newline at end of file diff --git a/symfony/framework-bundle/3.4/public b/symfony/framework-bundle/3.4/public new file mode 120000 index 000000000..909d70944 --- /dev/null +++ b/symfony/framework-bundle/3.4/public @@ -0,0 +1 @@ +../3.3/public/ \ No newline at end of file diff --git a/symfony/framework-bundle/3.4/src b/symfony/framework-bundle/3.4/src new file mode 120000 index 000000000..b4c62e0a0 --- /dev/null +++ b/symfony/framework-bundle/3.4/src @@ -0,0 +1 @@ +../3.3/src/ \ No newline at end of file From d80a799ad722b66a4e8ebad3643db302b9326879 Mon Sep 17 00:00:00 2001 From: Jules Pietri Date: Tue, 11 Feb 2020 00:56:44 +0100 Subject: [PATCH 040/660] [FrameworkBundle] Added the new RoutingConfigurator --- symfony/framework-bundle/5.1/src/Kernel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/symfony/framework-bundle/5.1/src/Kernel.php b/symfony/framework-bundle/5.1/src/Kernel.php index 58608c76d..9f673a450 100644 --- a/symfony/framework-bundle/5.1/src/Kernel.php +++ b/symfony/framework-bundle/5.1/src/Kernel.php @@ -3,9 +3,9 @@ namespace App; use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait; +use Symfony\Bundle\FrameworkBundle\Routing\Loader\Configurator\RoutingConfigurator; use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; use Symfony\Component\HttpKernel\Kernel as BaseKernel; -use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator; class Kernel extends BaseKernel { From 844198da6ab02fc9f527d6347e2eeb020c8c0d4b Mon Sep 17 00:00:00 2001 From: Jules Pietri Date: Thu, 13 Feb 2020 14:51:21 +0100 Subject: [PATCH 041/660] [Security] Renamed in memory provider --- symfony/security-bundle/3.3/config/packages/security.yaml | 3 ++- symfony/security-bundle/4.4/config/packages/security.yaml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/symfony/security-bundle/3.3/config/packages/security.yaml b/symfony/security-bundle/3.3/config/packages/security.yaml index 855f921e1..f7ae4b785 100644 --- a/symfony/security-bundle/3.3/config/packages/security.yaml +++ b/symfony/security-bundle/3.3/config/packages/security.yaml @@ -1,13 +1,14 @@ security: # https://symfony.com/doc/current/security.html#where-do-users-come-from-user-providers providers: - in_memory: { memory: null } + users_in_memory: { memory: null } firewalls: dev: pattern: ^/(_(profiler|wdt)|css|images|js)/ security: false main: anonymous: true + provider: users_in_memory # activate different ways to authenticate # https://symfony.com/doc/current/security.html#firewalls-authentication diff --git a/symfony/security-bundle/4.4/config/packages/security.yaml b/symfony/security-bundle/4.4/config/packages/security.yaml index ce69ba752..811681e87 100644 --- a/symfony/security-bundle/4.4/config/packages/security.yaml +++ b/symfony/security-bundle/4.4/config/packages/security.yaml @@ -1,13 +1,14 @@ security: # https://symfony.com/doc/current/security.html#where-do-users-come-from-user-providers providers: - in_memory: { memory: null } + users_in_memory: { memory: null } firewalls: dev: pattern: ^/(_(profiler|wdt)|css|images|js)/ security: false main: anonymous: lazy + provider: users_in_memory # activate different ways to authenticate # https://symfony.com/doc/current/security.html#firewalls-authentication From e95414b4e258c909043dc2120c0f2b806c15cf26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFck=20Piera?= Date: Mon, 17 Feb 2020 00:31:51 +0100 Subject: [PATCH 042/660] Show region parameter in Mailgun mailer DSN --- symfony/mailgun-mailer/4.4/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/symfony/mailgun-mailer/4.4/manifest.json b/symfony/mailgun-mailer/4.4/manifest.json index a80fd18fa..34d2ee7a8 100644 --- a/symfony/mailgun-mailer/4.4/manifest.json +++ b/symfony/mailgun-mailer/4.4/manifest.json @@ -1,6 +1,6 @@ { "env": { "#1": "MAILER_DSN=mailgun://KEY:DOMAIN@default", - "#2": "MAILER_DSN=mailgun+smtp://USERNAME:PASSWORD@default" + "#2": "MAILER_DSN=mailgun+smtp://USERNAME:PASSWORD@default?region=us" } } From 8da7d03c93669667772d4cd9f1f7cd4cd3f9513b Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Fri, 10 Jan 2020 17:31:05 +0100 Subject: [PATCH 043/660] Use PHP to define the services and routes of the app --- .../framework-bundle/5.1/config/routes.php | 12 ++++ .../framework-bundle/5.1/config/services.php | 59 +++++++++++++++++++ .../framework-bundle/5.1/config/services.yaml | 1 - symfony/framework-bundle/5.1/src/Kernel.php | 18 +++++- symfony/routing/5.1/config/packages | 1 + symfony/routing/5.1/manifest.json | 6 ++ 6 files changed, 93 insertions(+), 4 deletions(-) create mode 100644 symfony/framework-bundle/5.1/config/routes.php create mode 100644 symfony/framework-bundle/5.1/config/services.php delete mode 120000 symfony/framework-bundle/5.1/config/services.yaml create mode 120000 symfony/routing/5.1/config/packages create mode 100644 symfony/routing/5.1/manifest.json diff --git a/symfony/framework-bundle/5.1/config/routes.php b/symfony/framework-bundle/5.1/config/routes.php new file mode 100644 index 000000000..09deb589d --- /dev/null +++ b/symfony/framework-bundle/5.1/config/routes.php @@ -0,0 +1,12 @@ +add('index', '/') +// ->controller([App\Controller\DefaultController::class, 'index']) +// ; + +}; diff --git a/symfony/framework-bundle/5.1/config/services.php b/symfony/framework-bundle/5.1/config/services.php new file mode 100644 index 000000000..5e359355f --- /dev/null +++ b/symfony/framework-bundle/5.1/config/services.php @@ -0,0 +1,59 @@ +parameters() + // ->set(...) + ; + + $services = $container->services() + ->defaults() + ->autowire() + ->autoconfigure() + ; + + // Makes classes in src/ available to be used as services + $src = dirname(__DIR__).'/src'; + $services + ->load('App\\', $src) + ->exclude([ + $src.'/DependencyInjection', + $src.'/Entity', + $src.'/Migrations', + $src.'/Tests', + $src.'/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 + $services + ->load('App\\Controller\\', $src.'/Controller') + ->tag('controller.service_arguments') + ; + + // Add more service definitions when explicit configuration is needed. + // Please note that last definitions *replace* previous ones when using $services->set(). + // It is possible to alter a previously declared definition by using $services->get() instead. + $services + // ->set(App\MyService::class) + // ->args([di\ref(App\AnotherService::class)]) + ; + + if ('test' === $kernel->getEnvironment()) { + // When a test case needs access to a service, getting it via + // a public alias with the "test." prefix is recommended. + $services->public() + // ->alias('test.App\MyService', App\MyService::class) + ; + } + +}; 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 be69bb027..000000000 --- a/symfony/framework-bundle/5.1/config/services.yaml +++ /dev/null @@ -1 +0,0 @@ -../../4.2/config/services.yaml \ No newline at end of file diff --git a/symfony/framework-bundle/5.1/src/Kernel.php b/symfony/framework-bundle/5.1/src/Kernel.php index 9f673a450..103e17b64 100644 --- a/symfony/framework-bundle/5.1/src/Kernel.php +++ b/symfony/framework-bundle/5.1/src/Kernel.php @@ -15,14 +15,26 @@ protected function configureContainer(ContainerConfigurator $container): void { $container->import('../config/{packages}/*.yaml'); $container->import('../config/{packages}/'.$this->environment.'/*.yaml'); - $container->import('../config/{services}.yaml'); - $container->import('../config/{services}_'.$this->environment.'.yaml'); + + if (file_exists(\dirname(__DIR__).'/config/services.yaml')) { + $container->import('../config/{services}.yaml'); + $container->import('../config/{services}_'.$this->environment.'.yaml'); + } else { + $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'); - $routes->import('../config/{routes}.yaml'); + + if (file_exists(\dirname(__DIR__).'/config/routes.yaml')) { + $routes->import('../config/{routes}.yaml'); + } else { + $path = \dirname(__DIR__).'/config/routes.php'; + (require $path)($routes->withPath($path), $this); + } } } diff --git a/symfony/routing/5.1/config/packages b/symfony/routing/5.1/config/packages new file mode 120000 index 000000000..d3c894500 --- /dev/null +++ b/symfony/routing/5.1/config/packages @@ -0,0 +1 @@ +../../4.2/config/packages/ \ 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 000000000..c0c66b64e --- /dev/null +++ b/symfony/routing/5.1/manifest.json @@ -0,0 +1,6 @@ +{ + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "aliases": ["router"] +} From 91ebb0fa08aab4309da3682177695bb1f59f0b2a Mon Sep 17 00:00:00 2001 From: Ryan Weaver Date: Mon, 24 Feb 2020 13:08:58 -0500 Subject: [PATCH 044/660] removing services_test.yaml from symfony/phpunit-bridge recipe Since Symfony 4.1, you can fetch private services from a test using a special method - creating public aliases is not required anymore. --- symfony/phpunit-bridge/3.3/config/services_test.yaml | 9 --------- symfony/phpunit-bridge/3.3/manifest.json | 1 - 2 files changed, 10 deletions(-) delete mode 100644 symfony/phpunit-bridge/3.3/config/services_test.yaml diff --git a/symfony/phpunit-bridge/3.3/config/services_test.yaml b/symfony/phpunit-bridge/3.3/config/services_test.yaml deleted file mode 100644 index 876c36bda..000000000 --- a/symfony/phpunit-bridge/3.3/config/services_test.yaml +++ /dev/null @@ -1,9 +0,0 @@ -services: - _defaults: - public: true - - # If you need to access services in a test, create an alias - # and then fetch that alias from the container. As a convention, - # aliases are prefixed with test. For example: - # - # test.App\Service\MyService: '@App\Service\MyService' diff --git a/symfony/phpunit-bridge/3.3/manifest.json b/symfony/phpunit-bridge/3.3/manifest.json index a0437e546..a2ed0cb42 100644 --- a/symfony/phpunit-bridge/3.3/manifest.json +++ b/symfony/phpunit-bridge/3.3/manifest.json @@ -2,7 +2,6 @@ "copy-from-recipe": { ".env.test": ".env.test", "bin/": "%BIN_DIR%/", - "config/": "%CONFIG_DIR%/", "phpunit.xml.dist": "phpunit.xml.dist", "tests/": "tests/" }, From 5ea0d377f1c5a906b029d2808c881b8ce2a79b11 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Thu, 27 Feb 2020 07:21:19 +0100 Subject: [PATCH 045/660] Remove old symlinks --- symfony/phpunit-bridge/4.1/config | 1 - symfony/phpunit-bridge/4.3/config | 1 - 2 files changed, 2 deletions(-) delete mode 120000 symfony/phpunit-bridge/4.1/config delete mode 120000 symfony/phpunit-bridge/4.3/config diff --git a/symfony/phpunit-bridge/4.1/config b/symfony/phpunit-bridge/4.1/config deleted file mode 120000 index 5b435e976..000000000 --- a/symfony/phpunit-bridge/4.1/config +++ /dev/null @@ -1 +0,0 @@ -../3.3/config/ \ No newline at end of file diff --git a/symfony/phpunit-bridge/4.3/config b/symfony/phpunit-bridge/4.3/config deleted file mode 120000 index 5b435e976..000000000 --- a/symfony/phpunit-bridge/4.3/config +++ /dev/null @@ -1 +0,0 @@ -../3.3/config/ \ No newline at end of file From 94803d818f3abef8fd7ee0f80575a1775ae5c1f2 Mon Sep 17 00:00:00 2001 From: Jesse Rushlow Date: Sat, 28 Mar 2020 00:26:00 -0400 Subject: [PATCH 046/660] adds recipe for symfony casts reset password bundle --- .../1.0/config/packages/reset_password.yaml | 5 +++++ symfonycasts/reset-password-bundle/1.0/manifest.json | 8 ++++++++ 2 files changed, 13 insertions(+) create mode 100644 symfonycasts/reset-password-bundle/1.0/config/packages/reset_password.yaml create mode 100644 symfonycasts/reset-password-bundle/1.0/manifest.json diff --git a/symfonycasts/reset-password-bundle/1.0/config/packages/reset_password.yaml b/symfonycasts/reset-password-bundle/1.0/config/packages/reset_password.yaml new file mode 100644 index 000000000..d878392f1 --- /dev/null +++ b/symfonycasts/reset-password-bundle/1.0/config/packages/reset_password.yaml @@ -0,0 +1,5 @@ +symfonycasts_reset_password: + # Replace symfonycasts.reset_password.fake_request_repository with the full + # namespace of the password reset request repository after it has been created. + # i.e. App\Repository\ResetPasswordRequestRepository + request_password_repository: symfonycasts.reset_password.fake_request_repository \ No newline at end of file diff --git a/symfonycasts/reset-password-bundle/1.0/manifest.json b/symfonycasts/reset-password-bundle/1.0/manifest.json new file mode 100644 index 000000000..42ff14e58 --- /dev/null +++ b/symfonycasts/reset-password-bundle/1.0/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "SymfonyCasts\\Bundle\\ResetPassword\\SymfonyCastsResetPasswordBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} \ No newline at end of file From f1b46f007de0b59f6c4d9241a452fa4583b506c9 Mon Sep 17 00:00:00 2001 From: Jesse Rushlow Date: Sat, 28 Mar 2020 00:33:13 -0400 Subject: [PATCH 047/660] fix styling --- .../1.0/config/packages/reset_password.yaml | 2 +- .../reset-password-bundle/1.0/manifest.json | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/symfonycasts/reset-password-bundle/1.0/config/packages/reset_password.yaml b/symfonycasts/reset-password-bundle/1.0/config/packages/reset_password.yaml index d878392f1..bd37a3a5c 100644 --- a/symfonycasts/reset-password-bundle/1.0/config/packages/reset_password.yaml +++ b/symfonycasts/reset-password-bundle/1.0/config/packages/reset_password.yaml @@ -2,4 +2,4 @@ symfonycasts_reset_password: # Replace symfonycasts.reset_password.fake_request_repository with the full # namespace of the password reset request repository after it has been created. # i.e. App\Repository\ResetPasswordRequestRepository - request_password_repository: symfonycasts.reset_password.fake_request_repository \ No newline at end of file + request_password_repository: symfonycasts.reset_password.fake_request_repository diff --git a/symfonycasts/reset-password-bundle/1.0/manifest.json b/symfonycasts/reset-password-bundle/1.0/manifest.json index 42ff14e58..4d1d90cc4 100644 --- a/symfonycasts/reset-password-bundle/1.0/manifest.json +++ b/symfonycasts/reset-password-bundle/1.0/manifest.json @@ -1,8 +1,8 @@ { - "bundles": { - "SymfonyCasts\\Bundle\\ResetPassword\\SymfonyCastsResetPasswordBundle": ["all"] - }, - "copy-from-recipe": { - "config/": "%CONFIG_DIR%/" - } -} \ No newline at end of file + "bundles": { + "SymfonyCasts\\Bundle\\ResetPassword\\SymfonyCastsResetPasswordBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} From 4bea6a95784a527dc4a38b91d11b868ae6811e7d Mon Sep 17 00:00:00 2001 From: Asmir Mustafic Date: Thu, 30 Jan 2020 09:52:11 +0100 Subject: [PATCH 048/660] Prepare recipe for doctrine migrations 3.0 and address migrations 2.2 deprecations --- .../2.2/config/packages/doctrine_migrations.yaml | 5 +++++ doctrine/doctrine-migrations-bundle/2.2/manifest.json | 10 ++++++++++ .../2.2/migrations/.gitignore | 0 3 files changed, 15 insertions(+) create mode 100644 doctrine/doctrine-migrations-bundle/2.2/config/packages/doctrine_migrations.yaml create mode 100644 doctrine/doctrine-migrations-bundle/2.2/manifest.json create mode 100644 doctrine/doctrine-migrations-bundle/2.2/migrations/.gitignore diff --git a/doctrine/doctrine-migrations-bundle/2.2/config/packages/doctrine_migrations.yaml b/doctrine/doctrine-migrations-bundle/2.2/config/packages/doctrine_migrations.yaml new file mode 100644 index 000000000..61e661240 --- /dev/null +++ b/doctrine/doctrine-migrations-bundle/2.2/config/packages/doctrine_migrations.yaml @@ -0,0 +1,5 @@ +doctrine_migrations: + migrations_paths: + # namespace is arbitrary but should be different from App\Migrations + # as migrations classes should NOT be autoloaded + 'DoctrineMigrations': '%kernel.project_dir%/migrations' diff --git a/doctrine/doctrine-migrations-bundle/2.2/manifest.json b/doctrine/doctrine-migrations-bundle/2.2/manifest.json new file mode 100644 index 000000000..b4f371792 --- /dev/null +++ b/doctrine/doctrine-migrations-bundle/2.2/manifest.json @@ -0,0 +1,10 @@ +{ + "bundles": { + "Doctrine\\Bundle\\MigrationsBundle\\DoctrineMigrationsBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/", + "migrations/": "migrations/" + }, + "aliases": ["doctrine-migrations", "migrations"] +} diff --git a/doctrine/doctrine-migrations-bundle/2.2/migrations/.gitignore b/doctrine/doctrine-migrations-bundle/2.2/migrations/.gitignore new file mode 100644 index 000000000..e69de29bb From 0413ca589eca798db6aa33f0b5294e2f5c827996 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Fri, 3 Apr 2020 09:33:35 +0200 Subject: [PATCH 049/660] Comment deprecation logs --- .../3.3/config/packages/prod/monolog.yaml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/symfony/monolog-bundle/3.3/config/packages/prod/monolog.yaml b/symfony/monolog-bundle/3.3/config/packages/prod/monolog.yaml index 14b42bba5..c8a16ec2b 100644 --- a/symfony/monolog-bundle/3.3/config/packages/prod/monolog.yaml +++ b/symfony/monolog-bundle/3.3/config/packages/prod/monolog.yaml @@ -14,11 +14,13 @@ monolog: type: console process_psr_3_messages: false channels: ["!event", "!doctrine"] - deprecation: - type: stream - path: "%kernel.logs_dir%/%kernel.environment%.deprecations.log" - deprecation_filter: - type: filter - handler: deprecation - max_level: info - channels: ["php"] + + # Uncomment to log deprecations + #deprecation: + # type: stream + # path: "%kernel.logs_dir%/%kernel.environment%.deprecations.log" + #deprecation_filter: + # type: filter + # handler: deprecation + # max_level: info + # channels: ["php"] From b341fbe67cb751f1e0bcc10fac0332aff87c1599 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Fri, 3 Apr 2020 15:45:57 +0200 Subject: [PATCH 050/660] Revert "Merge pull request #721" This reverts commit ed25f50befc34752fc813564848effd02061c956, reversing changes made to 9880918fbf0558455cf973c5b55b391d2bd862fb. --- .../framework-bundle/5.1/config/routes.php | 12 ---- .../framework-bundle/5.1/config/services.php | 59 ------------------- .../framework-bundle/5.1/config/services.yaml | 1 + symfony/framework-bundle/5.1/src/Kernel.php | 18 +----- symfony/routing/5.1/config/packages | 1 - symfony/routing/5.1/manifest.json | 6 -- 6 files changed, 4 insertions(+), 93 deletions(-) delete mode 100644 symfony/framework-bundle/5.1/config/routes.php delete mode 100644 symfony/framework-bundle/5.1/config/services.php create mode 120000 symfony/framework-bundle/5.1/config/services.yaml delete mode 120000 symfony/routing/5.1/config/packages delete mode 100644 symfony/routing/5.1/manifest.json diff --git a/symfony/framework-bundle/5.1/config/routes.php b/symfony/framework-bundle/5.1/config/routes.php deleted file mode 100644 index 09deb589d..000000000 --- a/symfony/framework-bundle/5.1/config/routes.php +++ /dev/null @@ -1,12 +0,0 @@ -add('index', '/') -// ->controller([App\Controller\DefaultController::class, 'index']) -// ; - -}; diff --git a/symfony/framework-bundle/5.1/config/services.php b/symfony/framework-bundle/5.1/config/services.php deleted file mode 100644 index 5e359355f..000000000 --- a/symfony/framework-bundle/5.1/config/services.php +++ /dev/null @@ -1,59 +0,0 @@ -parameters() - // ->set(...) - ; - - $services = $container->services() - ->defaults() - ->autowire() - ->autoconfigure() - ; - - // Makes classes in src/ available to be used as services - $src = dirname(__DIR__).'/src'; - $services - ->load('App\\', $src) - ->exclude([ - $src.'/DependencyInjection', - $src.'/Entity', - $src.'/Migrations', - $src.'/Tests', - $src.'/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 - $services - ->load('App\\Controller\\', $src.'/Controller') - ->tag('controller.service_arguments') - ; - - // Add more service definitions when explicit configuration is needed. - // Please note that last definitions *replace* previous ones when using $services->set(). - // It is possible to alter a previously declared definition by using $services->get() instead. - $services - // ->set(App\MyService::class) - // ->args([di\ref(App\AnotherService::class)]) - ; - - if ('test' === $kernel->getEnvironment()) { - // When a test case needs access to a service, getting it via - // a public alias with the "test." prefix is recommended. - $services->public() - // ->alias('test.App\MyService', App\MyService::class) - ; - } - -}; diff --git a/symfony/framework-bundle/5.1/config/services.yaml b/symfony/framework-bundle/5.1/config/services.yaml new file mode 120000 index 000000000..be69bb027 --- /dev/null +++ b/symfony/framework-bundle/5.1/config/services.yaml @@ -0,0 +1 @@ +../../4.2/config/services.yaml \ No newline at end of file diff --git a/symfony/framework-bundle/5.1/src/Kernel.php b/symfony/framework-bundle/5.1/src/Kernel.php index 103e17b64..9f673a450 100644 --- a/symfony/framework-bundle/5.1/src/Kernel.php +++ b/symfony/framework-bundle/5.1/src/Kernel.php @@ -15,26 +15,14 @@ protected function configureContainer(ContainerConfigurator $container): void { $container->import('../config/{packages}/*.yaml'); $container->import('../config/{packages}/'.$this->environment.'/*.yaml'); - - if (file_exists(\dirname(__DIR__).'/config/services.yaml')) { - $container->import('../config/{services}.yaml'); - $container->import('../config/{services}_'.$this->environment.'.yaml'); - } else { - $path = \dirname(__DIR__).'/config/services.php'; - (require $path)($container->withPath($path), $this); - } + $container->import('../config/{services}.yaml'); + $container->import('../config/{services}_'.$this->environment.'.yaml'); } protected function configureRoutes(RoutingConfigurator $routes): void { $routes->import('../config/{routes}/'.$this->environment.'/*.yaml'); $routes->import('../config/{routes}/*.yaml'); - - if (file_exists(\dirname(__DIR__).'/config/routes.yaml')) { - $routes->import('../config/{routes}.yaml'); - } else { - $path = \dirname(__DIR__).'/config/routes.php'; - (require $path)($routes->withPath($path), $this); - } + $routes->import('../config/{routes}.yaml'); } } diff --git a/symfony/routing/5.1/config/packages b/symfony/routing/5.1/config/packages deleted file mode 120000 index d3c894500..000000000 --- a/symfony/routing/5.1/config/packages +++ /dev/null @@ -1 +0,0 @@ -../../4.2/config/packages/ \ No newline at end of file diff --git a/symfony/routing/5.1/manifest.json b/symfony/routing/5.1/manifest.json deleted file mode 100644 index c0c66b64e..000000000 --- a/symfony/routing/5.1/manifest.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "copy-from-recipe": { - "config/": "%CONFIG_DIR%/" - }, - "aliases": ["router"] -} From c715d3498dd03c6afb96e5aa3cfd09104ad16c34 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Mon, 6 Apr 2020 17:10:26 +0200 Subject: [PATCH 051/660] [easy-log-handler] remove recipe --- .../config/packages/dev/easy_log_handler.yaml | 16 ---------------- easycorp/easy-log-handler/1.0/manifest.json | 5 ----- 2 files changed, 21 deletions(-) delete mode 100644 easycorp/easy-log-handler/1.0/config/packages/dev/easy_log_handler.yaml delete mode 100644 easycorp/easy-log-handler/1.0/manifest.json diff --git a/easycorp/easy-log-handler/1.0/config/packages/dev/easy_log_handler.yaml b/easycorp/easy-log-handler/1.0/config/packages/dev/easy_log_handler.yaml deleted file mode 100644 index 27bfc6087..000000000 --- a/easycorp/easy-log-handler/1.0/config/packages/dev/easy_log_handler.yaml +++ /dev/null @@ -1,16 +0,0 @@ -services: - EasyCorp\EasyLog\EasyLogHandler: - public: false - arguments: ['%kernel.logs_dir%/%kernel.environment%.log'] - -#// FIXME: How to add this configuration automatically without messing up with the monolog configuration? -#monolog: -# handlers: -# buffered: -# type: buffer -# handler: easylog -# channels: ['!event'] -# level: debug -# easylog: -# type: service -# id: EasyCorp\EasyLog\EasyLogHandler diff --git a/easycorp/easy-log-handler/1.0/manifest.json b/easycorp/easy-log-handler/1.0/manifest.json deleted file mode 100644 index e164c6e63..000000000 --- a/easycorp/easy-log-handler/1.0/manifest.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "copy-from-recipe": { - "config/": "%CONFIG_DIR%/" - } -} From a744747b5aa70e2c9db9cd485dd66ed5da4f1f6b Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Sun, 12 Apr 2020 19:17:15 +0200 Subject: [PATCH 052/660] Added notifier bridge recipes --- symfony/slack-notifier/5.0/manifest.json | 5 +++++ symfony/slack-notifier/5.1/manifest.json | 6 ++++++ 2 files changed, 11 insertions(+) create mode 100644 symfony/slack-notifier/5.0/manifest.json create mode 100644 symfony/slack-notifier/5.1/manifest.json diff --git a/symfony/slack-notifier/5.0/manifest.json b/symfony/slack-notifier/5.0/manifest.json new file mode 100644 index 000000000..f34b655ce --- /dev/null +++ b/symfony/slack-notifier/5.0/manifest.json @@ -0,0 +1,5 @@ +{ + "env": { + "#1": "SLACK_DSN=slack://TOKEN@default?channel=CHANNEL" + } +} diff --git a/symfony/slack-notifier/5.1/manifest.json b/symfony/slack-notifier/5.1/manifest.json new file mode 100644 index 000000000..ba7f27cf5 --- /dev/null +++ b/symfony/slack-notifier/5.1/manifest.json @@ -0,0 +1,6 @@ +{ + "env": { + "#1": "See https://api.slack.com/messaging/webhooks", + "#2": "SLACK_DSN=slack://default/ID" + } +} From 713ebcc5cfa2736b1287145747db94964665854a Mon Sep 17 00:00:00 2001 From: simivar Date: Sun, 12 Apr 2020 21:23:36 +0200 Subject: [PATCH 053/660] Add Nexmo Notifier recipe --- symfony/nexmo-notifier/5.0/manifest.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 symfony/nexmo-notifier/5.0/manifest.json diff --git a/symfony/nexmo-notifier/5.0/manifest.json b/symfony/nexmo-notifier/5.0/manifest.json new file mode 100644 index 000000000..b53e45b5a --- /dev/null +++ b/symfony/nexmo-notifier/5.0/manifest.json @@ -0,0 +1,5 @@ +{ + "env": { + "#1": "NEXMO_DSN=nexmo://KEY:SECRET@default?from=FROM" + } +} \ No newline at end of file From 4f8d84d6166d5f75fe6500d7340ad012dfc8adc0 Mon Sep 17 00:00:00 2001 From: simivar Date: Sun, 12 Apr 2020 21:25:33 +0200 Subject: [PATCH 054/660] Add newline --- symfony/nexmo-notifier/5.0/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/symfony/nexmo-notifier/5.0/manifest.json b/symfony/nexmo-notifier/5.0/manifest.json index b53e45b5a..7e459c6b9 100644 --- a/symfony/nexmo-notifier/5.0/manifest.json +++ b/symfony/nexmo-notifier/5.0/manifest.json @@ -2,4 +2,4 @@ "env": { "#1": "NEXMO_DSN=nexmo://KEY:SECRET@default?from=FROM" } -} \ No newline at end of file +} From b57963e4e59ac18bcbe2badd42cf227f8d83b07f Mon Sep 17 00:00:00 2001 From: simivar Date: Sun, 12 Apr 2020 21:29:53 +0200 Subject: [PATCH 055/660] Add Twilio Notifier recipe --- symfony/twilio-notifier/5.0/manifest.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 symfony/twilio-notifier/5.0/manifest.json diff --git a/symfony/twilio-notifier/5.0/manifest.json b/symfony/twilio-notifier/5.0/manifest.json new file mode 100644 index 000000000..1d6b8b50e --- /dev/null +++ b/symfony/twilio-notifier/5.0/manifest.json @@ -0,0 +1,5 @@ +{ + "env": { + "#1": "TWILIO_DSN=twilio://SID:TOKEN@default?from=FROM" + } +} From 2773f4079596c3cb88c01198d7f9122e85afb622 Mon Sep 17 00:00:00 2001 From: simivar Date: Sun, 12 Apr 2020 23:38:05 +0200 Subject: [PATCH 056/660] Add Telegram Notifier recipe --- symfony/telegram-notifier/5.0/manifest.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 symfony/telegram-notifier/5.0/manifest.json diff --git a/symfony/telegram-notifier/5.0/manifest.json b/symfony/telegram-notifier/5.0/manifest.json new file mode 100644 index 000000000..bfe476b75 --- /dev/null +++ b/symfony/telegram-notifier/5.0/manifest.json @@ -0,0 +1,5 @@ +{ + "env": { + "#1": "TELEGRAM_DSN=telegram://TOKEN@default?channel=CHAT_ID" + } +} From 3acd3beb79853bab7d43ff4236b07c9b75a7e3f7 Mon Sep 17 00:00:00 2001 From: simivar Date: Sun, 12 Apr 2020 23:54:04 +0200 Subject: [PATCH 057/660] Add Mattermost Notifier recipe --- symfony/mattermost-notifier/5.1/manifest.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 symfony/mattermost-notifier/5.1/manifest.json diff --git a/symfony/mattermost-notifier/5.1/manifest.json b/symfony/mattermost-notifier/5.1/manifest.json new file mode 100644 index 000000000..bd115a0e0 --- /dev/null +++ b/symfony/mattermost-notifier/5.1/manifest.json @@ -0,0 +1,5 @@ +{ + "env": { + "#1": "MATTERMOST_DSN=mattermost://TOKEN@HOST?channel=CHANNEL" + } +} From b406f449f3202a524046fd9a97f55e0df4d48050 Mon Sep 17 00:00:00 2001 From: simivar Date: Sun, 12 Apr 2020 23:57:19 +0200 Subject: [PATCH 058/660] Add OvhCloud Notifier recipe --- symfony/ovh-cloud-notifier/5.1/manifest.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 symfony/ovh-cloud-notifier/5.1/manifest.json diff --git a/symfony/ovh-cloud-notifier/5.1/manifest.json b/symfony/ovh-cloud-notifier/5.1/manifest.json new file mode 100644 index 000000000..f3a392fdc --- /dev/null +++ b/symfony/ovh-cloud-notifier/5.1/manifest.json @@ -0,0 +1,5 @@ +{ + "env": { + "#1": "OVHCLOUD_DSN=ovhcloud://APPLICATION_KEY:APPLICATION_SECRET@default?consumer_key=CONSUMER_KEY&service_name=SERVICE_NAME" + } +} From e2b9eec274f8b197702d346657668ea9d2d478c0 Mon Sep 17 00:00:00 2001 From: simivar Date: Sun, 12 Apr 2020 23:59:57 +0200 Subject: [PATCH 059/660] Add RocketChat Notifier recipe --- symfony/rocket-chat-notifier/5.1/manifest.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 symfony/rocket-chat-notifier/5.1/manifest.json diff --git a/symfony/rocket-chat-notifier/5.1/manifest.json b/symfony/rocket-chat-notifier/5.1/manifest.json new file mode 100644 index 000000000..5fada33cd --- /dev/null +++ b/symfony/rocket-chat-notifier/5.1/manifest.json @@ -0,0 +1,5 @@ +{ + "env": { + "#1": "ROCKETCHAT_DSN=rocketchat://ACCESS_TOKEN@default?channel=CHANNEL" + } +} From feb081ddec3317e46e4130d62e0d91c05f67bbca Mon Sep 17 00:00:00 2001 From: simivar Date: Mon, 13 Apr 2020 00:02:27 +0200 Subject: [PATCH 060/660] Add Sinch Notifier recipe --- symfony/sinch-notifier/5.1/manifest.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 symfony/sinch-notifier/5.1/manifest.json diff --git a/symfony/sinch-notifier/5.1/manifest.json b/symfony/sinch-notifier/5.1/manifest.json new file mode 100644 index 000000000..8777a18f7 --- /dev/null +++ b/symfony/sinch-notifier/5.1/manifest.json @@ -0,0 +1,5 @@ +{ + "env": { + "#1": "SINCH_DSN=sinch://SID:TOKEN@default?from=FROM" + } +} From 248654ecda6309380397b46874fe6bdce4e039ae Mon Sep 17 00:00:00 2001 From: simivar Date: Mon, 13 Apr 2020 15:25:16 +0200 Subject: [PATCH 061/660] Add Firebase Notifier recipe --- symfony/firebase-notifier/5.0/manifest.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 symfony/firebase-notifier/5.0/manifest.json diff --git a/symfony/firebase-notifier/5.0/manifest.json b/symfony/firebase-notifier/5.0/manifest.json new file mode 100644 index 000000000..77a4b01db --- /dev/null +++ b/symfony/firebase-notifier/5.0/manifest.json @@ -0,0 +1,5 @@ +{ + "env": { + "#1": "FIREBASE_DSN=firebase://TOKEN@default" + } +} From 50ecf52e47aba76ba2e99fc3bd0bb5506a6e7dc0 Mon Sep 17 00:00:00 2001 From: Ryan Weaver Date: Fri, 17 Apr 2020 11:03:06 -0400 Subject: [PATCH 062/660] bumping encore to newest version --- symfony/webpack-encore-bundle/1.0/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/symfony/webpack-encore-bundle/1.0/package.json b/symfony/webpack-encore-bundle/1.0/package.json index 875d54d79..41dcbe508 100644 --- a/symfony/webpack-encore-bundle/1.0/package.json +++ b/symfony/webpack-encore-bundle/1.0/package.json @@ -1,6 +1,6 @@ { "devDependencies": { - "@symfony/webpack-encore": "^0.28.2", + "@symfony/webpack-encore": "^0.29.0", "core-js": "^3.0.0", "regenerator-runtime": "^0.13.2", "webpack-notifier": "^1.6.0" From 2700a98952c2fd3a122dad3dd5f74607e9cb496f Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Tue, 21 Apr 2020 15:35:02 +0200 Subject: [PATCH 063/660] Add DSN support for FreeMobile --- symfony/firebase-notifier/{5.0 => 5.1}/manifest.json | 0 symfony/free-mobile-notifier/5.1/manifest.json | 5 +++++ 2 files changed, 5 insertions(+) rename symfony/firebase-notifier/{5.0 => 5.1}/manifest.json (100%) create mode 100644 symfony/free-mobile-notifier/5.1/manifest.json diff --git a/symfony/firebase-notifier/5.0/manifest.json b/symfony/firebase-notifier/5.1/manifest.json similarity index 100% rename from symfony/firebase-notifier/5.0/manifest.json rename to symfony/firebase-notifier/5.1/manifest.json diff --git a/symfony/free-mobile-notifier/5.1/manifest.json b/symfony/free-mobile-notifier/5.1/manifest.json new file mode 100644 index 000000000..c5812b681 --- /dev/null +++ b/symfony/free-mobile-notifier/5.1/manifest.json @@ -0,0 +1,5 @@ +{ + "env": { + "#1": "FREE_MOBILE_DSN=freemobile://default?phone=PHONE" + } +} From 93b6ef140b9822125cd1fde8b7d626cec4fc8eb5 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Sat, 25 Apr 2020 11:39:24 +0200 Subject: [PATCH 064/660] [symfony/framework-bundle] minor cleanup --- symfony/framework-bundle/3.3/public/index.php | 4 ++-- symfony/framework-bundle/4.2/public/index.php | 4 ++-- symfony/framework-bundle/4.4/public/index.php | 4 ++-- symfony/framework-bundle/5.1/public/index.php | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/symfony/framework-bundle/3.3/public/index.php b/symfony/framework-bundle/3.3/public/index.php index e30f90c03..59e2e4d4f 100644 --- a/symfony/framework-bundle/3.3/public/index.php +++ b/symfony/framework-bundle/3.3/public/index.php @@ -12,11 +12,11 @@ Debug::enable(); } -if ($trustedProxies = $_SERVER['TRUSTED_PROXIES'] ?? $_ENV['TRUSTED_PROXIES'] ?? false) { +if ($trustedProxies = $_SERVER['TRUSTED_PROXIES'] ?? false) { Request::setTrustedProxies(explode(',', $trustedProxies), Request::HEADER_X_FORWARDED_ALL ^ Request::HEADER_X_FORWARDED_HOST); } -if ($trustedHosts = $_SERVER['TRUSTED_HOSTS'] ?? $_ENV['TRUSTED_HOSTS'] ?? false) { +if ($trustedHosts = $_SERVER['TRUSTED_HOSTS'] ?? false) { Request::setTrustedHosts([$trustedHosts]); } diff --git a/symfony/framework-bundle/4.2/public/index.php b/symfony/framework-bundle/4.2/public/index.php index e30f90c03..59e2e4d4f 100644 --- a/symfony/framework-bundle/4.2/public/index.php +++ b/symfony/framework-bundle/4.2/public/index.php @@ -12,11 +12,11 @@ Debug::enable(); } -if ($trustedProxies = $_SERVER['TRUSTED_PROXIES'] ?? $_ENV['TRUSTED_PROXIES'] ?? false) { +if ($trustedProxies = $_SERVER['TRUSTED_PROXIES'] ?? false) { Request::setTrustedProxies(explode(',', $trustedProxies), Request::HEADER_X_FORWARDED_ALL ^ Request::HEADER_X_FORWARDED_HOST); } -if ($trustedHosts = $_SERVER['TRUSTED_HOSTS'] ?? $_ENV['TRUSTED_HOSTS'] ?? false) { +if ($trustedHosts = $_SERVER['TRUSTED_HOSTS'] ?? false) { Request::setTrustedHosts([$trustedHosts]); } diff --git a/symfony/framework-bundle/4.4/public/index.php b/symfony/framework-bundle/4.4/public/index.php index f094a9b19..0e3037012 100644 --- a/symfony/framework-bundle/4.4/public/index.php +++ b/symfony/framework-bundle/4.4/public/index.php @@ -12,11 +12,11 @@ Debug::enable(); } -if ($trustedProxies = $_SERVER['TRUSTED_PROXIES'] ?? $_ENV['TRUSTED_PROXIES'] ?? false) { +if ($trustedProxies = $_SERVER['TRUSTED_PROXIES'] ?? false) { Request::setTrustedProxies(explode(',', $trustedProxies), Request::HEADER_X_FORWARDED_ALL ^ Request::HEADER_X_FORWARDED_HOST); } -if ($trustedHosts = $_SERVER['TRUSTED_HOSTS'] ?? $_ENV['TRUSTED_HOSTS'] ?? false) { +if ($trustedHosts = $_SERVER['TRUSTED_HOSTS'] ?? false) { Request::setTrustedHosts([$trustedHosts]); } diff --git a/symfony/framework-bundle/5.1/public/index.php b/symfony/framework-bundle/5.1/public/index.php index f3b571cf7..3f8b90e50 100644 --- a/symfony/framework-bundle/5.1/public/index.php +++ b/symfony/framework-bundle/5.1/public/index.php @@ -15,11 +15,11 @@ Debug::enable(); } -if ($trustedProxies = $_SERVER['TRUSTED_PROXIES'] ?? $_ENV['TRUSTED_PROXIES'] ?? false) { +if ($trustedProxies = $_SERVER['TRUSTED_PROXIES'] ?? false) { Request::setTrustedProxies(explode(',', $trustedProxies), Request::HEADER_X_FORWARDED_ALL ^ Request::HEADER_X_FORWARDED_HOST); } -if ($trustedHosts = $_SERVER['TRUSTED_HOSTS'] ?? $_ENV['TRUSTED_HOSTS'] ?? false) { +if ($trustedHosts = $_SERVER['TRUSTED_HOSTS'] ?? false) { Request::setTrustedHosts([$trustedHosts]); } From 93fd75a3dd100bea2fcaeb783c704f22c3fa4172 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Sat, 25 Apr 2020 11:58:01 +0200 Subject: [PATCH 065/660] [symfony/framework-bundle] revert use of RoutingConfigurator from FrameworkBundle --- symfony/framework-bundle/5.1/src/Kernel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/symfony/framework-bundle/5.1/src/Kernel.php b/symfony/framework-bundle/5.1/src/Kernel.php index 9f673a450..58608c76d 100644 --- a/symfony/framework-bundle/5.1/src/Kernel.php +++ b/symfony/framework-bundle/5.1/src/Kernel.php @@ -3,9 +3,9 @@ namespace App; use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait; -use Symfony\Bundle\FrameworkBundle\Routing\Loader\Configurator\RoutingConfigurator; use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; use Symfony\Component\HttpKernel\Kernel as BaseKernel; +use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator; class Kernel extends BaseKernel { From 82bfdce7a9b300ded4babf8ab8cd73a7e69789a7 Mon Sep 17 00:00:00 2001 From: Emanuele Panzeri Date: Fri, 1 May 2020 08:52:05 +0200 Subject: [PATCH 066/660] Update mattermost-notifier: add documentation link Mattermost notifier: add documentation link and use `CHANNEL_ID` as example value for channel, to avoid confusions with the parameter value needed there --- symfony/mattermost-notifier/5.1/manifest.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/symfony/mattermost-notifier/5.1/manifest.json b/symfony/mattermost-notifier/5.1/manifest.json index bd115a0e0..308f7d736 100644 --- a/symfony/mattermost-notifier/5.1/manifest.json +++ b/symfony/mattermost-notifier/5.1/manifest.json @@ -1,5 +1,6 @@ { "env": { - "#1": "MATTERMOST_DSN=mattermost://TOKEN@HOST?channel=CHANNEL" + "#1": "See https://docs.mattermost.com/developer/bot-accounts.html", + "#2": "MATTERMOST_DSN=mattermost://TOKEN@HOST?channel=CHANNEL_ID" } } From 48f17690203b8316b8660f6d2fd66927c7ca3ba7 Mon Sep 17 00:00:00 2001 From: Maxime Steinhausser Date: Fri, 10 Jan 2020 21:43:01 +0100 Subject: [PATCH 067/660] [Router] Add recipe for 5.1 router default URI config --- symfony/routing/5.1/config/packages/prod | 1 + symfony/routing/5.1/config/packages/routing.yaml | 7 +++++++ symfony/routing/5.1/config/routes.yaml | 1 + symfony/routing/5.1/manifest.json | 1 + 4 files changed, 10 insertions(+) create mode 120000 symfony/routing/5.1/config/packages/prod create mode 100644 symfony/routing/5.1/config/packages/routing.yaml create mode 120000 symfony/routing/5.1/config/routes.yaml create mode 120000 symfony/routing/5.1/manifest.json diff --git a/symfony/routing/5.1/config/packages/prod b/symfony/routing/5.1/config/packages/prod new file mode 120000 index 000000000..aa93e6e46 --- /dev/null +++ b/symfony/routing/5.1/config/packages/prod @@ -0,0 +1 @@ +../../../4.2/config/packages/prod/ \ No newline at end of file diff --git a/symfony/routing/5.1/config/packages/routing.yaml b/symfony/routing/5.1/config/packages/routing.yaml new file mode 100644 index 000000000..b45c1cec7 --- /dev/null +++ b/symfony/routing/5.1/config/packages/routing.yaml @@ -0,0 +1,7 @@ +framework: + router: + utf8: true + + # Configure how to generate URLs in non-HTTP contexts, such as CLI commands. + # See https://symfony.com/doc/current/routing.html#generating-urls-in-commands + #default_uri: http://localhost diff --git a/symfony/routing/5.1/config/routes.yaml b/symfony/routing/5.1/config/routes.yaml new file mode 120000 index 000000000..fdfb9caa3 --- /dev/null +++ b/symfony/routing/5.1/config/routes.yaml @@ -0,0 +1 @@ +../../4.2/config/routes.yaml \ 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 120000 index 000000000..5fe6af0e3 --- /dev/null +++ b/symfony/routing/5.1/manifest.json @@ -0,0 +1 @@ +../4.2/manifest.json \ No newline at end of file From 94a7b92999ce7d9ceb40487a053b6dab52d6346a Mon Sep 17 00:00:00 2001 From: Ryan Weaver Date: Mon, 11 May 2020 06:44:46 -0400 Subject: [PATCH 068/660] using latest Encore version --- symfony/webpack-encore-bundle/1.0/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/symfony/webpack-encore-bundle/1.0/package.json b/symfony/webpack-encore-bundle/1.0/package.json index 41dcbe508..561dc6326 100644 --- a/symfony/webpack-encore-bundle/1.0/package.json +++ b/symfony/webpack-encore-bundle/1.0/package.json @@ -1,6 +1,6 @@ { "devDependencies": { - "@symfony/webpack-encore": "^0.29.0", + "@symfony/webpack-encore": "^0.30.0", "core-js": "^3.0.0", "regenerator-runtime": "^0.13.2", "webpack-notifier": "^1.6.0" From ec16f70610f1bea8be32566a21f192294b23caba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Mijajlovi=C4=87?= Date: Tue, 26 May 2020 15:49:25 +0200 Subject: [PATCH 069/660] Show region parameter in Mailgun mailer DSN Region parameter was missing in api DSN --- symfony/mailgun-mailer/4.4/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/symfony/mailgun-mailer/4.4/manifest.json b/symfony/mailgun-mailer/4.4/manifest.json index 34d2ee7a8..464bdd287 100644 --- a/symfony/mailgun-mailer/4.4/manifest.json +++ b/symfony/mailgun-mailer/4.4/manifest.json @@ -1,6 +1,6 @@ { "env": { - "#1": "MAILER_DSN=mailgun://KEY:DOMAIN@default", + "#1": "MAILER_DSN=mailgun://KEY:DOMAIN@default?region=us", "#2": "MAILER_DSN=mailgun+smtp://USERNAME:PASSWORD@default?region=us" } } From 203008ea98919f30557b3108f7f435c4a0afbbf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Szepczy=C5=84ski?= Date: Thu, 28 May 2020 15:20:25 +0200 Subject: [PATCH 070/660] Add smsapi-notifier recipe --- symfony/smsapi-notifier/5.1/manifest.json | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 symfony/smsapi-notifier/5.1/manifest.json diff --git a/symfony/smsapi-notifier/5.1/manifest.json b/symfony/smsapi-notifier/5.1/manifest.json new file mode 100644 index 000000000..4475e7f32 --- /dev/null +++ b/symfony/smsapi-notifier/5.1/manifest.json @@ -0,0 +1,6 @@ +{ + "env": { + "#1": "See https://www.smsapi.pl/docs/#autoryzacja", + "#2": "SMSAPI_DSN=smsapi://TOKEN@default?from=CHANNEL_ID" + } +} From daca38d65694a3501efc9a0d77c51dc8e2395418 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Thu, 28 May 2020 14:07:21 +0200 Subject: [PATCH 071/660] Update conf to log deprecations in a dedicated channel --- .../3.1/config/packages/dev/monolog.yaml | 4 ---- .../config/packages/prod/deprecations.yaml | 8 ++++++++ .../3.1/config/packages/prod/monolog.yaml | 8 -------- .../monolog-bundle/3.3/config/packages/dev | 1 + .../3.3/config/packages/dev/monolog.yaml | 19 ------------------- .../config/packages/prod/deprecations.yaml | 1 + .../3.3/config/packages/prod/monolog.yaml | 10 ---------- 7 files changed, 10 insertions(+), 41 deletions(-) create mode 100644 symfony/monolog-bundle/3.1/config/packages/prod/deprecations.yaml create mode 120000 symfony/monolog-bundle/3.3/config/packages/dev delete mode 100644 symfony/monolog-bundle/3.3/config/packages/dev/monolog.yaml create mode 120000 symfony/monolog-bundle/3.3/config/packages/prod/deprecations.yaml diff --git a/symfony/monolog-bundle/3.1/config/packages/dev/monolog.yaml b/symfony/monolog-bundle/3.1/config/packages/dev/monolog.yaml index 418f060fb..b1998da1a 100644 --- a/symfony/monolog-bundle/3.1/config/packages/dev/monolog.yaml +++ b/symfony/monolog-bundle/3.1/config/packages/dev/monolog.yaml @@ -17,7 +17,3 @@ monolog: type: console process_psr_3_messages: false channels: ["!event", "!doctrine", "!console"] - # # As of Symfony 4.3 you can configure the log output: - # console_formater_options: - # format: "%%datetime%% %%start_tag%%%%level_name%%%%end_tag%% [%%channel%%] %%message%%%%context%%\n" - # multiline: false diff --git a/symfony/monolog-bundle/3.1/config/packages/prod/deprecations.yaml b/symfony/monolog-bundle/3.1/config/packages/prod/deprecations.yaml new file mode 100644 index 000000000..920a06197 --- /dev/null +++ b/symfony/monolog-bundle/3.1/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.1/config/packages/prod/monolog.yaml b/symfony/monolog-bundle/3.1/config/packages/prod/monolog.yaml index cd532bb5e..4aa906d42 100644 --- a/symfony/monolog-bundle/3.1/config/packages/prod/monolog.yaml +++ b/symfony/monolog-bundle/3.1/config/packages/prod/monolog.yaml @@ -16,11 +16,3 @@ monolog: type: console process_psr_3_messages: false channels: ["!event", "!doctrine"] - deprecation: - type: stream - path: "%kernel.logs_dir%/%kernel.environment%.deprecations.log" - deprecation_filter: - type: filter - handler: deprecation - max_level: info - channels: ["php"] diff --git a/symfony/monolog-bundle/3.3/config/packages/dev b/symfony/monolog-bundle/3.3/config/packages/dev new file mode 120000 index 000000000..46edd655d --- /dev/null +++ b/symfony/monolog-bundle/3.3/config/packages/dev @@ -0,0 +1 @@ +../../../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 deleted file mode 100644 index b1998da1a..000000000 --- a/symfony/monolog-bundle/3.3/config/packages/dev/monolog.yaml +++ /dev/null @@ -1,19 +0,0 @@ -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 new file mode 120000 index 000000000..06a14e668 --- /dev/null +++ b/symfony/monolog-bundle/3.3/config/packages/prod/deprecations.yaml @@ -0,0 +1 @@ +../../../../3.1/config/packages/prod/deprecations.yaml \ No newline at end of file diff --git a/symfony/monolog-bundle/3.3/config/packages/prod/monolog.yaml b/symfony/monolog-bundle/3.3/config/packages/prod/monolog.yaml index c8a16ec2b..bfe69c015 100644 --- a/symfony/monolog-bundle/3.3/config/packages/prod/monolog.yaml +++ b/symfony/monolog-bundle/3.3/config/packages/prod/monolog.yaml @@ -14,13 +14,3 @@ monolog: type: console process_psr_3_messages: false channels: ["!event", "!doctrine"] - - # Uncomment to log deprecations - #deprecation: - # type: stream - # path: "%kernel.logs_dir%/%kernel.environment%.deprecations.log" - #deprecation_filter: - # type: filter - # handler: deprecation - # max_level: info - # channels: ["php"] From 2131c6c44b36c8551d1db130093940718aaa35b0 Mon Sep 17 00:00:00 2001 From: Yonel Ceruto Date: Sun, 31 May 2020 15:16:53 -0400 Subject: [PATCH 072/660] deprecation free 5.1 security config --- .../5.1/config/packages/security.yaml | 24 +++++++++++++++++++ symfony/security-bundle/5.1/manifest.json | 9 +++++++ 2 files changed, 33 insertions(+) create mode 100644 symfony/security-bundle/5.1/config/packages/security.yaml create mode 100644 symfony/security-bundle/5.1/manifest.json diff --git a/symfony/security-bundle/5.1/config/packages/security.yaml b/symfony/security-bundle/5.1/config/packages/security.yaml new file mode 100644 index 000000000..0e4cf3d15 --- /dev/null +++ b/symfony/security-bundle/5.1/config/packages/security.yaml @@ -0,0 +1,24 @@ +security: + # https://symfony.com/doc/current/security.html#where-do-users-come-from-user-providers + providers: + users_in_memory: { memory: null } + firewalls: + dev: + pattern: ^/(_(profiler|wdt)|css|images|js)/ + security: false + main: + anonymous: true + lazy: true + provider: users_in_memory + + # activate different ways to authenticate + # https://symfony.com/doc/current/security.html#firewalls-authentication + + # https://symfony.com/doc/current/security/impersonating_user.html + # switch_user: true + + # Easy way to control access for large sections of your site + # Note: Only the *first* access control that matches will be used + access_control: + # - { path: ^/admin, roles: ROLE_ADMIN } + # - { path: ^/profile, roles: ROLE_USER } diff --git a/symfony/security-bundle/5.1/manifest.json b/symfony/security-bundle/5.1/manifest.json new file mode 100644 index 000000000..5d8527e4f --- /dev/null +++ b/symfony/security-bundle/5.1/manifest.json @@ -0,0 +1,9 @@ +{ + "bundles": { + "Symfony\\Bundle\\SecurityBundle\\SecurityBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "aliases": ["security"] +} From 7bc83d41ac97e229317fdd7a28e4bdeb343e545d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Szepczy=C5=84ski?= Date: Sun, 31 May 2020 22:52:28 +0200 Subject: [PATCH 073/660] move to 5.2 --- symfony/smsapi-notifier/{5.1 => 5.2}/manifest.json | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename symfony/smsapi-notifier/{5.1 => 5.2}/manifest.json (100%) diff --git a/symfony/smsapi-notifier/5.1/manifest.json b/symfony/smsapi-notifier/5.2/manifest.json similarity index 100% rename from symfony/smsapi-notifier/5.1/manifest.json rename to symfony/smsapi-notifier/5.2/manifest.json From 25c7f92b304c1b767aef5063c92a42b65682e3f3 Mon Sep 17 00:00:00 2001 From: Alexander Schranz Date: Mon, 8 Jun 2020 18:00:34 +0200 Subject: [PATCH 074/660] Add secret env to framework configuration --- symfony/framework-bundle/5.1/config/packages/framework.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/symfony/framework-bundle/5.1/config/packages/framework.yaml b/symfony/framework-bundle/5.1/config/packages/framework.yaml index f0db032de..6089f4bd0 100644 --- a/symfony/framework-bundle/5.1/config/packages/framework.yaml +++ b/symfony/framework-bundle/5.1/config/packages/framework.yaml @@ -1,4 +1,5 @@ framework: + secret: '%env(APP_SECRET)%' #csrf_protection: true #http_method_override: true From 289eeeac8f5ce5a2634281e089cc29d87cef1ece Mon Sep 17 00:00:00 2001 From: Alexander Schranz Date: Mon, 8 Jun 2020 18:13:05 +0200 Subject: [PATCH 075/660] Use symlink to 4.2 --- .../5.1/config/packages/framework.yaml | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) mode change 100644 => 120000 symfony/framework-bundle/5.1/config/packages/framework.yaml diff --git a/symfony/framework-bundle/5.1/config/packages/framework.yaml b/symfony/framework-bundle/5.1/config/packages/framework.yaml deleted file mode 100644 index 6089f4bd0..000000000 --- a/symfony/framework-bundle/5.1/config/packages/framework.yaml +++ /dev/null @@ -1,16 +0,0 @@ -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/framework.yaml b/symfony/framework-bundle/5.1/config/packages/framework.yaml new file mode 120000 index 000000000..13c44e2aa --- /dev/null +++ b/symfony/framework-bundle/5.1/config/packages/framework.yaml @@ -0,0 +1 @@ +../../../4.2/config/packages/framework.yaml \ No newline at end of file From f847805a99fc43dbde5a0b2436635c15b649db03 Mon Sep 17 00:00:00 2001 From: Alexander Schranz Date: Mon, 8 Jun 2020 18:19:58 +0200 Subject: [PATCH 076/660] Symlink whole packages folder --- symfony/framework-bundle/5.1/config/packages | 1 + symfony/framework-bundle/5.1/config/packages/cache.yaml | 1 - symfony/framework-bundle/5.1/config/packages/framework.yaml | 1 - symfony/framework-bundle/5.1/config/packages/test | 1 - 4 files changed, 1 insertion(+), 3 deletions(-) create mode 120000 symfony/framework-bundle/5.1/config/packages delete mode 120000 symfony/framework-bundle/5.1/config/packages/cache.yaml delete mode 120000 symfony/framework-bundle/5.1/config/packages/framework.yaml delete mode 120000 symfony/framework-bundle/5.1/config/packages/test diff --git a/symfony/framework-bundle/5.1/config/packages b/symfony/framework-bundle/5.1/config/packages new file mode 120000 index 000000000..ab9ed62ed --- /dev/null +++ b/symfony/framework-bundle/5.1/config/packages @@ -0,0 +1 @@ +../../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 deleted file mode 120000 index a8816e955..000000000 --- a/symfony/framework-bundle/5.1/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/5.1/config/packages/framework.yaml b/symfony/framework-bundle/5.1/config/packages/framework.yaml deleted file mode 120000 index 13c44e2aa..000000000 --- a/symfony/framework-bundle/5.1/config/packages/framework.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../4.2/config/packages/framework.yaml \ No newline at end of file diff --git a/symfony/framework-bundle/5.1/config/packages/test b/symfony/framework-bundle/5.1/config/packages/test deleted file mode 120000 index 6e4727486..000000000 --- a/symfony/framework-bundle/5.1/config/packages/test +++ /dev/null @@ -1 +0,0 @@ -../../../4.2/config/packages/test/ \ No newline at end of file From d737051e5fc04db98fd2b4ce74b2bfdcdd3857fa Mon Sep 17 00:00:00 2001 From: Ryan Weaver Date: Fri, 12 Jun 2020 09:34:33 -0400 Subject: [PATCH 077/660] Allowing php config in the kernel --- symfony/framework-bundle/5.1/src/Kernel.php | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/symfony/framework-bundle/5.1/src/Kernel.php b/symfony/framework-bundle/5.1/src/Kernel.php index 58608c76d..3f2821882 100644 --- a/symfony/framework-bundle/5.1/src/Kernel.php +++ b/symfony/framework-bundle/5.1/src/Kernel.php @@ -15,14 +15,26 @@ protected function configureContainer(ContainerConfigurator $container): void { $container->import('../config/{packages}/*.yaml'); $container->import('../config/{packages}/'.$this->environment.'/*.yaml'); - $container->import('../config/{services}.yaml'); - $container->import('../config/{services}_'.$this->environment.'.yaml'); + + if (file_exists(\dirname(__DIR__).'/config/services.yaml')) { + $container->import('../config/{services}.yaml'); + $container->import('../config/{services}_'.$this->environment.'.yaml'); + } else { + $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'); - $routes->import('../config/{routes}.yaml'); + + if (file_exists(\dirname(__DIR__).'/config/routes.yaml')) { + $routes->import('../config/{routes}.yaml'); + } else { + $path = \dirname(__DIR__).'/config/routes.php'; + (require $path)($routes->withPath($path), $this); + } } } From 9effb0d5e951dfcee07ceab6dff98e85a9ba7a0c Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Tue, 16 Jun 2020 11:38:25 +0200 Subject: [PATCH 078/660] check for PHP files to exist before requiring them --- symfony/framework-bundle/5.1/src/Kernel.php | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/symfony/framework-bundle/5.1/src/Kernel.php b/symfony/framework-bundle/5.1/src/Kernel.php index 3f2821882..b0168617a 100644 --- a/symfony/framework-bundle/5.1/src/Kernel.php +++ b/symfony/framework-bundle/5.1/src/Kernel.php @@ -16,11 +16,10 @@ protected function configureContainer(ContainerConfigurator $container): void $container->import('../config/{packages}/*.yaml'); $container->import('../config/{packages}/'.$this->environment.'/*.yaml'); - if (file_exists(\dirname(__DIR__).'/config/services.yaml')) { + if (is_file(\dirname(__DIR__).'/config/services.yaml')) { $container->import('../config/{services}.yaml'); $container->import('../config/{services}_'.$this->environment.'.yaml'); - } else { - $path = \dirname(__DIR__).'/config/services.php'; + } elseif (is_file($path = \dirname(__DIR__).'/config/services.php')) { (require $path)($container->withPath($path), $this); } } @@ -30,10 +29,9 @@ protected function configureRoutes(RoutingConfigurator $routes): void $routes->import('../config/{routes}/'.$this->environment.'/*.yaml'); $routes->import('../config/{routes}/*.yaml'); - if (file_exists(\dirname(__DIR__).'/config/routes.yaml')) { + if (is_file(\dirname(__DIR__).'/config/routes.yaml')) { $routes->import('../config/{routes}.yaml'); - } else { - $path = \dirname(__DIR__).'/config/routes.php'; + } elseif (is_file($path = \dirname(__DIR__).'/config/routes.php')) { (require $path)($routes->withPath($path), $this); } } From b1e3b7f1e3c84ac2204c60dfa7c6209757e69940 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Sun, 14 Jun 2020 01:22:50 +0200 Subject: [PATCH 079/660] [5.2] Remove trusted-proxies/hosts from recipes --- .../4.2/config/packages/framework.yaml | 1 + symfony/framework-bundle/5.2/config | 1 + symfony/framework-bundle/5.2/manifest.json | 27 +++++++++++++++++++ symfony/framework-bundle/5.2/post-install.txt | 1 + symfony/framework-bundle/5.2/public/index.php | 22 +++++++++++++++ symfony/framework-bundle/5.2/src | 1 + 6 files changed, 53 insertions(+) create mode 120000 symfony/framework-bundle/5.2/config create mode 100644 symfony/framework-bundle/5.2/manifest.json create mode 120000 symfony/framework-bundle/5.2/post-install.txt create mode 100644 symfony/framework-bundle/5.2/public/index.php create mode 120000 symfony/framework-bundle/5.2/src diff --git a/symfony/framework-bundle/4.2/config/packages/framework.yaml b/symfony/framework-bundle/4.2/config/packages/framework.yaml index 6089f4bd0..cad7f780f 100644 --- a/symfony/framework-bundle/4.2/config/packages/framework.yaml +++ b/symfony/framework-bundle/4.2/config/packages/framework.yaml @@ -1,3 +1,4 @@ +# see https://symfony.com/doc/current/reference/configuration/framework.html framework: secret: '%env(APP_SECRET)%' #csrf_protection: true diff --git a/symfony/framework-bundle/5.2/config b/symfony/framework-bundle/5.2/config new file mode 120000 index 000000000..71b73f3e7 --- /dev/null +++ b/symfony/framework-bundle/5.2/config @@ -0,0 +1 @@ +../5.1/config/ \ No newline at end of file diff --git a/symfony/framework-bundle/5.2/manifest.json b/symfony/framework-bundle/5.2/manifest.json new file mode 100644 index 000000000..17fa50afa --- /dev/null +++ b/symfony/framework-bundle/5.2/manifest.json @@ -0,0 +1,27 @@ +{ + "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)%" + }, + "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.2/post-install.txt b/symfony/framework-bundle/5.2/post-install.txt new file mode 120000 index 000000000..943d12803 --- /dev/null +++ b/symfony/framework-bundle/5.2/post-install.txt @@ -0,0 +1 @@ +../4.2/post-install.txt \ No newline at end of file diff --git a/symfony/framework-bundle/5.2/public/index.php b/symfony/framework-bundle/5.2/public/index.php new file mode 100644 index 000000000..3bcee0b19 --- /dev/null +++ b/symfony/framework-bundle/5.2/public/index.php @@ -0,0 +1,22 @@ +bootEnv(dirname(__DIR__).'/.env'); + +if ($_SERVER['APP_DEBUG']) { + umask(0000); + + Debug::enable(); +} + +$kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']); +$request = Request::createFromGlobals(); +$response = $kernel->handle($request); +$response->send(); +$kernel->terminate($request, $response); diff --git a/symfony/framework-bundle/5.2/src b/symfony/framework-bundle/5.2/src new file mode 120000 index 000000000..0e2a6e163 --- /dev/null +++ b/symfony/framework-bundle/5.2/src @@ -0,0 +1 @@ +../5.1/src/ \ No newline at end of file From 3c31a9025c5efe8f2e326880a20380139046686b Mon Sep 17 00:00:00 2001 From: skmedix Date: Tue, 7 Jul 2020 03:27:07 +0200 Subject: [PATCH 080/660] :alien: Use new Doctrine Persistence namespace --- .../3.0/src/DataFixtures/AppFixtures.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doctrine/doctrine-fixtures-bundle/3.0/src/DataFixtures/AppFixtures.php b/doctrine/doctrine-fixtures-bundle/3.0/src/DataFixtures/AppFixtures.php index fece4758e..6c20526f4 100644 --- a/doctrine/doctrine-fixtures-bundle/3.0/src/DataFixtures/AppFixtures.php +++ b/doctrine/doctrine-fixtures-bundle/3.0/src/DataFixtures/AppFixtures.php @@ -3,7 +3,7 @@ namespace App\DataFixtures; use Doctrine\Bundle\FixturesBundle\Fixture; -use Doctrine\Common\Persistence\ObjectManager; +use Doctrine\Persistence\ObjectManager; class AppFixtures extends Fixture { From 0681647443d27f1d8fbef1847a9fa990afd1d3e4 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Tue, 14 Jul 2020 16:21:25 +0200 Subject: [PATCH 081/660] Move src/Migrations/ to migrations/ --- .../1.2/config/packages/doctrine_migrations.yaml | 2 +- doctrine/doctrine-migrations-bundle/1.2/manifest.json | 2 +- .../1.2/{src/Migrations => migrations}/.gitignore | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename doctrine/doctrine-migrations-bundle/1.2/{src/Migrations => migrations}/.gitignore (100%) diff --git a/doctrine/doctrine-migrations-bundle/1.2/config/packages/doctrine_migrations.yaml b/doctrine/doctrine-migrations-bundle/1.2/config/packages/doctrine_migrations.yaml index 3bf0fbcae..08e7f0783 100644 --- a/doctrine/doctrine-migrations-bundle/1.2/config/packages/doctrine_migrations.yaml +++ b/doctrine/doctrine-migrations-bundle/1.2/config/packages/doctrine_migrations.yaml @@ -1,5 +1,5 @@ doctrine_migrations: - dir_name: '%kernel.project_dir%/src/Migrations' + dir_name: '%kernel.project_dir%/migrations' # namespace is arbitrary but should be different from App\Migrations # as migrations classes should NOT be autoloaded namespace: DoctrineMigrations diff --git a/doctrine/doctrine-migrations-bundle/1.2/manifest.json b/doctrine/doctrine-migrations-bundle/1.2/manifest.json index c68250dc9..b4f371792 100644 --- a/doctrine/doctrine-migrations-bundle/1.2/manifest.json +++ b/doctrine/doctrine-migrations-bundle/1.2/manifest.json @@ -4,7 +4,7 @@ }, "copy-from-recipe": { "config/": "%CONFIG_DIR%/", - "src/": "%SRC_DIR%/" + "migrations/": "migrations/" }, "aliases": ["doctrine-migrations", "migrations"] } diff --git a/doctrine/doctrine-migrations-bundle/1.2/src/Migrations/.gitignore b/doctrine/doctrine-migrations-bundle/1.2/migrations/.gitignore similarity index 100% rename from doctrine/doctrine-migrations-bundle/1.2/src/Migrations/.gitignore rename to doctrine/doctrine-migrations-bundle/1.2/migrations/.gitignore From 1c7e1a082e2505f2e3ddc473fb4dfacdfb59a9c8 Mon Sep 17 00:00:00 2001 From: Abdouni Abdelkarim Date: Wed, 15 Jul 2020 10:17:21 +0200 Subject: [PATCH 082/660] Update services.yaml Hello, I just remove the `Migrations` directory from the exclude. --- symfony/framework-bundle/4.2/config/services.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/symfony/framework-bundle/4.2/config/services.yaml b/symfony/framework-bundle/4.2/config/services.yaml index 5c4b41757..337b2b084 100644 --- a/symfony/framework-bundle/4.2/config/services.yaml +++ b/symfony/framework-bundle/4.2/config/services.yaml @@ -15,7 +15,7 @@ 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}' + exclude: '../src/{DependencyInjection,Entity,Tests,Kernel.php}' # controllers are imported separately to make sure services can be injected # as action arguments even if you don't extend any base controller class From 60d0656cf54e23957a4a99800a8e7f703bde49ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Pineau?= Date: Thu, 16 Jul 2020 16:21:12 +0200 Subject: [PATCH 083/660] [FrameworkBundle] Use an array for exclude directive --- symfony/framework-bundle/4.2/config/services.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/symfony/framework-bundle/4.2/config/services.yaml b/symfony/framework-bundle/4.2/config/services.yaml index 337b2b084..dd277b5eb 100644 --- a/symfony/framework-bundle/4.2/config/services.yaml +++ b/symfony/framework-bundle/4.2/config/services.yaml @@ -15,7 +15,11 @@ services: # this creates a service per class whose id is the fully-qualified class name App\: resource: '../src/*' - exclude: '../src/{DependencyInjection,Entity,Tests,Kernel.php}' + 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 From 23eb59209a2648219ee692375bc5eed579d42993 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Pineau?= Date: Wed, 22 Jul 2020 10:46:21 +0200 Subject: [PATCH 084/660] Consistency --- symfony/framework-bundle/4.2/config/services.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/symfony/framework-bundle/4.2/config/services.yaml b/symfony/framework-bundle/4.2/config/services.yaml index dd277b5eb..c7296dd5c 100644 --- a/symfony/framework-bundle/4.2/config/services.yaml +++ b/symfony/framework-bundle/4.2/config/services.yaml @@ -14,7 +14,7 @@ services: # 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/*' + resource: '../src/' exclude: - '../src/DependencyInjection/' - '../src/Entity/' @@ -24,7 +24,7 @@ services: # 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' + resource: '../src/Controller/' tags: ['controller.service_arguments'] # add more service definitions when explicit configuration is needed From 81698fad450c7e8ef0c928f50d2c748c046f133b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Pineau?= Date: Mon, 27 Jul 2020 14:34:36 +0200 Subject: [PATCH 085/660] Revert "Merge pull request #802" - ONLY for Symfony 4.3 and 4.4 This reverts commit 0903d762e95345b605fd81127e191d6f2c9acca9, reversing changes made to 0800a647a44da5bdbe8a2edc42f32cb3d294a60f. --- .../framework-bundle/4.2/config/services.yaml | 10 ++---- .../framework-bundle/4.4/config/services.yaml | 32 ++++++++++++++++++- .../framework-bundle/5.1/config/services.yaml | 2 +- 3 files changed, 35 insertions(+), 9 deletions(-) mode change 120000 => 100644 symfony/framework-bundle/4.4/config/services.yaml diff --git a/symfony/framework-bundle/4.2/config/services.yaml b/symfony/framework-bundle/4.2/config/services.yaml index c7296dd5c..337b2b084 100644 --- a/symfony/framework-bundle/4.2/config/services.yaml +++ b/symfony/framework-bundle/4.2/config/services.yaml @@ -14,17 +14,13 @@ services: # 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/' + resource: '../src/*' + exclude: '../src/{DependencyInjection,Entity,Tests,Kernel.php}' # controllers are imported separately to make sure services can be injected # as action arguments even if you don't extend any base controller class App\Controller\: - resource: '../src/Controller/' + resource: '../src/Controller' tags: ['controller.service_arguments'] # add more service definitions when explicit configuration is needed diff --git a/symfony/framework-bundle/4.4/config/services.yaml b/symfony/framework-bundle/4.4/config/services.yaml deleted file mode 120000 index be69bb027..000000000 --- a/symfony/framework-bundle/4.4/config/services.yaml +++ /dev/null @@ -1 +0,0 @@ -../../4.2/config/services.yaml \ No newline at end of file diff --git a/symfony/framework-bundle/4.4/config/services.yaml b/symfony/framework-bundle/4.4/config/services.yaml new file mode 100644 index 000000000..c7296dd5c --- /dev/null +++ b/symfony/framework-bundle/4.4/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/config/services.yaml b/symfony/framework-bundle/5.1/config/services.yaml index be69bb027..9b79d819d 120000 --- a/symfony/framework-bundle/5.1/config/services.yaml +++ b/symfony/framework-bundle/5.1/config/services.yaml @@ -1 +1 @@ -../../4.2/config/services.yaml \ No newline at end of file +../../4.4/config/services.yaml \ No newline at end of file From 51091b735efea08350ae341c4e6d46a4291abaca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20TAMARELLE?= Date: Tue, 11 Aug 2020 23:14:10 +0200 Subject: [PATCH 086/660] Add symfony/google-chat-notifier recipe --- symfony/google-chat-notifier/5.2/manifest.json | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 symfony/google-chat-notifier/5.2/manifest.json diff --git a/symfony/google-chat-notifier/5.2/manifest.json b/symfony/google-chat-notifier/5.2/manifest.json new file mode 100644 index 000000000..508463cf8 --- /dev/null +++ b/symfony/google-chat-notifier/5.2/manifest.json @@ -0,0 +1,6 @@ +{ + "env": { + "#1": "See https://developers.google.com/hangouts/chat/how-tos/webhooks", + "#2": "GOOGLE_CHAT_DSN=googlechat://ACCESS_KEY:ACCESS_TOKEN@default/SPACE?threadKey=THREAD_KEY" + } +} From 1bf5af55dab4f12f2a67be11f02faa8b3306540c Mon Sep 17 00:00:00 2001 From: Mohammad Emran Hasan Date: Wed, 12 Aug 2020 09:21:11 +0600 Subject: [PATCH 087/660] Add Zulip notifier recipe --- symfony/zulip-notifier/manifest.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 symfony/zulip-notifier/manifest.json diff --git a/symfony/zulip-notifier/manifest.json b/symfony/zulip-notifier/manifest.json new file mode 100644 index 000000000..fb1527d7b --- /dev/null +++ b/symfony/zulip-notifier/manifest.json @@ -0,0 +1,5 @@ +{ + "env": { + "#1": "ZULIP_DSN=zulip://EMAIL:APIKEY@ENDPOINT?channel=CHANNEL" + } +} From 1ecd3a9ed68db1da30f07851f9bb91a90528ec76 Mon Sep 17 00:00:00 2001 From: Mohammad Emran Hasan Date: Wed, 12 Aug 2020 09:27:35 +0600 Subject: [PATCH 088/660] Moved manifest into version directory --- symfony/zulip-notifier/{ => 5.2}/manifest.json | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename symfony/zulip-notifier/{ => 5.2}/manifest.json (100%) diff --git a/symfony/zulip-notifier/manifest.json b/symfony/zulip-notifier/5.2/manifest.json similarity index 100% rename from symfony/zulip-notifier/manifest.json rename to symfony/zulip-notifier/5.2/manifest.json From 2a788c7fa3307bf3f199769ef070dfe4176e89b0 Mon Sep 17 00:00:00 2001 From: Bastien DURAND Date: Fri, 1 May 2020 00:31:58 +0200 Subject: [PATCH 089/660] Add Mobyt Notifier recipe --- symfony/mobyt-notifier/5.2/manifest.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 symfony/mobyt-notifier/5.2/manifest.json diff --git a/symfony/mobyt-notifier/5.2/manifest.json b/symfony/mobyt-notifier/5.2/manifest.json new file mode 100644 index 000000000..2c9a4bde4 --- /dev/null +++ b/symfony/mobyt-notifier/5.2/manifest.json @@ -0,0 +1,5 @@ +{ + "env": { + "#1": "MOBYT_DSN=mobyt://USER_KEY:ACCESS_TOKEN@default?from=FROM" + } +} From 0ea75e95655e760f2d4fe39bd8c6e2d934b18ca4 Mon Sep 17 00:00:00 2001 From: Thibaut Cheymol Date: Mon, 17 Aug 2020 22:00:00 +0200 Subject: [PATCH 090/660] [symfony/mailjet-mailer] Add recipe --- symfony/mailjet-mailer/5.2/manifest.json | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 symfony/mailjet-mailer/5.2/manifest.json diff --git a/symfony/mailjet-mailer/5.2/manifest.json b/symfony/mailjet-mailer/5.2/manifest.json new file mode 100644 index 000000000..28e704475 --- /dev/null +++ b/symfony/mailjet-mailer/5.2/manifest.json @@ -0,0 +1,6 @@ +{ + "env": { + "#1": "MAILER_DSN=mailjet+api://PUBLIC_KEY:PRIVATE_KEY@api.mailjet.com", + "#2": "#MAILER_DSN=mailjet+smtp://PUBLIC_KEY:PRIVATE_KEY@in-v3.mailjet.com" + } +} From 98198a6e767fe7d300e367c20743543d84ee693f Mon Sep 17 00:00:00 2001 From: Smaine Milianni Date: Tue, 18 Aug 2020 11:45:52 +0100 Subject: [PATCH 091/660] Add DSN support for LinkedIn --- linkedin-notifier/5.2/manifest.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 linkedin-notifier/5.2/manifest.json diff --git a/linkedin-notifier/5.2/manifest.json b/linkedin-notifier/5.2/manifest.json new file mode 100644 index 000000000..899feb24a --- /dev/null +++ b/linkedin-notifier/5.2/manifest.json @@ -0,0 +1,5 @@ +{ + "env": { + "#1": "LINKEDIN_DSN=linkedin://token:user-id@default" + } +} From 9986c493ff8d06456025746791099d5d22d4b741 Mon Sep 17 00:00:00 2001 From: Smaine Milianni Date: Tue, 18 Aug 2020 11:50:51 +0100 Subject: [PATCH 092/660] move in symfony directory --- .../linkedin-notifier}/5.2/manifest.json | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {linkedin-notifier => symfony/linkedin-notifier}/5.2/manifest.json (100%) diff --git a/linkedin-notifier/5.2/manifest.json b/symfony/linkedin-notifier/5.2/manifest.json similarity index 100% rename from linkedin-notifier/5.2/manifest.json rename to symfony/linkedin-notifier/5.2/manifest.json From 2ab3456e26abf4fbc4951b875c2c2283ee8a6713 Mon Sep 17 00:00:00 2001 From: Smaine Milianni Date: Tue, 18 Aug 2020 13:29:52 +0100 Subject: [PATCH 093/660] rename directory to correspond to codebase --- .../{linkedin-notifier => linked-in-notifier}/5.2/manifest.json | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename symfony/{linkedin-notifier => linked-in-notifier}/5.2/manifest.json (100%) diff --git a/symfony/linkedin-notifier/5.2/manifest.json b/symfony/linked-in-notifier/5.2/manifest.json similarity index 100% rename from symfony/linkedin-notifier/5.2/manifest.json rename to symfony/linked-in-notifier/5.2/manifest.json From 7540e5ccac6ea493f4342225f1b8d290eb159d45 Mon Sep 17 00:00:00 2001 From: Ryan Weaver Date: Wed, 19 Aug 2020 09:05:28 -0400 Subject: [PATCH 094/660] Tweaking phpunit post-install message to give more information/context --- phpunit/phpunit/4.7/post-install.txt | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/phpunit/phpunit/4.7/post-install.txt b/phpunit/phpunit/4.7/post-install.txt index 103458f0d..64233d014 100644 --- a/phpunit/phpunit/4.7/post-install.txt +++ b/phpunit/phpunit/4.7/post-install.txt @@ -1,7 +1,11 @@ - - Adding phpunit/phpunit as a dependency is discouraged in favor of Symfony's PHPUnit Bridge. - + + Suggest: install Symfony's PHPUnit Bridge instead of phpunit/phpunit + - * Instead: - 1. Remove it now: composer remove --dev phpunit/phpunit - 2. Use Symfony's bridge: composer require --dev phpunit +Symfony's PHPUnit bridge is a wrapper around PHPUnit that adds reports for deprecated code +calls, an isolated PHPUnit that's separate from the dependencies of your app and more. +See: https://symfony.com/doc/current/components/phpunit_bridge.html. + + * To install the PHPUnit bridge: + 1. Remove PHPUnit: composer remove --dev phpunit/phpunit + 2. Install Symfony's bridge: composer require --dev phpunit From e254114b5ab28e622c85c34b140a1e69b8ee6232 Mon Sep 17 00:00:00 2001 From: Ryan Weaver Date: Wed, 19 Aug 2020 09:11:40 -0400 Subject: [PATCH 095/660] Using non-Flex alias This is because, it *does* look a little odd to remove phpunit/phpunit and require phpunit. This is more descriptive --- phpunit/phpunit/4.7/post-install.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpunit/phpunit/4.7/post-install.txt b/phpunit/phpunit/4.7/post-install.txt index 64233d014..06e3761dd 100644 --- a/phpunit/phpunit/4.7/post-install.txt +++ b/phpunit/phpunit/4.7/post-install.txt @@ -8,4 +8,4 @@ See: https://symfony.com/doc/current/components/phpunit_bridge.html. * To install the PHPUnit bridge: 1. Remove PHPUnit: composer remove --dev phpunit/phpunit - 2. Install Symfony's bridge: composer require --dev phpunit + 2. Install Symfony's bridge: composer require --dev symfony/phpunit-bridge From 716d324d9c4618d65c638dcd1b19796e0a248207 Mon Sep 17 00:00:00 2001 From: Ryan Weaver Date: Wed, 19 Aug 2020 09:15:48 -0400 Subject: [PATCH 096/660] tweaking wording --- phpunit/phpunit/4.7/post-install.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpunit/phpunit/4.7/post-install.txt b/phpunit/phpunit/4.7/post-install.txt index 06e3761dd..937bc071a 100644 --- a/phpunit/phpunit/4.7/post-install.txt +++ b/phpunit/phpunit/4.7/post-install.txt @@ -6,6 +6,6 @@ Symfony's PHPUnit bridge is a wrapper around PHPUnit that adds reports for depre calls, an isolated PHPUnit that's separate from the dependencies of your app and more. See: https://symfony.com/doc/current/components/phpunit_bridge.html. - * To install the PHPUnit bridge: + * If you want to install the PHPUnit bridge: 1. Remove PHPUnit: composer remove --dev phpunit/phpunit 2. Install Symfony's bridge: composer require --dev symfony/phpunit-bridge From 8c88181e1653251108e44a9b25596261252d3c3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Romey?= Date: Thu, 20 Aug 2020 10:33:55 +0200 Subject: [PATCH 097/660] Add DSN support for Infobip --- symfony/infobip-notifier/5.2/manifest.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 symfony/infobip-notifier/5.2/manifest.json diff --git a/symfony/infobip-notifier/5.2/manifest.json b/symfony/infobip-notifier/5.2/manifest.json new file mode 100644 index 000000000..569c1a045 --- /dev/null +++ b/symfony/infobip-notifier/5.2/manifest.json @@ -0,0 +1,5 @@ +{ + "env": { + "#1": "INFOBIP_DSN=infobip://authtoken@default?from=FROM" + } +} From 4308adebf1e0cc1464639402b0b40686e8d6f438 Mon Sep 17 00:00:00 2001 From: Olivier Dolbeau Date: Tue, 25 Aug 2020 15:19:55 +0200 Subject: [PATCH 098/660] Create recipe for symfony/esendex-notifier --- symfony/esendex-notifier/5.2/manifest.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 symfony/esendex-notifier/5.2/manifest.json diff --git a/symfony/esendex-notifier/5.2/manifest.json b/symfony/esendex-notifier/5.2/manifest.json new file mode 100644 index 000000000..a3d1ab101 --- /dev/null +++ b/symfony/esendex-notifier/5.2/manifest.json @@ -0,0 +1,5 @@ +{ + "env": { + "#1": "ESENDEX_DSN=esendex://EMAIL:PASSWORD@default?accountreference=ACCOUNT_REFERENCE&from=FROM" + } +} From 222a52597648ceecfcbd2408f0651eb83e1116cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Romey?= Date: Thu, 27 Aug 2020 17:37:41 +0200 Subject: [PATCH 099/660] Update Infobip DSN --- symfony/infobip-notifier/5.2/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/symfony/infobip-notifier/5.2/manifest.json b/symfony/infobip-notifier/5.2/manifest.json index 569c1a045..b6990caae 100644 --- a/symfony/infobip-notifier/5.2/manifest.json +++ b/symfony/infobip-notifier/5.2/manifest.json @@ -1,5 +1,5 @@ { "env": { - "#1": "INFOBIP_DSN=infobip://authtoken@default?from=FROM" + "#1": "INFOBIP_DSN=infobip://AUTH_TOKEN@INFOBIP_HOST?from=FROM" } } From 393641b9a395cfabcf703bb30c9605f78a120b00 Mon Sep 17 00:00:00 2001 From: Diego Aguiar Date: Mon, 31 Aug 2020 11:07:01 -0600 Subject: [PATCH 100/660] Update old namespace --- .../3.0/src/DataFixtures/AppFixtures.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doctrine/doctrine-fixtures-bundle/3.0/src/DataFixtures/AppFixtures.php b/doctrine/doctrine-fixtures-bundle/3.0/src/DataFixtures/AppFixtures.php index 6c20526f4..fece4758e 100644 --- a/doctrine/doctrine-fixtures-bundle/3.0/src/DataFixtures/AppFixtures.php +++ b/doctrine/doctrine-fixtures-bundle/3.0/src/DataFixtures/AppFixtures.php @@ -3,7 +3,7 @@ namespace App\DataFixtures; use Doctrine\Bundle\FixturesBundle\Fixture; -use Doctrine\Persistence\ObjectManager; +use Doctrine\Common\Persistence\ObjectManager; class AppFixtures extends Fixture { From fd641449faa4e639f6d1155dd4ca751a8f331b52 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Tue, 1 Sep 2020 07:48:51 +0200 Subject: [PATCH 101/660] Revert "Merge pull request #815" This reverts commit 14d8ad9eb5259382f26cedae6381b3ab03f101ae, reversing changes made to ec008e83cf1afbbf4a6cd93109fbd83088906d93. --- .../3.0/src/DataFixtures/AppFixtures.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doctrine/doctrine-fixtures-bundle/3.0/src/DataFixtures/AppFixtures.php b/doctrine/doctrine-fixtures-bundle/3.0/src/DataFixtures/AppFixtures.php index fece4758e..6c20526f4 100644 --- a/doctrine/doctrine-fixtures-bundle/3.0/src/DataFixtures/AppFixtures.php +++ b/doctrine/doctrine-fixtures-bundle/3.0/src/DataFixtures/AppFixtures.php @@ -3,7 +3,7 @@ namespace App\DataFixtures; use Doctrine\Bundle\FixturesBundle\Fixture; -use Doctrine\Common\Persistence\ObjectManager; +use Doctrine\Persistence\ObjectManager; class AppFixtures extends Fixture { From 78e98c4a03fe05089db4005086b6015c22c2a3eb Mon Sep 17 00:00:00 2001 From: Mathieu Piot Date: Tue, 1 Sep 2020 19:03:52 +0200 Subject: [PATCH 102/660] Add Discord notifier recipe --- symfony/discord-notifier/5.2/manifest.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 symfony/discord-notifier/5.2/manifest.json diff --git a/symfony/discord-notifier/5.2/manifest.json b/symfony/discord-notifier/5.2/manifest.json new file mode 100644 index 000000000..e6b94fabc --- /dev/null +++ b/symfony/discord-notifier/5.2/manifest.json @@ -0,0 +1,5 @@ +{ + "env": { + "#1": "DISCORD_DSN=discord://TOKEN@default?channel=ID" + } +} From 576fb6ad07e8a82bf38c5f09e7be0e7021ed3839 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Fri, 4 Sep 2020 16:32:10 +0200 Subject: [PATCH 103/660] List .preload.php in .gitignore --- symfony/framework-bundle/4.2/manifest.json | 1 + symfony/framework-bundle/5.2/manifest.json | 1 + 2 files changed, 2 insertions(+) diff --git a/symfony/framework-bundle/4.2/manifest.json b/symfony/framework-bundle/4.2/manifest.json index 101b2aa23..ea4dc7e6d 100644 --- a/symfony/framework-bundle/4.2/manifest.json +++ b/symfony/framework-bundle/4.2/manifest.json @@ -23,6 +23,7 @@ "/.env.*.local", "/%CONFIG_DIR%/secrets/prod/prod.decrypt.private.php", "/%PUBLIC_DIR%/bundles/", + "/%SRC_DIR%/preload.php", "/%VAR_DIR%/", "/vendor/" ] diff --git a/symfony/framework-bundle/5.2/manifest.json b/symfony/framework-bundle/5.2/manifest.json index 17fa50afa..63288fde9 100644 --- a/symfony/framework-bundle/5.2/manifest.json +++ b/symfony/framework-bundle/5.2/manifest.json @@ -21,6 +21,7 @@ "/.env.*.local", "/%CONFIG_DIR%/secrets/prod/prod.decrypt.private.php", "/%PUBLIC_DIR%/bundles/", + "/%SRC_DIR%/preload.php", "/%VAR_DIR%/", "/vendor/" ] From 2e86b42fbdc62d85eae66b4291ca1e3d59637f0f Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Thu, 10 Sep 2020 14:35:03 +0200 Subject: [PATCH 104/660] Adopt src/.preload.php --- symfony/framework-bundle/4.2/manifest.json | 2 +- symfony/framework-bundle/5.2/manifest.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/symfony/framework-bundle/4.2/manifest.json b/symfony/framework-bundle/4.2/manifest.json index ea4dc7e6d..2c8abdb56 100644 --- a/symfony/framework-bundle/4.2/manifest.json +++ b/symfony/framework-bundle/4.2/manifest.json @@ -23,7 +23,7 @@ "/.env.*.local", "/%CONFIG_DIR%/secrets/prod/prod.decrypt.private.php", "/%PUBLIC_DIR%/bundles/", - "/%SRC_DIR%/preload.php", + "/%SRC_DIR%/.preload.php", "/%VAR_DIR%/", "/vendor/" ] diff --git a/symfony/framework-bundle/5.2/manifest.json b/symfony/framework-bundle/5.2/manifest.json index 63288fde9..e6c508574 100644 --- a/symfony/framework-bundle/5.2/manifest.json +++ b/symfony/framework-bundle/5.2/manifest.json @@ -21,7 +21,7 @@ "/.env.*.local", "/%CONFIG_DIR%/secrets/prod/prod.decrypt.private.php", "/%PUBLIC_DIR%/bundles/", - "/%SRC_DIR%/preload.php", + "/%SRC_DIR%/.preload.php", "/%VAR_DIR%/", "/vendor/" ] From a2d944bd50aa71323036194d3a3bb04edb16389f Mon Sep 17 00:00:00 2001 From: Jorrit Schippers Date: Wed, 16 Sep 2020 13:58:26 +0200 Subject: [PATCH 105/660] Add recipe for symfony/requirements-checker 2.0 --- symfony/requirements-checker/2.0/manifest.json | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 symfony/requirements-checker/2.0/manifest.json diff --git a/symfony/requirements-checker/2.0/manifest.json b/symfony/requirements-checker/2.0/manifest.json new file mode 100644 index 000000000..aa246a082 --- /dev/null +++ b/symfony/requirements-checker/2.0/manifest.json @@ -0,0 +1,6 @@ +{ + "composer-scripts": { + "requirements-checker": "script" + }, + "aliases": ["requirement-check", "requirement-checker", "req-checker", "req-check", "req-checks"] +} From 7582663796d6b55907862f8a60f2656086c3d4aa Mon Sep 17 00:00:00 2001 From: drixs6o9 Date: Thu, 24 Sep 2020 08:17:28 +0200 Subject: [PATCH 106/660] [MAILER] Added Sendinblue bridge recipe --- symfony/sendinblue-mailer/5.3/manifest.json | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 symfony/sendinblue-mailer/5.3/manifest.json diff --git a/symfony/sendinblue-mailer/5.3/manifest.json b/symfony/sendinblue-mailer/5.3/manifest.json new file mode 100644 index 000000000..879de6140 --- /dev/null +++ b/symfony/sendinblue-mailer/5.3/manifest.json @@ -0,0 +1,7 @@ +{ + "env": { + "#1": "MAILER_DSN=sendinblue+api://KEY@default", + "#2": "MAILER_DSN=sendinblue+smtps://USERNAME:PASSWORD@default", + "#3": "MAILER_DSN=sendinblue+smtp://USERNAME:PASSWORD@default" + } +} From ba6eae4c9c3909e228c1a4f76b39e1ec65c5d6cf Mon Sep 17 00:00:00 2001 From: drixs6o9 Date: Thu, 24 Sep 2020 14:12:20 +0200 Subject: [PATCH 107/660] Removed Smtps DSN and moved recipe for 5.2 --- symfony/sendinblue-mailer/5.2/manifest.json | 6 ++++++ symfony/sendinblue-mailer/5.3/manifest.json | 7 ------- 2 files changed, 6 insertions(+), 7 deletions(-) create mode 100644 symfony/sendinblue-mailer/5.2/manifest.json delete mode 100644 symfony/sendinblue-mailer/5.3/manifest.json diff --git a/symfony/sendinblue-mailer/5.2/manifest.json b/symfony/sendinblue-mailer/5.2/manifest.json new file mode 100644 index 000000000..5c3bf2500 --- /dev/null +++ b/symfony/sendinblue-mailer/5.2/manifest.json @@ -0,0 +1,6 @@ +{ + "env": { + "#1": "MAILER_DSN=sendinblue+api://KEY@default", + "#2": "MAILER_DSN=sendinblue+smtp://USERNAME:PASSWORD@default" + } +} diff --git a/symfony/sendinblue-mailer/5.3/manifest.json b/symfony/sendinblue-mailer/5.3/manifest.json deleted file mode 100644 index 879de6140..000000000 --- a/symfony/sendinblue-mailer/5.3/manifest.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "env": { - "#1": "MAILER_DSN=sendinblue+api://KEY@default", - "#2": "MAILER_DSN=sendinblue+smtps://USERNAME:PASSWORD@default", - "#3": "MAILER_DSN=sendinblue+smtp://USERNAME:PASSWORD@default" - } -} From 3b7021c2acca3610d12223df60197b0b60a4579f Mon Sep 17 00:00:00 2001 From: Mathieu Piot Date: Fri, 25 Sep 2020 18:21:34 +0200 Subject: [PATCH 108/660] Rename channel to webhook_id --- symfony/discord-notifier/5.2/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/symfony/discord-notifier/5.2/manifest.json b/symfony/discord-notifier/5.2/manifest.json index e6b94fabc..197c7d8b6 100644 --- a/symfony/discord-notifier/5.2/manifest.json +++ b/symfony/discord-notifier/5.2/manifest.json @@ -1,5 +1,5 @@ { "env": { - "#1": "DISCORD_DSN=discord://TOKEN@default?channel=ID" + "#1": "DISCORD_DSN=discord://TOKEN@default?webhook_id=ID" } } From 52c4a8d8d0b2f0aca27d893cb87a7f2a18f02b2d Mon Sep 17 00:00:00 2001 From: Mathias Arlaud Date: Fri, 25 Sep 2020 19:19:54 +0200 Subject: [PATCH 109/660] Added API Platform 2.6 recipe Same as 2.5 recipe but with `defaults.stateless` set to `true` --- api-platform/core/2.6/config/packages/api_platform.yaml | 9 +++++++++ api-platform/core/2.6/config/routes | 1 + api-platform/core/2.6/manifest.json | 1 + api-platform/core/2.6/post-install.txt | 1 + api-platform/core/2.6/src | 1 + 5 files changed, 13 insertions(+) create mode 100644 api-platform/core/2.6/config/packages/api_platform.yaml create mode 120000 api-platform/core/2.6/config/routes create mode 120000 api-platform/core/2.6/manifest.json create mode 120000 api-platform/core/2.6/post-install.txt create mode 120000 api-platform/core/2.6/src diff --git a/api-platform/core/2.6/config/packages/api_platform.yaml b/api-platform/core/2.6/config/packages/api_platform.yaml new file mode 100644 index 000000000..975d3b6bb --- /dev/null +++ b/api-platform/core/2.6/config/packages/api_platform.yaml @@ -0,0 +1,9 @@ +api_platform: + mapping: + paths: ['%kernel.project_dir%/src/Entity'] + patch_formats: + json: ['application/merge-patch+json'] + swagger: + versions: [3] + defaults: + stateless: true diff --git a/api-platform/core/2.6/config/routes b/api-platform/core/2.6/config/routes new file mode 120000 index 000000000..b0b4cf19a --- /dev/null +++ b/api-platform/core/2.6/config/routes @@ -0,0 +1 @@ +../../2.1/config/routes \ No newline at end of file diff --git a/api-platform/core/2.6/manifest.json b/api-platform/core/2.6/manifest.json new file mode 120000 index 000000000..083ea6afd --- /dev/null +++ b/api-platform/core/2.6/manifest.json @@ -0,0 +1 @@ +../2.1/manifest.json \ No newline at end of file diff --git a/api-platform/core/2.6/post-install.txt b/api-platform/core/2.6/post-install.txt new file mode 120000 index 000000000..27388f27c --- /dev/null +++ b/api-platform/core/2.6/post-install.txt @@ -0,0 +1 @@ +../2.1/post-install.txt \ No newline at end of file diff --git a/api-platform/core/2.6/src b/api-platform/core/2.6/src new file mode 120000 index 000000000..783ae52e8 --- /dev/null +++ b/api-platform/core/2.6/src @@ -0,0 +1 @@ +../2.1/src \ No newline at end of file From 910cccb59ae7fc7cc1a4aa1b846ed070f2576363 Mon Sep 17 00:00:00 2001 From: Titouan Galopin Date: Thu, 18 Jun 2020 23:57:18 +0200 Subject: [PATCH 110/660] [Webpack Encore] Change default assets directory structure --- symfony/webpack-encore-bundle/1.0/assets/{js => }/app.js | 4 ++-- .../1.0/assets/{css => styles}/app.css | 0 symfony/webpack-encore-bundle/1.0/webpack.config.js | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) rename symfony/webpack-encore-bundle/1.0/assets/{js => }/app.js (80%) rename symfony/webpack-encore-bundle/1.0/assets/{css => styles}/app.css (100%) diff --git a/symfony/webpack-encore-bundle/1.0/assets/js/app.js b/symfony/webpack-encore-bundle/1.0/assets/app.js similarity index 80% rename from symfony/webpack-encore-bundle/1.0/assets/js/app.js rename to symfony/webpack-encore-bundle/1.0/assets/app.js index 1748c1495..fe9696ec3 100644 --- a/symfony/webpack-encore-bundle/1.0/assets/js/app.js +++ b/symfony/webpack-encore-bundle/1.0/assets/app.js @@ -6,9 +6,9 @@ */ // any CSS you import will output into a single css file (app.css in this case) -import '../css/app.css'; +import './styles/app.css'; // Need jQuery? Install it with "yarn add jquery", then uncomment to import it. // import $ from 'jquery'; -console.log('Hello Webpack Encore! Edit me in assets/js/app.js'); +console.log('Hello Webpack Encore! Edit me in assets/app.js'); diff --git a/symfony/webpack-encore-bundle/1.0/assets/css/app.css b/symfony/webpack-encore-bundle/1.0/assets/styles/app.css similarity index 100% rename from symfony/webpack-encore-bundle/1.0/assets/css/app.css rename to symfony/webpack-encore-bundle/1.0/assets/styles/app.css diff --git a/symfony/webpack-encore-bundle/1.0/webpack.config.js b/symfony/webpack-encore-bundle/1.0/webpack.config.js index e8b42835e..3cedc3770 100644 --- a/symfony/webpack-encore-bundle/1.0/webpack.config.js +++ b/symfony/webpack-encore-bundle/1.0/webpack.config.js @@ -23,9 +23,9 @@ Encore * 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/js/app.js') - //.addEntry('page1', './assets/js/page1.js') - //.addEntry('page2', './assets/js/page2.js') + .addEntry('app', './assets/app.js') + //.addEntry('page1', './assets/page1.js') + //.addEntry('page2', './assets/page2.js') // When enabled, Webpack "splits" your files into smaller pieces for greater optimization. .splitEntryChunks() @@ -68,7 +68,7 @@ Encore // uncomment if you use API Platform Admin (composer req api-admin) //.enableReactPreset() - //.addEntry('admin', './assets/js/admin.js') + //.addEntry('admin', './assets/admin.js') ; module.exports = Encore.getWebpackConfig(); From 90f1244506b199117ecbd8ee8b94219ac212a1e5 Mon Sep 17 00:00:00 2001 From: drixs6o9 Date: Tue, 29 Sep 2020 09:42:36 +0200 Subject: [PATCH 111/660] [Notifier] Added Sendinblue bridge recipe --- symfony/sendinblue-notifier/5.2/manifest.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 symfony/sendinblue-notifier/5.2/manifest.json diff --git a/symfony/sendinblue-notifier/5.2/manifest.json b/symfony/sendinblue-notifier/5.2/manifest.json new file mode 100644 index 000000000..875737816 --- /dev/null +++ b/symfony/sendinblue-notifier/5.2/manifest.json @@ -0,0 +1,5 @@ +{ + "env": { + "#1": "SENDINBLUE_DSN=sendinblue://API_KEY@default?sender=PHONE" + } +} From 3200b76257572c9a35ce33e00ba9485a4838d379 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Tue, 29 Sep 2020 11:40:15 +0200 Subject: [PATCH 112/660] [symfony/framework-bundle] Add config/preload.php --- symfony/framework-bundle/4.2/manifest.json | 1 - symfony/framework-bundle/4.4/config/preload.php | 9 +++++++++ symfony/framework-bundle/5.1/config/preload.php | 5 +++++ symfony/framework-bundle/5.2/manifest.json | 1 - 4 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 symfony/framework-bundle/4.4/config/preload.php create mode 100644 symfony/framework-bundle/5.1/config/preload.php diff --git a/symfony/framework-bundle/4.2/manifest.json b/symfony/framework-bundle/4.2/manifest.json index 2c8abdb56..101b2aa23 100644 --- a/symfony/framework-bundle/4.2/manifest.json +++ b/symfony/framework-bundle/4.2/manifest.json @@ -23,7 +23,6 @@ "/.env.*.local", "/%CONFIG_DIR%/secrets/prod/prod.decrypt.private.php", "/%PUBLIC_DIR%/bundles/", - "/%SRC_DIR%/.preload.php", "/%VAR_DIR%/", "/vendor/" ] diff --git a/symfony/framework-bundle/4.4/config/preload.php b/symfony/framework-bundle/4.4/config/preload.php new file mode 100644 index 000000000..064bdcd6a --- /dev/null +++ b/symfony/framework-bundle/4.4/config/preload.php @@ -0,0 +1,9 @@ + Date: Thu, 1 Oct 2020 11:53:12 +0200 Subject: [PATCH 113/660] [FrameworkBundle] Simplify the service and route registration Bracket are not needed since we can be sure the file exist --- symfony/framework-bundle/5.1/src/Kernel.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/symfony/framework-bundle/5.1/src/Kernel.php b/symfony/framework-bundle/5.1/src/Kernel.php index b0168617a..655e79665 100644 --- a/symfony/framework-bundle/5.1/src/Kernel.php +++ b/symfony/framework-bundle/5.1/src/Kernel.php @@ -17,7 +17,7 @@ protected function configureContainer(ContainerConfigurator $container): void $container->import('../config/{packages}/'.$this->environment.'/*.yaml'); if (is_file(\dirname(__DIR__).'/config/services.yaml')) { - $container->import('../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); @@ -30,7 +30,7 @@ protected function configureRoutes(RoutingConfigurator $routes): void $routes->import('../config/{routes}/*.yaml'); if (is_file(\dirname(__DIR__).'/config/routes.yaml')) { - $routes->import('../config/{routes}.yaml'); + $routes->import('../config/routes.yaml'); } elseif (is_file($path = \dirname(__DIR__).'/config/routes.php')) { (require $path)($routes->withPath($path), $this); } From 789e74e38bdc90d34fd177418fcea53dda2983a3 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Thu, 1 Oct 2020 15:45:17 +0200 Subject: [PATCH 114/660] Added an empty recipe for EA3 --- easycorp/easyadmin-bundle/3.0/manifest.json | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 easycorp/easyadmin-bundle/3.0/manifest.json diff --git a/easycorp/easyadmin-bundle/3.0/manifest.json b/easycorp/easyadmin-bundle/3.0/manifest.json new file mode 100644 index 000000000..bd6763a52 --- /dev/null +++ b/easycorp/easyadmin-bundle/3.0/manifest.json @@ -0,0 +1,6 @@ +{ + "bundles": { + "EasyCorp\\Bundle\\EasyAdminBundle\\EasyAdminBundle": ["all"] + }, + "aliases": ["admin-gen", "admin-generator", "admin"] +} From cbea04db9f6ccc31cd75dbd72cd1524571fbae76 Mon Sep 17 00:00:00 2001 From: Maxime Veber Date: Wed, 7 Oct 2020 14:16:33 +0200 Subject: [PATCH 115/660] Remove support for Behat Sf Extension The problem here is that the symfony extension for behat is not maintained and not compatible with new versions of Symfony. It has been officialized here: https://github.com/Behat/Symfony2Extension/pull/152#issuecomment-698408775 The new correct way to use behat with Symfony is to use the package symfony extension from the FriendsOfBehat organization. - https://github.com/FriendsOfBehat/SymfonyExtension - https://github.com/symfony/recipes-contrib/tree/master/friends-of-behat/symfony-extension/2.0 --- behat/symfony2-extension/2.1/behat.yml.dist | 12 ----- .../2.1/features/bootstrap/FeatureContext.php | 48 ------------------- .../2.1/features/bootstrap/bootstrap.php | 11 ----- .../2.1/features/demo.feature | 12 ----- behat/symfony2-extension/2.1/manifest.json | 8 ---- behat/symfony2-extension/2.1/post-install.txt | 2 - 6 files changed, 93 deletions(-) delete mode 100644 behat/symfony2-extension/2.1/behat.yml.dist delete mode 100644 behat/symfony2-extension/2.1/features/bootstrap/FeatureContext.php delete mode 100644 behat/symfony2-extension/2.1/features/bootstrap/bootstrap.php delete mode 100644 behat/symfony2-extension/2.1/features/demo.feature delete mode 100644 behat/symfony2-extension/2.1/manifest.json delete mode 100644 behat/symfony2-extension/2.1/post-install.txt diff --git a/behat/symfony2-extension/2.1/behat.yml.dist b/behat/symfony2-extension/2.1/behat.yml.dist deleted file mode 100644 index b4de76f64..000000000 --- a/behat/symfony2-extension/2.1/behat.yml.dist +++ /dev/null @@ -1,12 +0,0 @@ -default: - suites: - default: - contexts: - - FeatureContext: - kernel: '@kernel' - - extensions: - Behat\Symfony2Extension: - kernel: - bootstrap: features/bootstrap/bootstrap.php - class: App\Kernel diff --git a/behat/symfony2-extension/2.1/features/bootstrap/FeatureContext.php b/behat/symfony2-extension/2.1/features/bootstrap/FeatureContext.php deleted file mode 100644 index 36378b59e..000000000 --- a/behat/symfony2-extension/2.1/features/bootstrap/FeatureContext.php +++ /dev/null @@ -1,48 +0,0 @@ -kernel = $kernel; - } - - /** - * @When a demo scenario sends a request to :path - */ - public function aDemoScenarioSendsARequestTo(string $path) - { - $this->response = $this->kernel->handle(Request::create($path, 'GET')); - } - - /** - * @Then the response should be received - */ - public function theResponseShouldBeReceived() - { - if ($this->response === null) { - throw new \RuntimeException('No response received'); - } - } -} diff --git a/behat/symfony2-extension/2.1/features/bootstrap/bootstrap.php b/behat/symfony2-extension/2.1/features/bootstrap/bootstrap.php deleted file mode 100644 index c6d7aa061..000000000 --- a/behat/symfony2-extension/2.1/features/bootstrap/bootstrap.php +++ /dev/null @@ -1,11 +0,0 @@ -bootEnv(dirname(__DIR__, 2).'/.env'); -} diff --git a/behat/symfony2-extension/2.1/features/demo.feature b/behat/symfony2-extension/2.1/features/demo.feature deleted file mode 100644 index 295db96ef..000000000 --- a/behat/symfony2-extension/2.1/features/demo.feature +++ /dev/null @@ -1,12 +0,0 @@ -# This file contains a user story for demonstration only. -# Learn how to get started with Behat and BDD on Behat's website: -# http://behat.org/en/latest/quick_start.html - -Feature: - In order to prove that the Behat Symfony extension is correctly installed - As a user - I want to have a demo scenario - - Scenario: It receives a response from Symfony's kernel - When a demo scenario sends a request to "/" - Then the response should be received diff --git a/behat/symfony2-extension/2.1/manifest.json b/behat/symfony2-extension/2.1/manifest.json deleted file mode 100644 index 73d923207..000000000 --- a/behat/symfony2-extension/2.1/manifest.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "copy-from-recipe": { - "behat.yml.dist": "behat.yml.dist", - "features/": "features/" - }, - "aliases": ["behat"], - "gitignore": ["behat.yml"] -} diff --git a/behat/symfony2-extension/2.1/post-install.txt b/behat/symfony2-extension/2.1/post-install.txt deleted file mode 100644 index 174c1204d..000000000 --- a/behat/symfony2-extension/2.1/post-install.txt +++ /dev/null @@ -1,2 +0,0 @@ - Next for Behat/SymfonyExtension - Run vendor/bin/behat to run the demo tests. From 8c7c8eb74cd29b884d9a0bb429d149ca3d19c3c8 Mon Sep 17 00:00:00 2001 From: Piergiuseppe Longo Date: Fri, 23 Oct 2020 10:52:28 +0200 Subject: [PATCH 116/660] Add gatewayapi-notifier recipe --- symfony/gatewayapi-notifier/5.2/manifest.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 symfony/gatewayapi-notifier/5.2/manifest.json diff --git a/symfony/gatewayapi-notifier/5.2/manifest.json b/symfony/gatewayapi-notifier/5.2/manifest.json new file mode 100644 index 000000000..0b36a1b58 --- /dev/null +++ b/symfony/gatewayapi-notifier/5.2/manifest.json @@ -0,0 +1,5 @@ +{ + "env": { + "#1": "GATEWAYAPI_DSN=gatewayapi://AUTH_TOKEN@default?from=SENDER" + } +} From 64c862d4706703159b5acc45c80a2e7c0a9d64d0 Mon Sep 17 00:00:00 2001 From: TavoNiievez <64917965+TavoNiievez@users.noreply.github.com> Date: Mon, 2 Nov 2020 11:31:25 -0500 Subject: [PATCH 117/660] using latest Encore version 0.30 to 0.31 --- symfony/webpack-encore-bundle/1.0/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/symfony/webpack-encore-bundle/1.0/package.json b/symfony/webpack-encore-bundle/1.0/package.json index 561dc6326..f2159a67a 100644 --- a/symfony/webpack-encore-bundle/1.0/package.json +++ b/symfony/webpack-encore-bundle/1.0/package.json @@ -1,6 +1,6 @@ { "devDependencies": { - "@symfony/webpack-encore": "^0.30.0", + "@symfony/webpack-encore": "^0.31.0", "core-js": "^3.0.0", "regenerator-runtime": "^0.13.2", "webpack-notifier": "^1.6.0" From 344dce363ff387e35db0ad4c5b022c6fc1adabf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Deruss=C3=A9?= Date: Mon, 2 Nov 2020 18:23:51 +0100 Subject: [PATCH 118/660] Replace deprecated constant --- symfony/framework-bundle/3.3/public/index.php | 2 +- symfony/framework-bundle/4.2/public/index.php | 2 +- symfony/framework-bundle/4.4/public/index.php | 2 +- symfony/framework-bundle/5.1/public/index.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/symfony/framework-bundle/3.3/public/index.php b/symfony/framework-bundle/3.3/public/index.php index 59e2e4d4f..929197ce0 100644 --- a/symfony/framework-bundle/3.3/public/index.php +++ b/symfony/framework-bundle/3.3/public/index.php @@ -13,7 +13,7 @@ } if ($trustedProxies = $_SERVER['TRUSTED_PROXIES'] ?? false) { - Request::setTrustedProxies(explode(',', $trustedProxies), Request::HEADER_X_FORWARDED_ALL ^ Request::HEADER_X_FORWARDED_HOST); + Request::setTrustedProxies(explode(',', $trustedProxies), Request::HEADER_X_FORWARDED_FOR | Request::HEADER_X_FORWARDED_PORT | Request::HEADER_X_FORWARDED_PROTO); } if ($trustedHosts = $_SERVER['TRUSTED_HOSTS'] ?? false) { diff --git a/symfony/framework-bundle/4.2/public/index.php b/symfony/framework-bundle/4.2/public/index.php index 59e2e4d4f..929197ce0 100644 --- a/symfony/framework-bundle/4.2/public/index.php +++ b/symfony/framework-bundle/4.2/public/index.php @@ -13,7 +13,7 @@ } if ($trustedProxies = $_SERVER['TRUSTED_PROXIES'] ?? false) { - Request::setTrustedProxies(explode(',', $trustedProxies), Request::HEADER_X_FORWARDED_ALL ^ Request::HEADER_X_FORWARDED_HOST); + Request::setTrustedProxies(explode(',', $trustedProxies), Request::HEADER_X_FORWARDED_FOR | Request::HEADER_X_FORWARDED_PORT | Request::HEADER_X_FORWARDED_PROTO); } if ($trustedHosts = $_SERVER['TRUSTED_HOSTS'] ?? false) { diff --git a/symfony/framework-bundle/4.4/public/index.php b/symfony/framework-bundle/4.4/public/index.php index 0e3037012..d0b6e0207 100644 --- a/symfony/framework-bundle/4.4/public/index.php +++ b/symfony/framework-bundle/4.4/public/index.php @@ -13,7 +13,7 @@ } if ($trustedProxies = $_SERVER['TRUSTED_PROXIES'] ?? false) { - Request::setTrustedProxies(explode(',', $trustedProxies), Request::HEADER_X_FORWARDED_ALL ^ Request::HEADER_X_FORWARDED_HOST); + Request::setTrustedProxies(explode(',', $trustedProxies), Request::HEADER_X_FORWARDED_FOR | Request::HEADER_X_FORWARDED_PORT | Request::HEADER_X_FORWARDED_PROTO); } if ($trustedHosts = $_SERVER['TRUSTED_HOSTS'] ?? false) { diff --git a/symfony/framework-bundle/5.1/public/index.php b/symfony/framework-bundle/5.1/public/index.php index 3f8b90e50..097baa370 100644 --- a/symfony/framework-bundle/5.1/public/index.php +++ b/symfony/framework-bundle/5.1/public/index.php @@ -16,7 +16,7 @@ } if ($trustedProxies = $_SERVER['TRUSTED_PROXIES'] ?? false) { - Request::setTrustedProxies(explode(',', $trustedProxies), Request::HEADER_X_FORWARDED_ALL ^ Request::HEADER_X_FORWARDED_HOST); + Request::setTrustedProxies(explode(',', $trustedProxies), Request::HEADER_X_FORWARDED_FOR | Request::HEADER_X_FORWARDED_PORT | Request::HEADER_X_FORWARDED_PROTO); } if ($trustedHosts = $_SERVER['TRUSTED_HOSTS'] ?? false) { From da8b0993ab38c24d0d4f6709b8d7c0e86dc9e8bc Mon Sep 17 00:00:00 2001 From: Kevin Auivinet Date: Mon, 2 Nov 2020 21:21:00 +0100 Subject: [PATCH 119/660] Add recipe for the clickatell notifier - https://github.com/symfony/symfony/pull/38922 --- symfony/clickatell-notifier/5.3/manifest.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 symfony/clickatell-notifier/5.3/manifest.json diff --git a/symfony/clickatell-notifier/5.3/manifest.json b/symfony/clickatell-notifier/5.3/manifest.json new file mode 100644 index 000000000..2e59cda36 --- /dev/null +++ b/symfony/clickatell-notifier/5.3/manifest.json @@ -0,0 +1,5 @@ +{ + "env": { + "#1": "CLICKATELL_DSN=clickatell://ACCESS_TOKEN@default?from=FROM" + } +} From 29139a00fe3fea501a493cf4e6382dbf6a04e2b1 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Fri, 13 Nov 2020 17:55:47 +0100 Subject: [PATCH 120/660] Fix docker-compose recipes --- symfony/mercure-bundle/0.1/manifest.json | 30 +++++++++++++----------- symfony/messenger/4.1/manifest.json | 15 ------------ symfony/messenger/4.3/manifest.json | 19 ++------------- 3 files changed, 18 insertions(+), 46 deletions(-) diff --git a/symfony/mercure-bundle/0.1/manifest.json b/symfony/mercure-bundle/0.1/manifest.json index b9c57f6d5..5b115fa34 100644 --- a/symfony/mercure-bundle/0.1/manifest.json +++ b/symfony/mercure-bundle/0.1/manifest.json @@ -12,20 +12,22 @@ "MERCURE_JWT_TOKEN": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJtZXJjdXJlIjp7InB1Ymxpc2giOltdfX0.Oo0yg7y4yMa1vr_bziltxuTCqb8JVHKxp-f_FwwOim0" }, "docker-compose": { - "services": [ - "mercure:", - " # In production, you may want to use the managed version of Mercure, https://mercure.rocks", - " image: dunglas/mercure", - " environment:", - " # You should definitely change all these values in production", - " - JWT_KEY=!ChangeMe!", - " - ALLOW_ANONYMOUS=1", - " - CORS_ALLOWED_ORIGINS=*", - " - PUBLISH_ALLOWED_ORIGINS=http://localhost:1337", - " - DEMO=1", - " ports:", - " - \"1337:80\"" - ] + "docker-compose.yml": { + "services": [ + "mercure:", + " # In production, you may want to use the managed version of Mercure, https://mercure.rocks", + " image: dunglas/mercure", + " environment:", + " # You should definitely change all these values in production", + " - JWT_KEY=!ChangeMe!", + " - ALLOW_ANONYMOUS=1", + " - CORS_ALLOWED_ORIGINS=*", + " - PUBLISH_ALLOWED_ORIGINS=http://localhost:1337", + " - DEMO=1", + " ports:", + " - \"1337:80\"" + ] + } }, "aliases": ["mercure"] } diff --git a/symfony/messenger/4.1/manifest.json b/symfony/messenger/4.1/manifest.json index 243aa9572..d0ff17321 100644 --- a/symfony/messenger/4.1/manifest.json +++ b/symfony/messenger/4.1/manifest.json @@ -5,21 +5,6 @@ "env": { "#1": "MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages" }, - "docker-compose": { - "services": [ - "rabbitmq:", - " image: rabbitmq:management-alpine", - " environment:", - " # You should definitely change the password in production", - " - RABBITMQ_DEFAULT_USER=guest", - " - RABBITMQ_DEFAULT_PASS=guest", - " volumes:", - " - rabbitmq-data:/var/lib/rabbitmq", - " ports:", - " - \"5672\"" - ], - "volumes": ["rabbitmq-data: {}"] - }, "aliases": ["messenger"], "conflict": { "symfony/framework-bundle": "<4.1" diff --git a/symfony/messenger/4.3/manifest.json b/symfony/messenger/4.3/manifest.json index 10305894a..dc045158f 100644 --- a/symfony/messenger/4.3/manifest.json +++ b/symfony/messenger/4.3/manifest.json @@ -4,25 +4,10 @@ }, "env": { "#1": "Choose one of the transports below", - "#2": "MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages", - "#3": "MESSENGER_TRANSPORT_DSN=doctrine://default", + "#2": "MESSENGER_TRANSPORT_DSN=doctrine://default", + "#3": "MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages", "#4": "MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages" }, - "docker-compose": { - "services": [ - "rabbitmq:", - " image: rabbitmq:management-alpine", - " environment:", - " # You should definitely change the password in production", - " - RABBITMQ_DEFAULT_USER=guest", - " - RABBITMQ_DEFAULT_PASS=guest", - " volumes:", - " - rabbitmq-data:/var/lib/rabbitmq", - " ports:", - " - \"5672\"" - ], - "volumes": ["rabbitmq-data: {}"] - }, "aliases": ["messenger"], "conflict": { "symfony/framework-bundle": "<4.3" From 2d451ccdb56966f10d5b5fa4433f2ddaf01dcd27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20H=C3=A9lias?= Date: Sat, 14 Nov 2020 19:00:01 +0100 Subject: [PATCH 121/660] Add sensiolabs/ansi-to-html recipe --- .../ansi-to-html/1.2/config/packages/ansi_to_html.yaml | 6 ++++++ sensiolabs/ansi-to-html/1.2/manifest.json | 5 +++++ 2 files changed, 11 insertions(+) create mode 100644 sensiolabs/ansi-to-html/1.2/config/packages/ansi_to_html.yaml create mode 100644 sensiolabs/ansi-to-html/1.2/manifest.json diff --git a/sensiolabs/ansi-to-html/1.2/config/packages/ansi_to_html.yaml b/sensiolabs/ansi-to-html/1.2/config/packages/ansi_to_html.yaml new file mode 100644 index 000000000..78e983cb4 --- /dev/null +++ b/sensiolabs/ansi-to-html/1.2/config/packages/ansi_to_html.yaml @@ -0,0 +1,6 @@ +services: + _defaults: + autowire: true + autoconfigure: true + + SensioLabs\AnsiConverter\Bridge\Twig\AnsiExtension: null diff --git a/sensiolabs/ansi-to-html/1.2/manifest.json b/sensiolabs/ansi-to-html/1.2/manifest.json new file mode 100644 index 000000000..e164c6e63 --- /dev/null +++ b/sensiolabs/ansi-to-html/1.2/manifest.json @@ -0,0 +1,5 @@ +{ + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} From ad93c11c2e188c0253e0cb7eae11c54ff50ff857 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dunglas?= Date: Wed, 12 Jul 2017 23:42:13 +0200 Subject: [PATCH 122/660] [doctrine-bundle] Docker support --- doctrine/doctrine-bundle/1.6/manifest.json | 23 +++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/doctrine/doctrine-bundle/1.6/manifest.json b/doctrine/doctrine-bundle/1.6/manifest.json index c5e7da027..6f6c839c8 100644 --- a/doctrine/doctrine-bundle/1.6/manifest.json +++ b/doctrine/doctrine-bundle/1.6/manifest.json @@ -10,7 +10,28 @@ "#1": "Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url", "#2": "For an SQLite database, use: \"sqlite:///%kernel.project_dir%/var/data.db\"", "#3": "For a PostgreSQL database, use: \"postgresql://db_user:db_password@127.0.0.1:5432/db_name?serverVersion=11&charset=utf8\"", - "#4": "IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml", + "#4": "For the Docker integration, use: \"mysql://symfony:ChangeMe@db:3306/app?serverVersion=mariadb-10.5\"", + "#5": "IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml", "DATABASE_URL": "mysql://db_user:db_password@127.0.0.1:3306/db_name?serverVersion=5.7" + }, + "dockerfile": ["RUN docker-php-ext-install pdo_mysql"], + "docker-compose": { + "services": [ + "db:", + " image: mariadb:10.4", + " environment:", + " - MYSQL_DATABASE=app", + " # You should definitely change the password in production", + " - MYSQL_PASSWORD=ChangeMe", + " - MYSQL_RANDOM_ROOT_PASSWORD=true", + " - MYSQL_USER=symfony", + " volumes:", + " - db-data:/var/lib/mysql: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/mysql:rw", + " ports:", + " - \"3306\"" + ], + "volumes": ["db-data: {}"] } } From 823631318a89db90ea9fda464e16a35b645f9c3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dunglas?= Date: Thu, 15 Oct 2020 07:53:34 +0200 Subject: [PATCH 123/660] don't expose the port by default (security) --- doctrine/doctrine-bundle/1.6/manifest.json | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/doctrine/doctrine-bundle/1.6/manifest.json b/doctrine/doctrine-bundle/1.6/manifest.json index 6f6c839c8..c68dadbbb 100644 --- a/doctrine/doctrine-bundle/1.6/manifest.json +++ b/doctrine/doctrine-bundle/1.6/manifest.json @@ -10,7 +10,7 @@ "#1": "Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url", "#2": "For an SQLite database, use: \"sqlite:///%kernel.project_dir%/var/data.db\"", "#3": "For a PostgreSQL database, use: \"postgresql://db_user:db_password@127.0.0.1:5432/db_name?serverVersion=11&charset=utf8\"", - "#4": "For the Docker integration, use: \"mysql://symfony:ChangeMe@db:3306/app?serverVersion=mariadb-10.5\"", + "#4": "For the Docker integration, use: \"mysql://symfony:ChangeMe@db:3306/app?serverVersion=mariadb-10.5.6\"", "#5": "IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml", "DATABASE_URL": "mysql://db_user:db_password@127.0.0.1:3306/db_name?serverVersion=5.7" }, @@ -18,7 +18,7 @@ "docker-compose": { "services": [ "db:", - " image: mariadb:10.4", + " image: mariadb:10.5.6", " environment:", " - MYSQL_DATABASE=app", " # You should definitely change the password in production", @@ -29,8 +29,9 @@ " - db-data:/var/lib/mysql: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/mysql:rw", - " ports:", - " - \"3306\"" + " # To expose the port publicly", + " # ports:", + " # - \"3306\"" ], "volumes": ["db-data: {}"] } From d246d096a44c656e2b44a1dd452ec6b8d80e9c84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dunglas?= Date: Wed, 21 Oct 2020 19:41:28 +0200 Subject: [PATCH 124/660] feat: improve MySQL --- doctrine/doctrine-bundle/1.6/manifest.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/doctrine/doctrine-bundle/1.6/manifest.json b/doctrine/doctrine-bundle/1.6/manifest.json index c68dadbbb..e8884e32b 100644 --- a/doctrine/doctrine-bundle/1.6/manifest.json +++ b/doctrine/doctrine-bundle/1.6/manifest.json @@ -18,21 +18,21 @@ "docker-compose": { "services": [ "db:", - " image: mariadb:10.5.6", + " image: mariadb:${MARIADB_VERSION:-10.5.6}", " environment:", - " - MYSQL_DATABASE=app", + " MYSQL_DATABASE: ${MYSQL_DATABASE:-app}", " # You should definitely change the password in production", - " - MYSQL_PASSWORD=ChangeMe", - " - MYSQL_RANDOM_ROOT_PASSWORD=true", - " - MYSQL_USER=symfony", + " MYSQL_PASSWORD: ${MYSQL_PASSWORD:-ChangeMe}", + " MYSQL_RANDOM_ROOT_PASSWORD: \"true\"", + " MYSQL_USER: ${MYSQL_USER:-symfony}", " volumes:", " - db-data:/var/lib/mysql: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/mysql:rw", - " # To expose the port publicly", + " # To expose the port on the host", " # ports:", - " # - \"3306\"" + " # - \"3306:3306\"" ], - "volumes": ["db-data: {}"] + "volumes": ["db-data:"] } } From ade1a9c1cb5b654c179c752df5cb5d4c89ca83c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dunglas?= Date: Wed, 21 Oct 2020 21:15:58 +0200 Subject: [PATCH 125/660] use a random port again --- doctrine/doctrine-bundle/1.6/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doctrine/doctrine-bundle/1.6/manifest.json b/doctrine/doctrine-bundle/1.6/manifest.json index e8884e32b..2b8141058 100644 --- a/doctrine/doctrine-bundle/1.6/manifest.json +++ b/doctrine/doctrine-bundle/1.6/manifest.json @@ -31,7 +31,7 @@ " # - ./docker/db/data:/var/lib/mysql:rw", " # To expose the port on the host", " # ports:", - " # - \"3306:3306\"" + " # - \"3306\"" ], "volumes": ["db-data:"] } From 6a91adfe6230f753d0175bcdbdba6e0f673acdd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dunglas?= Date: Wed, 21 Oct 2020 21:36:19 +0200 Subject: [PATCH 126/660] feat: switch to Postgres --- doctrine/doctrine-bundle/1.6/manifest.json | 27 ++++++++++--------- .../2.0/config/packages/doctrine.yaml | 2 +- 2 files changed, 16 insertions(+), 13 deletions(-) diff --git a/doctrine/doctrine-bundle/1.6/manifest.json b/doctrine/doctrine-bundle/1.6/manifest.json index 2b8141058..d7810c70d 100644 --- a/doctrine/doctrine-bundle/1.6/manifest.json +++ b/doctrine/doctrine-bundle/1.6/manifest.json @@ -9,29 +9,32 @@ "env": { "#1": "Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url", "#2": "For an SQLite database, use: \"sqlite:///%kernel.project_dir%/var/data.db\"", - "#3": "For a PostgreSQL database, use: \"postgresql://db_user:db_password@127.0.0.1:5432/db_name?serverVersion=11&charset=utf8\"", - "#4": "For the Docker integration, use: \"mysql://symfony:ChangeMe@db:3306/app?serverVersion=mariadb-10.5.6\"", + "#3": "For a MySQL database, use: \"mysql://db_user:db_password@127.0.0.1:3306/db_name?serverVersion=5.7\"", "#5": "IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml", - "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 docker-php-ext-install pdo_mysql"], + "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": { "services": [ "db:", - " image: mariadb:${MARIADB_VERSION:-10.5.6}", + " image: postgres:${POSTGRES_VERSION:-13}-alpine", " environment:", - " MYSQL_DATABASE: ${MYSQL_DATABASE:-app}", + " POSTGRES_DB: ${POSTGRES_DB:-app}", " # You should definitely change the password in production", - " MYSQL_PASSWORD: ${MYSQL_PASSWORD:-ChangeMe}", - " MYSQL_RANDOM_ROOT_PASSWORD: \"true\"", - " MYSQL_USER: ${MYSQL_USER:-symfony}", + " POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-ChangeMe}", + " POSTGRES_USER: ${POSTGRES_USER:-symfony}", " volumes:", - " - db-data:/var/lib/mysql:rw", + " - 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/mysql:rw", + " # - ./docker/db/data:/var/lib/postgresql/data:rw", " # To expose the port on the host", " # ports:", - " # - \"3306\"" + " # - \"5432\"" ], "volumes": ["db-data:"] } diff --git a/doctrine/doctrine-bundle/2.0/config/packages/doctrine.yaml b/doctrine/doctrine-bundle/2.0/config/packages/doctrine.yaml index 5e80e77b1..c31917650 100644 --- a/doctrine/doctrine-bundle/2.0/config/packages/doctrine.yaml +++ b/doctrine/doctrine-bundle/2.0/config/packages/doctrine.yaml @@ -4,7 +4,7 @@ doctrine: # IMPORTANT: You MUST configure your server version, # either here or in the DATABASE_URL env var (see .env file) - #server_version: '5.7' + #server_version: '13' orm: auto_generate_proxy_classes: true naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware From c76a55f0e408c8b6030588c1d57ed2cf2ab50f6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dunglas?= Date: Mon, 9 Nov 2020 10:19:49 +0100 Subject: [PATCH 127/660] move the port definition in docker-compose.override.yml --- doctrine/doctrine-bundle/1.6/manifest.json | 38 +++++++++++++--------- 1 file changed, 22 insertions(+), 16 deletions(-) diff --git a/doctrine/doctrine-bundle/1.6/manifest.json b/doctrine/doctrine-bundle/1.6/manifest.json index d7810c70d..e433759e7 100644 --- a/doctrine/doctrine-bundle/1.6/manifest.json +++ b/doctrine/doctrine-bundle/1.6/manifest.json @@ -20,22 +20,28 @@ "\tapk del .pgsql-deps" ], "docker-compose": { - "services": [ - "db:", - " 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", - " # To expose the port on the host", - " # ports:", - " # - \"5432\"" - ], + "docker-compose.yml": { + "services": [ + "db:", + " 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" + ] + }, + "docker-compose.override.yml": { + "services": [ + "db:", + " ports:", + " - \"5432\"" + ] + }, "volumes": ["db-data:"] } } From 1951e0b054b081df832122202556bb10d094b7fa Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Tue, 17 Nov 2020 09:41:14 +0100 Subject: [PATCH 128/660] Rename db to database --- doctrine/doctrine-bundle/1.6/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doctrine/doctrine-bundle/1.6/manifest.json b/doctrine/doctrine-bundle/1.6/manifest.json index e433759e7..d20b8ec6b 100644 --- a/doctrine/doctrine-bundle/1.6/manifest.json +++ b/doctrine/doctrine-bundle/1.6/manifest.json @@ -22,7 +22,7 @@ "docker-compose": { "docker-compose.yml": { "services": [ - "db:", + "database:", " image: postgres:${POSTGRES_VERSION:-13}-alpine", " environment:", " POSTGRES_DB: ${POSTGRES_DB:-app}", From f3117928aaed97b655ba7df8228a5164bdbdd656 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Tue, 17 Nov 2020 09:46:18 +0100 Subject: [PATCH 129/660] Fix typo --- doctrine/doctrine-bundle/1.6/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doctrine/doctrine-bundle/1.6/manifest.json b/doctrine/doctrine-bundle/1.6/manifest.json index d20b8ec6b..52902fd07 100644 --- a/doctrine/doctrine-bundle/1.6/manifest.json +++ b/doctrine/doctrine-bundle/1.6/manifest.json @@ -10,7 +10,7 @@ "#1": "Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url", "#2": "For an SQLite database, use: \"sqlite:///%kernel.project_dir%/var/data.db\"", "#3": "For a MySQL database, use: \"mysql://db_user:db_password@127.0.0.1:3306/db_name?serverVersion=5.7\"", - "#5": "IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml", + "#4": "IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml", "DATABASE_URL": "postgresql://db_user:db_password@127.0.0.1:5432/db_name?serverVersion=13&charset=utf8" }, "dockerfile": [ From 9730ab4ae74b23f81117059a4a811b5d2980a91f Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Tue, 17 Nov 2020 10:15:50 +0100 Subject: [PATCH 130/660] Fix syntax --- doctrine/doctrine-bundle/1.6/manifest.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doctrine/doctrine-bundle/1.6/manifest.json b/doctrine/doctrine-bundle/1.6/manifest.json index 52902fd07..59cf74293 100644 --- a/doctrine/doctrine-bundle/1.6/manifest.json +++ b/doctrine/doctrine-bundle/1.6/manifest.json @@ -33,7 +33,8 @@ " - 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": [ @@ -41,7 +42,6 @@ " ports:", " - \"5432\"" ] - }, - "volumes": ["db-data:"] + } } } From 4a47af63159541bec503ba529ea21fbfb2e2beed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFck=20Piera?= Date: Tue, 17 Nov 2020 11:04:53 +0100 Subject: [PATCH 131/660] Fix docker-compose database service name --- doctrine/doctrine-bundle/1.6/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doctrine/doctrine-bundle/1.6/manifest.json b/doctrine/doctrine-bundle/1.6/manifest.json index 59cf74293..08b786652 100644 --- a/doctrine/doctrine-bundle/1.6/manifest.json +++ b/doctrine/doctrine-bundle/1.6/manifest.json @@ -38,7 +38,7 @@ }, "docker-compose.override.yml": { "services": [ - "db:", + "database:", " ports:", " - \"5432\"" ] From 5f2409a89da12597cb240560f88c9e2f8af7f951 Mon Sep 17 00:00:00 2001 From: Ryan Weaver Date: Wed, 18 Nov 2020 14:03:33 -0500 Subject: [PATCH 132/660] listing mysql, pgsql and sqlite DATABASE_URL examples in .env --- .../doctrine-bundle/1.12/config/packages/doctrine.yaml | 2 +- doctrine/doctrine-bundle/1.6/config/packages/doctrine.yaml | 2 +- doctrine/doctrine-bundle/1.6/manifest.json | 7 ++++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/doctrine/doctrine-bundle/1.12/config/packages/doctrine.yaml b/doctrine/doctrine-bundle/1.12/config/packages/doctrine.yaml index 2ef77cc0d..9faf8e2e1 100644 --- a/doctrine/doctrine-bundle/1.12/config/packages/doctrine.yaml +++ b/doctrine/doctrine-bundle/1.12/config/packages/doctrine.yaml @@ -4,7 +4,7 @@ doctrine: # IMPORTANT: You MUST configure your server version, # either here or in the DATABASE_URL env var (see .env file) - #server_version: '5.7' + #server_version: '13' # only needed for MySQL charset: utf8mb4 diff --git a/doctrine/doctrine-bundle/1.6/config/packages/doctrine.yaml b/doctrine/doctrine-bundle/1.6/config/packages/doctrine.yaml index 444931883..bea36483d 100644 --- a/doctrine/doctrine-bundle/1.6/config/packages/doctrine.yaml +++ b/doctrine/doctrine-bundle/1.6/config/packages/doctrine.yaml @@ -4,7 +4,7 @@ doctrine: # IMPORTANT: You MUST configure your server version, # either here or in the DATABASE_URL env var (see .env file) - #server_version: '5.7' + #server_version: '13' # only needed for MySQL charset: utf8mb4 diff --git a/doctrine/doctrine-bundle/1.6/manifest.json b/doctrine/doctrine-bundle/1.6/manifest.json index 08b786652..995a953a7 100644 --- a/doctrine/doctrine-bundle/1.6/manifest.json +++ b/doctrine/doctrine-bundle/1.6/manifest.json @@ -8,9 +8,10 @@ }, "env": { "#1": "Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url", - "#2": "For an SQLite database, use: \"sqlite:///%kernel.project_dir%/var/data.db\"", - "#3": "For a MySQL database, use: \"mysql://db_user:db_password@127.0.0.1:3306/db_name?serverVersion=5.7\"", - "#4": "IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml", + "#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": [ From ed11407326732a34673332b35e4d2bad494b6e40 Mon Sep 17 00:00:00 2001 From: Yannoff Date: Tue, 24 Nov 2020 18:55:45 +0100 Subject: [PATCH 133/660] [nelmio/cors-bundle] Fix CORS_ALLOW_ORIGIN format - Wrap value between simple quotes: avoid shell error when sourcing `.env` file --- nelmio/cors-bundle/1.5/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nelmio/cors-bundle/1.5/manifest.json b/nelmio/cors-bundle/1.5/manifest.json index 7c04230af..574b00dde 100644 --- a/nelmio/cors-bundle/1.5/manifest.json +++ b/nelmio/cors-bundle/1.5/manifest.json @@ -6,7 +6,7 @@ "config/": "%CONFIG_DIR%/" }, "env": { - "CORS_ALLOW_ORIGIN": "^https?://(localhost|127\\.0\\.0\\.1)(:[0-9]+)?$" + "CORS_ALLOW_ORIGIN": "'^https?://(localhost|127\\.0\\.0\\.1)(:[0-9]+)?$'" }, "aliases": ["cors"] } From 6f083ba481b7aa95462dbea88072ac80749252cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dunglas?= Date: Wed, 25 Nov 2020 22:44:58 +0100 Subject: [PATCH 134/660] [symfony/mercure-bundle] remove the Docker Compose service --- symfony/mercure-bundle/0.1/manifest.json | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/symfony/mercure-bundle/0.1/manifest.json b/symfony/mercure-bundle/0.1/manifest.json index 5b115fa34..ba8f74df6 100644 --- a/symfony/mercure-bundle/0.1/manifest.json +++ b/symfony/mercure-bundle/0.1/manifest.json @@ -11,23 +11,5 @@ "#2": "The default token is signed with the secret key: !ChangeMe!", "MERCURE_JWT_TOKEN": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJtZXJjdXJlIjp7InB1Ymxpc2giOltdfX0.Oo0yg7y4yMa1vr_bziltxuTCqb8JVHKxp-f_FwwOim0" }, - "docker-compose": { - "docker-compose.yml": { - "services": [ - "mercure:", - " # In production, you may want to use the managed version of Mercure, https://mercure.rocks", - " image: dunglas/mercure", - " environment:", - " # You should definitely change all these values in production", - " - JWT_KEY=!ChangeMe!", - " - ALLOW_ANONYMOUS=1", - " - CORS_ALLOWED_ORIGINS=*", - " - PUBLISH_ALLOWED_ORIGINS=http://localhost:1337", - " - DEMO=1", - " ports:", - " - \"1337:80\"" - ] - } - }, "aliases": ["mercure"] } From c930b1338fcfe5d71ffc50409d65e883f4436edb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Deruss=C3=A9?= Date: Sun, 29 Nov 2020 19:09:20 +0100 Subject: [PATCH 135/660] Add Lock recipe --- symfony/lock/4.4/config/packages/lock.yaml | 2 ++ symfony/lock/4.4/manifest.json | 10 ++++++++++ symfony/lock/5.2/config | 1 + symfony/lock/5.2/manifest.json | 10 ++++++++++ 4 files changed, 23 insertions(+) create mode 100644 symfony/lock/4.4/config/packages/lock.yaml create mode 100644 symfony/lock/4.4/manifest.json create mode 120000 symfony/lock/5.2/config create mode 100644 symfony/lock/5.2/manifest.json diff --git a/symfony/lock/4.4/config/packages/lock.yaml b/symfony/lock/4.4/config/packages/lock.yaml new file mode 100644 index 000000000..574879f83 --- /dev/null +++ b/symfony/lock/4.4/config/packages/lock.yaml @@ -0,0 +1,2 @@ +framework: + lock: '%env(LOCK_DSN)%' diff --git a/symfony/lock/4.4/manifest.json b/symfony/lock/4.4/manifest.json new file mode 100644 index 000000000..2d4781012 --- /dev/null +++ b/symfony/lock/4.4/manifest.json @@ -0,0 +1,10 @@ +{ + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "#1": "Choose one of the stores below", + "#2": "LOCK_DSN=redis://localhost", + "LOCK_DSN": "semaphore" + } +} diff --git a/symfony/lock/5.2/config b/symfony/lock/5.2/config new file mode 120000 index 000000000..7c6880c71 --- /dev/null +++ b/symfony/lock/5.2/config @@ -0,0 +1 @@ +../4.4/config \ No newline at end of file diff --git a/symfony/lock/5.2/manifest.json b/symfony/lock/5.2/manifest.json new file mode 100644 index 000000000..53a9f5eb6 --- /dev/null +++ b/symfony/lock/5.2/manifest.json @@ -0,0 +1,10 @@ +{ + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "#1": "Choose one of the stores below", + "#2": "postgresql+advisory://db_user:db_password@localhost/db_name", + "LOCK_DSN": "semaphore" + } +} From 05d798d019160e332ce83e00ab8d8239d8bb86ab Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Mon, 30 Nov 2020 10:02:45 +0100 Subject: [PATCH 136/660] Remove extra quotes --- doctrine/doctrine-bundle/1.6/manifest.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doctrine/doctrine-bundle/1.6/manifest.json b/doctrine/doctrine-bundle/1.6/manifest.json index 995a953a7..49053d051 100644 --- a/doctrine/doctrine-bundle/1.6/manifest.json +++ b/doctrine/doctrine-bundle/1.6/manifest.json @@ -10,8 +10,8 @@ "#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\"", + "#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": [ From a652bd8c4e10ec9b2b0a7550700025a1aea121c8 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Mon, 30 Nov 2020 10:12:29 +0100 Subject: [PATCH 137/660] Revert "Merge pull request #852" This reverts commit 4d482a4c983f11fd5fbc12c9308578f6dc941095, reversing changes made to 4761ed0006880f20f3584f0e4c5d18ebd1d724d9. --- doctrine/doctrine-bundle/1.6/manifest.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doctrine/doctrine-bundle/1.6/manifest.json b/doctrine/doctrine-bundle/1.6/manifest.json index 49053d051..995a953a7 100644 --- a/doctrine/doctrine-bundle/1.6/manifest.json +++ b/doctrine/doctrine-bundle/1.6/manifest.json @@ -10,8 +10,8 @@ "#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", + "#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": [ From 030eb031879f59e40d5ff784506c17d9c91de29e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dunglas?= Date: Wed, 2 Dec 2020 20:51:09 +0100 Subject: [PATCH 138/660] Revert "[api-platform] Update recipe for 2.5" This reverts commit 1ed3ff9f848948903bcc58a9b3571c24431af635. --- api-platform/core/2.5/config/packages/api_platform.yaml | 7 ------- api-platform/core/2.5/config/routes | 1 - api-platform/core/2.5/manifest.json | 1 - api-platform/core/2.5/post-install.txt | 1 - api-platform/core/2.5/src | 1 - 5 files changed, 11 deletions(-) delete mode 100644 api-platform/core/2.5/config/packages/api_platform.yaml delete mode 120000 api-platform/core/2.5/config/routes delete mode 120000 api-platform/core/2.5/manifest.json delete mode 120000 api-platform/core/2.5/post-install.txt delete mode 120000 api-platform/core/2.5/src diff --git a/api-platform/core/2.5/config/packages/api_platform.yaml b/api-platform/core/2.5/config/packages/api_platform.yaml deleted file mode 100644 index 2eb7b4c58..000000000 --- a/api-platform/core/2.5/config/packages/api_platform.yaml +++ /dev/null @@ -1,7 +0,0 @@ -api_platform: - mapping: - paths: ['%kernel.project_dir%/src/Entity'] - patch_formats: - json: ['application/merge-patch+json'] - swagger: - versions: [3] diff --git a/api-platform/core/2.5/config/routes b/api-platform/core/2.5/config/routes deleted file mode 120000 index b0b4cf19a..000000000 --- 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/manifest.json b/api-platform/core/2.5/manifest.json deleted file mode 120000 index 083ea6afd..000000000 --- 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/post-install.txt b/api-platform/core/2.5/post-install.txt deleted file mode 120000 index 27388f27c..000000000 --- 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/src b/api-platform/core/2.5/src deleted file mode 120000 index 783ae52e8..000000000 --- a/api-platform/core/2.5/src +++ /dev/null @@ -1 +0,0 @@ -../2.1/src \ No newline at end of file From c835d1c5eeab6c0a528eb59eda0a693db4218571 Mon Sep 17 00:00:00 2001 From: Titouan Galopin Date: Fri, 20 Nov 2020 12:08:02 +0100 Subject: [PATCH 139/660] Add Stimulus in Webpack Encore recipe --- .../webpack-encore-bundle/1.0/assets/app.js | 6 ++---- .../1.0/assets/bootstrap.js | 5 +++++ .../1.0/assets/controllers.json | 4 ++++ .../assets/controllers/hello_controller.js | 16 ++++++++++++++++ .../webpack-encore-bundle/1.0/package.json | 4 +++- .../1.0/webpack.config.js | 19 ++++++++++--------- 6 files changed, 40 insertions(+), 14 deletions(-) create mode 100644 symfony/webpack-encore-bundle/1.0/assets/bootstrap.js create mode 100644 symfony/webpack-encore-bundle/1.0/assets/controllers.json create mode 100644 symfony/webpack-encore-bundle/1.0/assets/controllers/hello_controller.js diff --git a/symfony/webpack-encore-bundle/1.0/assets/app.js b/symfony/webpack-encore-bundle/1.0/assets/app.js index fe9696ec3..bb0a6aa13 100644 --- a/symfony/webpack-encore-bundle/1.0/assets/app.js +++ b/symfony/webpack-encore-bundle/1.0/assets/app.js @@ -8,7 +8,5 @@ // any CSS you import will output into a single css file (app.css in this case) import './styles/app.css'; -// Need jQuery? Install it with "yarn add jquery", then uncomment to import it. -// import $ from 'jquery'; - -console.log('Hello Webpack Encore! Edit me in assets/app.js'); +// start the Stimulus application +import './bootstrap'; diff --git a/symfony/webpack-encore-bundle/1.0/assets/bootstrap.js b/symfony/webpack-encore-bundle/1.0/assets/bootstrap.js new file mode 100644 index 000000000..9792e6abf --- /dev/null +++ b/symfony/webpack-encore-bundle/1.0/assets/bootstrap.js @@ -0,0 +1,5 @@ +import { startStimulusApp } from '@symfony/stimulus-bridge'; +import '@symfony/autoimport'; + +// Registers Stimulus controllers from controllers.json and in the controllers/ directory +export const app = startStimulusApp(require.context('./controllers', true, /\.(j|t)sx?$/)); diff --git a/symfony/webpack-encore-bundle/1.0/assets/controllers.json b/symfony/webpack-encore-bundle/1.0/assets/controllers.json new file mode 100644 index 000000000..a1c6e90cf --- /dev/null +++ b/symfony/webpack-encore-bundle/1.0/assets/controllers.json @@ -0,0 +1,4 @@ +{ + "controllers": [], + "entrypoints": [] +} diff --git a/symfony/webpack-encore-bundle/1.0/assets/controllers/hello_controller.js b/symfony/webpack-encore-bundle/1.0/assets/controllers/hello_controller.js new file mode 100644 index 000000000..8c79f65a2 --- /dev/null +++ b/symfony/webpack-encore-bundle/1.0/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.0/package.json b/symfony/webpack-encore-bundle/1.0/package.json index f2159a67a..2adb3f61d 100644 --- a/symfony/webpack-encore-bundle/1.0/package.json +++ b/symfony/webpack-encore-bundle/1.0/package.json @@ -1,7 +1,9 @@ { "devDependencies": { - "@symfony/webpack-encore": "^0.31.0", + "@symfony/stimulus-bridge": "^1.0.0", + "@symfony/webpack-encore": "^0.32.0", "core-js": "^3.0.0", + "stimulus": "^1.1.1", "regenerator-runtime": "^0.13.2", "webpack-notifier": "^1.6.0" }, diff --git a/symfony/webpack-encore-bundle/1.0/webpack.config.js b/symfony/webpack-encore-bundle/1.0/webpack.config.js index 3cedc3770..fbd2bb710 100644 --- a/symfony/webpack-encore-bundle/1.0/webpack.config.js +++ b/symfony/webpack-encore-bundle/1.0/webpack.config.js @@ -17,15 +17,13 @@ Encore /* * ENTRY CONFIG * - * Add 1 entry for each "page" of your app - * (including one that's included on every page - e.g. "app") - * * 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') - //.addEntry('page1', './assets/page1.js') - //.addEntry('page2', './assets/page2.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() @@ -47,6 +45,10 @@ Encore // 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'; @@ -59,16 +61,15 @@ Encore // 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() - - // uncomment if you use API Platform Admin (composer req api-admin) - //.enableReactPreset() - //.addEntry('admin', './assets/admin.js') ; module.exports = Encore.getWebpackConfig(); From 7df6db4db386554b60e5757039df18db9fd0d8d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dunglas?= Date: Thu, 3 Dec 2020 16:23:01 +0100 Subject: [PATCH 140/660] Revert "Revert "[api-platform] Update recipe for 2.5"" This reverts commit 030eb031879f59e40d5ff784506c17d9c91de29e. --- api-platform/core/2.5/config/packages/api_platform.yaml | 7 +++++++ api-platform/core/2.5/config/routes | 1 + api-platform/core/2.5/manifest.json | 1 + api-platform/core/2.5/post-install.txt | 1 + api-platform/core/2.5/src | 1 + 5 files changed, 11 insertions(+) create mode 100644 api-platform/core/2.5/config/packages/api_platform.yaml create mode 120000 api-platform/core/2.5/config/routes create mode 120000 api-platform/core/2.5/manifest.json create mode 120000 api-platform/core/2.5/post-install.txt create mode 120000 api-platform/core/2.5/src diff --git a/api-platform/core/2.5/config/packages/api_platform.yaml b/api-platform/core/2.5/config/packages/api_platform.yaml new file mode 100644 index 000000000..2eb7b4c58 --- /dev/null +++ b/api-platform/core/2.5/config/packages/api_platform.yaml @@ -0,0 +1,7 @@ +api_platform: + mapping: + paths: ['%kernel.project_dir%/src/Entity'] + patch_formats: + json: ['application/merge-patch+json'] + swagger: + versions: [3] diff --git a/api-platform/core/2.5/config/routes b/api-platform/core/2.5/config/routes new file mode 120000 index 000000000..b0b4cf19a --- /dev/null +++ b/api-platform/core/2.5/config/routes @@ -0,0 +1 @@ +../../2.1/config/routes \ 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 120000 index 000000000..083ea6afd --- /dev/null +++ b/api-platform/core/2.5/manifest.json @@ -0,0 +1 @@ +../2.1/manifest.json \ 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 120000 index 000000000..27388f27c --- /dev/null +++ b/api-platform/core/2.5/post-install.txt @@ -0,0 +1 @@ +../2.1/post-install.txt \ No newline at end of file diff --git a/api-platform/core/2.5/src b/api-platform/core/2.5/src new file mode 120000 index 000000000..783ae52e8 --- /dev/null +++ b/api-platform/core/2.5/src @@ -0,0 +1 @@ +../2.1/src \ No newline at end of file From 61a429b947cd657d4b4d0d2d391b79c4ee561cf8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dunglas?= Date: Thu, 3 Dec 2020 16:23:22 +0100 Subject: [PATCH 141/660] Revert "Added API Platform 2.6 recipe" This reverts commit 52c4a8d8d0b2f0aca27d893cb87a7f2a18f02b2d. --- api-platform/core/2.6/config/packages/api_platform.yaml | 9 --------- api-platform/core/2.6/config/routes | 1 - api-platform/core/2.6/manifest.json | 1 - api-platform/core/2.6/post-install.txt | 1 - api-platform/core/2.6/src | 1 - 5 files changed, 13 deletions(-) delete mode 100644 api-platform/core/2.6/config/packages/api_platform.yaml delete mode 120000 api-platform/core/2.6/config/routes delete mode 120000 api-platform/core/2.6/manifest.json delete mode 120000 api-platform/core/2.6/post-install.txt delete mode 120000 api-platform/core/2.6/src diff --git a/api-platform/core/2.6/config/packages/api_platform.yaml b/api-platform/core/2.6/config/packages/api_platform.yaml deleted file mode 100644 index 975d3b6bb..000000000 --- a/api-platform/core/2.6/config/packages/api_platform.yaml +++ /dev/null @@ -1,9 +0,0 @@ -api_platform: - mapping: - paths: ['%kernel.project_dir%/src/Entity'] - patch_formats: - json: ['application/merge-patch+json'] - swagger: - versions: [3] - defaults: - stateless: true diff --git a/api-platform/core/2.6/config/routes b/api-platform/core/2.6/config/routes deleted file mode 120000 index b0b4cf19a..000000000 --- a/api-platform/core/2.6/config/routes +++ /dev/null @@ -1 +0,0 @@ -../../2.1/config/routes \ No newline at end of file diff --git a/api-platform/core/2.6/manifest.json b/api-platform/core/2.6/manifest.json deleted file mode 120000 index 083ea6afd..000000000 --- a/api-platform/core/2.6/manifest.json +++ /dev/null @@ -1 +0,0 @@ -../2.1/manifest.json \ No newline at end of file diff --git a/api-platform/core/2.6/post-install.txt b/api-platform/core/2.6/post-install.txt deleted file mode 120000 index 27388f27c..000000000 --- a/api-platform/core/2.6/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.6/src b/api-platform/core/2.6/src deleted file mode 120000 index 783ae52e8..000000000 --- a/api-platform/core/2.6/src +++ /dev/null @@ -1 +0,0 @@ -../2.1/src \ No newline at end of file From 7d3d96c64601d86c82385850063eaf62617880d7 Mon Sep 17 00:00:00 2001 From: Titouan Galopin Date: Fri, 4 Dec 2020 12:20:01 +0100 Subject: [PATCH 142/660] Fix the way HTTP/2 is written --- .../1.6/config/packages/webpack_encore.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/symfony/webpack-encore-bundle/1.6/config/packages/webpack_encore.yaml b/symfony/webpack-encore-bundle/1.6/config/packages/webpack_encore.yaml index 9191f4f46..60b08ee8f 100644 --- a/symfony/webpack-encore-bundle/1.6/config/packages/webpack_encore.yaml +++ b/symfony/webpack-encore-bundle/1.6/config/packages/webpack_encore.yaml @@ -7,7 +7,7 @@ webpack_encore: # if using Encore.enableIntegrityHashes() and need the crossorigin attribute (default: false, or use 'anonymous' or 'use-credentials') # crossorigin: 'anonymous' - # preload all rendered script and link tags automatically via the http2 Link header + # preload all rendered script and link tags automatically via the HTTP/2 Link header # preload: true # Throw an exception if the entrypoints.json file is missing or an entry is missing from the data From 5c6602044e537129d6fe4718a7b2a250ff102d59 Mon Sep 17 00:00:00 2001 From: Titouan Galopin Date: Sat, 5 Dec 2020 21:12:00 +0100 Subject: [PATCH 143/660] Migrate Webpack Encore recipe to Stimulus 2 --- symfony/webpack-encore-bundle/1.0/package.json | 4 ++-- .../1.6/config/packages/webpack_encore.yaml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/symfony/webpack-encore-bundle/1.0/package.json b/symfony/webpack-encore-bundle/1.0/package.json index 2adb3f61d..6ef11da27 100644 --- a/symfony/webpack-encore-bundle/1.0/package.json +++ b/symfony/webpack-encore-bundle/1.0/package.json @@ -1,9 +1,9 @@ { "devDependencies": { - "@symfony/stimulus-bridge": "^1.0.0", + "@symfony/stimulus-bridge": "^1.1.0", "@symfony/webpack-encore": "^0.32.0", "core-js": "^3.0.0", - "stimulus": "^1.1.1", + "stimulus": "^2.0.0", "regenerator-runtime": "^0.13.2", "webpack-notifier": "^1.6.0" }, diff --git a/symfony/webpack-encore-bundle/1.6/config/packages/webpack_encore.yaml b/symfony/webpack-encore-bundle/1.6/config/packages/webpack_encore.yaml index 60b08ee8f..a1335c53c 100644 --- a/symfony/webpack-encore-bundle/1.6/config/packages/webpack_encore.yaml +++ b/symfony/webpack-encore-bundle/1.6/config/packages/webpack_encore.yaml @@ -4,16 +4,16 @@ webpack_encore: # If multiple builds are defined (as shown below), you can disable the default build: # output_path: false - # if using Encore.enableIntegrityHashes() and need the crossorigin attribute (default: false, or use 'anonymous' or 'use-credentials') + # If using Encore.enableIntegrityHashes() and need the crossorigin attribute (default: false, or use 'anonymous' or 'use-credentials') # crossorigin: 'anonymous' - # preload all rendered script and link tags automatically via the HTTP/2 Link header + # Preload all rendered script and link tags automatically via the HTTP/2 Link header # preload: true # Throw an exception if the entrypoints.json file is missing or an entry is missing from the data # strict_mode: false - # if you have multiple builds: + # If you have multiple builds: # builds: # pass "frontend" as the 3rg arg to the Twig functions # {{ encore_entry_script_tags('entry1', null, 'frontend') }} From 375fe6b5e55b87f507314c7cc6b38b37d293eea7 Mon Sep 17 00:00:00 2001 From: Piergiuseppe Longo Date: Mon, 14 Dec 2020 12:18:34 +0100 Subject: [PATCH 144/660] Move gateway-notifier from 5.2 to 5.3 --- symfony/gatewayapi-notifier/{5.2 => 5.3}/manifest.json | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename symfony/gatewayapi-notifier/{5.2 => 5.3}/manifest.json (100%) diff --git a/symfony/gatewayapi-notifier/5.2/manifest.json b/symfony/gatewayapi-notifier/5.3/manifest.json similarity index 100% rename from symfony/gatewayapi-notifier/5.2/manifest.json rename to symfony/gatewayapi-notifier/5.3/manifest.json From 2b6f5bb0079f0030eafeadc565a908647f46e1ce Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Tue, 15 Dec 2020 17:56:27 +0100 Subject: [PATCH 145/660] Remove using "copy-from-package" --- symfony/requirements-checker/1.0/manifest.json | 4 ++-- symfony/requirements-checker/1.0/public/check.php | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 symfony/requirements-checker/1.0/public/check.php diff --git a/symfony/requirements-checker/1.0/manifest.json b/symfony/requirements-checker/1.0/manifest.json index dc76919c8..993ae66df 100644 --- a/symfony/requirements-checker/1.0/manifest.json +++ b/symfony/requirements-checker/1.0/manifest.json @@ -1,6 +1,6 @@ { - "copy-from-package": { - "public/check.php": "%PUBLIC_DIR%/check.php" + "copy-from-recipe": { + "public/": "%PUBLIC_DIR%/" }, "composer-scripts": { "requirements-checker": "script" diff --git a/symfony/requirements-checker/1.0/public/check.php b/symfony/requirements-checker/1.0/public/check.php new file mode 100644 index 000000000..2be7d49e6 --- /dev/null +++ b/symfony/requirements-checker/1.0/public/check.php @@ -0,0 +1,3 @@ + Date: Wed, 16 Dec 2020 16:26:51 +0100 Subject: [PATCH 146/660] [Notifier] [Slack] Update DSN --- symfony/slack-notifier/5.2/manifest.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 symfony/slack-notifier/5.2/manifest.json diff --git a/symfony/slack-notifier/5.2/manifest.json b/symfony/slack-notifier/5.2/manifest.json new file mode 100644 index 000000000..f34b655ce --- /dev/null +++ b/symfony/slack-notifier/5.2/manifest.json @@ -0,0 +1,5 @@ +{ + "env": { + "#1": "SLACK_DSN=slack://TOKEN@default?channel=CHANNEL" + } +} From 29f4473bf5ecdc4d9969e3e0450a4fb62a5f7e95 Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Thu, 17 Dec 2020 08:07:49 +0100 Subject: [PATCH 147/660] Add recipe for symfony/iqsms-notifier cc @alexandrbarabolia refs https://github.com/symfony/symfony/pull/39096 --- symfony/iqsms-notifier/5.3/manifest.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 symfony/iqsms-notifier/5.3/manifest.json diff --git a/symfony/iqsms-notifier/5.3/manifest.json b/symfony/iqsms-notifier/5.3/manifest.json new file mode 100644 index 000000000..ab96aaa98 --- /dev/null +++ b/symfony/iqsms-notifier/5.3/manifest.json @@ -0,0 +1,5 @@ +{ + "env": { + "#1": "IQSMS_DSN=iqsms://LOGIN:PASSWORD@default?from=FROM" + } +} From 1970497c84a263220fba7a21bbd85cc4b8fe6e98 Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Fri, 18 Dec 2020 11:35:57 +0100 Subject: [PATCH 148/660] Update DSN --- symfony/infobip-notifier/5.2/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/symfony/infobip-notifier/5.2/manifest.json b/symfony/infobip-notifier/5.2/manifest.json index b6990caae..2a6970199 100644 --- a/symfony/infobip-notifier/5.2/manifest.json +++ b/symfony/infobip-notifier/5.2/manifest.json @@ -1,5 +1,5 @@ { "env": { - "#1": "INFOBIP_DSN=infobip://AUTH_TOKEN@INFOBIP_HOST?from=FROM" + "#1": "INFOBIP_DSN=infobip://ACCESS_TOKEN@HOST?from=FROM" } } From a5dc40150708465fa146a7df1c57fd5000fd62cc Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Fri, 18 Dec 2020 11:39:38 +0100 Subject: [PATCH 149/660] Update DSN --- symfony/zulip-notifier/5.2/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/symfony/zulip-notifier/5.2/manifest.json b/symfony/zulip-notifier/5.2/manifest.json index fb1527d7b..c2794fa49 100644 --- a/symfony/zulip-notifier/5.2/manifest.json +++ b/symfony/zulip-notifier/5.2/manifest.json @@ -1,5 +1,5 @@ { "env": { - "#1": "ZULIP_DSN=zulip://EMAIL:APIKEY@ENDPOINT?channel=CHANNEL" + "#1": "ZULIP_DSN=zulip://EMAIL:TOKEN@HOST?channel=CHANNEL" } } From d27b3c9fa86f7d8d3cc18e7821e0dc205229c91b Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Fri, 18 Dec 2020 11:48:43 +0100 Subject: [PATCH 150/660] Update DSN --- symfony/mattermost-notifier/5.1/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/symfony/mattermost-notifier/5.1/manifest.json b/symfony/mattermost-notifier/5.1/manifest.json index 308f7d736..61accec5f 100644 --- a/symfony/mattermost-notifier/5.1/manifest.json +++ b/symfony/mattermost-notifier/5.1/manifest.json @@ -1,6 +1,6 @@ { "env": { "#1": "See https://docs.mattermost.com/developer/bot-accounts.html", - "#2": "MATTERMOST_DSN=mattermost://TOKEN@HOST?channel=CHANNEL_ID" + "#2": "MATTERMOST_DSN=mattermost://ACCESS_TOKEN@HOST/PATH?channel=CHANNEL" } } From 706682586247d6026a89976bf81f817564d68f95 Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Sun, 20 Dec 2020 14:52:54 +0100 Subject: [PATCH 151/660] Add symfony/gatewayapi-notifier --- symfony/gatewayapi-notifier/5.3/manifest.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 symfony/gatewayapi-notifier/5.3/manifest.json diff --git a/symfony/gatewayapi-notifier/5.3/manifest.json b/symfony/gatewayapi-notifier/5.3/manifest.json new file mode 100644 index 000000000..14be5eb0f --- /dev/null +++ b/symfony/gatewayapi-notifier/5.3/manifest.json @@ -0,0 +1,5 @@ +{ + "env": { + "#1": "GATEWAYAPI_DSN=gatewayapi://TOKEN@default?from=FROM" + } +} From c0a3855ba1575d226b398a3cee8d26252cb0d8ca Mon Sep 17 00:00:00 2001 From: Quentin Dequippe Date: Wed, 23 Dec 2020 14:57:12 +0100 Subject: [PATCH 152/660] Add recipe for AllMySms Notifier bridge --- symfony/allmysms-notifier/5.3/manifest.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 symfony/allmysms-notifier/5.3/manifest.json diff --git a/symfony/allmysms-notifier/5.3/manifest.json b/symfony/allmysms-notifier/5.3/manifest.json new file mode 100644 index 000000000..5a3541fb8 --- /dev/null +++ b/symfony/allmysms-notifier/5.3/manifest.json @@ -0,0 +1,5 @@ +{ + "env": { + "#1": "ALLMYSMS_DSN=allmysms://LOGIN:APIKEY@default?from=FROM" + } +} From d7cd2d2fcb3baba56e5f07fbfc56e5678ed28865 Mon Sep 17 00:00:00 2001 From: Massimiliano Arione Date: Thu, 7 Jan 2021 13:45:18 +0100 Subject: [PATCH 153/660] remove "array_syntax" option --- friendsofphp/php-cs-fixer/2.16/.php_cs.dist | 13 +++++++++++++ friendsofphp/php-cs-fixer/2.16/manifest.json | 10 ++++++++++ 2 files changed, 23 insertions(+) create mode 100644 friendsofphp/php-cs-fixer/2.16/.php_cs.dist create mode 100644 friendsofphp/php-cs-fixer/2.16/manifest.json diff --git a/friendsofphp/php-cs-fixer/2.16/.php_cs.dist b/friendsofphp/php-cs-fixer/2.16/.php_cs.dist new file mode 100644 index 000000000..2aa712cb4 --- /dev/null +++ b/friendsofphp/php-cs-fixer/2.16/.php_cs.dist @@ -0,0 +1,13 @@ +in(__DIR__) + ->exclude('var') +; + +return PhpCsFixer\Config::create() + ->setRules([ + '@Symfony' => true, + ]) + ->setFinder($finder) +; diff --git a/friendsofphp/php-cs-fixer/2.16/manifest.json b/friendsofphp/php-cs-fixer/2.16/manifest.json new file mode 100644 index 000000000..56096a3aa --- /dev/null +++ b/friendsofphp/php-cs-fixer/2.16/manifest.json @@ -0,0 +1,10 @@ +{ + "aliases": ["cs-fixer", "php-cs-fixer"], + "copy-from-recipe": { + ".php_cs.dist": ".php_cs.dist" + }, + "gitignore": [ + "/.php_cs", + "/.php_cs.cache" + ] +} From 74c58675c6f047cd9c6260da10c468dd4f425916 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Thu, 7 Jan 2021 18:10:09 +0100 Subject: [PATCH 154/660] Bump to phpunit 8.5 --- symfony/phpunit-bridge/5.1/.env.test | 1 + symfony/phpunit-bridge/5.1/bin/phpunit | 1 + symfony/phpunit-bridge/5.1/manifest.json | 1 + symfony/phpunit-bridge/5.1/phpunit.xml.dist | 33 +++++++++++++++++++++ symfony/phpunit-bridge/5.1/post-install.txt | 1 + symfony/phpunit-bridge/5.1/tests | 1 + 6 files changed, 38 insertions(+) create mode 120000 symfony/phpunit-bridge/5.1/.env.test create mode 120000 symfony/phpunit-bridge/5.1/bin/phpunit create mode 120000 symfony/phpunit-bridge/5.1/manifest.json create mode 100644 symfony/phpunit-bridge/5.1/phpunit.xml.dist create mode 120000 symfony/phpunit-bridge/5.1/post-install.txt create mode 120000 symfony/phpunit-bridge/5.1/tests diff --git a/symfony/phpunit-bridge/5.1/.env.test b/symfony/phpunit-bridge/5.1/.env.test new file mode 120000 index 000000000..ba1559e97 --- /dev/null +++ b/symfony/phpunit-bridge/5.1/.env.test @@ -0,0 +1 @@ +../4.1/.env.test \ 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 120000 index 000000000..ff70bb1a0 --- /dev/null +++ b/symfony/phpunit-bridge/5.1/bin/phpunit @@ -0,0 +1 @@ +../../4.3/bin/phpunit \ No newline at end of file diff --git a/symfony/phpunit-bridge/5.1/manifest.json b/symfony/phpunit-bridge/5.1/manifest.json new file mode 120000 index 000000000..ae0cf2332 --- /dev/null +++ b/symfony/phpunit-bridge/5.1/manifest.json @@ -0,0 +1 @@ +../3.3/manifest.json \ No newline at end of file diff --git a/symfony/phpunit-bridge/5.1/phpunit.xml.dist b/symfony/phpunit-bridge/5.1/phpunit.xml.dist new file mode 100644 index 000000000..0c1b1d9d3 --- /dev/null +++ b/symfony/phpunit-bridge/5.1/phpunit.xml.dist @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + tests + + + + + + src + + + + + + + diff --git a/symfony/phpunit-bridge/5.1/post-install.txt b/symfony/phpunit-bridge/5.1/post-install.txt new file mode 120000 index 000000000..bba626e07 --- /dev/null +++ b/symfony/phpunit-bridge/5.1/post-install.txt @@ -0,0 +1 @@ +../3.3/post-install.txt \ No newline at end of file diff --git a/symfony/phpunit-bridge/5.1/tests b/symfony/phpunit-bridge/5.1/tests new file mode 120000 index 000000000..1f30e2be7 --- /dev/null +++ b/symfony/phpunit-bridge/5.1/tests @@ -0,0 +1 @@ +../3.3/tests/ \ No newline at end of file From 2ee0cd4c3a3ada72e9b0073ef5fc4049e84f4cf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20MARTIN?= Date: Fri, 8 Jan 2021 17:09:35 +0100 Subject: [PATCH 155/660] Add Octopush notifier transport --- symfony/octopush-notifier/5.3/manifest.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 symfony/octopush-notifier/5.3/manifest.json diff --git a/symfony/octopush-notifier/5.3/manifest.json b/symfony/octopush-notifier/5.3/manifest.json new file mode 100644 index 000000000..bf8cc6f9a --- /dev/null +++ b/symfony/octopush-notifier/5.3/manifest.json @@ -0,0 +1,5 @@ +{ + "env": { + "#1": "OCTOPUSH_DSN=octopush://USERLOGIN:APIKEY@default?from=FROM&type=TYPE" + } +} From c9de8434cc76dc4ab47a225375a53bef8aa146bb Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Fri, 15 Jan 2021 07:56:10 +0100 Subject: [PATCH 156/660] Rename parameter for symfony/google-chat-notifier --- symfony/google-chat-notifier/5.3/manifest.json | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 symfony/google-chat-notifier/5.3/manifest.json diff --git a/symfony/google-chat-notifier/5.3/manifest.json b/symfony/google-chat-notifier/5.3/manifest.json new file mode 100644 index 000000000..3b0979c6e --- /dev/null +++ b/symfony/google-chat-notifier/5.3/manifest.json @@ -0,0 +1,6 @@ +{ + "env": { + "#1": "See https://developers.google.com/hangouts/chat/how-tos/webhooks", + "#2": "GOOGLE_CHAT_DSN=googlechat://ACCESS_KEY:ACCESS_TOKEN@default/SPACE?thread_key=THREAD_KEY" + } +} From ca52183253e4034a558407322db2c15a4142be14 Mon Sep 17 00:00:00 2001 From: Piergiuseppe Longo Date: Mon, 14 Dec 2020 10:28:32 +0100 Subject: [PATCH 157/660] Update symfony/gatewayapi-notifier/5.2/manifest.json Co-authored-by: Oskar Stark --- symfony/gatewayapi-notifier/5.3/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/symfony/gatewayapi-notifier/5.3/manifest.json b/symfony/gatewayapi-notifier/5.3/manifest.json index 0b36a1b58..99d365aef 100644 --- a/symfony/gatewayapi-notifier/5.3/manifest.json +++ b/symfony/gatewayapi-notifier/5.3/manifest.json @@ -1,5 +1,5 @@ { "env": { - "#1": "GATEWAYAPI_DSN=gatewayapi://AUTH_TOKEN@default?from=SENDER" + "#1": "GATEWAYAPI_DSN=gatewayapi://TOKEN@default?from=SENDER" } } From 678e69b39bdb920fe81e27619bc5917fa32e5691 Mon Sep 17 00:00:00 2001 From: Christin Gruber Date: Fri, 15 Jan 2021 18:51:06 +0100 Subject: [PATCH 158/660] Add symfony/gitter-notifier recipe --- symfony/gitter-notifier/5.3/manifest.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 symfony/gitter-notifier/5.3/manifest.json diff --git a/symfony/gitter-notifier/5.3/manifest.json b/symfony/gitter-notifier/5.3/manifest.json new file mode 100644 index 000000000..f959cb389 --- /dev/null +++ b/symfony/gitter-notifier/5.3/manifest.json @@ -0,0 +1,5 @@ +{ + "env": { + "#1": "GITTER_DSN=gitter://TOKEN@default?room_id=ROOM_ID" + } +} From cf47b10f135a03ba14b490ddf167be0fe0dc9b10 Mon Sep 17 00:00:00 2001 From: Ryan Weaver Date: Fri, 15 Jan 2021 14:00:20 -0500 Subject: [PATCH 159/660] Moving scripts to by default With