Skip to content

Commit

Permalink
add import alias function on doctor command and fix release date of v…
Browse files Browse the repository at this point in the history
…ersion 3.7.1
  • Loading branch information
llaville committed Jun 28, 2021
1 parent 02d3664 commit f91aab5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion SUPPORTED-VERSIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

| Version | Release | Module | PHP 5.2 | PHP 5.3 | PHP 5.4 | PHP 5.5 | PHP 5.6 | PHP 7.0 | PHP 7.1 | PHP 7.2 | PHP 7.3 | PHP 7.4 | PHP 8.0 |
|---------|------------|-------------------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------|
| 3.7.1 | 2021-06-25 | | 5.2.17 | 5.3.29 | 5.4.45 | 5.5.38 | 5.6.40 | 7.0.33 | 7.1.30 | 7.2.34 | 7.3.28 | 7.4.20 | 8.0.7 |
| 3.7.1 | 2021-06-28 | | 5.2.17 | 5.3.29 | 5.4.45 | 5.5.38 | 5.6.40 | 7.0.33 | 7.1.30 | 7.2.34 | 7.3.28 | 7.4.20 | 8.0.7 |
| 3.7.0 | 2021-06-24 | | 5.2.17 | 5.3.29 | 5.4.45 | 5.5.38 | 5.6.40 | 7.0.33 | 7.1.30 | 7.2.34 | 7.3.28 | 7.4.20 | 8.0.7 |
| | | ast 1.0.12 | | | | | | | | | | | |
| | | igbinary 3.2.3 | | | | | | | | | | | |
Expand Down
3 changes: 2 additions & 1 deletion src/Presentation/Console/Command/DoctorCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
use function json_encode;
use function natsort;
use function sprintf;
use function strpos;
use function substr;
use function trim;
use const JSON_PRETTY_PRINT;
Expand Down Expand Up @@ -111,7 +112,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
$io->text(sprintf(' %-20s:', $key));
$io->note($value);
list($result) = array_values($value);
if ($offset = \strpos($result, 'Tests:')) {
if ($offset = strpos($result, 'Tests:')) {
$statusNote[$section] = sprintf('<info>%s</info> -- %s', $section, trim(substr($result, $offset)));
}
} else {
Expand Down

0 comments on commit f91aab5

Please sign in to comment.