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

@ -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