Update dependencies

This commit is contained in:
Frederic Guillot
2015-09-12 18:19:09 -04:00
parent 0e4e566aa4
commit cf46cf4404
6 changed files with 76 additions and 67 deletions

View File

@@ -9,6 +9,7 @@ use Model\Project;
use Model\Webhook;
use Pimple\Container;
use Pimple\ServiceProviderInterface;
use League\HTMLToMarkdown\HtmlConverter;
class ClassProvider implements ServiceProviderInterface
{
@@ -112,5 +113,9 @@ class ClassProvider implements ServiceProviderInterface
$container['oauth'] = $container->factory(function ($c) {
return new OAuth2($c);
});
$container['htmlConverter'] = function($c) {
return new HtmlConverter(array('strip_tags' => true));
};
}
}