diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-11-09 11:10:37 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-11-09 11:10:37 +0100 |
commit | fe04451cb1fdda99b79798d21f0a229f99224250 (patch) | |
tree | e49786d1a9e128dfb84d81a6cf0d48495563f902 /core/command | |
parent | 113f9f80f3f5a96afdcb71f4f76e3cee22e8dc58 (diff) | |
download | nextcloud-server-fe04451cb1fdda99b79798d21f0a229f99224250.tar.gz nextcloud-server-fe04451cb1fdda99b79798d21f0a229f99224250.zip |
Do not allow two different version requirements
Diffstat (limited to 'core/command')
-rw-r--r-- | core/command/app/checkcode.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/command/app/checkcode.php b/core/command/app/checkcode.php index a04f4bb5e03..e186d458c01 100644 --- a/core/command/app/checkcode.php +++ b/core/command/app/checkcode.php @@ -131,6 +131,10 @@ class CheckCode extends Command { } }); + $infoChecker->listen('InfoChecker', 'duplicateRequirement', function($minMax) use ($output) { + $output->writeln("<error>Duplicate $minMax ownCloud version requirement found</error>"); + }); + $infoChecker->listen('InfoChecker', 'differentVersions', function($versionFile, $infoXML) use ($output) { $output->writeln("<error>Different versions provided (appinfo/version: $versionFile - appinfo/info.xml: $infoXML)</error>"); }); |