Skip to content

Commit 8d03931

Browse files
Fix CS/WS issues
1 parent 879e607 commit 8d03931

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/Framework/Assert.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2240,9 +2240,9 @@ public static function assertXmlFileNotEqualsXmlFile(string $expectedFile, strin
22402240
*
22412241
* @param DOMDocument|string $actualXml
22422242
*
2243-
* @throws \PHPUnit\Util\Xml\Exception
22442243
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
22452244
* @throws ExpectationFailedException
2245+
* @throws Xml\Exception
22462246
*/
22472247
public static function assertXmlStringEqualsXmlFile(string $expectedFile, $actualXml, string $message = ''): void
22482248
{
@@ -2264,9 +2264,9 @@ public static function assertXmlStringEqualsXmlFile(string $expectedFile, $actua
22642264
*
22652265
* @param DOMDocument|string $actualXml
22662266
*
2267-
* @throws \PHPUnit\Util\Xml\Exception
22682267
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
22692268
* @throws ExpectationFailedException
2269+
* @throws Xml\Exception
22702270
*/
22712271
public static function assertXmlStringNotEqualsXmlFile(string $expectedFile, $actualXml, string $message = ''): void
22722272
{
@@ -2289,9 +2289,9 @@ public static function assertXmlStringNotEqualsXmlFile(string $expectedFile, $ac
22892289
* @param DOMDocument|string $expectedXml
22902290
* @param DOMDocument|string $actualXml
22912291
*
2292-
* @throws \PHPUnit\Util\Xml\Exception
22932292
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
22942293
* @throws ExpectationFailedException
2294+
* @throws Xml\Exception
22952295
*/
22962296
public static function assertXmlStringEqualsXmlString($expectedXml, $actualXml, string $message = ''): void
22972297
{
@@ -2320,9 +2320,9 @@ public static function assertXmlStringEqualsXmlString($expectedXml, $actualXml,
23202320
* @param DOMDocument|string $expectedXml
23212321
* @param DOMDocument|string $actualXml
23222322
*
2323-
* @throws \PHPUnit\Util\Xml\Exception
23242323
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
23252324
* @throws ExpectationFailedException
2325+
* @throws Xml\Exception
23262326
*/
23272327
public static function assertXmlStringNotEqualsXmlString($expectedXml, $actualXml, string $message = ''): void
23282328
{

tests/unit/Framework/Constraint/ConstraintTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ public function testMatchesReturnsFalse(): void
162162
$this->assertFalse($constraint->exposedMatches('whatever'));
163163
$this->assertFalse($constraint->exposedMatches(null));
164164
$this->assertFalse($constraint->exposedMatches(true));
165-
$this->assertFalse($constraint->exposedMatches(new StdClass));
165+
$this->assertFalse($constraint->exposedMatches(new stdClass));
166166
}
167167

168168
public function testFailThrowsExpectationFailureExceptionWithDefaultMessage(): void

0 commit comments

Comments
 (0)