Skip to content

Commit 046f72a

Browse files
ChristophWurstphil-davis
authored andcommitted
fixup! refactor: Change class strings to ::class constants
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
1 parent 1f20108 commit 046f72a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737
"monolog/monolog": "^1.27 || ^2.0",
3838
"phpstan/phpstan": "^0.12 || ^1.0",
3939
"phpstan/phpstan-phpunit": "^1.0",
40-
"phpunit/phpunit": "^7.5 || ^8.5 || ^9.6"
40+
"phpunit/phpunit": "^7.5 || ^8.5 || ^9.6",
41+
"rector/rector": "^1.2"
4142
},
4243
"suggest" : {
4344
"ext-curl" : "*",

tests/Sabre/DAVACL/Xml/Property/ACLTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class ACLTest extends \PHPUnit\Framework\TestCase
1212
public function testConstruct()
1313
{
1414
$acl = new Acl([]);
15-
self::assertInstanceOf(\Sabre\DAVACL\Xml\Property\ACL::class, $acl);
15+
self::assertInstanceOf(\Sabre\DAVACL\Xml\Property\Acl::class, $acl);
1616
}
1717

1818
public function testSerializeEmpty()

0 commit comments

Comments
 (0)