~ubuntu-branches/ubuntu/wily/phabricator/wily

« back to all changes in this revision

Viewing changes to src/lint/linter/__tests__/xhpast/empty-block-statement.lint-test

  • Committer: Package Import Robot
  • Author(s): Richard Sellam
  • Date: 2014-11-01 23:20:06 UTC
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: package-import@ubuntu.com-20141101232006-mvlnp0cil67tsboe
Tags: upstream-0~git20141101/arcanist
Import upstream version 0~git20141101, component arcanist

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
function w() {}
 
3
function x() {
 
4
  // This is deliberately empty.
 
5
}
 
6
function y() { }
 
7
function z() {
 
8
 
 
9
 
 
10
}
 
11
~~~~~~~~~~
 
12
advice:6:14
 
13
advice:7:14
 
14
~~~~~~~~~~
 
15
<?php
 
16
function w() {}
 
17
function x() {
 
18
  // This is deliberately empty.
 
19
}
 
20
function y() {}
 
21
function z() {}