We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cfc9a1 commit 9201b9bCopy full SHA for 9201b9b
resources/config/default.php
@@ -3,7 +3,7 @@
3
$kernelRootDir = $container->getParameter('kernel.root_dir');
4
$bundleName = null;
5
6
-if (preg_match('&/([a-zA-Z]*?)Bundle&', $kernelRootDir, $matches)) {
+if (preg_match('&/([a-zA-Z]+?)Bundle&', $kernelRootDir, $matches)) {
7
$bundleName = $matches[1].'Bundle';
8
$bundleFQN = 'Symfony\\Cmf\\Bundle\\'.$matches[1].'Bundle';
9
$container->setParameter('cmf_testing.bundle_name', $bundleName);
0 commit comments