From dfe6f330760ae25b2f2ea9945434a1c74a1851a7 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Mon, 19 Jun 2023 14:36:41 +0200 Subject: [PATCH] [symfony/panther] leverage the new add-lines configurator (#1215) --- phpunit/phpunit/4.7/phpunit.xml.dist | 4 ---- phpunit/phpunit/9.3/phpunit.xml.dist | 4 ---- symfony/panther/1.0/manifest.json | 8 ++++++++ symfony/panther/1.0/post-install.txt | 3 --- symfony/phpunit-bridge/5.1/phpunit.xml.dist | 4 ---- symfony/phpunit-bridge/5.3/phpunit.xml.dist | 4 ---- 6 files changed, 8 insertions(+), 19 deletions(-) diff --git a/phpunit/phpunit/4.7/phpunit.xml.dist b/phpunit/phpunit/4.7/phpunit.xml.dist index 5e9089717..195c8eea9 100644 --- a/phpunit/phpunit/4.7/phpunit.xml.dist +++ b/phpunit/phpunit/4.7/phpunit.xml.dist @@ -30,10 +30,6 @@ - - diff --git a/phpunit/phpunit/9.3/phpunit.xml.dist b/phpunit/phpunit/9.3/phpunit.xml.dist index af3f14747..6c4bfed7f 100644 --- a/phpunit/phpunit/9.3/phpunit.xml.dist +++ b/phpunit/phpunit/9.3/phpunit.xml.dist @@ -33,10 +33,6 @@ - - diff --git a/symfony/panther/1.0/manifest.json b/symfony/panther/1.0/manifest.json index ce11be6cd..edccf1716 100644 --- a/symfony/panther/1.0/manifest.json +++ b/symfony/panther/1.0/manifest.json @@ -12,5 +12,13 @@ "#RUN wget -q https://github.com/mozilla/geckodriver/releases/download/v$GECKODRIVER_VERSION/geckodriver-v$GECKODRIVER_VERSION-linux64.tar.gz; \\", "#\ttar -zxf geckodriver-v$GECKODRIVER_VERSION-linux64.tar.gz -C /usr/bin; \\", "#\trm geckodriver-v$GECKODRIVER_VERSION-linux64.tar.gz" + ], + "add-lines": [ + { + "file": "phpunit.xml.dist", + "content": " ", + "position": "after_target", + "target": "" + } ] } diff --git a/symfony/panther/1.0/post-install.txt b/symfony/panther/1.0/post-install.txt index 92990e346..d059724e9 100644 --- a/symfony/panther/1.0/post-install.txt +++ b/symfony/panther/1.0/post-install.txt @@ -7,6 +7,3 @@ vendor/bin/bdi detect drivers This step is not necessary when using Docker. - - * To use Panther with PHPUnit, - uncomment the snippet registering the Panther extension in phpunit.xml.dist diff --git a/symfony/phpunit-bridge/5.1/phpunit.xml.dist b/symfony/phpunit-bridge/5.1/phpunit.xml.dist index 0bd20c85b..60c31a075 100644 --- a/symfony/phpunit-bridge/5.1/phpunit.xml.dist +++ b/symfony/phpunit-bridge/5.1/phpunit.xml.dist @@ -31,10 +31,6 @@ - - diff --git a/symfony/phpunit-bridge/5.3/phpunit.xml.dist b/symfony/phpunit-bridge/5.3/phpunit.xml.dist index af3f14747..6c4bfed7f 100644 --- a/symfony/phpunit-bridge/5.3/phpunit.xml.dist +++ b/symfony/phpunit-bridge/5.3/phpunit.xml.dist @@ -33,10 +33,6 @@ - -