Completed
Push — master ( a19420...ef36c3 )
by Shcherbak
02:02
created

Pattern::getCollections()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 2
Bugs 0 Features 1
Metric Value
c 2
b 0
f 1
dl 0
loc 3
ccs 2
cts 2
cp 1
rs 10
cc 1
eloc 2
nc 1
nop 0
crap 1
1
<?php
2
3
  namespace Funivan\PhpTokenizer\Pattern;
4
5
  use Funivan\PhpTokenizer\Collection;
6
7
8
  /**
9
   * @deprecated
10
   */
11
  class Pattern extends PatternMatcher {
12
13
    /**
14
     * @deprecated
15
     * @inheritdoc
16
     */
17
    public function __construct(Collection $collection) {
18
      trigger_error('Deprecated. Use matcher instead', E_USER_DEPRECATED);
19
      parent::__construct($collection);
20
    }
21
22
23
  }