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

OrderPaymentStates::__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 OrderPaymentStates
0 ignored issues
show
Coding Style introduced by
OrderPaymentStates 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 STATE_CART = 'cart';
19
20
    public const STATE_AWAITING_PAYMENT = 'awaiting_payment';
21
22
    public const STATE_PARTIALLY_AUTHORIZED = 'partially_authorized';
23
24
    public const STATE_AUTHORIZED = 'authorized';
25
26
    public const STATE_PARTIALLY_PAID = 'partially_paid';
27
28
    public const STATE_CANCELLED = 'cancelled';
29
30
    public const STATE_PAID = 'paid';
31
32
    public const STATE_PARTIALLY_REFUNDED = 'partially_refunded';
33
34
    public const STATE_REFUNDED = 'refunded';
35
}
36