From c55da1fc8d6f3487d89be1ad197a9f54c5e930b8 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 7 Jan 2016 15:04:36 +0100 Subject: Add a warning to the app:check-code if the version is missing --- core/command/app/checkcode.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'core/command') diff --git a/core/command/app/checkcode.php b/core/command/app/checkcode.php index e186d458c01..bc3ae07890c 100644 --- a/core/command/app/checkcode.php +++ b/core/command/app/checkcode.php @@ -131,6 +131,10 @@ class CheckCode extends Command { } }); + $infoChecker->listen('InfoChecker', 'missingRequirement', function($minMax) use ($output) { + $output->writeln("ownCloud $minMax version requirement missing (will be an error in ownCloud 11 and later)"); + }); + $infoChecker->listen('InfoChecker', 'duplicateRequirement', function($minMax) use ($output) { $output->writeln("Duplicate $minMax ownCloud version requirement found"); }); -- cgit v1.2.3