From b3706d492bdc322e1d81ca7a796b6265ee3206b0 Mon Sep 17 00:00:00 2001 From: Ryan Weaver Date: Wed, 5 Sep 2018 21:18:21 -0400 Subject: [PATCH] Working around deprecation errors to get the test suite to pass --- phpunit.xml.dist | 2 ++ src/Test/MakerTestEnvironment.php | 9 +++++++++ 2 files changed, 11 insertions(+) diff --git a/phpunit.xml.dist b/phpunit.xml.dist index c51b6b417..c4d2564e7 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -10,6 +10,8 @@ + + diff --git a/src/Test/MakerTestEnvironment.php b/src/Test/MakerTestEnvironment.php index aa8843e29..ebbed0c51 100644 --- a/src/Test/MakerTestEnvironment.php +++ b/src/Test/MakerTestEnvironment.php @@ -338,6 +338,15 @@ private function buildFlexSkeleton() MakerTestProcess::create('composer require phpunit browser-kit symfony/css-selector', $this->flexPath) ->run(); + // temporarily ignoring indirect deprecations - see #237 + $replacements = [ + [ + 'filename' => 'phpunit.xml.dist', + 'find' => '', + 'replace' => ' '."\n".' ', + ], + ]; + MakerTestProcess::create('php bin/console cache:clear --no-warmup', $this->flexPath) ->run(); }