style(legacy): force semicolon on same line (#1534)
This commit is contained in:
parent
522d989cab
commit
8569af9328
85 changed files with 396 additions and 789 deletions
|
@ -107,7 +107,6 @@ class AutoPlaylistManager
|
|||
->filterByDbHasAutoPlaylist(true)
|
||||
->endUse()
|
||||
->filterByDbAutoPlaylistBuilt(false)
|
||||
->find()
|
||||
;
|
||||
->find();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -92,8 +92,7 @@ class PodcastManager
|
|||
{
|
||||
return ImportedPodcastQuery::create()
|
||||
->filterByDbAutoIngest(true)
|
||||
->find()
|
||||
;
|
||||
->find();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue