Update Flex endpoint

This commit is contained in:
github-action[bot]
2025-03-07 08:37:45 +00:00
parent 387589d58f
commit bd0f5ea7ef
12 changed files with 526 additions and 15 deletions
+1 -1
View File
@@ -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) | |
@@ -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": [
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
"",
"<!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->",
"<phpunit xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"",
" xsi:noNamespaceSchemaLocation=\"vendor/phpunit/phpunit/phpunit.xsd\"",
" backupGlobals=\"false\"",
" colors=\"true\"",
" bootstrap=\"tests/bootstrap.php\"",
" convertDeprecationsToExceptions=\"false\"",
">",
" <php>",
" <ini name=\"display_errors\" value=\"1\" />",
" <ini name=\"error_reporting\" value=\"-1\" />",
" <server name=\"APP_ENV\" value=\"test\" force=\"true\" />",
" <server name=\"SHELL_VERBOSITY\" value=\"-1\" />",
" <server name=\"SYMFONY_PHPUNIT_REMOVE\" value=\"\" />",
" <server name=\"SYMFONY_PHPUNIT_VERSION\" value=\"9.5\" />",
" </php>",
"",
" <testsuites>",
" <testsuite name=\"Project Test Suite\">",
" <directory>tests</directory>",
" </testsuite>",
" </testsuites>",
"",
" <coverage processUncoveredFiles=\"true\">",
" <include>",
" <directory suffix=\".php\">src</directory>",
" </include>",
" </coverage>",
"",
" <listeners>",
" <listener class=\"Symfony\\Bridge\\PhpUnit\\SymfonyTestsListener\" />",
" </listeners>",
"",
" <!-- Uncomment when adding extensions",
" <extensions>",
" </extensions>",
" -->",
"</phpunit>",
""
],
"executable": false
},
"tests/bootstrap.php": {
"contents": [
"<?php",
"",
"use Symfony\\Component\\Dotenv\\Dotenv;",
"",
"require dirname(__DIR__).'/vendor/autoload.php';",
"",
"if (method_exists(Dotenv::class, 'bootEnv')) {",
" (new Dotenv())->bootEnv(dirname(__DIR__).'/.env');",
"}",
""
],
"executable": false
}
},
"ref": "4eb12de6eef0f6f1bc7af2c51f6316e2f686e09b"
}
}
}
@@ -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": [
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
"",
"<!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->",
"<phpunit xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"",
" xsi:noNamespaceSchemaLocation=\"vendor/phpunit/phpunit/phpunit.xsd\"",
" backupGlobals=\"false\"",
" colors=\"true\"",
" bootstrap=\"tests/bootstrap.php\"",
">",
" <php>",
" <ini name=\"display_errors\" value=\"1\" />",
" <ini name=\"error_reporting\" value=\"-1\" />",
" <server name=\"APP_ENV\" value=\"test\" force=\"true\" />",
" <server name=\"SHELL_VERBOSITY\" value=\"-1\" />",
" </php>",
"",
" <testsuites>",
" <testsuite name=\"Project Test Suite\">",
" <directory>tests</directory>",
" </testsuite>",
" </testsuites>",
"",
" <filter>",
" <whitelist processUncoveredFilesFromWhitelist=\"true\">",
" <directory suffix=\".php\">src</directory>",
" </whitelist>",
" </filter>",
"",
" <listeners>",
" <listener class=\"Symfony\\Bridge\\PhpUnit\\SymfonyTestsListener\" />",
" </listeners>",
"",
" <!-- Uncomment when adding extensions",
" <extensions>",
" </extensions>",
" -->",
"</phpunit>",
""
],
"executable": false
},
"tests/bootstrap.php": {
"contents": [
"<?php",
"",
"use Symfony\\Component\\Dotenv\\Dotenv;",
"",
"require dirname(__DIR__).'/vendor/autoload.php';",
"",
"if (method_exists(Dotenv::class, 'bootEnv')) {",
" (new Dotenv())->bootEnv(dirname(__DIR__).'/.env');",
"}",
""
],
"executable": false
}
},
"ref": "4eea8d6a476c8e9eb28c56725a4c0716df7d14c1"
}
}
}
@@ -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": [
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
"",
"<!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->",
"<phpunit xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"",
" xsi:noNamespaceSchemaLocation=\"vendor/phpunit/phpunit/phpunit.xsd\"",
" backupGlobals=\"false\"",
" colors=\"true\"",
" bootstrap=\"tests/bootstrap.php\"",
" convertDeprecationsToExceptions=\"false\"",
">",
" <php>",
" <ini name=\"display_errors\" value=\"1\" />",
" <ini name=\"error_reporting\" value=\"-1\" />",
" <server name=\"APP_ENV\" value=\"test\" force=\"true\" />",
" <server name=\"SHELL_VERBOSITY\" value=\"-1\" />",
" <server name=\"SYMFONY_PHPUNIT_REMOVE\" value=\"\" />",
" <server name=\"SYMFONY_PHPUNIT_VERSION\" value=\"9.5\" />",
" </php>",
"",
" <testsuites>",
" <testsuite name=\"Project Test Suite\">",
" <directory>tests</directory>",
" </testsuite>",
" </testsuites>",
"",
" <coverage processUncoveredFiles=\"true\">",
" <include>",
" <directory suffix=\".php\">src</directory>",
" </include>",
" </coverage>",
"",
" <listeners>",
" <listener class=\"Symfony\\Bridge\\PhpUnit\\SymfonyTestsListener\" />",
" </listeners>",
"",
" <extensions>",
" </extensions>",
"</phpunit>",
""
],
"executable": false
},
"tests/bootstrap.php": {
"contents": [
"<?php",
"",
"use Symfony\\Component\\Dotenv\\Dotenv;",
"",
"require dirname(__DIR__).'/vendor/autoload.php';",
"",
"if (method_exists(Dotenv::class, 'bootEnv')) {",
" (new Dotenv())->bootEnv(dirname(__DIR__).'/.env');",
"}",
""
],
"executable": false
}
},
"ref": "6a9341aa97d441627f8bd424ae85dc04c944f8b4"
}
}
}
@@ -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": [
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
"",
"<!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->",
"<phpunit xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"",
" xsi:noNamespaceSchemaLocation=\"vendor/phpunit/phpunit/phpunit.xsd\"",
" backupGlobals=\"false\"",
" colors=\"true\"",
" bootstrap=\"tests/bootstrap.php\"",
" cacheDirectory=\".phpunit.cache\"",
">",
" <php>",
" <ini name=\"display_errors\" value=\"1\" />",
" <ini name=\"error_reporting\" value=\"-1\" />",
" <server name=\"APP_ENV\" value=\"test\" force=\"true\" />",
" <server name=\"SHELL_VERBOSITY\" value=\"-1\" />",
" <server name=\"SYMFONY_PHPUNIT_REMOVE\" value=\"\" />",
" <server name=\"SYMFONY_PHPUNIT_VERSION\" value=\"10.5\" />",
" </php>",
"",
" <testsuites>",
" <testsuite name=\"Project Test Suite\">",
" <directory>tests</directory>",
" </testsuite>",
" </testsuites>",
"",
" <source restrictDeprecations=\"true\" restrictNotices=\"true\" restrictWarnings=\"true\">",
" <include>",
" <directory>src</directory>",
" </include>",
" </source>",
"",
" <extensions>",
" </extensions>",
"</phpunit>",
""
],
"executable": false
},
"tests/bootstrap.php": {
"contents": [
"<?php",
"",
"use Symfony\\Component\\Dotenv\\Dotenv;",
"",
"require dirname(__DIR__).'/vendor/autoload.php';",
"",
"if (method_exists(Dotenv::class, 'bootEnv')) {",
" (new Dotenv())->bootEnv(dirname(__DIR__).'/.env');",
"}",
""
],
"executable": false
}
},
"ref": "b786e93f0b38027289867faca488b8c511436fe0"
}
}
}
@@ -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": " <extension class=\"Symfony\\Component\\Panther\\ServerExtension\" />",
"position": "after_target",
"target": "<extensions>",
"warn_if_missing": false
},
{
"file": "phpunit.dist.xml",
"content": " <bootstrap class=\"Symfony\\Component\\Panther\\ServerExtension\" />",
"position": "after_target",
"target": "<extensions>",
"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 <fg=green>ChromeDriver</> or <fg=green>geckodriver</> with ",
" the package manager of your Operating System.",
" ",
" Alternatively, use Browser Driver Installer:",
"",
" <fg=green>composer require --dev dbrekelmans/bdi</>",
" <fg=green>vendor/bin/bdi detect drivers</>",
"",
" This step is not necessary when using Docker."
]
},
"files": [],
"ref": "bc2de681f79db177eac72d5b04c23bd59bea2b46"
}
}
}
+2 -1
View File
@@ -615,7 +615,8 @@
"phpunit/phpunit": [
"4.7",
"9.3",
"9.6"
"9.6",
"10.0"
],
"scheb/2fa-bundle": [
"5.0",
+85
View File
@@ -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": [
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
"",
"<!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->",
"<phpunit xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"",
" xsi:noNamespaceSchemaLocation=\"vendor/phpunit/phpunit/phpunit.xsd\"",
" backupGlobals=\"false\"",
" colors=\"true\"",
" bootstrap=\"tests/bootstrap.php\"",
" cacheDirectory=\".phpunit.cache\"",
">",
" <php>",
" <ini name=\"display_errors\" value=\"1\" />",
" <ini name=\"error_reporting\" value=\"-1\" />",
" <server name=\"APP_ENV\" value=\"test\" force=\"true\" />",
" <server name=\"SHELL_VERBOSITY\" value=\"-1\" />",
" <server name=\"SYMFONY_PHPUNIT_REMOVE\" value=\"\" />",
" <server name=\"SYMFONY_PHPUNIT_VERSION\" value=\"10.5\" />",
" </php>",
"",
" <testsuites>",
" <testsuite name=\"Project Test Suite\">",
" <directory>tests</directory>",
" </testsuite>",
" </testsuites>",
"",
" <source restrictDeprecations=\"true\" restrictNotices=\"true\" restrictWarnings=\"true\">",
" <include>",
" <directory>src</directory>",
" </include>",
" </source>",
"",
" <extensions>",
" </extensions>",
"</phpunit>",
""
],
"executable": false
},
"tests/bootstrap.php": {
"contents": [
"<?php",
"",
"use Symfony\\Component\\Dotenv\\Dotenv;",
"",
"require dirname(__DIR__).'/vendor/autoload.php';",
"",
"if (method_exists(Dotenv::class, 'bootEnv')) {",
" (new Dotenv())->bootEnv(dirname(__DIR__).'/.env');",
"}",
""
],
"executable": false
}
},
"ref": "b786e93f0b38027289867faca488b8c511436fe0"
}
}
}
+2 -4
View File
@@ -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"
}
}
}
+2 -4
View File
@@ -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"
}
}
}
+2 -4
View File
@@ -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"
}
}
}
+15 -1
View File
@@ -22,6 +22,20 @@
"content": " <extension class=\"Symfony\\Component\\Panther\\ServerExtension\" />",
"position": "after_target",
"target": "<extensions>",
"warn_if_missing": false
},
{
"file": "phpunit.dist.xml",
"content": " <bootstrap class=\"Symfony\\Component\\Panther\\ServerExtension\" />",
"position": "after_target",
"target": "<extensions>",
"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"
}
}
}