We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -127,7 +127,7 @@ discard block |
||
| 127 | 127 | foreach ($year['children'] as $month) { |
| 128 | 128 | foreach ($month['children'] as $day) { |
| 129 | 129 | foreach ($day['children'] as $issue) { |
| 130 | - $title = $issue['label'] ?: $issue['orderlabel']; |
|
| 130 | + $title = $issue['label'] ? : $issue['orderlabel']; |
|
| 131 | 131 | if (strtotime($title) !== false) { |
| 132 | 132 | $title = strftime('%x', strtotime($title)); |
| 133 | 133 | } |
@@ -218,8 +218,8 @@ discard block |
||
| 218 | 218 | $this->view->assign('calendarData', $calendarData); |
| 219 | 219 | $this->view->assign('documentId', $this->document->getUid()); |
| 220 | 220 | $this->view->assign('yearLinkTitle', $yearLinkTitle); |
| 221 | - $this->view->assign('parentDocumentId', $this->document->getPartof() ?: $this->document->getDoc()->tableOfContents[0]['points']); |
|
| 222 | - $this->view->assign('allYearDocTitle', $this->document->getDoc()->getTitle($this->document->getPartof()) ?: $this->document->getDoc()->tableOfContents[0]['label']); |
|
| 221 | + $this->view->assign('parentDocumentId', $this->document->getPartof() ? : $this->document->getDoc()->tableOfContents[0]['points']); |
|
| 222 | + $this->view->assign('allYearDocTitle', $this->document->getDoc()->getTitle($this->document->getPartof()) ? : $this->document->getDoc()->tableOfContents[0]['label']); |
|
| 223 | 223 | } |
| 224 | 224 | |
| 225 | 225 | /** |
@@ -255,7 +255,7 @@ discard block |
||
| 255 | 255 | |
| 256 | 256 | if (empty($yearLabel)) { |
| 257 | 257 | // if neither order nor orderlabel is set, use the id... |
| 258 | - $yearLabel = (string)$id; |
|
| 258 | + $yearLabel = (string) $id; |
|
| 259 | 259 | } |
| 260 | 260 | |
| 261 | 261 | $years[] = [ |
@@ -294,7 +294,7 @@ discard block |
||
| 294 | 294 | if (is_int($key)) { |
| 295 | 295 | $yearFilled[] = $yearArray[$key]; |
| 296 | 296 | } else { |
| 297 | - $yearFilled[] = ['title' => $min+$i, 'documentId' => '']; |
|
| 297 | + $yearFilled[] = ['title' => $min + $i, 'documentId' => '']; |
|
| 298 | 298 | } |
| 299 | 299 | } |
| 300 | 300 | $yearArray = $yearFilled; |