use recent file layout and make this stuff work

This commit is contained in:
2024-09-13 03:22:19 +02:00
parent 30b61b5064
commit 93d2fa6531
5 changed files with 10 additions and 39 deletions

View File

@@ -21,27 +21,6 @@ final class Configuration implements ConfigurationInterface
->end()
->end();
#$rootNode->fixXmlConfig('connection')
# ->children()
# ->arrayNode('connections')
# ->useAttributeAsKey('name')
# ->normalizeKeys(false)
# ->arrayPrototype()
# ->children()
# ->scalarNode('url')
# ->isRequired()
# ->info('Base URL of the Redmine instance')
# ->end()
# ->scalarNode('apikey')
# ->isRequired()
# ->info('Redmine API-Key')
# ->end()
# ->end()
# ->end()
# ->end()
# ->scalarNode('default_connection')->end()
#;
return $treeBuilder;
}
}

View File

@@ -19,7 +19,7 @@ final class MagdevRedmineExtension extends Extension
$container->setParameter('magdev_redmine.ttl', $config['ttl']);
$loader = new YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
$loader = new YamlFileLoader($container, new FileLocator(dirname(__DIR__).'/../config'));
$loader->load('services.yaml');
}
}

View File

@@ -1,3 +0,0 @@
services:
Magdev\RedmineBundle\Client\RedmineClient:
arguments: ['@redmine_api.cache', '%env(REDMINE_URL)%', '%env(REDMINE_APIKEY)%', '%magdev_redmine.ttl%']