From 7f8c872bcd9e1284a5e042a041ddb06f6e8d17e7 Mon Sep 17 00:00:00 2001 From: "github-action[bot]" <> Date: Mon, 6 Nov 2023 11:18:39 +0000 Subject: [PATCH] Update Flex endpoint --- ...b9cc0a623f567e83ccd61a8ac82a9a91e2b5b.json | 134 +++++++++++++++++ ...e46e7bd453880707d920c99be0da5afaaaa22.json | 135 ++++++++++++++++++ symfony.phpunit-bridge.5.3.json | 12 +- symfony.phpunit-bridge.6.3.json | 12 +- 4 files changed, 285 insertions(+), 8 deletions(-) create mode 100644 archived/symfony.phpunit-bridge/221b9cc0a623f567e83ccd61a8ac82a9a91e2b5b.json create mode 100644 archived/symfony.phpunit-bridge/5e6e46e7bd453880707d920c99be0da5afaaaa22.json diff --git a/archived/symfony.phpunit-bridge/221b9cc0a623f567e83ccd61a8ac82a9a91e2b5b.json b/archived/symfony.phpunit-bridge/221b9cc0a623f567e83ccd61a8ac82a9a91e2b5b.json new file mode 100644 index 00000000..54d041e1 --- /dev/null +++ b/archived/symfony.phpunit-bridge/221b9cc0a623f567e83ccd61a8ac82a9a91e2b5b.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" + ], + "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": "221b9cc0a623f567e83ccd61a8ac82a9a91e2b5b" + } + } +} diff --git a/archived/symfony.phpunit-bridge/5e6e46e7bd453880707d920c99be0da5afaaaa22.json b/archived/symfony.phpunit-bridge/5e6e46e7bd453880707d920c99be0da5afaaaa22.json new file mode 100644 index 00000000..177f7924 --- /dev/null +++ b/archived/symfony.phpunit-bridge/5e6e46e7bd453880707d920c99be0da5afaaaa22.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": { + "phpunit/phpunit": "<9.6" + }, + "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": "5e6e46e7bd453880707d920c99be0da5afaaaa22" + } + } +} diff --git a/symfony.phpunit-bridge.5.3.json b/symfony.phpunit-bridge.5.3.json index c63bcd28..54d041e1 100644 --- a/symfony.phpunit-bridge.5.3.json +++ b/symfony.phpunit-bridge.5.3.json @@ -41,9 +41,13 @@ "}", "", "if (is_file(dirname(__DIR__).'/vendor/phpunit/phpunit/phpunit')) {", - " define('PHPUNIT_COMPOSER_INSTALL', dirname(__DIR__).'/vendor/autoload.php');", - " require PHPUNIT_COMPOSER_INSTALL;", - " PHPUnit\\TextUI\\Command::main();", + " if (PHP_VERSION_ID >= 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\";", @@ -124,7 +128,7 @@ "executable": false } }, - "ref": "6df817da0ca2b8cddbb6e690051d7f2b45530d06" + "ref": "221b9cc0a623f567e83ccd61a8ac82a9a91e2b5b" } } } diff --git a/symfony.phpunit-bridge.6.3.json b/symfony.phpunit-bridge.6.3.json index a144b577..177f7924 100644 --- a/symfony.phpunit-bridge.6.3.json +++ b/symfony.phpunit-bridge.6.3.json @@ -44,9 +44,13 @@ "}", "", "if (is_file(dirname(__DIR__).'/vendor/phpunit/phpunit/phpunit')) {", - " define('PHPUNIT_COMPOSER_INSTALL', dirname(__DIR__).'/vendor/autoload.php');", - " require PHPUNIT_COMPOSER_INSTALL;", - " PHPUnit\\TextUI\\Command::main();", + " if (PHP_VERSION_ID >= 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\";", @@ -125,7 +129,7 @@ "executable": false } }, - "ref": "01dfaa98c58f7a7b5a9b30e6edb7074af7ed9819" + "ref": "5e6e46e7bd453880707d920c99be0da5afaaaa22" } } }