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

Package::init()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
declare(strict_types = 1);
4
5
namespace Drupal\qa\Plugin\Qa\Control\Views;
6
7
use Drupal\qa\BasePackage;
8
9
/**
10
 * OSInet QA Plugin for Views.
11
 */
12
class Package extends BasePackage {
13
14
  /**
15
   * {@inheritdoc}
16
   */
17
  public function init() {
18
    $this->title = $this->t('Views quality controls');
19
    $this->description = $this->t('Look for overridden views and views containing embedded PHP');
20
  }
21
22
}
23