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

fnagel / t3extblog / 23823603081

31 Mar 2026 11:05PM UTC coverage: 37.437% (-12.6%) from 50.045%
23823603081

push

github

fnagel
[FEATURE] Add YAML lint to composer scripts and CI

Using the new TYPO3 14.2 built in YAML linter.

https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/13.3/Feature-104973-ActivateLintYamlExecutableForTYPO3.html

1256 of 3355 relevant lines covered (37.44%)

3.11 hits per line

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

30.0
/Classes/Domain/Model/AbstractLocalizedEntity.php
1
<?php
2

3
namespace FelixNagel\T3extblog\Domain\Model;
4

5
/**
6
 * This file is part of the "t3extblog" Extension for TYPO3 CMS.
7
 *
8
 * For the full copyright and license information, please read the
9
 * LICENSE.txt file that was distributed with this source code.
10
 */
11

12
/**
13
 * AbstractLocalizedEntity.
14
 */
15
abstract class AbstractLocalizedEntity extends AbstractEntity implements LocalizedEntityInterface
16
{
17
    public function getLocalizedUid(): int
25✔
18
    {
19
        if ($this->_languageUid) {
25✔
20
            return $this->_localizedUid;
×
21
        }
22

23
        return $this->getUid();
25✔
24
    }
25

26
    public function getSysLanguageUid(): int
×
27
    {
28
        return $this->_languageUid;
×
29
    }
30

31
    public function getL18nParent(): ?int
×
32
    {
33
        if ($this->getSysLanguageUid() === 0) {
×
34
            return 0;
×
35
        }
36

37
        return $this->_localizedUid;
×
38
    }
39
}
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

© 2026 Coveralls, Inc