~ubuntu-branches/ubuntu/saucy/php-codesniffer/saucy

« back to all changes in this revision

Viewing changes to PHP_CodeSniffer-1.0.1/CodeSniffer/Standards/Squiz/Tests/ControlStructures/InlineIfDeclarationUnitTest.inc

  • Committer: Bazaar Package Importer
  • Author(s): Jack Bates
  • Date: 2008-10-01 17:39:43 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20081001173943-2dy06n1e8zwyw1o8
Tags: 1.1.0-1
* New upstream release
* Acknowledge NMU, thanks Jan

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?php
2
 
 
3
 
echo 'var is '.(($var < 0) ? 'negative' : 'positive');
4
 
echo 'var is '.($var < 0 ? 'negative' : 'positive');
5
 
echo 'var is '.(($var < 0) ? 'negative' :'positive');
6
 
echo 'var is '.(($var < 0) ? 'negative': 'positive');
7
 
echo 'var is '.(($var < 0) ? 'negative' :   'positive');
8
 
echo 'var is '.(($var < 0) ? 'negative'   : 'positive');
9
 
echo 'var is '.(($var < 0) ?   'negative' : 'positive');
10
 
echo 'var is '.(($var < 0)  ? 'negative' : 'positive');
11
 
 
12
 
echo 'var is '.(($var < 0)
13
 
                    ? 'negative'
14
 
                    : 'positive');
15
 
 
16
 
$args = array(
17
 
         '"'.$this->id.'"',
18
 
         '"'.$this->stepInfo['title'].'"',
19
 
         '"'.((isset($this->stepInfo['description']) === TRUE) ? $this->stepInfo['description'] : '').'"',
20
 
         '"'.(isset($this->stepInfo['description']) === TRUE ? $this->stepInfo['description'] : '').'"',
21
 
         '"'.$this->stepInfo['title'].'"',
22
 
        ); 
23
 
?>
 
 
b'\\ No newline at end of file'