From 526ee734be43a9d4c2b405e5317532aaa7b86cec Mon Sep 17 00:00:00 2001 From: Levi Wilson-Brown Date: Wed, 9 Aug 2023 18:17:28 +1200 Subject: [PATCH] FIX Remove call to process::inheritEnvironmentVariables() inheritEnvironmentVariables() was removed from the Symfony Process component in 5.0.0, as enviroment variables are always inherited. --- src/Solr/Reindex/Handlers/SolrReindexImmediateHandler.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Solr/Reindex/Handlers/SolrReindexImmediateHandler.php b/src/Solr/Reindex/Handlers/SolrReindexImmediateHandler.php index 27e627e..39b0b00 100644 --- a/src/Solr/Reindex/Handlers/SolrReindexImmediateHandler.php +++ b/src/Solr/Reindex/Handlers/SolrReindexImmediateHandler.php @@ -104,7 +104,6 @@ class SolrReindexImmediateHandler extends SolrReindexBase // Set timeout from config. Process default is 60 seconds $process->setTimeout($this->config()->get('process_timeout')); - $process->inheritEnvironmentVariables(); $process->run(); $res = $process->getOutput();