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

« back to all changes in this revision

Viewing changes to src/lint/linter/__tests__/xhpast/keyword-casing.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
 
 
3
true;
 
4
false;
 
5
null;
 
6
True;
 
7
False;
 
8
NULL;
 
9
nUlL;
 
10
array();
 
11
Array();
 
12
 
 
13
function f(array $x, ArRaY $y) {}
 
14
 
 
15
new C();
 
16
NeW C();
 
17
~~~~~~~~~~
 
18
warning:6:1
 
19
warning:7:1
 
20
warning:8:1
 
21
warning:9:1
 
22
warning:11:1
 
23
warning:13:22
 
24
warning:16:1
 
25
~~~~~~~~~~
 
26
<?php
 
27
 
 
28
true;
 
29
false;
 
30
null;
 
31
true;
 
32
false;
 
33
null;
 
34
null;
 
35
array();
 
36
array();
 
37
 
 
38
function f(array $x, array $y) {}
 
39
 
 
40
new C();
 
41
new C();