From deb29af5683bfd69a55aa5ee2e615966bf2d770a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20TAMARELLE?= Date: Sat, 4 Dec 2021 23:26:57 +0100 Subject: [PATCH] Upgrade CI to PHP 7.2 --- .github/workflows/continuous-integration.yml | 10 ++-------- .github/workflows/lint.yml | 2 +- src/Composer/Console/Application.php | 2 +- 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 17cdd841d5df..004abaf1fb9d 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -22,12 +22,6 @@ jobs: strategy: matrix: php-version: - - "5.3" - - "5.4" - - "5.5" - - "5.6" - - "7.0" - - "7.1" - "7.2" - "7.3" - "7.4" @@ -36,11 +30,11 @@ jobs: os: [ubuntu-latest] experimental: [false] include: - - php-version: "5.3" + - php-version: "7.2" dependencies: highest os: ubuntu-latest experimental: false - - php-version: "5.3" + - php-version: "7.2" dependencies: lowest os: ubuntu-latest experimental: false diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index be342746d1df..fe7625848101 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -17,7 +17,7 @@ jobs: strategy: matrix: php-version: - - "5.3" + - "7.2" - "latest" steps: diff --git a/src/Composer/Console/Application.php b/src/Composer/Console/Application.php index 2701e118fd15..c2d15ca5bfda 100644 --- a/src/Composer/Console/Application.php +++ b/src/Composer/Console/Application.php @@ -119,7 +119,7 @@ public function __construct() /** * @inheritDoc */ - public function run(InputInterface $input = null, OutputInterface $output = null) + public function run(InputInterface $input = null, OutputInterface $output = null): int { if (null === $output) { $output = Factory::createOutput();