style(legacy): force semicolon on same line (#1534)

This commit is contained in:
Jonas L 2022-01-23 19:15:55 +01:00 committed by GitHub
parent 522d989cab
commit 8569af9328
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
85 changed files with 396 additions and 789 deletions

View file

@ -107,7 +107,6 @@ class AutoPlaylistManager
->filterByDbHasAutoPlaylist(true)
->endUse()
->filterByDbAutoPlaylistBuilt(false)
->find()
;
->find();
}
}

View file

@ -163,8 +163,7 @@ class CeleryManager
{
$query = CeleryTasksQuery::create()
->filterByDbStatus(CELERY_PENDING_STATUS)
->filterByDbTaskId('', Criteria::NOT_EQUAL)
;
->filterByDbTaskId('', Criteria::NOT_EQUAL);
if (!empty($taskName)) {
$query->filterByDbName($taskName);
}

View file

@ -117,8 +117,7 @@ class ZendActionHttpException extends Exception
. " with status code {$statusCode}: {$message}");
$action->getResponse()
->setHttpResponseCode($statusCode)
->appendBody($message)
;
->appendBody($message);
parent::__construct($message, $code, $previous);
}
}

View file

@ -92,8 +92,7 @@ class PodcastManager
{
return ImportedPodcastQuery::create()
->filterByDbAutoIngest(true)
->find()
;
->find();
}
/**

View file

@ -125,8 +125,7 @@ class Application_Common_UsabilityHints
$fileCount = CcFilesQuery::create()
->filterByDbFileExists(true)
->filterByDbHidden(false)
->count()
;
->count();
if ($fileCount == 0) {
return true;
@ -162,8 +161,7 @@ class Application_Common_UsabilityHints
$scheduledTracks = CcScheduleQuery::create()
->filterByDbInstanceId($currentShow->getDbId())
->filterByDbEnds($now, Criteria::GREATER_EQUAL)
->find()
;
->find();
if ($scheduledTracks->count() == 0) {
return true;
}
@ -182,8 +180,7 @@ class Application_Common_UsabilityHints
$scheduledTracks = CcScheduleQuery::create()
->filterByDbInstanceId($futureShow->getDbId())
->filterByDbStarts($now, Criteria::GREATER_EQUAL)
->find()
;
->find();
if ($scheduledTracks->count() == 0) {
return true;
}
@ -199,8 +196,7 @@ class Application_Common_UsabilityHints
->filterByDbStarts($now, Criteria::LESS_THAN)
->filterByDbEnds($now, Criteria::GREATER_THAN)
->filterByDbModifiedInstance(false)
->findOne()
;
->findOne();
}
private static function getNextFutureShow()
@ -211,8 +207,7 @@ class Application_Common_UsabilityHints
->filterByDbStarts($now, Criteria::GREATER_THAN)
->filterByDbModifiedInstance(false)
->orderByDbStarts()
->findOne()
;
->findOne();
}
private static function isCurrentShowLinked()
@ -221,8 +216,7 @@ class Application_Common_UsabilityHints
if (!is_null($currentShow)) {
$show = CcShowQuery::create()
->filterByDbId($currentShow->getDbShowId())
->findOne()
;
->findOne();
if ($show->isLinked()) {
return true;
}