Passed
Pull Request — 8.x-1.x (#18)
by Frédéric G.
05:43
created

Package   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A init() 0 3 1
1
<?php
2
3
declare(strict_types = 1);
4
5
namespace Drupal\qa\Plugin\Qa\Control\I18n;
6
7
use Drupal\qa\BasePackage;
8
9
/**
10
 * OSInet QA Plugin for i18n (internationalization) module.
11
 */
12
class Package extends BasePackage {
13
14
  /**
15
   * {@inheritdoc}
16
   */
17
  public function init() {
18
    $this->title = $this->t('i18n');
19
    $this->description = $this->t('Inconsistent variables translation');
20
  }
21
22
}
23