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

FluidTYPO3 / flux / 15918415903

20 May 2025 10:36AM UTC coverage: 91.109% (-2.1%) from 93.21%
15918415903

push

github

NamelessCoder
[TASK] Lock phpstan version

6927 of 7603 relevant lines covered (91.11%)

9.53 hits per line

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

0.0
/Classes/Integration/Event/BeforeFlexFormDataStructureIdentifierInitializedEventListener.php
1
<?php
2
namespace FluidTYPO3\Flux\Integration\Event;
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 FluidTYPO3\Flux\Builder\FlexFormBuilder;
12
use TYPO3\CMS\Core\Configuration\Event\BeforeFlexFormDataStructureIdentifierInitializedEvent;
13
use TYPO3\CMS\Core\Utility\GeneralUtility;
14

15
class BeforeFlexFormDataStructureIdentifierInitializedEventListener
16
{
17
    public function applyFluxFlexFormIdentifier(BeforeFlexFormDataStructureIdentifierInitializedEvent $event): void
18
    {
19
        /** @var FlexFormBuilder $flexFormBuilder */
20
        $flexFormBuilder = GeneralUtility::makeInstance(FlexFormBuilder::class);
×
21
        $identifier = $flexFormBuilder->resolveDataStructureIdentifier(
×
22
            $event->getTableName(),
×
23
            $event->getFieldName(),
×
24
            $event->getRow()
×
25
        );
×
26
        if (!empty($identifier)) {
×
27
            $event->setIdentifier($identifier);
×
28
        }
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