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

ParameterFormatter::parameterToString()   A

Complexity

Conditions 6
Paths 5

Size

Total Lines 17
Code Lines 9

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 9
CRAP Score 6

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 6
eloc 9
c 1
b 0
f 0
nc 5
nop 1
dl 0
loc 17
ccs 9
cts 9
cp 1
crap 6
rs 9.2222
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