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

@@ -80,7 +80,6 @@ class BitbucketWebhook extends \Kanboard\Core\Base
$task = $this->taskFinder->getByReference($this->project_id, $payload['issue']['id']);
if (! empty($task)) {
$user = $this->user->getByUsername($payload['actor']['username']);
if (! empty($user) && ! $this->projectPermission->isMember($this->project_id, $user['id'])) {
@@ -147,8 +146,7 @@ class BitbucketWebhook extends \Kanboard\Core\Base
if (isset($payload['changes']['status'])) {
return $this->handleStatusChange($task, $payload);
}
else if (isset($payload['changes']['assignee'])) {
} elseif (isset($payload['changes']['assignee'])) {
return $this->handleAssigneeChange($task, $payload);
}