Skip to content

Commit

Permalink
Close style tags to avoid bleed (#11972)
Browse files Browse the repository at this point in the history
  • Loading branch information
fredden committed May 12, 2024
1 parent 829e0e7 commit ede152b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Composer/Command/PackageDiscoveryTrait.php
Expand Up @@ -96,7 +96,7 @@ final protected function determineRequirements(InputInterface $input, OutputInte

foreach ($requires as $requirement) {
if (isset($requirement['version']) && Preg::isMatch('{^\d+(\.\d+)?$}', $requirement['version'])) {
$io->writeError('<warning>The "'.$requirement['version'].'" constraint for "'.$requirement['name'].'" appears too strict and will likely not match what you want. See https://getcomposer.org/constraints');
$io->writeError('<warning>The "'.$requirement['version'].'" constraint for "'.$requirement['name'].'" appears too strict and will likely not match what you want. See https://getcomposer.org/constraints</warning>');
}

if (!isset($requirement['version'])) {
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Console/Application.php
Expand Up @@ -404,7 +404,7 @@ function_exists('php_uname') ? php_uname('s') . ' / ' . php_uname('r') : 'Unknow
}

if (isset($startTime)) {
$io->writeError('<info>Memory usage: '.round(memory_get_usage() / 1024 / 1024, 2).'MiB (peak: '.round(memory_get_peak_usage() / 1024 / 1024, 2).'MiB), time: '.round(microtime(true) - $startTime, 2).'s');
$io->writeError('<info>Memory usage: '.round(memory_get_usage() / 1024 / 1024, 2).'MiB (peak: '.round(memory_get_peak_usage() / 1024 / 1024, 2).'MiB), time: '.round(microtime(true) - $startTime, 2).'s</info>');
}

if ($proxyManager->needsTransitionWarning()) {
Expand Down

0 comments on commit ede152b

Please sign in to comment.