diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index 08da2b3..cc4a7cd 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -1,6 +1,6 @@ root('knplabs_markdown', 'array') + $treeBuilder->root('knp_markdown', 'array') ->addDefaultsIfNotSet() ->children() ->arrayNode('parser') diff --git a/DependencyInjection/KnplabsMarkdownExtension.php b/DependencyInjection/KnpMarkdownExtension.php similarity index 85% rename from DependencyInjection/KnplabsMarkdownExtension.php rename to DependencyInjection/KnpMarkdownExtension.php index 115d47a..6cac0b0 100644 --- a/DependencyInjection/KnplabsMarkdownExtension.php +++ b/DependencyInjection/KnpMarkdownExtension.php @@ -1,6 +1,6 @@ - Knplabs\Bundle\MarkdownBundle\Helper\MarkdownHelper + Knp\Bundle\MarkdownBundle\Helper\MarkdownHelper diff --git a/Resources/config/parser.xml b/Resources/config/parser.xml index 94958a9..1f71c88 100644 --- a/Resources/config/parser.xml +++ b/Resources/config/parser.xml @@ -5,10 +5,10 @@ xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd"> - - - - + + + + diff --git a/Resources/config/twig.xml b/Resources/config/twig.xml index c958ad3..7605640 100644 --- a/Resources/config/twig.xml +++ b/Resources/config/twig.xml @@ -5,7 +5,7 @@ xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd"> - + diff --git a/Tests/EscapingTest.php b/Tests/EscapingTest.php index 9e578dd..d22ac5c 100644 --- a/Tests/EscapingTest.php +++ b/Tests/EscapingTest.php @@ -1,8 +1,8 @@ run(10)); diff --git a/Tests/PresetTest.php b/Tests/PresetTest.php index a3cddfa..20604ba 100644 --- a/Tests/PresetTest.php +++ b/Tests/PresetTest.php @@ -1,10 +1,10 @@ registerNamespace('Knplabs\\Bundle\\MarkdownBundle', __DIR__.'/../../../..'); +$loader->registerNamespace('Knp\\Bundle\\MarkdownBundle', __DIR__.'/../../../..'); $loader->register(); diff --git a/Twig/Extension/MarkdownTwigExtension.php b/Twig/Extension/MarkdownTwigExtension.php index 53976d2..51bd629 100644 --- a/Twig/Extension/MarkdownTwigExtension.php +++ b/Twig/Extension/MarkdownTwigExtension.php @@ -1,8 +1,8 @@