From 15af89b791b2026e985739fd8b741f7b3f9af477 Mon Sep 17 00:00:00 2001 From: Jelle Sebreghts Date: Mon, 4 Apr 2022 10:54:13 +0200 Subject: [PATCH] Add fix for BC break in Robo See https://github.com/consolidation/annotated-command/issues/240 --- src/AbstractRoboFile.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/AbstractRoboFile.php b/src/AbstractRoboFile.php index d959001..9b88db1 100644 --- a/src/AbstractRoboFile.php +++ b/src/AbstractRoboFile.php @@ -5,6 +5,9 @@ use DigipolisGent\Robo\Task\General\Common\DigipolisPropertiesAwareInterface; use Robo\Contract\ConfigAwareInterface; +// See https://github.com/consolidation/annotated-command/issues/240 +\Consolidation\AnnotatedCommand\AnnotatedCommandFactory::setIgnoreCommandsInTraits(false); + abstract class AbstractRoboFile extends \Robo\Tasks implements DigipolisPropertiesAwareInterface, ConfigAwareInterface { use \DigipolisGent\Robo\Task\Package\Traits\PackageProjectTrait;