squirrelphp/strings

View on GitHub
src/Attribute/StringFilterExtension.php

Summary

Maintainability
A
3 hrs
Test Coverage
A
100%

Method buildForm has 87 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function buildForm(FormBuilderInterface $builder, array $options): void
    {
        // Modify data before it is submitted/validated
        $builder->addEventListener(FormEvents::PRE_SUBMIT, function (FormEvent $event) use ($options): void {
            // Retrieve submitted content
Severity: Major
Found in src/Attribute/StringFilterExtension.php - About 3 hrs to fix

    There are no issues that match your filters.

    Category
    Status