Skip to content

Commit 81d7394

Browse files
committed
Fix CS
1 parent 9df5e1d commit 81d7394

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

DependencyInjection/Configuration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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.')

Tests/DependencyInjection/TwigExtraExtensionTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
],

0 commit comments

Comments
 (0)