Merge branch '2.0' into 2

This commit is contained in:
github-actions 2024-06-19 23:45:36 +00:00
commit 34f5f48730

View File

@ -96,8 +96,8 @@ class RecipePlugin implements PluginInterface, EventSubscriberInterface, Capable
$data = $file->read();
// Remove project and public files from project
unset($data['extra'][self::PROJECT_FILES]);
unset($data['extra'][self::PUBLIC_FILES]);
unset($data['extra'][RecipePlugin::PROJECT_FILES]);
unset($data['extra'][RecipePlugin::PUBLIC_FILES]);
// Remove redundant empty extra
if (empty($data['extra'])) {