EnableTwigStrictVariablesAction::getOverrides()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 2
c 0
b 0
f 0
nc 1
nop 0
dl 0
loc 4
ccs 0
cts 2
cp 0
crap 2
rs 10
1
<?php
2
3
declare(strict_types=1);
4
5
/*
6
 * This file is part of the ekino Drupal Debug project.
7
 *
8
 * (c) ekino
9
 *
10
 * For the full copyright and license information, please view the LICENSE
11
 * file that was distributed with this source code.
12
 */
13
14
namespace Ekino\Drupal\Debug\Action\EnableTwigStrictVariables;
15
16
use Ekino\Drupal\Debug\Action\AbstractOverrideTwigConfigAction;
17
18
class EnableTwigStrictVariablesAction extends AbstractOverrideTwigConfigAction
19
{
20
    /**
21
     * {@inheritdoc}
22
     */
23
    protected function getOverrides(): array
24
    {
25
        return array(
26
            'strict_variables' => true,
27
        );
28
    }
29
}
30