Day
last analyzed

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 12
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
nextDay() 0 1 ?
previousDay() 0 1 ?
1
<?php
2
3
namespace BestServedCold\PhalueObjects\Contract\DateTime;
4
5
/**
6
 * Interface Day
7
 *
8
 * @package   BestServedCold\PhalueObjects\DateTime\Unit
9
 * @author    Adam Lewis <[email protected]>
10
 * @copyright Copyright (c) 2015 Best Served Cold Media Limited
11
 * @license   http://http://opensource.org/licenses/GPL-3.0 GPL License
12
 * @link      http://bestservedcold.com
13
 * @since     0.0.1-alpha
14
 * @version   0.0.2-alpha
15
 */
16
interface Day
0 ignored issues
show
Coding Style introduced by
Day 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
     * @return static
20
     */
21
    public function nextDay();
22
23
    /**
24
     * @return static
25
     */
26
    public function previousDay();
27
}
28