🌐 US-Proxy
class="logged-out env-production page-responsive" style="word-wrap: break-word;" >
Skip to content

CI intermittent #14964

Description

@staabm

Bug report

sporadically we see a error in CI:

1) PHPStan\Rules\Methods\MissingMethodImplementationRuleTest::testBug3958
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'
+'05: Non-abstract class Bug3958\XmlHelper contains abstract method getChildren() from interface RecursiveIterator.
+05: Non-abstract class Bug3958\XmlHelper contains abstract method hasChildren() from interface RecursiveIterator.
 '

/home/runner/work/phpstan-src/phpstan-src/src/Testing/RuleTestCase.php:238
/home/runner/work/phpstan-src/phpstan-src/tests/PHPStan/Rules/Methods/MissingMethodImplementationRuleTest.php:45
/home/runner/work/phpstan-src/phpstan-src/tests/vendor/phpunit/phpunit/src/TextUI/Command.php:146

mostly on PHP 7.4

feels like a race condition

see https://github.com/phpstan/phpstan-src/actions/runs/29506805400/job/87649647086?pr=6058

Code snippet that reproduces the problem

No response

Expected output

no error

Did PHPStan help you today? Did it make you happy in any way?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions