示例#1
0
 /**
  * @dataProvider getGoodVersions
  */
 public function testStable($version)
 {
     $stable = !(bool) strpos($version, '-');
     $version = new Version($version);
     $this->assertSame($stable, $version->isStable());
 }