From 955a8d23b15a7a01ec8e9703d9956824a09c4738 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Wed, 5 Jun 2024 16:34:43 +1200 Subject: [PATCH] ENH Use class name instead of self --- src/RecipePlugin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/RecipePlugin.php b/src/RecipePlugin.php index d16edbd..b4184ce 100644 --- a/src/RecipePlugin.php +++ b/src/RecipePlugin.php @@ -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'])) {