eZ Publish  [4.0]
ezcheckphptag.php File Reference

Go to the source code of this file.

Variables

 $badFiles = array()
 $cli = eZCLI::instance()
 $endNewlineTag = "?>\n"
 $endTag = '?>'
 $error = false
 $ini = eZINI::instance()
 $options
 $pathList = $options['arguments']
if(count($options['arguments'])< 1) $print = true
 $script
 $shellTag = '#!'
 $shortStartTag = '<?'
 $startTag = '<?php'

Variable Documentation

$badFiles = array()

Definition at line 67 of file ezcheckphptag.php.

$cli = eZCLI::instance()

Definition at line 35 of file ezcheckphptag.php.

$endNewlineTag = "?>\n"

Definition at line 73 of file ezcheckphptag.php.

$endTag = '?>'

Definition at line 72 of file ezcheckphptag.php.

$ini = eZINI::instance()

Definition at line 63 of file ezcheckphptag.php.

$options
Initial value:
 $script->getOptions( "[no-print]",
                                "[path+]",
                                array( 'no-print' => "Do not print path for bad files"
                                       ) )

Definition at line 48 of file ezcheckphptag.php.

if (count($options['arguments'])< 1) $print = true

Definition at line 59 of file ezcheckphptag.php.

Initial value:
 eZScript::instance( array( 'description' => ( "eZ Publish PHP tag checker\n\n" .
                                                         "Checks for characters before the PHP start tag and after the PHP end tag\n" .
                                                         "and sets exit code based on the result\n" .
                                                         "PATH can either be a file or a directory\n" .
                                                         "\n" .
                                                         "ezcheckphptag.php lib" ),
                                      'use-session' => false,
                                      'use-modules' => true,
                                      'use-extensions' => true ) )

Definition at line 36 of file ezcheckphptag.php.

$shellTag = '#!'

Definition at line 69 of file ezcheckphptag.php.

$shortStartTag = '<?'

Definition at line 71 of file ezcheckphptag.php.

$startTag = '<?php'

Definition at line 70 of file ezcheckphptag.php.