Completed
Push — master ( b4619a...ab6ee6 )
by Kamil
12:06 queued 06:35
created

PaymentTransitions::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
/*
4
 * This file is part of the Sylius package.
5
 *
6
 * (c) Paweł Jędrzejewski
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
declare(strict_types=1);
13
14
namespace Sylius\Component\Payment;
15
16
interface PaymentTransitions
0 ignored issues
show
Coding Style introduced by
PaymentTransitions does not seem to conform to the naming convention (^[A-Z][a-zA-Z0-9]*Interface$).

This check examines a number of code elements and verifies that they conform to the given naming conventions.

You can set conventions for local variables, abstract classes, utility classes, constant, properties, methods, parameters, interfaces, classes, exceptions and special methods.

Loading history...
17
{
18
    public const GRAPH = 'sylius_payment';
19
20
    public const TRANSITION_CREATE = 'create';
21
22
    public const TRANSITION_PROCESS = 'process';
23
24
    public const TRANSITION_COMPLETE = 'complete';
25
26
    public const TRANSITION_FAIL = 'fail';
27
28
    public const TRANSITION_CANCEL = 'cancel';
29
30
    public const TRANSITION_AUTHORIZE = 'authorize';
31
32
    public const TRANSITION_REFUND = 'refund';
33
34
    public const TRANSITION_VOID = 'void';
35
}
36