Passed
Pull Request — main (#123)
by Andrey
29:36 queued 14:38
created

Nova   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

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

3 Methods

Rating   Name   Duplication   Size   Complexity  
A target() 0 3 1
A vendor() 0 3 1
A source() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace LaravelLang\Lang\Publisher\Plugins;
6
7
class Nova extends BasePlugin
8
{
9
    public function vendor(): string
10
    {
11
        return 'laravel/nova';
12
    }
13
14
    public function source(): array
15
    {
16
        return ['packages/nova.json'];
17
    }
18
19
    public function target(): string
20
    {
21
        return 'vendor/nova/{locale}.json';
22
    }
23
}
24