From c03325ec335e4c86c227bbcf81e0b7b20f53ba86 Mon Sep 17 00:00:00 2001 From: "github-action[bot]" <> Date: Tue, 4 Nov 2025 11:02:56 +0000 Subject: [PATCH] Update Flex endpoint --- ...7deb12541f35793eec9fff7494d7aa12283fc.json | 123 ++++++++++++++++++ phpunit.phpunit.11.1.json | 23 +--- 2 files changed, 125 insertions(+), 21 deletions(-) create mode 100644 archived/phpunit.phpunit/1117deb12541f35793eec9fff7494d7aa12283fc.json diff --git a/archived/phpunit.phpunit/1117deb12541f35793eec9fff7494d7aa12283fc.json b/archived/phpunit.phpunit/1117deb12541f35793eec9fff7494d7aa12283fc.json new file mode 100644 index 00000000..756833c5 --- /dev/null +++ b/archived/phpunit.phpunit/1117deb12541f35793eec9fff7494d7aa12283fc.json @@ -0,0 +1,123 @@ +{ + "manifests": { + "phpunit/phpunit": { + "manifest": { + "add-lines": [ + { + "file": "phpunit.dist.xml", + "content": " Doctrine\\Deprecations\\Deprecation::trigger\n Doctrine\\Deprecations\\Deprecation::delegateTriggerToBackend", + "position": "after_target", + "target": "", + "requires": [ + "doctrine/deprecations" + ] + } + ], + "copy-from-recipe": { + ".env.test": ".env.test", + "phpunit.dist.xml": "phpunit.dist.xml", + "tests/": "tests/", + "bin/": "%BIN_DIR%/" + }, + "gitignore": [ + "/phpunit.xml", + "/.phpunit.cache/" + ], + "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'", + "" + ], + "executable": false + }, + "bin/phpunit": { + "contents": [ + "#!/usr/bin/env php", + "", + "", + "", + "", + " ", + " ", + " ", + " ", + " ", + " ", + "", + " ", + " ", + " tests", + " ", + " ", + "", + " ", + " ", + " src", + " ", + "", + " ", + " trigger_deprecation", + " ", + " ", + "", + " ", + " ", + "", + "" + ], + "executable": false + }, + "tests/bootstrap.php": { + "contents": [ + "bootEnv(dirname(__DIR__).'/.env');", + "}", + "", + "if ($_SERVER['APP_DEBUG']) {", + " umask(0000);", + "}", + "" + ], + "executable": false + } + }, + "ref": "1117deb12541f35793eec9fff7494d7aa12283fc" + } + } +} diff --git a/phpunit.phpunit.11.1.json b/phpunit.phpunit.11.1.json index 5235fe07..756833c5 100644 --- a/phpunit.phpunit.11.1.json +++ b/phpunit.phpunit.11.1.json @@ -44,26 +44,7 @@ "#!/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';", - "}", + "require dirname(__DIR__).'/vendor/phpunit/phpunit/phpunit';", "" ], "executable": true @@ -136,7 +117,7 @@ "executable": false } }, - "ref": "c6658a60fc9d594805370eacdf542c3d6b5c0869" + "ref": "1117deb12541f35793eec9fff7494d7aa12283fc" } } }