~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/Strings/DoubleQuoteUsageUnitTest.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
 
$string = "Hello\tThere";
3
 
$string = "Hello There\r\n";
4
 
$string = "Hello There";
5
 
$string = "Hello $there";
6
 
$string = 'Hello'."$there '".'hi';
7
 
$string = "My name is 'Greg'";
8
 
$string = "Hello"." There"."\n";
9
 
$string = "Hello There\f";
10
 
$string = "Hello\vThere";
11
 
$string = "\x0";
12
 
$string = 'Hello '.$there.' Greg';
13
 
$string = "<div class='$class'>";
14
 
$string = "Value: $var[test]";
15
 
$string = "\0";
16
 
 
17
 
$x = "bar = '$z',
18
 
baz = '" . $a . "'...$x";
19
 
?>
 
 
b'\\ No newline at end of file'