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

@ -707,8 +707,6 @@ SQL;
/**
* Change fadeIn and fadeOut values for block Element.
*
* @param int $pos
* position of audioclip in block
* @param string $fadeIn
* new value in ss.ssssss or extent format
* @param string $fadeOut
@ -812,8 +810,6 @@ SQL;
/**
* Change cueIn/cueOut values for block element.
*
* @param int $pos
* position of audioclip in block
* @param string $cueIn
* new value in ss.ssssss or extent format
* @param string $cueOut

View file

@ -781,8 +781,6 @@ SQL;
/**
* Change cueIn/cueOut values for playlist element.
*
* @param int $pos
* position of audioclip in playlist
* @param string $cueIn
* new value in ss.ssssss or extent format
* @param string $cueOut
@ -1033,8 +1031,6 @@ SQL;
/**
* Delete all files from playlist.
*
* @param int $p_playlistId
*/
public function deleteAllFilesFromPlaylist()
{

View file

@ -952,7 +952,7 @@ class Application_Model_Preference
/**
* Sets the time scale preference (agendaDay/agendaWeek/month) in Calendar.
*
* @param $timeScale new time scale
* @param $timeScale new time scale
*/
public static function SetCalendarTimeScale($timeScale)
{
@ -976,7 +976,7 @@ class Application_Model_Preference
/**
* Sets the number of entries to show preference in library under Playlist Builder.
*
* @param $numEntries new number of entries to show
* @param $numEntries new number of entries to show
*/
public static function SetLibraryNumEntries($numEntries)
{
@ -1000,7 +1000,7 @@ class Application_Model_Preference
/**
* Sets the time interval preference in Calendar.
*
* @param $timeInterval new time interval
* @param $timeInterval new time interval
*/
public static function SetCalendarTimeInterval($timeInterval)
{

View file

@ -171,9 +171,9 @@ SQL;
* If a current media item is currently playing, this function then attempts to
* find an item that played previously and is scheduled to play next.
*
* @param $utcNow DateTime current time in UTC
* @param $currentShowInstanceId int id of the show instance currently playing
* @param $source string the current prioritized source
* @param $utcNow DateTime current time in UTC
* @param $currentShowInstanceId int id of the show instance currently playing
* @param $source string the current prioritized source
*
* @return array with data about the previous, current, and next media items playing.
* Returns an empty arrays if there is no media item currently playing
@ -871,7 +871,6 @@ SQL;
* @param array $item schedule info about one track
* @param int $media_id scheduled item's cc_files id
* @param string $uri path to the scheduled item's physical location
* @param int $filsize The file's file size in bytes
* @param mixed $filesize
*/
private static function createFileScheduleEvent(&$data, $item, $media_id, $uri, $filesize)

View file

@ -614,10 +614,10 @@ final class Application_Model_Scheduler
/**
* Enter description here ...
*
* @param $scheduleItems
* cc_schedule items, where the items get inserted after
* @param $filesToInsert
* array of schedule item info, what gets inserted into cc_schedule
* @param $scheduleItems
* cc_schedule items, where the items get inserted after
* @param $filesToInsert
* array of schedule item info, what gets inserted into cc_schedule
* @param mixed $mediaItems
* @param mixed $moveAction
* @param mixed $adjustSched

View file

@ -959,14 +959,13 @@ SQL;
/**
* Get all the show instances in the given time range (inclusive).
*
* @param dateTime $start_timestamp
* In UTC time
* @param dateTime $end_timestamp
* In UTC time
* @param unknown_type $excludeInstance
* @param bool $onlyRecord
* @param int $showId
* limits the results to instances of a given showId only
* @param dateTime $start_timestamp
* In UTC time
* @param dateTime $end_timestamp
* In UTC time
* @param bool $onlyRecord
* @param int $showId
* limits the results to instances of a given showId only
*
* @return array
*/
@ -1054,14 +1053,9 @@ SQL;
}
/**
* @param DateTime $start
* -in UTC time
* @param DateTime $end
* -in UTC time
* @param bool $editable
* @param mixed $p_start
* @param mixed $p_end
* @param mixed $p_editable
* @param mixed $p_start
* @param mixed $p_end
* @param mixed $p_editable
*/
public static function &getFullCalendarEvents($p_start, $p_end, $p_editable = false)
{
@ -1301,7 +1295,7 @@ SQL;
* Gets the current show, previous and next with an n-day window from
* the given timeNow, so timeNow-2days and timeNow+$daysToRetrieve days.
*
* @param $utcNow A DateTime object containing the current time in UTC
* @param $utcNow A DateTime object containing the current time in UTC
* @param mixed $utcEndStr
* @param mixed $showsToRetrieve
*

View file

@ -234,8 +234,6 @@ SQL;
/**
* Add a playlist as the last item of the current show.
*
* @param int $plId
* Playlist ID
* @param mixed $pl_id
* @param mixed $checkUserPerm
*/
@ -257,8 +255,6 @@ SQL;
/**
* Add a playlist as the first item of the current show.
*
* @param int $plId
* Playlist ID
* @param mixed $pl_id
* @param mixed $checkUserPerm
*/

View file

@ -247,12 +247,8 @@ class Application_Model_StoredFile
/**
* Set metadata element value.
*
* @param string $category
* Metadata element by metadata constant
* @param string $value
* value to store, if NULL then delete record
* @param mixed $p_category
* @param mixed $p_value
* @param mixed $p_category
* @param mixed $p_value
*/
public function setMetadataValue($p_category, $p_value)
{
@ -264,12 +260,8 @@ class Application_Model_StoredFile
/**
* Set metadata element value.
*
* @param string $category
* Metadata element by db column
* @param string $value
* value to store, if NULL then delete record
* @param mixed $p_category
* @param mixed $p_value
* @param mixed $p_category
* @param mixed $p_value
*/
public function setDbColMetadataValue($p_category, $p_value)
{
@ -468,7 +460,6 @@ SQL;
* This function is for when media monitor detects deletion of file
* and trying to update airtime side.
*
* @param bool $p_deleteFile
* @param mixed $deleteFromPlaylist
*/
public function deleteByMediaMonitor($deleteFromPlaylist = false)
@ -1009,8 +1000,8 @@ SQL;
/**
* Enter description here ...
*
* @param $dir_id - if this is not provided, it returns all files with full
* path constructed
* @param $dir_id - if this is not provided, it returns all files with full
* path constructed
* @param mixed $all
*/
public static function listAllFiles($dir_id = null, $all = true)

View file

@ -264,7 +264,7 @@ class Application_Model_User
* uses it to figure out who to reassign the deleted users files to.
*
* @param $ignoreUser String optional userid of a user that shall be ignored when
* when looking for the "first" admin
* when looking for the "first" admin
*
* @return null|CcSubj
*/

View file

@ -188,7 +188,7 @@ class CcFiles extends BaseCcFiles
}
/** Update a file with metadata specified in an array.
* @param $fileId string The ID of the file to update in the DB
* @param $fileId string The ID of the file to update in the DB
* @param $fileArray array An associative array containing metadata. Replaces those fields if they exist.
*
* @return array a sanitized version of the file metadata array

View file

@ -39,8 +39,6 @@ class CcShowDays extends BaseCcShowDays
/**
* Returns the end of a show in the timezone it was created in.
*
* @param DateTime $startDateTime first show in show's local time
*/
public function getLocalEndDateAndTime()
{