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

OrderPaymentTransitions::__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\Core;
15
16
interface OrderPaymentTransitions
0 ignored issues
show
Coding Style introduced by
OrderPaymentTransitions 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_order_payment';
19
20
    public const TRANSITION_REQUEST_PAYMENT = 'request_payment';
21
22
    public const TRANSITION_PARTIALLY_AUTHORIZE = 'partially_authorize';
23
24
    public const TRANSITION_AUTHORIZE = 'authorize';
25
26
    public const TRANSITION_PARTIALLY_PAY = 'partially_pay';
27
28
    public const TRANSITION_CANCEL = 'cancel';
29
30
    public const TRANSITION_PAY = 'pay';
31
32
    public const TRANSITION_PARTIALLY_REFUND = 'partially_refund';
33
34
    public const TRANSITION_REFUND = 'refund';
35
}
36