Passed
Push — main ( f4d82a...ca2db5 )
by Andrey
03:23 queued 12s
created

Lumen   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 7
dl 0
loc 14
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A vendor() 0 3 1
A files() 0 7 1
1
<?php
2
3
/*
4
 * This file is part of the "andrey-helldar/laravel-lang-publisher" project.
5
 *
6
 * For the full copyright and license information, please view the LICENSE
7
 * file that was distributed with this source code.
8
 *
9
 * @author Andrey Helldar <[email protected]>
10
 *
11
 * @copyright 2021 Andrey Helldar
12
 *
13
 * @license MIT
14
 *
15
 * @see https://github.com/andrey-helldar/laravel-lang-publisher
16
 */
17
18
declare(strict_types=1);
19
20
namespace LaravelLang\Lang\Publisher\Plugins;
21
22
use Helldar\LaravelLangPublisher\Plugins\BasePlugin;
23
24
class Lumen extends BasePlugin
25
{
26
    public function vendor(): string
27
    {
28
        return 'laravel/lumen-framework';
29
    }
30
31
    public function files(): array
32
    {
33
        return [
34
            'auth.php'       => '{locale}/auth.php',
35
            'pagination.php' => '{locale}/pagination.php',
36
            'passwords.php'  => '{locale}/passwords.php',
37
            'validation.php' => '{locale}/validation.php',
38
        ];
39
    }
40
}
41