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';
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.