sonata-project / SonataTranslationBundle
Showing 1 of 3 files from the diff.
Other files ignored by Codecov
rector.php has changed.
composer.json has changed.

@@ -15,7 +15,6 @@
Loading
15 15
16 16
use Doctrine\ORM\Query\Expr\Join;
17 17
use Sonata\AdminBundle\Filter\Model\FilterData;
18 -
use Sonata\AdminBundle\Form\Type\Filter\DefaultType;
19 18
use Sonata\DoctrineORMAdminBundle\Datagrid\ProxyQueryInterface;
20 19
use Sonata\DoctrineORMAdminBundle\Filter\Filter;
21 20
use Sonata\TranslationBundle\Enum\TranslationFilterMode;
@@ -88,15 +87,18 @@
Loading
88 87
        ];
89 88
    }
90 89
91 -
    public function getRenderSettings(): array
90 +
    /**
91 +
     * @return array<string, mixed>
92 +
     */
93 +
    public function getFormOptions(): array
92 94
    {
93 -
        return [DefaultType::class, [
95 +
        return [
94 96
            'field_type' => $this->getFieldType(),
95 97
            'field_options' => $this->getFieldOptions(),
96 98
            'operator_type' => $this->getOption('operator_type'),
97 99
            'operator_options' => $this->getOption('operator_options'),
98 100
            'label' => $this->getLabel(),
99 -
        ]];
101 +
        ];
100 102
    }
101 103
102 104
    protected function association(ProxyQueryInterface $query, FilterData $data): array
Files Complexity Coverage
src 110 80.79%
Project Totals (27 files) 110 80.79%

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading