From 4d51f52a651660e245d0100ca4df3ee8395d0e24 Mon Sep 17 00:00:00 2001 From: Dan Untenzu Date: Fri, 18 Dec 2020 15:10:17 +0100 Subject: [PATCH] [FEATURE] Replace lurker package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The watch task requires the package »henrikbjorn/lurker«. The dependencies of this package dont allow using Symfony 4. Last release of this package was 2016-03-16. So its abdandoned. Use the drop-in replacement package totten/lurkerlite instead. Installing this packsge will remove »henrikbjorn/lurker« automatically. Since the package is a designated drop-in replacement all existing methods in robo may stay the same. Closes #459 #956 #973 --- composer.json | 2 +- src/Task/Base/Watch.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 8fca910a8..f376bbc1e 100644 --- a/composer.json +++ b/composer.json @@ -93,7 +93,7 @@ }, "suggest": { "pear/archive_tar": "Allows tar archives to be created and extracted in taskPack and taskExtract, respectively.", - "henrikbjorn/lurker": "For monitoring filesystem changes in taskWatch", + "totten/lurkerlite": "For monitoring filesystem changes in taskWatch", "patchwork/jsqueeze": "For minifying JS files in taskMinify", "natxet/cssmin": "For minifying CSS files in taskMinify" }, diff --git a/src/Task/Base/Watch.php b/src/Task/Base/Watch.php index 7e1c210ab..6eeca6b47 100644 --- a/src/Task/Base/Watch.php +++ b/src/Task/Base/Watch.php @@ -101,7 +101,7 @@ public function monitor($paths, \Closure $callable, $events = 2) public function run() { if (!class_exists('Lurker\\ResourceWatcher')) { - return Result::errorMissingPackage($this, 'ResourceWatcher', 'henrikbjorn/lurker'); + return Result::errorMissingPackage($this, 'ResourceWatcher', 'totten/lurkerlite'); } $watcher = new ResourceWatcher();