File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Tests/DependencyInjection Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -58,15 +58,15 @@ private function addCommonMarkConfiguration(ArrayNodeDefinition $rootNode): void
5858 ->end ()
5959 ->enumNode ('html_input ' )
6060 ->info ('How to handle HTML input. ' )
61- ->values (['strip ' ,'allow ' ,'escape ' ])
61+ ->values (['strip ' , 'allow ' , 'escape ' ])
6262 ->end ()
6363 ->booleanNode ('allow_unsafe_links ' )
6464 ->info ('Remove risky link and image URLs by setting this to false. ' )
6565 ->defaultTrue ()
6666 ->end ()
6767 ->integerNode ('max_nesting_level ' )
6868 ->info ('The maximum nesting level for blocks. ' )
69- ->defaultValue (PHP_INT_MAX )
69+ ->defaultValue (\ PHP_INT_MAX )
7070 ->end ()
7171 ->arrayNode ('slug_normalizer ' )
7272 ->info ('Array of options for configuring how URL-safe slugs are created. ' )
Original file line number Diff line number Diff line change @@ -27,12 +27,12 @@ public function testDefaultConfiguration()
2727 ]));
2828 $ container ->registerExtension (new TwigExtraExtension ());
2929 $ container ->loadFromExtension ('twig_extra ' , [
30- 'commonmark ' => [
30+ 'commonmark ' => [
3131 'extra_key ' => true ,
3232 'renderer ' => [
3333 'block_separator ' => "\n" ,
3434 'inner_separator ' => "\n" ,
35- 'soft_break ' => "\n" ,
35+ 'soft_break ' => "\n" ,
3636 ],
3737 'commonmark ' => [
3838 'enable_em ' => true ,
@@ -43,7 +43,7 @@ public function testDefaultConfiguration()
4343 ],
4444 'html_input ' => 'escape ' ,
4545 'allow_unsafe_links ' => false ,
46- 'max_nesting_level ' => PHP_INT_MAX ,
46+ 'max_nesting_level ' => \ PHP_INT_MAX ,
4747 'slug_normalizer ' => [
4848 'max_length ' => 255 ,
4949 ],
You can’t perform that action at this time.
0 commit comments