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

DefaultCalculators::__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\Shipping\Calculator;
15
16
interface DefaultCalculators
0 ignored issues
show
Coding Style introduced by
DefaultCalculators 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
    /**
19
     * Flat rate per shipment calculator.
20
     */
21
    public const FLAT_RATE = 'flat_rate';
22
23
    /**
24
     * Fixed price per unit calculator.
25
     */
26
    public const PER_UNIT_RATE = 'per_unit_rate';
27
}
28