We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -346,7 +346,7 @@ |
||
| 346 | 346 | ) { |
| 347 | 347 | $solrDoc->setField('date', $metadata['date'][0]); |
| 348 | 348 | // change date YYYYMMDD to YYYY-MM-DD |
| 349 | - } elseif (preg_match("/^[\d]{8}$/", $metadata['date'][0])){ |
|
| 349 | + } elseif (preg_match("/^[\d]{8}$/", $metadata['date'][0])) { |
|
| 350 | 350 | $solrDoc->setField('date', date("Y-m-d", strtotime($metadata['date'][0]))); |
| 351 | 351 | // convert any datetime to proper ISO extended datetime format and timezone for SOLR |
| 352 | 352 | } elseif (preg_match("/^[0-9]{4}-[0-9]{2}-[0-9]{2}T.*$/", $metadata['date'][0])) { |
@@ -38,15 +38,15 @@ |
||
| 38 | 38 | */ |
| 39 | 39 | private int $offset; |
| 40 | 40 | |
| 41 | - /** |
|
| 42 | - * Constructs SolrSearchQuery instance. |
|
| 43 | - * |
|
| 44 | - * @access public |
|
| 45 | - * |
|
| 46 | - * @param SolrSearch $solrSearch |
|
| 47 | - * |
|
| 48 | - * @return void |
|
| 49 | - */ |
|
| 41 | + /** |
|
| 42 | + * Constructs SolrSearchQuery instance. |
|
| 43 | + * |
|
| 44 | + * @access public |
|
| 45 | + * |
|
| 46 | + * @param SolrSearch $solrSearch |
|
| 47 | + * |
|
| 48 | + * @return void |
|
| 49 | + */ |
|
| 50 | 50 | public function __construct($solrSearch) |
| 51 | 51 | { |
| 52 | 52 | $this->solrSearch = $solrSearch; |
@@ -776,7 +776,8 @@ |
||
| 776 | 776 | * |
| 777 | 777 | * @return array The Apache Solr Documents that were fetched |
| 778 | 778 | */ |
| 779 | - private function getDocument(Document $record, array $highlighting, array $fields, $parameters) { |
|
| 779 | + private function getDocument(Document $record, array $highlighting, array $fields, $parameters) |
|
| 780 | + { |
|
| 780 | 781 | $resultDocument = new ResultDocument($record, $highlighting, $fields); |
| 781 | 782 | |
| 782 | 783 | $document = [ |