Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps-dev): Bump nextcloud/coding-standard from 1.2.1 to 1.2.3 #430

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions lib/Command/Compare.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,10 @@ private function compareSingle(OutputInterface $output, array $from, array $to,

[$added, $removed] = $this->diffQueries($fromQueries, $toQueries);
foreach ($removed as $query) {
$output->writeln("<error> - " . $query['sql'] . "</error>");
$output->writeln('<error> - ' . $query['sql'] . '</error>');
}
foreach ($added as $query) {
$output->writeln("<info> + " . $query['sql'] . "</info>");
$output->writeln('<info> + ' . $query['sql'] . '</info>');
if ($backtrace) {
$prefixLength = strlen($this->filePrefix($query['backtrace']));
$backtrace = array_map(function ($trace) use ($prefixLength) {
Expand All @@ -171,7 +171,7 @@ private function compareSingle(OutputInterface $output, array $from, array $to,
return strlen($item['call']);
}, $backtrace));
foreach ($backtrace as $trace) {
$output->writeln(" " . str_pad($trace['call'], $callLength) . ' - ' . $trace['line']);
$output->writeln(' ' . str_pad($trace['call'], $callLength) . ' - ' . $trace['line']);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion lib/Command/Disable.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ protected function configure() {

protected function execute(InputInterface $input, OutputInterface $output): int {
$this->config->setSystemValue('profiler', false);
$output->writeln("<info>Note: debug mode has been left enabled</info>");
$output->writeln('<info>Note: debug mode has been left enabled</info>');
return 0;
}
}
2 changes: 1 addition & 1 deletion lib/Command/ListCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ protected function configure() {
->addOption('limit', null, InputOption::VALUE_REQUIRED, 'Maximum number of profiles to return')
->addOption('url', null, InputOption::VALUE_REQUIRED, 'Url to list profiles for')
->addOption('since', null, InputOption::VALUE_REQUIRED, 'Minimum date for listed profiles, as unix timestamp')
->addOption('before', null, InputOption::VALUE_REQUIRED, 'Maximum date for listed profiles, as unix timestamp');
->addOption('before', null, InputOption::VALUE_REQUIRED, 'Maximum date for listed profiles, as unix timestamp');
}

protected function execute(InputInterface $input, OutputInterface $output): int {
Expand Down
2 changes: 1 addition & 1 deletion lib/DataCollector/MemoryDataCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ private function convertToBytes(string $memoryLimit) {
} elseif (str_starts_with($max, '0')) {
$max = \intval($max, 8);
} else {
$max = (int) $max;
$max = (int)$max;
}

switch (substr($memoryLimit, -1)) {
Expand Down
Loading