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

FluidTYPO3 / flux / 12929020788

23 Jan 2025 12:19PM UTC coverage: 92.829% (-0.07%) from 92.901%
12929020788

Pull #2209

github

web-flow
Merge 43988ea80 into cf49f7a79
Pull Request #2209: [WIP] Compatibility with TYPO3 v13

86 of 112 new or added lines in 31 files covered. (76.79%)

5 existing lines in 3 files now uncovered.

7055 of 7600 relevant lines covered (92.83%)

65.02 hits per line

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

0.0
/Classes/Proxy/ResourceFactoryProxy.php
1
<?php
2
namespace FluidTYPO3\Flux\Proxy;
3

4
/*
5
 * This file is part of the FluidTYPO3/Flux project under GPLv2 or later.
6
 *
7
 * For the full copyright and license information, please read the
8
 * LICENSE.md file that was distributed with this source code.
9
 */
10

11
use TYPO3\CMS\Core\Resource\FileReference;
12
use TYPO3\CMS\Core\Resource\ResourceFactory;
13

14
/**
15
 * Final/readonly class is unnecessary coercion - and using it in shared libraries is arrogant and very disrespectful.
16
 */
17
class ResourceFactoryProxy
18
{
19
    private ResourceFactory $resourceFactory;
20

21
    public function __construct(ResourceFactory $resourceFactory)
22
    {
NEW
23
        $this->resourceFactory = $resourceFactory;
×
24
    }
25

26
    public function getFileReferenceObject(int $uid): FileReference
27
    {
NEW
28
        return $this->resourceFactory->getFileReferenceObject($uid);
×
29
    }
30
}
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