Occurrence
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 81
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 9
dl 0
loc 81
c 0
b 0
f 0
wmc 0
1
<?php
2
/**
3
 * Contains \garethp\ews\API\Enumeration\Occurrence.
4
 */
5
6
namespace garethp\ews\API\Enumeration;
7
8
/**
9
 * Represents the occurrence of the day of the week in a month.
10
 *
11
 * @package php-ews\Enumeration
12
 */
13
class Occurrence extends Enumeration
0 ignored issues
show
Bug introduced by
The type garethp\ews\API\Enumeration\Enumeration 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...
14
{
15
    /**
16
     * The first occurrence of the specified day of the week from the beginning
17
     * of the month.
18
     *
19
     * @since Exchange 2010
20
     *
21
     * @var integer
22
     */
23
    const FIRST_FROM_BEGINNING = 1;
24
25
    /**
26
     * The first occurrence of the specified day of the week from the end of the
27
     * month.
28
     *
29
     * @since Exchange 2010
30
     *
31
     * @var integer
32
     */
33
    const FIRST_FROM_END = -1;
34
35
    /**
36
     * The fourth occurrence of the specified day of the week from the beginning
37
     * of the month.
38
     *
39
     * @since Exchange 2010
40
     *
41
     * @var integer
42
     */
43
    const FOURTH_FROM_BEGINNING = 4;
44
45
    /**
46
     * The fourh occurrence of the specified day of the week from the end of the
47
     * month.
48
     *
49
     * @since Exchange 2010
50
     *
51
     * @var integer
52
     */
53
    const FOURTH_FROM_END = -4;
54
55
    /**
56
     * The second occurrence of the specified day of the week from the beginning
57
     * of the month.
58
     *
59
     * @since Exchange 2010
60
     *
61
     * @var integer
62
     */
63
    const SECOND_FROM_BEGINNING = 2;
64
65
    /**
66
     * The second occurrence of the specified day of the week from the end of
67
     * the month.
68
     *
69
     * @since Exchange 2010
70
     *
71
     * @var integer
72
     */
73
    const SECOND_FROM_END = -2;
74
75
    /**
76
     * The third occurrence of the specified day of the week from the beginning
77
     * of the month.
78
     *
79
     * @since Exchange 2010
80
     *
81
     * @var integer
82
     */
83
    const THIRD_FROM_BEGINNING = 3;
84
85
    /**
86
     * The third occurrence of the specified day of the week from the end of the
87
     * month.
88
     *
89
     * @since Exchange 2010
90
     *
91
     * @var integer
92
     */
93
    const THIRD_FROM_END = -3;
94
}
95