Skip to content

Commit

Permalink
Add support for Symfony 7
Browse files Browse the repository at this point in the history
  • Loading branch information
duncan3dc committed Jul 29, 2024
1 parent e0cc140 commit 090db4a
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 5 deletions.
33 changes: 31 additions & 2 deletions .github/workflows/buildcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ jobs:
fail-fast: false
matrix:
php:
- "8.0"
- "8.1"
- "8.2"
- "8.3"
composer:
Expand All @@ -21,6 +19,7 @@ jobs:
- ""
- "5.0"
- "6.0"
- "7.0"
include:
- php: "7.4"
symfony: ""
Expand All @@ -34,6 +33,36 @@ jobs:
- php: "7.4"
symfony: "5.0"
composer: "--prefer-lowest"
- php: "8.0"
symfony: ""
composer: ""
- php: "8.0"
symfony: ""
composer: "--prefer-lowest"
- php: "8.0"
symfony: "5.0"
composer: ""
- php: "8.0"
symfony: "5.0"
composer: "--prefer-lowest"
- php: "8.0"
symfony: "6.0"
composer: ""
- php: "8.0"
symfony: "6.0"
composer: "--prefer-lowest"
- php: "8.1"
symfony: "5.0"
composer: ""
- php: "8.1"
symfony: "5.0"
composer: "--prefer-lowest"
- php: "8.1"
symfony: "6.0"
composer: ""
- php: "8.1"
symfony: "6.0"
composer: "--prefer-lowest"

steps:
- uses: actions/checkout@v1
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ Changelog

--------

## 1.2.0 - 2024-07-29

### Changed

* [Support] Added support for Symfony 7

--------

## 1.1.0 - 2024-02-23

### Changed
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
}],
"require": {
"league/climate": "^3.0",
"symfony/console": "^5.0 || ^6.0",
"symfony/console": "^5.0 || ^6.0 || ^7.0",
"php": "^7.4 || ^8.0"
},
"require-dev": {
Expand Down
4 changes: 2 additions & 2 deletions src/Output.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ private function getConsoleOutput(): ConsoleOutputInterface
*
* @return void
*/
public function write($messages, bool $newline = false, int $type = OutputInterface::OUTPUT_NORMAL)
public function write($messages, bool $newline = false, int $type = OutputInterface::OUTPUT_NORMAL): void
{
$this->getConsoleOutput()->write($messages, $newline, $type);
}
Expand All @@ -64,7 +64,7 @@ public function write($messages, bool $newline = false, int $type = OutputInterf
*
* @return void
*/
public function writeln($messages, int $type = OutputInterface::OUTPUT_NORMAL)
public function writeln($messages, int $type = OutputInterface::OUTPUT_NORMAL): void
{
$this->getConsoleOutput()->writeln($messages, $type);
}
Expand Down

0 comments on commit 090db4a

Please sign in to comment.