From a5019ff7bb539000d984e8f6234660396eafeeea Mon Sep 17 00:00:00 2001 From: "github-action[bot]" <> Date: Sun, 21 Jan 2024 09:28:37 +0000 Subject: [PATCH] Update Flex endpoint --- ...e01a897311647520b43d4ddddad9537b99ba6.json | 135 ++++++++++++++++++ ...1a0480041243d97382cac7984f7dce7813c08.json | 134 +++++++++++++++++ index.json | 6 +- symfony.phpunit-bridge.5.3.json | 9 +- symfony.phpunit-bridge.6.3.json | 9 +- 5 files changed, 283 insertions(+), 10 deletions(-) create mode 100644 archived/symfony.phpunit-bridge/07ce01a897311647520b43d4ddddad9537b99ba6.json create mode 100644 archived/symfony.phpunit-bridge/a411a0480041243d97382cac7984f7dce7813c08.json diff --git a/archived/symfony.phpunit-bridge/07ce01a897311647520b43d4ddddad9537b99ba6.json b/archived/symfony.phpunit-bridge/07ce01a897311647520b43d4ddddad9537b99ba6.json new file mode 100644 index 00000000..197b7265 --- /dev/null +++ b/archived/symfony.phpunit-bridge/07ce01a897311647520b43d4ddddad9537b99ba6.json @@ -0,0 +1,135 @@ +{ + "manifests": { + "symfony/phpunit-bridge": { + "manifest": { + "copy-from-recipe": { + ".env.test": ".env.test", + "bin/": "%BIN_DIR%/", + "phpunit.xml.dist": "phpunit.xml.dist", + "tests/": "tests/" + }, + "gitignore": [ + ".phpunit.result.cache", + "/phpunit.xml" + ], + "conflict": { + "symfony/framework-bundle": "<5.4" + }, + "post-install-output": [ + " * Write test cases in the tests/ folder", + " * Use MakerBundle's make:test command as a shortcut!", + " * Run the tests with php bin/phpunit" + ] + }, + "files": { + ".env.test": { + "contents": [ + "# define your env variables for the test env here", + "KERNEL_CLASS='App\\Kernel'", + "APP_SECRET='$ecretf0rt3st'", + "SYMFONY_DEPRECATIONS_HELPER=999999", + "PANTHER_APP_ENV=panther", + "PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots", + "" + ], + "executable": false + }, + "bin/phpunit": { + "contents": [ + "#!/usr/bin/env php", + "= 80000) {", + " require dirname(__DIR__).'/vendor/phpunit/phpunit/phpunit';", + " } else {", + " define('PHPUNIT_COMPOSER_INSTALL', dirname(__DIR__).'/vendor/autoload.php');", + " require PHPUNIT_COMPOSER_INSTALL;", + " PHPUnit\\TextUI\\Command::main();", + " }", + "} else {", + " if (!is_file(dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php')) {", + " echo \"Unable to find the `simple-phpunit.php` script in `vendor/symfony/phpunit-bridge/bin/`.\\n\";", + " exit(1);", + " }", + "", + " require dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php';", + "}", + "" + ], + "executable": true + }, + "phpunit.xml.dist": { + "contents": [ + "", + "", + "", + "", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + "", + " ", + " ", + " tests", + " ", + " ", + "", + " ", + " ", + " src", + " ", + " ", + "", + " ", + " ", + " ", + "", + " ", + "", + "" + ], + "executable": false + }, + "tests/bootstrap.php": { + "contents": [ + "bootEnv(dirname(__DIR__).'/.env');", + "}", + "", + "if ($_SERVER['APP_DEBUG']) {", + " umask(0000);", + "}", + "" + ], + "executable": false + } + }, + "ref": "07ce01a897311647520b43d4ddddad9537b99ba6" + } + } +} diff --git a/archived/symfony.phpunit-bridge/a411a0480041243d97382cac7984f7dce7813c08.json b/archived/symfony.phpunit-bridge/a411a0480041243d97382cac7984f7dce7813c08.json new file mode 100644 index 00000000..611c6175 --- /dev/null +++ b/archived/symfony.phpunit-bridge/a411a0480041243d97382cac7984f7dce7813c08.json @@ -0,0 +1,134 @@ +{ + "manifests": { + "symfony/phpunit-bridge": { + "manifest": { + "copy-from-recipe": { + ".env.test": ".env.test", + "bin/": "%BIN_DIR%/", + "phpunit.xml.dist": "phpunit.xml.dist", + "tests/": "tests/" + }, + "gitignore": [ + ".phpunit.result.cache", + "/phpunit.xml" + ], + "conflict": { + "phpunit/phpunit": "<9.6", + "symfony/framework-bundle": "<5.4" + }, + "post-install-output": [ + " * Write test cases in the tests/ folder", + " * Use MakerBundle's make:test command as a shortcut!", + " * Run the tests with php bin/phpunit" + ] + }, + "files": { + ".env.test": { + "contents": [ + "# define your env variables for the test env here", + "KERNEL_CLASS='App\\Kernel'", + "APP_SECRET='$ecretf0rt3st'", + "SYMFONY_DEPRECATIONS_HELPER=999999", + "PANTHER_APP_ENV=panther", + "PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots", + "" + ], + "executable": false + }, + "bin/phpunit": { + "contents": [ + "#!/usr/bin/env php", + "= 80000) {", + " require dirname(__DIR__).'/vendor/phpunit/phpunit/phpunit';", + " } else {", + " define('PHPUNIT_COMPOSER_INSTALL', dirname(__DIR__).'/vendor/autoload.php');", + " require PHPUNIT_COMPOSER_INSTALL;", + " PHPUnit\\TextUI\\Command::main();", + " }", + "} else {", + " if (!is_file(dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php')) {", + " echo \"Unable to find the `simple-phpunit.php` script in `vendor/symfony/phpunit-bridge/bin/`.\\n\";", + " exit(1);", + " }", + "", + " require dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php';", + "}", + "" + ], + "executable": true + }, + "phpunit.xml.dist": { + "contents": [ + "", + "", + "", + "", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + "", + " ", + " ", + " tests", + " ", + " ", + "", + " ", + " ", + " src", + " ", + " ", + "", + " ", + " ", + " ", + "", + " ", + " ", + "", + "" + ], + "executable": false + }, + "tests/bootstrap.php": { + "contents": [ + "bootEnv(dirname(__DIR__).'/.env');", + "}", + "", + "if ($_SERVER['APP_DEBUG']) {", + " umask(0000);", + "}", + "" + ], + "executable": false + } + }, + "ref": "a411a0480041243d97382cac7984f7dce7813c08" + } + } +} diff --git a/index.json b/index.json index 1a3880ca..05eac5fe 100644 --- a/index.json +++ b/index.json @@ -1159,8 +1159,12 @@ } }, "symfony/phpunit-bridge": { + "5.3": { + "symfony/framework-bundle": "<5.4" + }, "6.3": { - "phpunit/phpunit": "<9.6" + "phpunit/phpunit": "<9.6", + "symfony/framework-bundle": "<5.4" } }, "symfony/routing": { diff --git a/symfony.phpunit-bridge.5.3.json b/symfony.phpunit-bridge.5.3.json index 54d041e1..197b7265 100644 --- a/symfony.phpunit-bridge.5.3.json +++ b/symfony.phpunit-bridge.5.3.json @@ -12,6 +12,9 @@ ".phpunit.result.cache", "/phpunit.xml" ], + "conflict": { + "symfony/framework-bundle": "<5.4" + }, "post-install-output": [ " * Write test cases in the tests/ folder", " * Use MakerBundle's make:test command as a shortcut!", @@ -114,9 +117,7 @@ "", "require dirname(__DIR__).'/vendor/autoload.php';", "", - "if (file_exists(dirname(__DIR__).'/config/bootstrap.php')) {", - " require dirname(__DIR__).'/config/bootstrap.php';", - "} elseif (method_exists(Dotenv::class, 'bootEnv')) {", + "if (method_exists(Dotenv::class, 'bootEnv')) {", " (new Dotenv())->bootEnv(dirname(__DIR__).'/.env');", "}", "", @@ -128,7 +129,7 @@ "executable": false } }, - "ref": "221b9cc0a623f567e83ccd61a8ac82a9a91e2b5b" + "ref": "07ce01a897311647520b43d4ddddad9537b99ba6" } } } diff --git a/symfony.phpunit-bridge.6.3.json b/symfony.phpunit-bridge.6.3.json index 0a811169..611c6175 100644 --- a/symfony.phpunit-bridge.6.3.json +++ b/symfony.phpunit-bridge.6.3.json @@ -13,7 +13,8 @@ "/phpunit.xml" ], "conflict": { - "phpunit/phpunit": "<9.6" + "phpunit/phpunit": "<9.6", + "symfony/framework-bundle": "<5.4" }, "post-install-output": [ " * Write test cases in the tests/ folder", @@ -115,9 +116,7 @@ "", "require dirname(__DIR__).'/vendor/autoload.php';", "", - "if (file_exists(dirname(__DIR__).'/config/bootstrap.php')) {", - " require dirname(__DIR__).'/config/bootstrap.php';", - "} elseif (method_exists(Dotenv::class, 'bootEnv')) {", + "if (method_exists(Dotenv::class, 'bootEnv')) {", " (new Dotenv())->bootEnv(dirname(__DIR__).'/.env');", "}", "", @@ -129,7 +128,7 @@ "executable": false } }, - "ref": "1f5830c331065b6e4c9d5fa2105e322d29fcd573" + "ref": "a411a0480041243d97382cac7984f7dce7813c08" } } }