Run php-cs-fixer on the code base

This commit is contained in:
Frederic Guillot
2015-10-17 10:09:03 -04:00
parent b40190ee9f
commit 8c532efd5f
147 changed files with 465 additions and 772 deletions

View File

@@ -112,15 +112,15 @@ class ClassProvider implements ServiceProviderInterface
return new OAuth2($c);
});
$container['htmlConverter'] = function() {
$container['htmlConverter'] = function () {
return new HtmlConverter(array('strip_tags' => true));
};
$container['objectStorage'] = function() {
$container['objectStorage'] = function () {
return new FileStorage(FILES_DIR);
};
$container['emailClient'] = function($container) {
$container['emailClient'] = function ($container) {
$mailer = new EmailClient($container);
$mailer->setTransport('smtp', '\Kanboard\Core\Mail\Transport\Smtp');
$mailer->setTransport('sendmail', '\Kanboard\Core\Mail\Transport\Sendmail');
@@ -128,7 +128,7 @@ class ClassProvider implements ServiceProviderInterface
return $mailer;
};
$container['userNotificationType'] = function($container) {
$container['userNotificationType'] = function ($container) {
$type = new UserNotificationType($container);
$type->setType('email', t('Email'), '\Kanboard\Notification\Mail');
$type->setType('web', t('Web'), '\Kanboard\Notification\Web');