Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Doing the work for #2392669: Clean-up field module test members - ensure property definition and use of camelCase naming convention, @subhojit777 found a commented-out class method in FieldTest:
// function testFieldFormMultiple() {
// $this->field = $this->field_multiple;
// $field_name = $this->field['field_name'];
// $this->instance['field_name'] = $field_name;
// entity_create('field_storage_config', $this->field)->save();
// entity_create('field_config', $this->instance)->save();
// }
This was added during #2247991: [May 27] Move all module code from …/lib/Drupal/… to …/src/… for PSR-4.
What do we do? Kill it? Nurse it back to health?
Comments
Comment #1
Berdir#2247991: [May 27] Move all module code from …/lib/Drupal/… to …/src/… for PSR-4 is not related to this, that just moved it, and git blame (at least by default) does then show that, you'd need to go back to a commit before that and do another blame to figure which issue is really responsible.