Skip to content

Instantly share code, notes, and snippets.

View mattydebie's full-sized avatar

Matthias De Bie mattydebie

View GitHub Profile
@mattydebie
mattydebie / envPlaceholderParameterBag.patch
Created April 9, 2024 11:36
Drupal Env placeholder in services.yml
diff --git a/core/lib/Drupal/Core/DrupalKernel.php b/core/lib/Drupal/Core/DrupalKernel.php
index d9c1802999..edbeb1ad42 100644
--- a/core/lib/Drupal/Core/DrupalKernel.php
+++ b/core/lib/Drupal/Core/DrupalKernel.php
@@ -27,7 +27,7 @@
use Drupal\Core\Site\Settings;
use Drupal\Core\Test\TestDatabase;
use Symfony\Component\DependencyInjection\ContainerInterface;
-use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag;
+use Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag;

Keybase proof

I hereby claim:

  • I am mattydebie on github.
  • I am mattydebie (https://keybase.io/mattydebie) on keybase.
  • I have a public key ASCuLNmFhzR9Aq1VxTDdepg6R183Ihw7lmq0RRvVSQPE2go

To claim this, I am signing this object: