diff --git a/.github/workflows/manual.yaml b/.github/workflows/manual.yaml index eb00339..a7d4ea1 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: [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..b259136 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: [8.2, 8.3] stability: [prefer-lowest, prefer-stable] diff --git a/composer.json b/composer.json index 22b8cd3..ab56f84 100644 --- a/composer.json +++ b/composer.json @@ -25,9 +25,9 @@ "issues": "https://github.com/enlightn/security-checker/issues" }, "require": { - "php": ">=5.6", + "php": ">=8.2", "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", 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;