Note
MantisCore
basename can be used to specify the minimum requirement for MantisBT core.
<
' will allow the plugin to specify the highest version (non-inclusive) up to which the required dependency is supported.
Note
'<2
').
$this->requires = array( 'MantisCore' => '1.3.1' );The plugin is compatible with MantisBT >= 1.3.1 and < 2.0.0 - note that the maximum version (
<2
) was added by the system.
$this->requires = array( 'MantisCore' => '2.0' );The plugin is compatible with MantisBT >= 2.0 and < 3.0 (the latter is implicit); code supporting older releases (e.g. 1.3) must be maintained separately (i.e. in a different branch).
$this->requires = array( 'MantisCore' => '< 3.1' );The plugin is compatible up to MantisBT 3.1 (not inclusive).
$this->requires = array( 'MantisCore' => '1.3, < 4.0' );The plugin is compatible with MantisBT >= 1.3 and < 4.0.
requires
above for details on how to specify versions.