Passed
Push — main ( 7f530d...7aae9b )
by Thierry
05:54
created

DocBlockAnnotated::withBagsErrorNumber()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 0
c 0
b 0
f 0
nc 1
nop 0
dl 0
loc 2
rs 10
1
<?php
2
3
namespace Jaxon\Annotations\Tests\Attr\Ajax;
4
5
use Jaxon\Annotations\Tests\Attr\FuncComponent;
6
// Don't delete. This declaration is actually used by an annotation.
7
use Jaxon\Annotations\Tests\Service\ColorService;
0 ignored issues
show
Bug introduced by
The type Jaxon\Annotations\Tests\Service\ColorService 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...
8
9
class DocBlockAnnotated extends FuncComponent
10
{
11
    /**
12
     * @exclude true
13
     */
14
    public function doNot()
15
    {
16
    }
17
18
    /**
19
     * @exclude Me
20
     */
21
    public function doNotError()
22
    {
23
    }
24
25
    /**
26
     * @databag user.name
27
     * @databag page.number
28
     */
29
    public function withBags()
30
    {
31
    }
32
33
    /**
34
     * @databag user:name
35
     */
36
    public function withBagsErrorName()
37
    {
38
    }
39
40
    /**
41
     * @databag page number
42
     */
43
    public function withBagsErrorNumber()
44
    {
45
    }
46
47
    /**
48
     * @upload user-files
49
     * @exclude false
50
     */
51
    public function saveFiles()
52
    {
53
    }
54
55
    /**
56
     * @upload user:file
57
     */
58
    public function saveFileErrorFieldName()
59
    {
60
    }
61
62
    /**
63
     * @upload user file
64
     */
65
    public function saveFileErrorFieldNumber()
66
    {
67
    }
68
69
    /**
70
     * @upload user-files
71
     */
72
    public function saveFilesWrongName()
73
    {
74
    }
75
76
    /**
77
     * @upload user-file1
78
     * @upload user-file2
79
     */
80
    public function saveFilesMultiple()
81
    {
82
    }
83
84
    /**
85
     * @before funcBefore
86
     * @after funcAfter
87
     */
88
    public function cbSingle()
89
    {
90
    }
91
92
    /**
93
     * @before funcBefore1
94
     * @before funcBefore2
95
     * @after funcAfter1
96
     * @after funcAfter2
97
     * @after funcAfter3
98
     */
99
    public function cbMultiple()
100
    {
101
    }
102
103
    /**
104
     * @before funcBefore1 ["param1"]
105
     * @before funcBefore2 ["param1", "param2"]
106
     * @after funcAfter1 ["param1", "param2"]
107
     */
108
    public function cbParams()
109
    {
110
    }
111
112
    /**
113
     * @before func:Before
114
     */
115
    public function cbBeforeErrorName()
116
    {
117
    }
118
119
    /**
120
     * @before funcBefore false
121
     */
122
    public function cbBeforeErrorParam()
123
    {
124
    }
125
126
    /**
127
     * @before funcBefore ["param1"] false
128
     */
129
    public function cbBeforeErrorNumber()
130
    {
131
    }
132
133
    /**
134
     * @before func:After
135
     */
136
    public function cbAfterErrorName()
137
    {
138
    }
139
140
    /**
141
     * @before funcAfter false
142
     */
143
    public function cbAfterErrorParam()
144
    {
145
    }
146
147
    /**
148
     * @before funcAfter ["param1"] false
149
     */
150
    public function cbAfterErrorNumber()
151
    {
152
    }
153
154
    /**
155
     * @di $colorService ColorService
156
     * @di $fontService FontService
157
     */
158
    public function di1()
159
    {
160
    }
161
162
    /**
163
     * @di $colorService ColorService
164
     * @di $textService \Jaxon\Annotations\Tests\Service\TextService
165
     */
166
    public function di2()
167
    {
168
    }
169
170
    /**
171
     * @di $color.Service ColorService
172
     */
173
    public function diErrorAttr()
174
    {
175
    }
176
177
    /**
178
     * @di $colorService Color.Service
179
     */
180
    public function diErrorClass()
181
    {
182
    }
183
184
    /**
185
     * @di $colorService
186
     */
187
    public function diErrorOneParam()
188
    {
189
    }
190
191
    /**
192
     * @di $colorService ColorService TextService
193
     */
194
    public function diErrorThreeParams()
195
    {
196
    }
197
198
    /**
199
     * @callback jaxon.ajax.callback.test
200
     */
201
    public function withCallback()
202
    {
203
    }
204
}
205