- 🇩🇪Germany Anybody Porta Westfalica
#2 works and might be good enough, alternatively an earlier return might make sense to skip this entirely if empty?
Setting this RTBC for maintainer decision.
It gives lots warning messages as give below, if we try to run migrations later after removing certain content types:
[warning] array_merge(): Expected parameter 2 to be an array, null given MigrationPluginAlterer.php:137
[warning] array_unique() expects parameter 1 to be array, null given MigrationPluginAlterer.php:137
[warning] array_merge(): Expected parameter 1 to be an array, null given MigrationPluginAlterer.php:137
[warning] array_unique() expects parameter 1 to be array, null given MigrationPluginAlterer.php:137
[warning] Invalid argument supplied for foreach() MigrationPluginAlterer.php:171
Needs review
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
#2 works and might be good enough, alternatively an earlier return might make sense to skip this entirely if empty?
Setting this RTBC for maintainer decision.