diff --git a/3rdparty b/3rdparty index 0d7c15582f5d2..eb3db9b05f688 160000 --- a/3rdparty +++ b/3rdparty @@ -1 +1 @@ -Subproject commit 0d7c15582f5d2478f333c0487acf88ae881d9206 +Subproject commit eb3db9b05f68808150c052cc574ec3a70e6337f6 diff --git a/apps/user_ldap/lib/Command/Search.php b/apps/user_ldap/lib/Command/Search.php index bba37e4a6cafc..96c4df4b2bf59 100644 --- a/apps/user_ldap/lib/Command/Search.php +++ b/apps/user_ldap/lib/Command/Search.php @@ -73,14 +73,14 @@ protected function configure() { null, InputOption::VALUE_REQUIRED, 'The offset of the result set. Needs to be a multiple of limit. defaults to 0.', - 0 + '0' ) ->addOption( 'limit', null, InputOption::VALUE_REQUIRED, 'limit the results. 0 means no limit, defaults to 15', - 15 + '15' ) ; } diff --git a/core/Command/Db/ConvertType.php b/core/Command/Db/ConvertType.php index 47a07b2f32431..27f3147b81dce 100644 --- a/core/Command/Db/ConvertType.php +++ b/core/Command/Db/ConvertType.php @@ -132,7 +132,7 @@ protected function configure() { null, InputOption::VALUE_REQUIRED, 'the maximum number of database rows to handle in a single query, bigger tables will be handled in chunks of this size. Lower this if the process runs out of memory during conversion.', - 1000 + '1000' ) ; } @@ -306,7 +306,7 @@ protected function copyTable(Connection $fromDB, Connection $toDB, Table $table, return; } - $chunkSize = $input->getOption('chunk-size'); + $chunkSize = (int)$input->getOption('chunk-size'); $query = $fromDB->getQueryBuilder(); $query->automaticTablePrefix(false); diff --git a/core/Command/Group/ListCommand.php b/core/Command/Group/ListCommand.php index 5531481d3b31f..db7493fe8d4e3 100644 --- a/core/Command/Group/ListCommand.php +++ b/core/Command/Group/ListCommand.php @@ -52,13 +52,13 @@ protected function configure() { 'l', InputOption::VALUE_OPTIONAL, 'Number of groups to retrieve', - 500 + '500' )->addOption( 'offset', 'o', InputOption::VALUE_OPTIONAL, 'Offset for retrieving groups', - 0 + '0' )->addOption( 'info', 'i', diff --git a/core/Command/User/ListCommand.php b/core/Command/User/ListCommand.php index e28403aa04cd2..a30b1cae1184e 100644 --- a/core/Command/User/ListCommand.php +++ b/core/Command/User/ListCommand.php @@ -60,13 +60,13 @@ protected function configure() { 'l', InputOption::VALUE_OPTIONAL, 'Number of users to retrieve', - 500 + '500' )->addOption( 'offset', 'o', InputOption::VALUE_OPTIONAL, 'Offset for retrieving users', - 0 + '0' )->addOption( 'output', null,