PEAR_Validate::validateDependencies() – for package.xml 2.0 only - channels can't use package.xml 1.0


require_once '/Validate.php';

void PEAR_Validate::validateDependencies ( )


Override this in a channel-specific validator to validate the <dependencies> tag of a package.xml 2.0-based release.

Errors should be reported using _addFailure() method, and non-fatal errors (warnings) should be reported using the _addWarning() method.


throws no exceptions thrown


This function can not be called statically.

validateDate (Previous) validateDeps (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.