@@ -250,7 +250,7 @@ |
||
| 250 | 250 | 'child_count' => (int) $row->child_count, |
| 251 | 251 | 'no_coord' => (int) $row->no_coord, |
| 252 | 252 | ]) |
| 253 | - ->sort(static fn (object $x, object $y): int => I18N::comparator()($x->place, $y->place)); |
|
| 253 | + ->sort(static fn (object $x, object $y) : int => I18N::comparator()($x->place, $y->place)); |
|
| 254 | 254 | } |
| 255 | 255 | |
| 256 | 256 | public function writeLatitude(float $latitude): string |
@@ -807,7 +807,7 @@ discard block |
||
| 807 | 807 | ->orderBy('d_julianday1', $ascending ? 'ASC' : 'DESC') |
| 808 | 808 | ->limit(1) |
| 809 | 809 | ->get() |
| 810 | - ->map(static fn (object $row): object => (object) [ |
|
| 810 | + ->map(static fn (object $row) : object => (object) [ |
|
| 811 | 811 | 'id' => $row->id, |
| 812 | 812 | 'year' => (int) $row->year, |
| 813 | 813 | 'fact' => $row->fact, |
@@ -1146,7 +1146,7 @@ discard block |
||
| 1146 | 1146 | ->select(['individuals.*', new Expression(DB::prefix('death.d_julianday2') . ' - ' . DB::prefix('birth.d_julianday1') . ' AS days')]) |
| 1147 | 1147 | ->take(1) |
| 1148 | 1148 | ->get() |
| 1149 | - ->map(fn (object $row): object => (object) [ |
|
| 1149 | + ->map(fn (object $row) : object => (object) [ |
|
| 1150 | 1150 | 'individual' => Registry::individualFactory()->mapper($this->tree)($row), |
| 1151 | 1151 | 'days' => (int) $row->days |
| 1152 | 1152 | ]) |
@@ -57,52 +57,52 @@ |
||
| 57 | 57 | * Instead, the list from version 1.26 is copied here. |
| 58 | 58 | */ |
| 59 | 59 | public const AI_ROBOTS = [ |
| 60 | - 'AI2Bot', |
|
| 61 | - 'Ai2Bot-Dolma', |
|
| 62 | - 'Amazonbot', |
|
| 63 | - 'anthropic-ai', |
|
| 64 | - 'Applebot', |
|
| 65 | - 'Applebot-Extended', |
|
| 66 | - 'Brightbot 1.0', |
|
| 67 | - 'Bytespider', |
|
| 68 | - 'CCBot', |
|
| 69 | - 'ChatGPT-User', |
|
| 70 | - 'Claude-Web', |
|
| 71 | - 'ClaudeBot', |
|
| 72 | - 'cohere-ai', |
|
| 73 | - 'cohere-training-data-crawler', |
|
| 74 | - 'Crawlspace', |
|
| 75 | - 'Diffbot', |
|
| 76 | - 'DuckAssistBot', |
|
| 77 | - 'FacebookBot', |
|
| 78 | - 'FriendlyCrawler', |
|
| 79 | - 'Google-Extended', |
|
| 80 | - 'GoogleOther', |
|
| 81 | - 'GoogleOther-Image', |
|
| 82 | - 'GoogleOther-Video', |
|
| 83 | - 'GPTBot', |
|
| 84 | - 'iaskspider/2.0', |
|
| 85 | - 'ICC-Crawler', |
|
| 86 | - 'ImagesiftBot', |
|
| 87 | - 'img2dataset', |
|
| 88 | - 'ISSCyberRiskCrawler', |
|
| 89 | - 'Kangaroo Bot', |
|
| 90 | - 'meta-externalagent', |
|
| 91 | - 'meta-externalfetcher', |
|
| 92 | - 'OAI-SearchBot', |
|
| 93 | - 'omgili', |
|
| 94 | - 'omgilibot', |
|
| 95 | - 'PanguBot', |
|
| 96 | - 'PerplexityBot', |
|
| 97 | - 'PetalBot', |
|
| 98 | - 'Scrapy', |
|
| 99 | - 'SemrushBot-OCOB', |
|
| 100 | - 'SemrushBot-SWA', |
|
| 101 | - 'Sidetrade indexer bot', |
|
| 102 | - 'Timpibot', |
|
| 103 | - 'VelenPublicWebCrawler', |
|
| 104 | - 'Webzio-Extended', |
|
| 105 | - 'YouBot', |
|
| 60 | + 'AI2Bot', |
|
| 61 | + 'Ai2Bot-Dolma', |
|
| 62 | + 'Amazonbot', |
|
| 63 | + 'anthropic-ai', |
|
| 64 | + 'Applebot', |
|
| 65 | + 'Applebot-Extended', |
|
| 66 | + 'Brightbot 1.0', |
|
| 67 | + 'Bytespider', |
|
| 68 | + 'CCBot', |
|
| 69 | + 'ChatGPT-User', |
|
| 70 | + 'Claude-Web', |
|
| 71 | + 'ClaudeBot', |
|
| 72 | + 'cohere-ai', |
|
| 73 | + 'cohere-training-data-crawler', |
|
| 74 | + 'Crawlspace', |
|
| 75 | + 'Diffbot', |
|
| 76 | + 'DuckAssistBot', |
|
| 77 | + 'FacebookBot', |
|
| 78 | + 'FriendlyCrawler', |
|
| 79 | + 'Google-Extended', |
|
| 80 | + 'GoogleOther', |
|
| 81 | + 'GoogleOther-Image', |
|
| 82 | + 'GoogleOther-Video', |
|
| 83 | + 'GPTBot', |
|
| 84 | + 'iaskspider/2.0', |
|
| 85 | + 'ICC-Crawler', |
|
| 86 | + 'ImagesiftBot', |
|
| 87 | + 'img2dataset', |
|
| 88 | + 'ISSCyberRiskCrawler', |
|
| 89 | + 'Kangaroo Bot', |
|
| 90 | + 'meta-externalagent', |
|
| 91 | + 'meta-externalfetcher', |
|
| 92 | + 'OAI-SearchBot', |
|
| 93 | + 'omgili', |
|
| 94 | + 'omgilibot', |
|
| 95 | + 'PanguBot', |
|
| 96 | + 'PerplexityBot', |
|
| 97 | + 'PetalBot', |
|
| 98 | + 'Scrapy', |
|
| 99 | + 'SemrushBot-OCOB', |
|
| 100 | + 'SemrushBot-SWA', |
|
| 101 | + 'Sidetrade indexer bot', |
|
| 102 | + 'Timpibot', |
|
| 103 | + 'VelenPublicWebCrawler', |
|
| 104 | + 'Webzio-Extended', |
|
| 105 | + 'YouBot', |
|
| 106 | 106 | ]; |
| 107 | 107 | |
| 108 | 108 | // Other bad robots - SEO optimisers, advertisers, etc. This list is shared with robots.txt. |
@@ -115,7 +115,7 @@ |
||
| 115 | 115 | ->flatten(); |
| 116 | 116 | |
| 117 | 117 | // Don't show family meta-data tags |
| 118 | - $exclude_facts = new Collection(['FAM:CHAN', 'FAM:_UID', 'FAM:UID', 'FAM:SUBM']); |
|
| 118 | + $exclude_facts = new Collection(['FAM:CHAN', 'FAM:_UID', 'FAM:UID', 'FAM:SUBM']); |
|
| 119 | 119 | // Don't show tags that are shown in tabs or sidebars |
| 120 | 120 | $exclude_facts = $exclude_facts->merge($sidebar_facts)->merge($tab_facts); |
| 121 | 121 | |