Passed
Push — master ( 229462...d74785 )
by Andreas
02:20 queued 14s
created

ParameterFormatter   A

Complexity

Total Complexity 14

Size/Duplication

Total Lines 73
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 26
c 1
b 0
f 0
dl 0
loc 73
ccs 29
cts 29
cp 1
rs 10
wmc 14
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Doctrine\Migrations;
6
7
/**
8
 * The ParameterFormatter defines the interface for formatting SQL query parameters to a string
9
 * for display output.
10
 *
11
 * @internal
12
 *
13
 * @see Doctrine\Migrations\InlineParameterFormatter
14
 */
15
interface ParameterFormatter
16
{
17
    /**
18
     * @param mixed[] $params
19
     * @param mixed[] $types
20
     */
21
    public function formatParameters(array $params, array $types) : string;
22
}
23