Skip to content

Commit 0734b7a

Browse files
authored
Merge pull request #292 from phil-davis/prepare-2.2.10
chore: prepare release 2.2.10
2 parents 8366747 + 98ba54d commit 0734b7a

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
ChangeLog
22
=========
33

4+
2.2.10 (2024-08-27)
5+
------------------
6+
* #290 add cs-fixer v3 (@phil-davis)
7+
48
2.2.9 (2024-07-26)
59
------------------
610
* #287 Explicitly mark nullable parameter (@cedric-anne)

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
}
4545
},
4646
"require-dev": {
47-
"friendsofphp/php-cs-fixer": "~2.17.1||3.60",
47+
"friendsofphp/php-cs-fixer": "~2.17.1||^3.63",
4848
"phpstan/phpstan": "^0.12",
4949
"phpunit/phpunit" : "^7.5 || ^8.5 || ^9.6"
5050
},

lib/Version.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ class Version
1616
/**
1717
* Full version number.
1818
*/
19-
public const VERSION = '2.2.9';
19+
public const VERSION = '2.2.10';
2020
}

tests/Sabre/Xml/WriterTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
namespace Sabre\Xml;
66

7+
use Sabre\Xml\Element\KeyValue;
8+
79
class WriterTest extends \PHPUnit\Framework\TestCase
810
{
911
protected $writer;
@@ -324,7 +326,7 @@ public function testWriteElement()
324326

325327
public function testWriteElementComplex()
326328
{
327-
$this->writer->writeElement('{http://sabredav.org/ns}foo', new Element\KeyValue(['{http://sabredav.org/ns}bar' => 'test']));
329+
$this->writer->writeElement('{http://sabredav.org/ns}foo', new KeyValue(['{http://sabredav.org/ns}bar' => 'test']));
328330

329331
$output = <<<HI
330332
<?xml version="1.0"?>

0 commit comments

Comments
 (0)