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

FluidTYPO3 / flux / 27757675993

18 Jun 2026 11:55AM UTC coverage: 89.162% (-3.5%) from 92.646%
27757675993

push

github

NamelessCoder
[TASK] Address last phpstan warnings

6228 of 6985 relevant lines covered (89.16%)

40.84 hits per line

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

85.71
/Classes/Form/Field/Select.php
1
<?php
2
namespace FluidTYPO3\Flux\Form\Field;
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\Form\AbstractMultiValueFormField;
12

13
class Select extends AbstractMultiValueFormField
14
{
15
    /**
16
     * Displays option icons as table beneath the select.
17
     *
18
     * @see https://docs.typo3.org/typo3cms/TCAReference/Reference/Columns/Select/Index.html#showicontable
19
     */
20
    protected bool $showIconTable = false;
21

22
    protected ?string $renderType = 'selectSingle';
23

24
    public function buildConfiguration(): array
25
    {
26
        $configuration = parent::prepareConfiguration('select');
20✔
27
        if ($this->getShowIconTable()) {
20✔
28
            $configuration['fieldWizard']['selectIcons']['disabled'] = false;
×
29
        }
30
        return $configuration;
20✔
31
    }
32

33
    public function getShowIconTable(): bool
34
    {
35
        return $this->showIconTable;
20✔
36
    }
37

38
    public function setShowIconTable(bool $showIconTable): self
39
    {
40
        $this->showIconTable = $showIconTable;
8✔
41
        return $this;
8✔
42
    }
43
}
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