diff --git a/.github/workflows/buildcheck.yml b/.github/workflows/buildcheck.yml index 49e3c41..5ae38f8 100644 --- a/.github/workflows/buildcheck.yml +++ b/.github/workflows/buildcheck.yml @@ -10,8 +10,6 @@ jobs: fail-fast: false matrix: php: - - "8.0" - - "8.1" - "8.2" - "8.3" composer: @@ -21,6 +19,7 @@ jobs: - "" - "5.0" - "6.0" + - "7.0" include: - php: "7.4" symfony: "" @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index 98f376f..3749534 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/composer.json b/composer.json index 848bc38..3345ddd 100644 --- a/composer.json +++ b/composer.json @@ -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": { diff --git a/src/Output.php b/src/Output.php index f80014a..0e5b2c3 100644 --- a/src/Output.php +++ b/src/Output.php @@ -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); } @@ -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); }