Skip to content

Commit 13426db

Browse files
feat: use default symfony folder structure (#473)
Co-authored-by: Christopher Georg <[email protected]>
1 parent 5bb99db commit 13426db

File tree

7 files changed

+2
-2
lines changed

7 files changed

+2
-2
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/DependencyInjection/KnpMenuExtension.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class KnpMenuExtension extends Extension implements PrependExtensionInterface
2020
*/
2121
public function load(array $configs, ContainerBuilder $container): void
2222
{
23-
$loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
23+
$loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../../config'));
2424
$loader->load('menu.xml');
2525

2626
$configuration = new Configuration();
File renamed without changes.

tests/DependencyInjection/ConfigurationTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public function testConfigurationMatchesXsd($config): void
1515

1616
$previousErrorSetting = \libxml_use_internal_errors(true);
1717

18-
$configIsValid = $configDom->schemaValidate(__DIR__.'/../../src/Resources/config/schema/menu-1.0.xsd');
18+
$configIsValid = $configDom->schemaValidate(__DIR__.'/../../config/schema/menu-1.0.xsd');
1919
$errors = \array_map(function ($error) {
2020
return \sprintf('Line %d: %s', $error->line, \trim($error->message));
2121
}, \libxml_get_errors());

0 commit comments

Comments
 (0)