~ubuntu-branches/ubuntu/utopic/php-codesniffer/utopic

« back to all changes in this revision

Viewing changes to PHP_CodeSniffer-1.3.4/CodeSniffer/Standards/Squiz/Tests/Functions/FunctionDeclarationArgumentSpacingUnitTest.inc

  • Committer: Package Import Robot
  • Author(s): Thomas Goirand
  • Date: 2012-05-31 16:37:24 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20120531163724-u6aiaubu8ks5dh5z
Tags: 1.3.4-0.1
* Non-maintainer upload.
* New upstream release (Closes: #599617, #634825).
* Swtiched debian/copyright to format 1.0 (rewrite was needed anyway, as the
upstream license changed).
* Switched package to pkg-php-tools and debhelper 8 sequencer.
* Now running unit tests at build time (so depends on phpunit (>= 3.6)).
* Section is now PHP.
* Added missing Build-Depends-Indep: php-pear.
* Added missing ${misc:Depends}.
* Added Vcs fields.
* Added homepage field.
* Reviewed short and long description.
* Added dependency on php-timer.
* Standards-Version: is now 3.9.3 (lots of changes, see above...).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
function myFunc() {}
 
3
function myFunc( ) {}
 
4
function myFunc($blah) {}
 
5
function myFunc( $blah ) {}
 
6
function myFunc($blah, $blah2, $blah3) {}
 
7
function myFunc($blah , $blah2, $blah3 ) {}
 
8
function myFunc($blah,$blah2,$blah3) {}
 
9
function myFunc($blah,   $blah2,  $blah3) {}
 
10
function myFunc($blah='hello') {}
 
11
function myFunc($blah = 'hello') {}
 
12
function myFunc(PHP_CodeSniffer $object, array $array=array(), $blah3='yo') {}
 
13
function myFunc(  $blah='hello'   , $blah2=   'hi',  $blah3   = 'yo' ) {}
 
14
function myFunc(PHP_CodeSniffer   $object, array  $array=array(), $blah3='yo') {}
 
15
function myFunc( PHP_CodeSniffer $object,  array $array=array(), $blah3='yo') {}
 
16
function myFunc( array  &$one,  array  &$two) {}
 
17
function myFunc(&$blah) {}
 
18
function myFunc( &$blah ) {}
 
19
 
 
20
function multiLineFunction(
 
21
    array $flatList,
 
22
    $markup,
 
23
    array $otherList,
 
24
    $lastOffset=0
 
25
) {
 
26
}
 
27
 
 
28
function multiLineFunction(
 
29
    $markup,
 
30
    array $otherList,
 
31
    $lastOffset=0
 
32
) {
 
33
}
 
34
?>