• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

eliashaeussler / typo3-sitemap-locator / 13954636805

19 Mar 2025 07:02PM CUT coverage: 78.193%. Remained the same
13954636805

Pull #95

github

web-flow
[TASK] Update php to v8.4

| datasource  | package     | from | to  |
| ----------- | ----------- | ---- | --- |
| github-tags | php/php-src | 8.3  | 8.4 |
Pull Request #95: [TASK] Update php to v8.4

502 of 642 relevant lines covered (78.19%)

4.53 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/Classes/Domain/Model/Sitemap.php
1
<?php
2

3
declare(strict_types=1);
4

5
/*
6
 * This file is part of the TYPO3 CMS extension "sitemap_locator".
7
 *
8
 * Copyright (C) 2023-2025 Elias Häußler <elias@haeussler.dev>
9
 *
10
 * This program is free software: you can redistribute it and/or modify
11
 * it under the terms of the GNU General Public License as published by
12
 * the Free Software Foundation, either version 2 of the License, or
13
 * (at your option) any later version.
14
 *
15
 * This program is distributed in the hope that it will be useful,
16
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
 * GNU General Public License for more details.
19
 *
20
 * You should have received a copy of the GNU General Public License
21
 * along with this program. If not, see <https://www.gnu.org/licenses/>.
22
 */
23

24
namespace EliasHaeussler\Typo3SitemapLocator\Domain\Model;
25

26
use Psr\Http\Message;
27
use TYPO3\CMS\Core;
28

29
/**
30
 * Sitemap
31
 *
32
 * @author Elias Häußler <elias@haeussler.dev>
33
 * @license GPL-2.0-or-later
34
 */
35
class Sitemap
36
{
37
    public function __construct(
×
38
        protected readonly Message\UriInterface $uri,
39
        protected readonly Core\Site\Entity\Site $site,
40
        protected readonly Core\Site\Entity\SiteLanguage $siteLanguage,
41
        protected readonly bool $cached = false,
42
    ) {}
×
43

44
    public function getUri(): Message\UriInterface
×
45
    {
46
        return $this->uri;
×
47
    }
48

49
    public function getSite(): Core\Site\Entity\Site
×
50
    {
51
        return $this->site;
×
52
    }
53

54
    public function getSiteLanguage(): Core\Site\Entity\SiteLanguage
×
55
    {
56
        return $this->siteLanguage;
×
57
    }
58

59
    public function isCached(): bool
×
60
    {
61
        return $this->cached;
×
62
    }
63
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc