Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?php
2
public function someFunctionWithAVeryLongName($firstParameter='something',
3
   $secondParameter='booooo', $third=null, $fourthParameter=false,
4
     $fifthParameter=123.12, $sixthParam=true
5
){
6
}
7
 
8
function someFunctionWithAVeryLongName2($firstParameter='something',
9
$secondParameter='booooo', $third=null, $fourthParameter=false,
10
$fifthParameter=123.12, $sixthParam=true
11
)  {
12
}
13
 
14
function blah() {
15
}
16
 
17
function blah()
18
{
19
}
20
 
21
class MyClass
22
{
23
 
24
    public function someFunctionWithAVeryLongName($firstParameter='something',
25
        $secondParameter='booooo', $third=null, $fourthParameter=false,
26
        $fifthParameter=123.12, $sixthParam=true
27
    ) /** w00t */ {
28
    }
29
 
30
    public function someFunctionWithAVeryLongName2(
31
        $firstParameter='something', $secondParameter='booooo', $third=null
32
    ) {
33
    }
34
 
35
    protected abstract function processTokenWithinScope(
36
        PHP_CodeSniffer_File $phpcsFile,
37
        $stackPtr,
38
        $currScope
39
    );
40
 
41
    protected abstract function processToken(
42
        PHP_CodeSniffer_File $phpcsFile,
43
        $stackPtr,
44
        $currScope);
45
 
46
}
47
 
48
function getInstalledStandards(
49
    $includeGeneric=false,
50
    $standardsDir=''
51
)
52
{
53
}
54
 
55
function &testFunction($arg1,
56
    $arg2,
57
) {
58
}
59
 
60
function testFunction($arg1,
61
$arg2) {
62
}
63
 
64
?>