From 4f1ff39ccb00bc07f6028602823d3a4f0fd6e988 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Tamarelle?= Date: Mon, 23 Sep 2024 19:16:02 +0200 Subject: [PATCH] Remove code specific to symfony/phpunit-bridge to use PHPUnit directly from vendors --- integrations/php/install-driver.sh | 3 --- integrations/php/workload-executor.php | 1 - 2 files changed, 4 deletions(-) diff --git a/integrations/php/install-driver.sh b/integrations/php/install-driver.sh index 960082c6..b1bca413 100755 --- a/integrations/php/install-driver.sh +++ b/integrations/php/install-driver.sh @@ -82,8 +82,5 @@ php --ri mongodb install_composer php composer.phar update --working-dir=${PHPLIB_PATH} -# Allow simple-phpunit to install its own PHPUnit dependencies -php ${PHPLIB_PATH}/vendor/bin/simple-phpunit install - # The symlink helps to include the library and tests with a simple path ln -s ${PHPLIB_PATH}/vendor ./vendor diff --git a/integrations/php/workload-executor.php b/integrations/php/workload-executor.php index 19b3da2c..c2a04399 100644 --- a/integrations/php/workload-executor.php +++ b/integrations/php/workload-executor.php @@ -8,7 +8,6 @@ use function MongoDB\BSON\toPHP; require_once __DIR__ . '/vendor/autoload.php'; -require_once __DIR__ . '/vendor/bin/.phpunit/phpunit/vendor/autoload.php'; class Logger {