summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-05-22 09:54:44 +0200
committerJoas Schilling <coding@schilljs.com>2017-05-22 09:54:44 +0200
commiteebd2811dc4427443f7be964be25c3596ef7e950 (patch)
tree5181c4cb24a605554baa45e6138bf0d442223ee4 /core
parente102923a978d83268c04a3a5bf678054a845a58e (diff)
downloadnextcloud-server-eebd2811dc4427443f7be964be25c3596ef7e950.tar.gz
nextcloud-server-eebd2811dc4427443f7be964be25c3596ef7e950.zip
Version and dependency are now required
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core')
-rw-r--r--core/Command/App/CheckCode.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/core/Command/App/CheckCode.php b/core/Command/App/CheckCode.php
index 46b9b748ada..48662409dcf 100644
--- a/core/Command/App/CheckCode.php
+++ b/core/Command/App/CheckCode.php
@@ -146,11 +146,7 @@ class CheckCode extends Command implements CompletionAwareInterface {
});
$infoChecker->listen('InfoChecker', 'missingRequirement', function($minMax) use ($output) {
- $output->writeln("<comment>Nextcloud $minMax version requirement missing (will be an error in Nextcloud 12 and later)</comment>");
- });
-
- $infoChecker->listen('InfoChecker', 'duplicateRequirement', function($minMax) use ($output) {
- $output->writeln("<error>Duplicate $minMax ownCloud version requirement found</error>");
+ $output->writeln("<error>Nextcloud $minMax version requirement missing</error>");
});
$infoChecker->listen('InfoChecker', 'differentVersions', function($versionFile, $infoXML) use ($output) {
@@ -162,7 +158,7 @@ class CheckCode extends Command implements CompletionAwareInterface {
});
$infoChecker->listen('InfoChecker', 'migrateVersion', function($version) use ($output) {
- $output->writeln("<info>Migrate the app version to appinfo/info.xml (add <version>$version</version> to appinfo/info.xml and remove appinfo/version)</info>");
+ $output->writeln("<error>Migrate the app version to appinfo/info.xml (add <version>$version</version> to appinfo/info.xml and remove appinfo/version)</error>");
});
if(OutputInterface::VERBOSITY_VERBOSE <= $output->getVerbosity()) {