Test Failed
Push — master ( 8413e5...65cae7 )
by Jakub
02:11
created

YamlLoaderTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 4
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 3
dl 0
loc 4
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A setUp() 0 3 1
1
<?php
2
declare(strict_types=1);
3
4
namespace Nexendrie\Translation\Loaders;
5
6
use Nexendrie\Translation\Resolvers\ManualLocaleResolver;
7
8
require __DIR__ . "/../../../bootstrap.php";
9
10
/**
11
 * @author Jakub Konečný
12
 * @testCase
13
 */
14
final class YamlLoaderTest extends FileLoaderTestAbstract {
15
  protected function setUp() {
16
    $folders = [__DIR__ . "/../../../lang", __DIR__ . "/../../../lang2"];
17
    $this->loader = new YamlLoader(new ManualLocaleResolver(), $folders);
18
  }
19
}
20
21
$test = new YamlLoaderTest();
22
$test->run();
23
?>