From 033da1b2ba742020e30f68378b995d62b39d5e26 Mon Sep 17 00:00:00 2001 From: "github-action[bot]" <> Date: Fri, 4 Jul 2025 06:35:20 +0000 Subject: [PATCH] Update Flex endpoint --- ...0819550b1c502aa31986d27cae13a697baf54.json | 81 +++++++++++++++++++ index.json | 5 ++ symfony.panther.1.0.json | 23 +++++- 3 files changed, 108 insertions(+), 1 deletion(-) create mode 100644 archived/symfony.panther/10a0819550b1c502aa31986d27cae13a697baf54.json diff --git a/archived/symfony.panther/10a0819550b1c502aa31986d27cae13a697baf54.json b/archived/symfony.panther/10a0819550b1c502aa31986d27cae13a697baf54.json new file mode 100644 index 00000000..159f3723 --- /dev/null +++ b/archived/symfony.panther/10a0819550b1c502aa31986d27cae13a697baf54.json @@ -0,0 +1,81 @@ +{ + "manifests": { + "symfony/panther": { + "manifest": { + "conflict": { + "symfony/flex": "<1.23.0 || >=2.0.0,<2.8.0" + }, + "dockerfile": [ + "# Chromium and ChromeDriver", + "ENV PANTHER_NO_SANDBOX=1", + "# Not mandatory, but recommended", + "ENV PANTHER_CHROME_ARGUMENTS='--disable-dev-shm-usage'", + "# hadolint ignore=DL3008", + "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", + "# hadolint ignore=DL3008", + "#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": "", + "requires": "symfony/phpunit-bridge:<7.3", + "warn_if_missing": false + }, + { + "file": "phpunit.dist.xml", + "content": " ", + "position": "after_target", + "target": "", + "requires": "symfony/phpunit-bridge:<7.3", + "warn_if_missing": false + }, + { + "file": "phpunit.xml.dist", + "content": " ", + "position": "after_target", + "target": "", + "requires": "phpunit/phpunit:<10", + "warn_if_missing": false + }, + { + "file": "phpunit.dist.xml", + "content": " ", + "position": "after_target", + "target": "", + "requires": "phpunit/phpunit:>=10", + "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": "10a0819550b1c502aa31986d27cae13a697baf54" + } + } +} diff --git a/index.json b/index.json index 0083f198..00a1e0fd 100644 --- a/index.json +++ b/index.json @@ -1325,6 +1325,11 @@ "symfony/framework-bundle": "<5.3" } }, + "symfony/panther": { + "1.0": { + "symfony/flex": "<1.23.0 || >=2.0.0,<2.8.0" + } + }, "symfony/phpunit-bridge": { "5.3": { "symfony/framework-bundle": "<5.4" diff --git a/symfony.panther.1.0.json b/symfony.panther.1.0.json index df80d0f8..159f3723 100644 --- a/symfony.panther.1.0.json +++ b/symfony.panther.1.0.json @@ -2,6 +2,9 @@ "manifests": { "symfony/panther": { "manifest": { + "conflict": { + "symfony/flex": "<1.23.0 || >=2.0.0,<2.8.0" + }, "dockerfile": [ "# Chromium and ChromeDriver", "ENV PANTHER_NO_SANDBOX=1", @@ -24,6 +27,7 @@ "content": " ", "position": "after_target", "target": "", + "requires": "symfony/phpunit-bridge:<7.3", "warn_if_missing": false }, { @@ -31,6 +35,23 @@ "content": " ", "position": "after_target", "target": "", + "requires": "symfony/phpunit-bridge:<7.3", + "warn_if_missing": false + }, + { + "file": "phpunit.xml.dist", + "content": " ", + "position": "after_target", + "target": "", + "requires": "phpunit/phpunit:<10", + "warn_if_missing": false + }, + { + "file": "phpunit.dist.xml", + "content": " ", + "position": "after_target", + "target": "", + "requires": "phpunit/phpunit:>=10", "warn_if_missing": false }, { @@ -54,7 +75,7 @@ ] }, "files": [], - "ref": "b57a86d4d5b1e2a8cf9be757976e252fb411ea2a" + "ref": "10a0819550b1c502aa31986d27cae13a697baf54" } } }