findInstalledBuilds() public static method

public static findInstalledBuilds ( $stripPrefix = true ) : string[]
return string[]
Beispiel #1
0
 public function arguments($args)
 {
     $args->add('php version')->validValues(function () {
         return \PhpBrew\BuildFinder::findInstalledBuilds();
     });
 }
Beispiel #2
0
 protected function assertListContains($string)
 {
     $this->assertNotEmpty(BuildFinder::findInstalledBuilds(false), 'findInstalledBuilds');
     $this->assertContains($string, BuildFinder::findInstalledBuilds(false));
 }