We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -125,7 +125,7 @@ |
||
| 125 | 125 | } |
| 126 | 126 | |
| 127 | 127 | return [ |
| 128 | - 'start' => $videoChapters[$pageNo - 1]['timecode'] ?: '', |
|
| 128 | + 'start' => $videoChapters[$pageNo - 1]['timecode'] ? : '', |
|
| 129 | 129 | 'mode' => $initialMode, |
| 130 | 130 | 'chapters' => $videoChapters, |
| 131 | 131 | 'metadata' => $doc->getTitledata($this->settings['storagePid']), |
@@ -125,7 +125,8 @@ |
||
| 125 | 125 | |
| 126 | 126 | // Get additional video URLs |
| 127 | 127 | $videoUrl = []; |
| 128 | - if (!empty($thumbFiles = $this->findFiles($doc, 0, $thumbFileGroups))) { // 0 = for whole video (not just chapter) |
|
| 128 | + if (!empty($thumbFiles = $this->findFiles($doc, 0, $thumbFileGroups))) { |
|
| 129 | +// 0 = for whole video (not just chapter) |
|
| 129 | 130 | $videoUrl['poster'] = $thumbFiles[0]; |
| 130 | 131 | } |
| 131 | 132 | if (!empty($waveformFiles = $this->findFiles($doc, $pageNo, $waveformFileGroups))) { |
@@ -73,7 +73,7 @@ |
||
| 73 | 73 | <script> |
| 74 | 74 | window[$idJson] = $resultJson; |
| 75 | 75 | </script> |
| 76 | -CONFIG; |
|
| 76 | +config; |
|
| 77 | 77 | } |
| 78 | 78 | |
| 79 | 79 | /** |
@@ -48,7 +48,7 @@ |
||
| 48 | 48 | $metadata['video_duration'] = [$videoDuration]; |
| 49 | 49 | } |
| 50 | 50 | |
| 51 | - $metadata['duration'] = $metadata['video_duration'] ?: $metadata['audio_duration'] ?: []; |
|
| 51 | + $metadata['duration'] = $metadata['video_duration'] ? : $metadata['audio_duration'] ? : []; |
|
| 52 | 52 | |
| 53 | 53 | if (!empty($videoFrameRate = (string) $xml->xpath('./videomd:fileData/videomd:frameRate[@mode="Fixed"]')[0])) { |
| 54 | 54 | $metadata['video_frame_rate'] = [$videoFrameRate]; |