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

Taxonomy::getDependencies()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 4
nc 1
nop 0
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
1
<?php
2
3
namespace Drupal\qa\Plugin\Qa\Control\Taxonomy;
4
5
use Drupal\qa\Plugin\Qa\Control\BaseControl;
6
7
abstract class Taxonomy extends BaseControl {
8
9
  /**
10
   * {@inheritdoc]
11
   */
12
  public function __construct() {
13
    parent::__construct();
14
    $this->package_name = __NAMESPACE__;
15
  }
16
17
  static function getDependencies() {
0 ignored issues
show
Best Practice introduced by
It is generally recommended to explicitly declare the visibility for methods.

Adding explicit visibility (private, protected, or public) is generally recommend to communicate to other developers how, and from where this method is intended to be used.

Loading history...
18
    $ret = parent::getDependencies();
19
    $ret = array_merge($ret, array('taxonomy'));
20
    return $ret;
21
  }
22
}
23