PhpDependTask

This task runs PHP_Depend, a software analyzer and metric tool for PHP Code. You need an installed version of this software to use this task.

Table 134. Attributes

Name Type Description Default Required
file String Path to source file or path n/a Only when there are no nested fileset elements
configFile String Path to PHP_Depend configuration file n/a No
allowedFileExtensions String Comma-separated list of valid file extensions (without dot) for analyzed files. php,php5 No
excludeDirectories String Comma-separated list of directory patterns to ignore. .git, .svn, CVS No
excludePackages String Comma-separated list of packages to ignore. n/a No
withoutAnnotations Boolean Should the parse ignore doc comment annotations? false No
supportBadDocumentation Boolean Should PHP_Depend treat +global as a regular project package? false No
debug Boolean Enable debug output? false No
haltonerror Boolean Stop the build process if errors occurred during the run. false No