CryptMock   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 4
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 4
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A decrypt() 0 1 1
A encrypt() 0 1 1
1
<?php
2
/**
3
 * @project Promopult Integra client library
4
 */
5
6
namespace Promopult\Integra\Test;
7
8
class CryptMock implements \Promopult\Integra\CryptInterface
9
{
10
    public function encrypt(string $s, string $ck): string { return $s; }
11
    public function decrypt(string $s, string $ck): string { return $s; }
12
}
13