~ubuntu-branches/ubuntu/trusty/php-codesniffer/trusty

« back to all changes in this revision

Viewing changes to PHP_CodeSniffer-1.3.4/CodeSniffer/Standards/Squiz/Tests/Commenting/PostStatementCommentUnitTest.inc

  • Committer: Package Import Robot
  • Author(s): Thomas Goirand
  • Date: 2013-07-12 15:16:25 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20130712151625-4autdc0twzbueha9
Tags: 1.5.0~rc2-1
* New upstream release.
* Refreshed patch.
* Standards-Version is now 3.9.4.
* Canonical VCS URLs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?php
2
 
 
3
 
function test()
4
 
{
5
 
    $string = 'hello';
6
 
    $string = 'hello'; // Set string to hello.
7
 
    // Valid comment.
8
 
}
9
 
 
10
 
function test() // This is a function
11
 
{
12
 
 
13
 
}//end test()
14
 
 
15
 
 
16
 
class TestClass
17
 
{
18
 
    public $good = true; // Indeed.
19
 
 
20
 
}//end class
21
 
 
22
 
?>
 
 
b'\\ No newline at end of file'