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

FluidTYPO3 / vhs / 13011440810

28 Jan 2025 01:23PM UTC coverage: 71.896% (-0.02%) from 71.914%
13011440810

push

github

NamelessCoder
[TASK] Introduce a proxy for FileRepository

1 of 3 new or added lines in 2 files covered. (33.33%)

5628 of 7828 relevant lines covered (71.9%)

17.19 hits per line

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

0.0
/Classes/Proxy/FileRepositoryProxy.php
1
<?php
2
namespace FluidTYPO3\Vhs\Proxy;
3

4
use TYPO3\CMS\Core\Resource\FileRepository;
5
use TYPO3\CMS\Core\SingletonInterface;
6

7
class FileRepositoryProxy implements SingletonInterface
8
{
9
    private FileRepository $fileRepository;
10

11
    public function __construct(FileRepository $fileRepository)
12
    {
NEW
13
        $this->fileRepository = $fileRepository;
×
14
    }
15

16
    public function findByRelation(string $tableName, string $fieldName, int $uid, ?int $workspaceId = null): array
17
    {
NEW
18
        return $this->fileRepository->findByRelation($tableName, $fieldName, $uid, $workspaceId);
×
19
    }
20
}
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