diff --git a/RECIPES.md b/RECIPES.md
index 2e4d8a2e..e93cc062 100644
--- a/RECIPES.md
+++ b/RECIPES.md
@@ -25,7 +25,7 @@ Additional recipes can be found on the [Contrib Recipes Repository](https://gith
| [nyholm/psr7](https://packagist.org/packages/nyholm/psr7) | [1.0](nyholm/psr7/1.0) | |
| [php-cs-fixer/shim](https://packagist.org/packages/php-cs-fixer/shim) | [3.0](php-cs-fixer/shim/3.0) | `cs-fixer-shim`, `csfixershim`, `php-cs-fixer-shim`, `phpcsfixershim` |
| [php-http/discovery](https://packagist.org/packages/php-http/discovery) | [1.18](php-http/discovery/1.18) | |
-| [phpunit/phpunit](https://packagist.org/packages/phpunit/phpunit) | [9.6](phpunit/phpunit/9.6) | |
+| [phpunit/phpunit](https://packagist.org/packages/phpunit/phpunit) | [10.0](phpunit/phpunit/10.0) | |
| [scheb/2fa-bundle](https://packagist.org/packages/scheb/2fa-bundle) | [6.0](scheb/2fa-bundle/6.0) | `2fa` |
| [sensio/framework-extra-bundle](https://packagist.org/packages/sensio/framework-extra-bundle) | [5.2](sensio/framework-extra-bundle/5.2) | `annot`, `annotation`, `annotations`, `annots` |
| [sensiolabs/ansi-to-html](https://packagist.org/packages/sensiolabs/ansi-to-html) | [1.2](sensiolabs/ansi-to-html/1.2) | |
diff --git a/archived/phpunit.phpunit/4eb12de6eef0f6f1bc7af2c51f6316e2f686e09b.json b/archived/phpunit.phpunit/4eb12de6eef0f6f1bc7af2c51f6316e2f686e09b.json
new file mode 100644
index 00000000..069a27d3
--- /dev/null
+++ b/archived/phpunit.phpunit/4eb12de6eef0f6f1bc7af2c51f6316e2f686e09b.json
@@ -0,0 +1,93 @@
+{
+ "manifests": {
+ "phpunit/phpunit": {
+ "manifest": {
+ "copy-from-recipe": {
+ ".env.test": ".env.test",
+ "phpunit.xml.dist": "phpunit.xml.dist",
+ "tests/": "tests/"
+ },
+ "gitignore": [
+ "/phpunit.xml",
+ ".phpunit.result.cache"
+ ]
+ },
+ "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
+ },
+ "phpunit.xml.dist": {
+ "contents": [
+ "",
+ "",
+ "",
+ "",
+ " ",
+ " ",
+ " ",
+ " ",
+ " ",
+ " ",
+ " ",
+ " ",
+ "",
+ " ",
+ " ",
+ " tests",
+ " ",
+ " ",
+ "",
+ " ",
+ " ",
+ " src",
+ " ",
+ " ",
+ "",
+ " ",
+ " ",
+ " ",
+ "",
+ " ",
+ "",
+ ""
+ ],
+ "executable": false
+ },
+ "tests/bootstrap.php": {
+ "contents": [
+ "bootEnv(dirname(__DIR__).'/.env');",
+ "}",
+ ""
+ ],
+ "executable": false
+ }
+ },
+ "ref": "4eb12de6eef0f6f1bc7af2c51f6316e2f686e09b"
+ }
+ }
+}
diff --git a/archived/phpunit.phpunit/4eea8d6a476c8e9eb28c56725a4c0716df7d14c1.json b/archived/phpunit.phpunit/4eea8d6a476c8e9eb28c56725a4c0716df7d14c1.json
new file mode 100644
index 00000000..ed4c1f82
--- /dev/null
+++ b/archived/phpunit.phpunit/4eea8d6a476c8e9eb28c56725a4c0716df7d14c1.json
@@ -0,0 +1,90 @@
+{
+ "manifests": {
+ "phpunit/phpunit": {
+ "manifest": {
+ "copy-from-recipe": {
+ ".env.test": ".env.test",
+ "phpunit.xml.dist": "phpunit.xml.dist",
+ "tests/": "tests/"
+ },
+ "gitignore": [
+ "/phpunit.xml",
+ ".phpunit.result.cache"
+ ]
+ },
+ "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
+ },
+ "phpunit.xml.dist": {
+ "contents": [
+ "",
+ "",
+ "",
+ "",
+ " ",
+ " ",
+ " ",
+ " ",
+ " ",
+ " ",
+ "",
+ " ",
+ " ",
+ " tests",
+ " ",
+ " ",
+ "",
+ " ",
+ " ",
+ " src",
+ " ",
+ " ",
+ "",
+ " ",
+ " ",
+ " ",
+ "",
+ " ",
+ "",
+ ""
+ ],
+ "executable": false
+ },
+ "tests/bootstrap.php": {
+ "contents": [
+ "bootEnv(dirname(__DIR__).'/.env');",
+ "}",
+ ""
+ ],
+ "executable": false
+ }
+ },
+ "ref": "4eea8d6a476c8e9eb28c56725a4c0716df7d14c1"
+ }
+ }
+}
diff --git a/archived/phpunit.phpunit/6a9341aa97d441627f8bd424ae85dc04c944f8b4.json b/archived/phpunit.phpunit/6a9341aa97d441627f8bd424ae85dc04c944f8b4.json
new file mode 100644
index 00000000..f7c8266f
--- /dev/null
+++ b/archived/phpunit.phpunit/6a9341aa97d441627f8bd424ae85dc04c944f8b4.json
@@ -0,0 +1,91 @@
+{
+ "manifests": {
+ "phpunit/phpunit": {
+ "manifest": {
+ "copy-from-recipe": {
+ ".env.test": ".env.test",
+ "phpunit.xml.dist": "phpunit.xml.dist",
+ "tests/": "tests/"
+ },
+ "gitignore": [
+ "/phpunit.xml",
+ ".phpunit.result.cache"
+ ]
+ },
+ "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
+ },
+ "phpunit.xml.dist": {
+ "contents": [
+ "",
+ "",
+ "",
+ "",
+ " ",
+ " ",
+ " ",
+ " ",
+ " ",
+ " ",
+ " ",
+ " ",
+ "",
+ " ",
+ " ",
+ " tests",
+ " ",
+ " ",
+ "",
+ " ",
+ " ",
+ " src",
+ " ",
+ " ",
+ "",
+ " ",
+ " ",
+ " ",
+ "",
+ " ",
+ " ",
+ "",
+ ""
+ ],
+ "executable": false
+ },
+ "tests/bootstrap.php": {
+ "contents": [
+ "bootEnv(dirname(__DIR__).'/.env');",
+ "}",
+ ""
+ ],
+ "executable": false
+ }
+ },
+ "ref": "6a9341aa97d441627f8bd424ae85dc04c944f8b4"
+ }
+ }
+}
diff --git a/archived/phpunit.phpunit/b786e93f0b38027289867faca488b8c511436fe0.json b/archived/phpunit.phpunit/b786e93f0b38027289867faca488b8c511436fe0.json
new file mode 100644
index 00000000..d91a631b
--- /dev/null
+++ b/archived/phpunit.phpunit/b786e93f0b38027289867faca488b8c511436fe0.json
@@ -0,0 +1,85 @@
+{
+ "manifests": {
+ "phpunit/phpunit": {
+ "manifest": {
+ "copy-from-recipe": {
+ ".env.test": ".env.test",
+ "phpunit.dist.xml": "phpunit.dist.xml",
+ "tests/": "tests/"
+ },
+ "gitignore": [
+ "/phpunit.xml",
+ "/.phpunit.cache/"
+ ]
+ },
+ "files": {
+ ".env.test": {
+ "contents": [
+ "# define your env variables for the test env here",
+ "KERNEL_CLASS='App\\Kernel'",
+ "APP_SECRET='$ecretf0rt3st'",
+ "SYMFONY_DEPRECATIONS_HELPER=999999",
+ ""
+ ],
+ "executable": false
+ },
+ "phpunit.dist.xml": {
+ "contents": [
+ "",
+ "",
+ "",
+ "",
+ " ",
+ " ",
+ " ",
+ " ",
+ " ",
+ " ",
+ " ",
+ " ",
+ "",
+ " ",
+ " ",
+ " tests",
+ " ",
+ " ",
+ "",
+ " ",
+ " ",
+ " src",
+ " ",
+ " ",
+ "",
+ " ",
+ " ",
+ "",
+ ""
+ ],
+ "executable": false
+ },
+ "tests/bootstrap.php": {
+ "contents": [
+ "bootEnv(dirname(__DIR__).'/.env');",
+ "}",
+ ""
+ ],
+ "executable": false
+ }
+ },
+ "ref": "b786e93f0b38027289867faca488b8c511436fe0"
+ }
+ }
+}
diff --git a/archived/symfony.panther/bc2de681f79db177eac72d5b04c23bd59bea2b46.json b/archived/symfony.panther/bc2de681f79db177eac72d5b04c23bd59bea2b46.json
new file mode 100644
index 00000000..8b50f36f
--- /dev/null
+++ b/archived/symfony.panther/bc2de681f79db177eac72d5b04c23bd59bea2b46.json
@@ -0,0 +1,58 @@
+{
+ "manifests": {
+ "symfony/panther": {
+ "manifest": {
+ "dockerfile": [
+ "# Chromium and ChromeDriver",
+ "ENV PANTHER_NO_SANDBOX 1",
+ "# Not mandatory, but recommended",
+ "ENV PANTHER_CHROME_ARGUMENTS='--disable-dev-shm-usage'",
+ "RUN apt-get update && apt-get install -y --no-install-recommends chromium chromium-driver && rm -rf /var/lib/apt/lists/*",
+ "",
+ "# Firefox and geckodriver",
+ "#ARG GECKODRIVER_VERSION=0.34.0",
+ "#RUN apt-get update && apt-get install -y --no-install-recommends firefox && rm -rf /var/lib/apt/lists/*",
+ "#RUN wget -q https://github.com/mozilla/geckodriver/releases/download/v$GECKODRIVER_VERSION/geckodriver-v$GECKODRIVER_VERSION-aarch64.tar.gz; \\",
+ "#\ttar -zxf geckodriver-v$GECKODRIVER_VERSION-aarch64.tar.gz -C /usr/bin; \\",
+ "#\trm geckodriver-v$GECKODRIVER_VERSION-aarch64.tar.gz"
+ ],
+ "add-lines": [
+ {
+ "file": "phpunit.xml.dist",
+ "content": " ",
+ "position": "after_target",
+ "target": "",
+ "warn_if_missing": false
+ },
+ {
+ "file": "phpunit.dist.xml",
+ "content": " ",
+ "position": "after_target",
+ "target": "",
+ "warn_if_missing": false
+ },
+ {
+ "file": ".env.test",
+ "content": "PANTHER_APP_ENV=panther\nPANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots",
+ "position": "after_target",
+ "target": "SYMFONY_DEPRECATIONS_HELPER=999999",
+ "warn_if_missing": true
+ }
+ ],
+ "post-install-output": [
+ " * Install ChromeDriver> or geckodriver> with ",
+ " the package manager of your Operating System.",
+ " ",
+ " Alternatively, use Browser Driver Installer:",
+ "",
+ " composer require --dev dbrekelmans/bdi>",
+ " vendor/bin/bdi detect drivers>",
+ "",
+ " This step is not necessary when using Docker."
+ ]
+ },
+ "files": [],
+ "ref": "bc2de681f79db177eac72d5b04c23bd59bea2b46"
+ }
+ }
+}
diff --git a/index.json b/index.json
index 806954ec..e74b5d7d 100644
--- a/index.json
+++ b/index.json
@@ -615,7 +615,8 @@
"phpunit/phpunit": [
"4.7",
"9.3",
- "9.6"
+ "9.6",
+ "10.0"
],
"scheb/2fa-bundle": [
"5.0",
diff --git a/phpunit.phpunit.10.0.json b/phpunit.phpunit.10.0.json
new file mode 100644
index 00000000..d91a631b
--- /dev/null
+++ b/phpunit.phpunit.10.0.json
@@ -0,0 +1,85 @@
+{
+ "manifests": {
+ "phpunit/phpunit": {
+ "manifest": {
+ "copy-from-recipe": {
+ ".env.test": ".env.test",
+ "phpunit.dist.xml": "phpunit.dist.xml",
+ "tests/": "tests/"
+ },
+ "gitignore": [
+ "/phpunit.xml",
+ "/.phpunit.cache/"
+ ]
+ },
+ "files": {
+ ".env.test": {
+ "contents": [
+ "# define your env variables for the test env here",
+ "KERNEL_CLASS='App\\Kernel'",
+ "APP_SECRET='$ecretf0rt3st'",
+ "SYMFONY_DEPRECATIONS_HELPER=999999",
+ ""
+ ],
+ "executable": false
+ },
+ "phpunit.dist.xml": {
+ "contents": [
+ "",
+ "",
+ "",
+ "",
+ " ",
+ " ",
+ " ",
+ " ",
+ " ",
+ " ",
+ " ",
+ " ",
+ "",
+ " ",
+ " ",
+ " tests",
+ " ",
+ " ",
+ "",
+ " ",
+ " ",
+ " src",
+ " ",
+ " ",
+ "",
+ " ",
+ " ",
+ "",
+ ""
+ ],
+ "executable": false
+ },
+ "tests/bootstrap.php": {
+ "contents": [
+ "bootEnv(dirname(__DIR__).'/.env');",
+ "}",
+ ""
+ ],
+ "executable": false
+ }
+ },
+ "ref": "b786e93f0b38027289867faca488b8c511436fe0"
+ }
+ }
+}
diff --git a/phpunit.phpunit.4.7.json b/phpunit.phpunit.4.7.json
index 7ebdefa6..ed4c1f82 100644
--- a/phpunit.phpunit.4.7.json
+++ b/phpunit.phpunit.4.7.json
@@ -76,9 +76,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');",
"}",
""
@@ -86,7 +84,7 @@
"executable": false
}
},
- "ref": "db276258424d15e572d35a4eb834b8f815662b25"
+ "ref": "4eea8d6a476c8e9eb28c56725a4c0716df7d14c1"
}
}
}
diff --git a/phpunit.phpunit.9.3.json b/phpunit.phpunit.9.3.json
index 3aca9bb0..069a27d3 100644
--- a/phpunit.phpunit.9.3.json
+++ b/phpunit.phpunit.9.3.json
@@ -79,9 +79,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');",
"}",
""
@@ -89,7 +87,7 @@
"executable": false
}
},
- "ref": "fc344d3f99d9a518245ef3c88176d0c3467ae1a6"
+ "ref": "4eb12de6eef0f6f1bc7af2c51f6316e2f686e09b"
}
}
}
diff --git a/phpunit.phpunit.9.6.json b/phpunit.phpunit.9.6.json
index b28f7b6c..f7c8266f 100644
--- a/phpunit.phpunit.9.6.json
+++ b/phpunit.phpunit.9.6.json
@@ -77,9 +77,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');",
"}",
""
@@ -87,7 +85,7 @@
"executable": false
}
},
- "ref": "7364a21d87e658eb363c5020c072ecfdc12e2326"
+ "ref": "6a9341aa97d441627f8bd424ae85dc04c944f8b4"
}
}
}
diff --git a/symfony.panther.1.0.json b/symfony.panther.1.0.json
index 17d465e9..8b50f36f 100644
--- a/symfony.panther.1.0.json
+++ b/symfony.panther.1.0.json
@@ -22,6 +22,20 @@
"content": " ",
"position": "after_target",
"target": "",
+ "warn_if_missing": false
+ },
+ {
+ "file": "phpunit.dist.xml",
+ "content": " ",
+ "position": "after_target",
+ "target": "",
+ "warn_if_missing": false
+ },
+ {
+ "file": ".env.test",
+ "content": "PANTHER_APP_ENV=panther\nPANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots",
+ "position": "after_target",
+ "target": "SYMFONY_DEPRECATIONS_HELPER=999999",
"warn_if_missing": true
}
],
@@ -38,7 +52,7 @@
]
},
"files": [],
- "ref": "673836afb0eac2b0ec36c44f2ff0379e5a4b2177"
+ "ref": "bc2de681f79db177eac72d5b04c23bd59bea2b46"
}
}
}