ENH Use class name instead of self

This commit is contained in:
Steve Boyd 2024-06-05 16:34:43 +12:00
parent 51d19c1838
commit 955a8d23b1

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'])) {