fix(deps): update dependency friendsofphp/php-cs-fixer to <3.17.1 (main) (#2556)

* fix(deps): update dependency friendsofphp/php-cs-fixer to <3.17.1

* style(legacy): format using php-cs-fixer

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
This commit is contained in:
renovate[bot] 2023-05-25 15:06:18 +02:00 committed by GitHub
parent 734f8baeb4
commit 8b41302ddd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 62 additions and 114 deletions

View file

@ -197,10 +197,10 @@ class Application_Service_PodcastEpisodeService extends Application_Service_Thir
/**
* Update a ThirdPartyTrackReferences object for a completed upload.
*
* @param $task CeleryTasks the completed CeleryTasks object
* @param $episodeId int PodcastEpisodes identifier
* @param $episode stdClass simple object containing Podcast episode information
* @param $status string Celery task status
* @param $task CeleryTasks the completed CeleryTasks object
* @param $episodeId int PodcastEpisodes identifier
* @param $episode stdClass simple object containing Podcast episode information
* @param $status string Celery task status
*
* @return ThirdPartyTrackReferences the updated ThirdPartyTrackReferences object
*

View file

@ -142,8 +142,8 @@ class Application_Service_PodcastService
}
/**
* @param $title passed in directly from web UI input
* This will automatically create a smartblock and playlist for this podcast
* @param $title passed in directly from web UI input
* This will automatically create a smartblock and playlist for this podcast
* @param mixed $podcast
*/
public static function createPodcastSmartblockAndPlaylist($podcast, $title = null)

View file

@ -43,7 +43,7 @@ class Application_Service_SchedulerService
/**
* Applies the show start difference to any scheduled items.
*
* @param $diff (integer, difference between unix epoch in seconds)
* @param $diff (integer, difference between unix epoch in seconds)
* @param mixed $instanceIds
*/
public static function updateScheduleStartTime($instanceIds, $diff)

View file

@ -469,8 +469,7 @@ class Application_Service_ShowFormService
/**
* Enter description here ...
*
* @param DateTime $showStart user's local time
* @param mixed $p_showStart
* @param mixed $p_showStart
*/
private function hasShowStarted($p_showStart)
{
@ -658,9 +657,8 @@ class Application_Service_ShowFormService
* When the timezone is changed in add-show form this function
* applies the new timezone to the start and end time.
*
* @param $date String
* @param $time String
* @param $timezone String
* @param $date String
* @param $time String
* @param mixed $newTimezone
* @param mixed $oldTimezone
*/

View file

@ -529,8 +529,6 @@ SQL;
* - Update start and end time
*
* @param $showData edit show form values in raw form
* @param $isRecorded value computed from the edit show form
* @param $repeatType value computed from the edit show form
*/
private function delegateInstanceCleanup($showData)
{
@ -597,7 +595,7 @@ SQL;
$this->deleteAllInstances($showId);
$this->deleteAllShowDays($showId);
// when repeating by day of the month (1st, 2nd, etc.) we do not store the repeat week days
// when repeating by day of the month (1st, 2nd, etc.) we do not store the repeat week days
} elseif ($currentRepeatType != 2) {
// repeat type is the same, check if the days of the week are the same
$repeatingDaysChanged = false;
@ -755,10 +753,10 @@ SQL;
/**
* Enter description here ...
*
* @param $daysRemoved array of days (days of the week) removed
* (days of the week are represented numerically
* 0=>sunday, 1=>monday, 2=>tuesday, etc.)
* @param $showDays array of ccShowDays objects
* @param $daysRemoved array of days (days of the week) removed
* (days of the week are represented numerically
* 0=>sunday, 1=>monday, 2=>tuesday, etc.)
* @param $showDays array of ccShowDays objects
* @param mixed $showId
*/
private function deleteRemovedShowDayInstances($daysRemoved, $showDays, $showId)
@ -883,10 +881,10 @@ SQL;
CcShowQuery::create()
->filterByDbId($showId)
->delete();
// There is only one cc_show_instance if the user selects 'Delete This Instance'
// There is more than one cc_show_instance if the user selects 'Delete This
// Instance and All Following'. We only need to set the last_show value
// when 'Delete This Instance and All Following' has been selected
// There is only one cc_show_instance if the user selects 'Delete This Instance'
// There is more than one cc_show_instance if the user selects 'Delete This
// Instance and All Following'. We only need to set the last_show value
// when 'Delete This Instance and All Following' has been selected
} elseif (count($ccShowInstances) > 1) {
$this->setLastRepeatingShowDate($showId);
}
@ -1088,7 +1086,6 @@ SQL;
/**
* Updates the start and end time for cc_show_instances.
*
* @param $showData edit show form data
* @param mixed $diff
*/
private function updateInstanceStartEndTime($diff)
@ -1205,7 +1202,6 @@ SQL;
* @param unknown_type $showDay
* @param unknown_type $populateUntil
* @param unknown_type $repeatInterval
* @param unknown_type $isRebroadcast
* @param mixed $repeatType
* @param null|mixed $daysAdded
*/
@ -1426,7 +1422,6 @@ SQL;
* i.e. second monday of each month.
*
* @param string $showStart
* @param string $timezone user's local timezone
*/
public static function getMonthlyWeeklyRepeatInterval($showStart)
{
@ -1480,7 +1475,7 @@ SQL;
/**
* Enter description here ...
*
* @param $start user's local time
* @param $start user's local time
* @param mixed $timezone
* @param mixed $startTime
*/
@ -1646,7 +1641,6 @@ SQL;
/**
* Sets the fields for a cc_show table row.
*
* @param $ccShow
* @param mixed $showData
*/
public function setCcShow($showData)
@ -1691,11 +1685,6 @@ SQL;
/**
* Sets the fields for a cc_show_days table row.
*
* @param $showId
* @param $userId
* @param $repeatType
* @param $isRecorded
* @param $showDay ccShowDay object we are setting values on
* @param mixed $showData
*/
private function setCcShowDays($showData)
@ -1824,9 +1813,6 @@ SQL;
/**
* Sets the fields for a cc_show_rebroadcast table row.
*
* @param $showId
* @param $repeatType
* @param $isRecorded
* @param mixed $showData
*/
private function setCcShowRebroadcasts($showData)
@ -1873,7 +1859,6 @@ SQL;
/**
* Sets the fields for a cc_show_hosts table row.
*
* @param $showId
* @param mixed $showData
*/
private function setCcShowHosts($showData)
@ -1911,7 +1896,6 @@ SQL;
*
* @param DateTime $showStart user's local time
* @param string $duration time interval (h)h:(m)m(:ss)
* @param string $timezone "Europe/Prague"
* @param array $offset (days, hours, mins) used for rebroadcast shows
*
* @return array of 2 DateTime objects, start/end time of the show in UTC

View file

@ -46,7 +46,7 @@ abstract class Application_Service_ThirdPartyCeleryService extends Application_S
*
* @param $fileId int CcFiles identifier
* @param $brokerTaskId int broker task identifier to so we can asynchronously
* receive completed task messages
* receive completed task messages
* @param $taskName string broker task name
*
* @return CeleryTasks the created task
@ -73,7 +73,7 @@ abstract class Application_Service_ThirdPartyCeleryService extends Application_S
* Update a CeleryTasks object for a completed task
* TODO: should we have a database layer class to handle Propel operations?
*
* @param $task CeleryTasks the completed CeleryTasks object
* @param $task CeleryTasks the completed CeleryTasks object
* @param $status string Celery task status
*
* @throws Exception
@ -90,10 +90,10 @@ abstract class Application_Service_ThirdPartyCeleryService extends Application_S
*
* Manipulation and use of the track object is left up to child implementations
*
* @param $task CeleryTasks the completed CeleryTasks object
* @param $trackId int ThirdPartyTrackReferences identifier
* @param $result mixed Celery task result message
* @param $status string Celery task status
* @param $task CeleryTasks the completed CeleryTasks object
* @param $trackId int ThirdPartyTrackReferences identifier
* @param $result mixed Celery task result message
* @param $status string Celery task status
*
* @return ThirdPartyTrackReferences the updated ThirdPartyTrackReferences object
*