From f91aab5ec24521191a9fee2b4072ef89a0dc7b7a Mon Sep 17 00:00:00 2001 From: Laurent Laville Date: Mon, 28 Jun 2021 06:03:04 +0000 Subject: [PATCH] add import alias function on doctor command and fix release date of version 3.7.1 --- SUPPORTED-VERSIONS.md | 2 +- src/Presentation/Console/Command/DoctorCommand.php | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/SUPPORTED-VERSIONS.md b/SUPPORTED-VERSIONS.md index 8a7086ff..2c7fedec 100644 --- a/SUPPORTED-VERSIONS.md +++ b/SUPPORTED-VERSIONS.md @@ -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 | | | | | | | | | | | | diff --git a/src/Presentation/Console/Command/DoctorCommand.php b/src/Presentation/Console/Command/DoctorCommand.php index 970e5100..11e8b2f7 100644 --- a/src/Presentation/Console/Command/DoctorCommand.php +++ b/src/Presentation/Console/Command/DoctorCommand.php @@ -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; @@ -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('%s -- %s', $section, trim(substr($result, $offset))); } } else {