Skip to content

Commit

Permalink
DX: allow Symfony ^7 (#369)
Browse files Browse the repository at this point in the history
* DX: allow Symfony ^7

* fix compat

* CI: explicit test under Symfony 7
  • Loading branch information
keradus committed Nov 22, 2023
1 parent 6a89b48 commit c47845c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
coverage: 'pcov'
- php: '8.3'
os: ubuntu-latest
symfony: '^6.0'
symfony: '^7.0'

continue-on-error: ${{ matrix.php == '8.3' }}

Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@
"ext-simplexml": "*",
"guzzlehttp/guzzle": "^6.0 || ^7.0",
"psr/log": "^1.0 || ^2.0",
"symfony/config": "^2.1 || ^3.0 || ^4.0 || ^5.0 || ^6.0",
"symfony/console": "^2.1 || ^3.0 || ^4.0 || ^5.0 || ^6.0",
"symfony/stopwatch": "^2.0 || ^3.0 || ^4.0 || ^5.0 || ^6.0",
"symfony/yaml": "^2.0.5 || ^3.0 || ^4.0 || ^5.0 || ^6.0"
"symfony/config": "^2.1 || ^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0",
"symfony/console": "^2.1 || ^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0",
"symfony/stopwatch": "^2.0 || ^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0",
"symfony/yaml": "^2.0.5 || ^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0"
},
"require-dev": {
"phpunit/phpunit": "^4.8.35 || ^5.4.3 || ^6.0 || ^7.0 || >=8.0 <8.5.29 || >=9.0 <9.5.23",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ protected function configure()
/**
* @see \Symfony\Component\Console\Command\Command::execute()
*/
protected function execute(InputInterface $input, OutputInterface $output)
protected function execute(InputInterface $input, OutputInterface $output): int
{
$stopwatch = new Stopwatch();
$stopwatch->start(__CLASS__);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class CoverallsConfiguration implements ConfigurationInterface
/**
* @see \Symfony\Component\Config\Definition\ConfigurationInterface::getConfigTreeBuilder()
*/
public function getConfigTreeBuilder()
public function getConfigTreeBuilder(): TreeBuilder
{
// define configuration

Expand Down

0 comments on commit c47845c

Please sign in to comment.