Skip to content

Commit acc1b52

Browse files
committed
feat: move templates to default symfony folder structure
1 parent c30473a commit acc1b52

File tree

6 files changed

+2
-2
lines changed

6 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
@@ -19,7 +19,7 @@ class KnpMenuExtension extends Extension implements PrependExtensionInterface
1919
*/
2020
public function load(array $configs, ContainerBuilder $container): void
2121
{
22-
$loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
22+
$loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../../config'));
2323
$loader->load('menu.xml');
2424

2525
$configuration = new Configuration();

tests/DependencyInjection/ConfigurationTest.php

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

1717
$previousErrorSetting = \libxml_use_internal_errors(true);
1818

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

0 commit comments

Comments
 (0)