Completed
Push — 7.x-1.x ( 2f9e3c...1070be )
by Frédéric G.
01:36
created

Package   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 9
rs 10
c 0
b 0
f 0
wmc 1
lcom 1
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A init() 0 4 1
1
<?php
2
3
namespace Drupal\qa\Plugin\Qa\Control\Views;
4
5
use Drupal\qa\Plugin\Qa\Control\BasePackage;
6
7
/**
8
 * @file
9
 * OSInet QA Plugin for Views.
10
 *
11
 * @copyright Copyright (C) 2011-2012 Frederic G. MARAND for Ouest Systèmes Informatiques (OSInet)
12
 *
13
 * @since DRUPAL-6
14
 *
15
 * @license Licensed under the disjunction of the CeCILL, version 2 and General Public License version 2 and later
16
 *
17
 * License note: QA is distributed by OSInet to its customers under the
18
 * CeCILL 2.0 license. OSInet support services only apply to the module
19
 * when distributed by OSInet, not by any third-party further down the
20
 * distribution chain.
21
 *
22
 * If you obtained QA from drupal.org, that site received it under the
23
 * GPLv2 license and can therefore distribute it under the GPLv2, and
24
 * so can you and just anyone down the chain as long as the GPLv2 terms
25
 * are abided by, the module distributor in that case being the
26
 * drupal.org organization or the downstream distributor, not OSInet.
27
 */
28
29
class Package extends BasePackage {
30
  /**
31
   * {@inheritdoc]
32
   */
33
  public function init() {
34
    $this->title = t('Views quality controls');
35
    $this->description = t('Look for overridden views and views containing embedded PHP');
36
  }
37
}
38