Skip to content

Commit 4b1e721

Browse files
committed
bump dependencies
1 parent ae5d9f0 commit 4b1e721

File tree

2 files changed

+7
-12
lines changed

2 files changed

+7
-12
lines changed

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
}
1717
},
1818
"require": {
19-
"symfony/console": "^6.1",
20-
"symfony/dom-crawler": "^6.1",
21-
"symfony/css-selector": "^6.1",
22-
"symfony/yaml": "^6.1"
19+
"symfony/console": "^7.0.4",
20+
"symfony/dom-crawler": "^7.0.4",
21+
"symfony/css-selector": "^7.0.3",
22+
"symfony/yaml": "^7.0.3"
2323
},
2424
"require-dev": {
25-
"friendsofphp/php-cs-fixer": "^3.13"
25+
"friendsofphp/php-cs-fixer": "^3.52.1"
2626
}
2727
}

src/Command/GenerateCommand.php

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,25 +19,20 @@
1919

2020
class GenerateCommand extends Command
2121
{
22-
/**
23-
* {@inheritdoc}
24-
*/
2522
public function configure()
2623
{
2724
$this->setName('generate');
2825
$this->setDescription('Generate a Harvest\'s swagger.yaml definition.');
2926
}
3027

31-
/**
32-
* {@inheritdoc}
33-
*/
34-
public function execute(InputInterface $input, OutputInterface $output)
28+
public function execute(InputInterface $input, OutputInterface $output): int
3529
{
3630
$extractor = new Extractor();
3731
$dumper = new Dumper(__DIR__.'/../../generated/harvest-openapi.yaml');
3832
$warnings = $dumper->dump($extractor->extract());
3933

4034
if (\count($warnings) > 0) {
35+
/** @var \Symfony\Component\Console\Helper\FormatterHelper */
4136
$formatter = $this->getHelper('formatter');
4237
$output->writeln($formatter->formatBlock($warnings, 'bg=yellow;fg=black', true));
4338
}

0 commit comments

Comments
 (0)