Skip to content

Commit af5921e

Browse files
committed
Fixed SimpleXMLElement bug
1 parent a4038b2 commit af5921e

File tree

4 files changed

+20
-8
lines changed

4 files changed

+20
-8
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"nette/utils": "^3.1.3",
2424
"nikic/php-parser": "4.10.2",
2525
"ondram/ci-detector": "^3.4.0",
26-
"ondrejmirtes/better-reflection": "4.3.36",
26+
"ondrejmirtes/better-reflection": "4.3.37",
2727
"phpdocumentor/reflection-docblock": "4.3.4",
2828
"phpstan/php-8-stubs": "^0.1.4",
2929
"phpstan/phpdoc-parser": "^0.4.9",

composer.lock

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/PHPStan/Rules/Methods/MissingMethodImplementationRuleTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,9 @@ public function testBug3469(): void
4343
$this->analyse([__DIR__ . '/data/bug-3469.php'], []);
4444
}
4545

46+
public function testBug3958(): void
47+
{
48+
$this->analyse([__DIR__ . '/data/bug-3958.php'], []);
49+
}
50+
4651
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?php
2+
3+
namespace Bug3958;
4+
5+
final class XmlHelper extends \SimpleXMLElement
6+
{
7+
}

0 commit comments

Comments
 (0)