PEAR_Validate::_addWarning
PEAR_Validate::_addWarning() – _addWarning
Synopsis
require_once '/Validate.php';
void
PEAR_Validate::_addWarning
(
string
$field
,
string
$reason
)
Description
add a validation warning from one of the channel validation functions. Use this for a non-fatal warning of a potential problem situation.
Parameter
-
string
$field
-
The package.xml section being validated (such as
version
ordependencies
)
-
string
$reason
-
A human-readable reason that validation failed.
Throws
throws no exceptions thrown
Note
This function can not be called statically.