Test Failed
Pull Request — master (#10)
by Alessandro
10:52
created

CurrencyConvertersTable   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 75%

Importance

Changes 0
Metric Value
wmc 1
c 0
b 0
f 0
lcom 0
cbo 1
dl 0
loc 9
ccs 3
cts 4
cp 0.75
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A initialize() 0 6 1
1
<?php
2
3
namespace CurrencyConverter\Model\Table;
4
5
use Cake\ORM\Table;
6
use Cake\ORM\Behavior\TimestampBehavior;
7
8
class CurrencyConvertersTable extends Table
9
{
10 5
	public function initialize(array $config)
11
    {
12 5
        $this->addBehavior('Timestamp');
13
14 5
        $this->table('currency_converters');
0 ignored issues
show
Deprecated Code introduced by
The method Cake\ORM\Table::table() has been deprecated with message: 3.4.0 Use setTable()/getTable() instead.

This method has been deprecated. The supplier of the class has supplied an explanatory message.

The explanatory message should give you some clue as to whether and when the method will be removed from the class and what other method or class to use instead.

Loading history...
15
    }
16
}
17