Issues (46)

src/Enum/DateFormat.php (1 issue)

Labels
Severity
1
<?php
2
/**
3
 * Copyright (c) 2017–2019 Ryan Parman <http://ryanparman.com>.
4
 * Copyright (c) 2017–2019 Contributors.
5
 *
6
 * http://opensource.org/licenses/Apache2.0
7
 */
8
9
declare(strict_types=1);
10
11
namespace SimplePie\Enum;
12
13
use DateTime;
14
15
/**
16
 * Provides a set of commonly-used time/date-stamps in feeds.
17
 */
18
class DateFormat extends AbstractEnum
0 ignored issues
show
The type SimplePie\Enum\AbstractEnum was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
19
{
20
    /**
21
     * 1970-01-01T00:00:00+00:00.
22
     */
23
    public const ATOM = DateTime::RFC3339;
24
25
    /**
26
     * 1970-01-01T00:00:00+00:00.
27
     */
28
    public const ISO8601 = DateTime::RFC3339;
29
30
    /**
31
     * 1970-01-01T00:00:00+00:00.
32
     */
33
    public const RFC3339 = DateTime::RFC3339;
34
35
    /**
36
     * Thu, 01 Jan 70 00:00:00 +0000.
37
     */
38
    public const RFC822 = DateTime::RFC822;
39
40
    /**
41
     * Thu, 01 Jan 1970 00:00:00 +0000.
42
     */
43
    public const RFC2822 = DateTime::RFC2822;
44
45
    /**
46
     * Thu, 01 Jan 1970 00:00:00 +0000.
47
     */
48
    public const RSS20 = DateTime::RFC2822;
49
50
    /**
51
     * Thursday, 1st January 1970, 12:00am GMT.
52
     */
53
    public const LONG_12HOUR = 'l, jS F Y, g:ia T';
54
55
    /**
56
     * Thursday, 1st January 1970, 0:00 GMT.
57
     */
58
    public const LONG_24HOUR = 'l, jS F Y, G:i T';
59
60
    /**
61
     * Thu, 1 Jan 1970, 12:00am GMT.
62
     */
63
    public const SHORT_12HOUR = 'D, j M Y, g:ia T';
64
65
    /**
66
     * Thu, 1 Jan 1970, 0:00 GMT.
67
     */
68
    public const SHORT_24HOUR = 'D, j M Y, G:i T';
69
70
    /**
71
     * 1514357702.
72
     */
73
    public const SINCE_EPOCH = 'U';
74
}
75