diff --git a/CHANGELOG.md b/CHANGELOG.md index 18d638a..8e0150c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ ChangeLog ========= +2.2.10 (2024-08-27) +------------------ +* #290 add cs-fixer v3 (@phil-davis) + 2.2.9 (2024-07-26) ------------------ * #287 Explicitly mark nullable parameter (@cedric-anne) diff --git a/composer.json b/composer.json index d0507e9..72cffb5 100644 --- a/composer.json +++ b/composer.json @@ -44,7 +44,7 @@ } }, "require-dev": { - "friendsofphp/php-cs-fixer": "~2.17.1||3.60", + "friendsofphp/php-cs-fixer": "~2.17.1||^3.63", "phpstan/phpstan": "^0.12", "phpunit/phpunit" : "^7.5 || ^8.5 || ^9.6" }, diff --git a/lib/Version.php b/lib/Version.php index 600a549..413db23 100644 --- a/lib/Version.php +++ b/lib/Version.php @@ -16,5 +16,5 @@ class Version /** * Full version number. */ - public const VERSION = '2.2.9'; + public const VERSION = '2.2.10'; } diff --git a/tests/Sabre/Xml/WriterTest.php b/tests/Sabre/Xml/WriterTest.php index 33bd478..626f2ed 100644 --- a/tests/Sabre/Xml/WriterTest.php +++ b/tests/Sabre/Xml/WriterTest.php @@ -4,6 +4,8 @@ namespace Sabre\Xml; +use Sabre\Xml\Element\KeyValue; + class WriterTest extends \PHPUnit\Framework\TestCase { protected $writer; @@ -324,7 +326,7 @@ public function testWriteElement() public function testWriteElementComplex() { - $this->writer->writeElement('{http://sabredav.org/ns}foo', new Element\KeyValue(['{http://sabredav.org/ns}bar' => 'test'])); + $this->writer->writeElement('{http://sabredav.org/ns}foo', new KeyValue(['{http://sabredav.org/ns}bar' => 'test'])); $output = <<