Skip to content

Commit

Permalink
Merge pull request #43 from creative-commoners/pulls/2.0/remove-self
Browse files Browse the repository at this point in the history
ENH Use class name instead of self
  • Loading branch information
GuySartorelli authored Jun 17, 2024
2 parents 51d19c1 + 955a8d2 commit 6a56f5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/RecipePlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ public function cleanupProject(Event $event)
$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'])) {
Expand Down

0 comments on commit 6a56f5c

Please sign in to comment.