Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/Deployer/Task/After/CachetoolTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ class CachetoolTask extends TaskBase

public function register(): void
{
after('deploy:symlink', 'cachetool:clear:opcache');
after('cachetool:clear:opcache', 'cachetool:cleanup');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the after after('cachetool:clear:opcache' can remain, because when you actually make use of that task, you don't need to think about the cleanup.

Otherwise, I agree that this should be optional!

}

public function configure(Configuration $config): void
Expand Down