From b212306c8df2ff9895ef34b0ace4671fbbbeacc0 Mon Sep 17 00:00:00 2001 From: Christoph Reiter <reiter.christoph@gmail.com> Date: Thu, 4 Nov 2021 15:55:03 +0100 Subject: [PATCH] linter --- bin/move-core-bundle.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/move-core-bundle.php b/bin/move-core-bundle.php index d63172e..255ccfa 100755 --- a/bin/move-core-bundle.php +++ b/bin/move-core-bundle.php @@ -1,16 +1,16 @@ #!/usr/bin/env php <?php -############################################################################################### -# Moves the DbpRelayCoreBundle to bottom of the array in `config/bundles.php`. -############################################################################################### +//############################################################################################## +// Moves the DbpRelayCoreBundle to bottom of the array in `config/bundles.php`. +//############################################################################################## // read the entire string $str = file_get_contents('config/bundles.php'); $coreBundleString = " Dbp\Relay\CoreBundle\DbpRelayCoreBundle::class => ['all' => true],"; -$str = str_replace($coreBundleString . "\n", '', $str); -$str = str_replace('];', $coreBundleString . "\n];", $str); +$str = str_replace($coreBundleString."\n", '', $str); +$str = str_replace('];', $coreBundleString."\n];", $str); // write the entire string file_put_contents('config/bundles.php', $str); -- GitLab