Beispiel #1
0
 function setVersion($version)
 {
     $this->version = Tiki_Version_Version::get($version);
 }
Beispiel #2
0
 function __construct($old, $new, $isRequired)
 {
     $this->old = Tiki_Version_Version::get($old);
     $this->new = Tiki_Version_Version::get($new);
     $this->isRequired = $isRequired;
 }
Beispiel #3
0
 /**
  * @dataProvider versions
  */
 function testParseVersions($string, $version)
 {
     $this->assertEquals($version, Tiki_Version_Version::get($string));
 }