Code style fixes.
This commit is contained in:
parent
fa569f3e22
commit
4e68eb7180
89 changed files with 942 additions and 251 deletions
|
|
@ -119,7 +119,7 @@ class BuildStatusController extends Controller
|
|||
* Returns the appropriate build status image in SVG format for a given project.
|
||||
*
|
||||
* @param $projectId
|
||||
*
|
||||
*
|
||||
* @return b8\Http\Response|b8\Http\Response\RedirectResponse
|
||||
*/
|
||||
public function image($projectId)
|
||||
|
|
@ -175,11 +175,11 @@ class BuildStatusController extends Controller
|
|||
|
||||
/**
|
||||
* View the public status page of a given project, if enabled.
|
||||
*
|
||||
*
|
||||
* @param integer $projectId
|
||||
*
|
||||
*
|
||||
* @return string
|
||||
*
|
||||
*
|
||||
* @throws \b8\Exception\HttpException\NotFoundException
|
||||
*/
|
||||
public function view($projectId)
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ class ProjectController extends PHPCensor\Controller
|
|||
|
||||
/**
|
||||
* View a specific project.
|
||||
*
|
||||
*
|
||||
* @param integer $projectId
|
||||
*
|
||||
* @throws NotFoundException
|
||||
|
|
@ -163,7 +163,7 @@ class ProjectController extends PHPCensor\Controller
|
|||
|
||||
/**
|
||||
* Create a new pending build for a project.
|
||||
*
|
||||
*
|
||||
* @param integer $projectId
|
||||
*
|
||||
* @throws NotFoundException
|
||||
|
|
|
|||
|
|
@ -267,7 +267,7 @@ class WebhookController extends Controller
|
|||
* Called by POSTing to /webhook/git/<project_id>?branch=<branch>&commit=<commit>
|
||||
*
|
||||
* @param string $projectId
|
||||
*
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function git($projectId)
|
||||
|
|
@ -377,12 +377,12 @@ class WebhookController extends Controller
|
|||
|
||||
/**
|
||||
* Handle the payload when Github sends a Pull Request webhook.
|
||||
*
|
||||
*
|
||||
* @param Project $project
|
||||
* @param array $payload
|
||||
*
|
||||
*
|
||||
* @return array
|
||||
*
|
||||
*
|
||||
* @throws Exception
|
||||
*/
|
||||
protected function githubPullRequest(Project $project, array $payload)
|
||||
|
|
@ -512,9 +512,9 @@ class WebhookController extends Controller
|
|||
* Called by POSTing to /webhook/svn/<project_id>?branch=<branch>&commit=<commit>
|
||||
*
|
||||
* @author Sylvain Lévesque <slevesque@gezere.com>
|
||||
*
|
||||
*
|
||||
* @param string $projectId
|
||||
*
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function svn($projectId)
|
||||
|
|
@ -530,9 +530,9 @@ class WebhookController extends Controller
|
|||
|
||||
/**
|
||||
* Called by Gogs Webhooks:
|
||||
*
|
||||
*
|
||||
* @param string $projectId
|
||||
*
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function gogs($projectId)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue