Skip to content

Commit

Permalink
Merge pull request #35 from enlightn/symfony-fix
Browse files Browse the repository at this point in the history
Fix Symfony missing int return type
  • Loading branch information
paras-malhotra authored Dec 10, 2023
2 parents 68df5c7 + 703ae47 commit d495ab0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/manual.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]


Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/SecurityCheckerCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit d495ab0

Please sign in to comment.