No problem on rc3, but after updating to rc5 (and doing nothing else), drush cr results in:
PHP Fatal error: Declaration of Drupal\inline_entity_form\Form\EntityInlineForm::getTableFields($bundles) must be compatible with Drupal\inline_entity_form\InlineFormInterface::getTableFields(array $bundles) in /app/web/modules/contrib/inline_entity_form/src/Form/EntityInlineForm.php on line 23
Comments
Comment #2
dutchyodaI made a patch for all the wrong declarations I could find.
Comment #3
jdleonardThat seems sensible, thanks. I haven't tested it.
Comment #4
jcnventuraThe code break came from the recent commit of #3135178: Fix Coding Standards , namely the changes in src/InlineFormInterface.php to the three methods:
All of these methods now require an array to be passed. As this is a BC-breaking change, and this is past the beta stage, I'd suggest that without bumping this module to version 2.0-rc1, these changes to the interface be reverted.
Comment #5
jcnventuraNew patch that undoes the BC-breaking changes to the InlineFormInterface (and deletes an extra .rej file as a bonus).
No interdiff as this is not attempting to fix the damage caused by #3135178: Fix Coding Standards to the InlineFormInterface APIs. This undoes them, and as such restores compatibility to anything out there that might be extending IEF with it's own InlineForm classes.
If the desired way to go here is to apply #2, the version number must be bumped over to 2.0, as you're introducing BC breaks in the API.
Comment #6
jcnventuraNow with a proper file.
Comment #7
geek-merlinThanks for bumping this to critical and working on this. I reverted the other commit which i was too uncritical to commit for now and we'll use this patch to critically review the other patch.
Comment #8
eelkeblokMade the title a bit more descriptive as this happens on more occasions than just drush cr.
Comment #9
KevinVanRansbeeck commentedRe-rolled patch to get my RC12 working on D8.