Skip to content

[Symfony 2.7] Add rename rule for "options" and "type" to "entry_options" and "entry_type" #214

Closed
@TomasVotruba

Description

@TomasVotruba

See symfony/symfony#15025

$formBuilder
    ->add('name', 'text', array('label' => '...'))
    ->add(...)
    ->add('friends', 'collection', array(
-        'type' => new FriendType(),
+       'entry_type' => new FriendType(),
-        'options' => array(...)
+        'entry_options' => array(...)
    ))
;

This rule might be added, but I could not find it here. So please verify if we have it first. If not, it's should a new rule 🙂

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions