I've replaced the requirement for the pecl yaml extension with the symphony component. Sometimes I work on a windows box and the instructions for installing pecl yaml on windows looked a little intimidating:

https://code.google.com/p/php-yaml/wiki/InstallingWithPecl
This commit is contained in:
meadsteve 2013-05-14 18:07:46 +01:00
parent 0a9c7bda93
commit bdaf5abff7
2 changed files with 6 additions and 3 deletions

View file

@ -3,6 +3,7 @@
namespace PHPCI;
use PHPCI\Model\Build;
use b8\Store;
use Symfony\Component\Yaml\Parser as YamlParser;
class Builder
{
@ -153,7 +154,9 @@ class Builder
return false;
}
$this->config = yaml_parse_file($this->buildPath . 'phpci.yml');
$yamlParser = new YamlParser();
$yamlFile = file_get_contents($this->buildPath . 'phpci.yml');
$this->config = $yamlParser->parse($yamlFile);
if(!isset($this->config['verbose']) || !$this->config['verbose'])
{

View file

@ -30,6 +30,6 @@
"squizlabs/php_codesniffer": "1.*",
"ircmaxell/password-compat": "1.x",
"phpspec/phpspec": "2.*",
"ext-yaml": "*"
"symfony/yaml": "2.2.x-dev"
}
}
}