Skip to content

Commit

Permalink
test symfony 7
Browse files Browse the repository at this point in the history
  • Loading branch information
dbu committed Dec 2, 2023
1 parent 6043ae4 commit 38ec28d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,17 @@ jobs:
- php-version: '8.0'
phpunit-version: 9
symfony-version: '^6'
- php-version: '8.3'
phpunit-version: 9
symfony-version: '^7'
# Minimum supported dependencies with the oldest PHP version
- php-version: '7.1'
phpunit-version: 7
composer-flag: '--prefer-stable --prefer-lowest'
# Test latest unreleased versions
- php-version: '8.0'
- php-version: '8.3'
phpunit-version: 9
symfony-version: '^6'
symfony-version: '^7'
stability: 'dev'
name: PHP ${{ matrix.php-version }} Test on Symfony ${{ matrix.symfony-version }} ${{ matrix.dependencies}} ${{ matrix.stability }} ${{ matrix.composer-flag }}
steps:
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
"require": {
"ext-json": "*",
"php": "^7.1|^8.0",
"symfony/console": "^3.4|^4.0|^5.0|^6.0",
"symfony/yaml": "^3.4|^4.0|^5.0|^6.0",
"symfony/process": "^3.4|^4.0|^5.0|^6.0",
"symfony/console": "^3.4|^4.0|^5.0|^6.0|^7.0",
"symfony/yaml": "^3.4|^4.0|^5.0|^6.0|^7.0",
"symfony/process": "^3.4|^4.0|^5.0|^6.0|^7.0",
"composer/semver": "^3.4"
},
"autoload": {
Expand Down
2 changes: 1 addition & 1 deletion src/Liip/RMT/Output/Output.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function __construct($verbosity = self::VERBOSITY_NORMAL, $decorated = nu
$this->getFormatter()->setStyle('title', new OutputFormatterStyle('white', 'blue'));
}

public function doWrite($message, $newline)
public function doWrite($message, $newline): void
{
// In case the $message is multi lines
$message = str_replace(PHP_EOL, PHP_EOL.$this->getIndentPadding(), $message);
Expand Down

0 comments on commit 38ec28d

Please sign in to comment.