Skip to content

Commit

Permalink
Add Symfony 7 support (#2246)
Browse files Browse the repository at this point in the history
* Add Symfony 7 support

* Upgrade console too

* Update compatibility with symfony/console
  • Loading branch information
Slamdunk committed Dec 5, 2023
1 parent 05e0c63 commit a81c084
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,16 @@
"php-64bit": ">=8.1",
"cakephp/database": "^5.0.2",
"psr/container": "^1.1|^2.0",
"symfony/console": "^6.0",
"symfony/config": "^3.4|^4.0|^5.0|^6.0"
"symfony/console": "^6.0|^7.0",
"symfony/config": "^3.4|^4.0|^5.0|^6.0|^7.0"
},
"require-dev": {
"ext-json": "*",
"ext-pdo": "*",
"phpunit/phpunit": "^9.5.19",
"cakephp/cakephp": "^5.0.2",
"cakephp/cakephp-codesniffer": "^5.0",
"symfony/yaml": "^3.4|^4.0|^5.0|^6.0"
"symfony/yaml": "^3.4|^4.0|^5.0|^6.0|^7.0"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion tests/Phinx/Console/Output/RawBufferedOutput.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class RawBufferedOutput extends BufferedOutput
* @param int $options
* @return void
*/
public function writeln($messages, $options = 0)
public function writeln($messages, $options = 0): void
{
$this->write($messages, true, $options | self::OUTPUT_RAW);
}
Expand Down

0 comments on commit a81c084

Please sign in to comment.