Completed
Push — 7.5 ( a0d1bd...8c0f68 )
by
unknown
25:22
created

DataAttributesExtensionTest   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
dl 0
loc 14
rs 10
c 0
b 0
f 0
wmc 2
lcom 0
cbo 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getExtensions() 0 6 1
A getFixturesDir() 0 4 1
1
<?php
2
3
/**
4
 * @copyright Copyright (C) eZ Systems AS. All rights reserved.
5
 * @license For full copyright and license information view LICENSE file distributed with this source code.
6
 */
7
declare(strict_types=1);
8
9
namespace eZ\Publish\Core\MVC\Symfony\Templating\Tests\Twig\Extension;
10
11
use eZ\Publish\Core\MVC\Symfony\Templating\Twig\Extension\DataAttributesExtension;
12
use Twig\Test\IntegrationTestCase;
13
14
class DataAttributesExtensionTest extends IntegrationTestCase
15
{
16
    public function getExtensions(): array
17
    {
18
        return [
19
            new DataAttributesExtension(),
20
        ];
21
    }
22
23
    protected function getFixturesDir(): string
24
    {
25
        return __DIR__ . '/_fixtures/filters';
26
    }
27
}
28