Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?php
2
/** File doc comment */
3
 
4
class No_Comment
5
{
6
 
7
}//end class
8
 
9
 
10
//
11
// Sample class comment
12
//
13
//
14
//
15
class Invalid_Comment_Style1
16
{
17
 
18
}//end class
19
 
20
 
21
/**
22
 *
23
 *
24
 * Sample class comment.
25
 *
26
 *
27
 * Long description with extra blank line before and after
28
 *
29
 *
30
 * @version   Release: 1.0
31
 * @link      http://pear.php.net/package/PHP_CodeSniffer
32
 */
33
class Extra_Description_Newlines
34
{
35
 
36
}//end class
37
 
38
 
39
/**
40
 * Sample class comment...
41
 * @since a.b.c
42
 */
43
class Missing_Newlines_Before_Tags
44
{
45
 
46
}//end class
47
 
48
 
49
/**
50
 * Simple class comment
51
 *
52
 * @deprecated asd
53
 * @since      Class available since Release 1.2.0
54
 */
55
class Checking_Tags
56
{
57
    class Sub_Class {
58
 
59
    }//end class
60
 
61
 
62
}//end class
63
 
64
 
65
/**
66
 * Simple class comment
67
 * that spans multiple line
68
 * and not end with a full stop
69
 *
70
 * @since      Wrong indentation
71
 * @hello      Hello tag
72
 * @package    phpcs (only since tag is allowed)
73
 */
74
class Unknown_Hello_Tag
75
{
76
 
77
}//end class
78
 
79
 
80
/**
81
 * Three since tags.
82
 *
83
 * @since 4.0.1
84
 * @since 4.0.1-rc1
85
 * @since 4.0.1-rc2
86
 */
87
class Three_Since_Tags
88
{
89
 
90
}//end class
91
 
92
 
93
/**
94
 * Since tag no content.
95
 *
96
 * @since
97
 *
98
 *
99
 */
100
class Empty_Since
101
{
102
 
103
}//end class
104
 
105
 
106
/**
107
 *
108
 *
109
 *
110
 */
111
class Empty_Class_Doc
112
{
113
 
114
}//end class
115
 
116
 
117
/**
118
 * @since 4.0.0
119
 */
120
class Missing_Short_Desc
121
{
122
 
123
}//end class
124
 
125
 
126
/**
127
 * sample class comment.
128
 *
129
 * - long description with extra blank line before and after
130
 *
131
 * @since 4.0.0
132
 */
133
class Incorect_Case
134
{
135
 
136
}//end class
137
 
138
 
139
/**
140
 * 0sample class comment.
141
 *
142
 * long description with extra blank line before and after
143
 *
144
 * @since 4.0.0
145
 */
146
class Incorect_Case2
147
{
148
 
149
}//end class
150
?>