<zendcodeanalyzer analyzerPath="/usr/local/Zend/ZendStudioClient-5.1.0/bin/ZendCodeAnalyzer" file="SomeClass.php"/>
Analyze one PHP source file with all default warnings enabled.
<zendcodeanalyzer analyzerPath="/usr/local/Zend/ZendStudioClient-5.1.0/bin/ZendCodeAnalyzer" disable="var-ref-notmodified,if-if-else"> <fileset dir="."> <include name="**/*.php"/> </fileset> </zendcodeanalyzer>
Analyze a set of PHP source files and disable a few warnings.
NOTE: the analyze
tag has been
deprecated as of Phing 2.4.