From 4d4a2762f27141c84e7be22cca990551064add84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Sch=C3=B6nberg?= Date: Thu, 30 Nov 2023 16:53:34 +0100 Subject: [PATCH 1/4] Add return type "int" to SecurityCheckerCommand --- src/SecurityCheckerCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SecurityCheckerCommand.php b/src/SecurityCheckerCommand.php index 6bed137..e79749e 100644 --- a/src/SecurityCheckerCommand.php +++ b/src/SecurityCheckerCommand.php @@ -57,7 +57,7 @@ protected function configure() * @return int * @see Command */ - protected function execute(InputInterface $input, OutputInterface $output) + protected function execute(InputInterface $input, OutputInterface $output): int { $formatter = $input->getOption('format') == 'ansi' ? new AnsiFormatter : new JsonFormatter; From 480994e3282cec57ab4d80196781340c49e05785 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Sch=C3=B6nberg?= Date: Fri, 1 Dec 2023 09:14:09 +0100 Subject: [PATCH 2/4] Require PHP ^7 and symfony/console ^7 --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 22b8cd3..4ddad87 100644 --- a/composer.json +++ b/composer.json @@ -25,9 +25,9 @@ "issues": "https://github.com/enlightn/security-checker/issues" }, "require": { - "php": ">=5.6", + "php": "^7", "ext-json": "*", - "symfony/console": "^3.4|^4|^5|^6|^7", + "symfony/console": "^7", "symfony/finder": "^3|^4|^5|^6|^7", "symfony/process": "^3.4|^4|^5|^6|^7", "symfony/yaml": "^3.4|^4|^5|^6|^7", From 3ead40026347258d6ce258f38dd83d4f894c21ee Mon Sep 17 00:00:00 2001 From: Paras Malhotra Date: Sun, 10 Dec 2023 12:40:54 +0530 Subject: [PATCH 3/4] Update github workflows and tests --- .github/workflows/manual.yaml | 2 +- .github/workflows/tests.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/manual.yaml b/.github/workflows/manual.yaml index eb00339..85bfbf1 100644 --- a/.github/workflows/manual.yaml +++ b/.github/workflows/manual.yaml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - php: [5.6, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3] + php: [7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3] stability: [prefer-lowest, prefer-stable] name: P${{ matrix.php }}-${{ matrix.stability }} diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index eac32d1..b5bbb10 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -8,7 +8,7 @@ jobs: strategy: fail-fast: false matrix: - php: [5.6, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3] + php: [7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3] stability: [prefer-lowest, prefer-stable] From 703ae47a59ebdb7a2c638f403583a4f2dab6c3d7 Mon Sep 17 00:00:00 2001 From: Paras Malhotra Date: Sun, 10 Dec 2023 12:45:32 +0530 Subject: [PATCH 4/4] fix versioning --- .github/workflows/manual.yaml | 2 +- .github/workflows/tests.yaml | 2 +- composer.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/manual.yaml b/.github/workflows/manual.yaml index 85bfbf1..a7d4ea1 100644 --- a/.github/workflows/manual.yaml +++ b/.github/workflows/manual.yaml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - php: [7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3] + php: [8.2, 8.3] stability: [prefer-lowest, prefer-stable] name: P${{ matrix.php }}-${{ matrix.stability }} diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index b5bbb10..b259136 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -8,7 +8,7 @@ jobs: strategy: fail-fast: false matrix: - php: [7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3] + php: [8.2, 8.3] stability: [prefer-lowest, prefer-stable] diff --git a/composer.json b/composer.json index 4ddad87..ab56f84 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "issues": "https://github.com/enlightn/security-checker/issues" }, "require": { - "php": "^7", + "php": ">=8.2", "ext-json": "*", "symfony/console": "^7", "symfony/finder": "^3|^4|^5|^6|^7",