Skip to content

CI: Intermittent in HasPropertyTypeTest #14860

Description

@staabm

CI fails randomly with

1) PHPStan\Type\Accessory\HasPropertyTypeTest::testIsSuperTypeOf with data set #4 (PHPStan\Type\Accessory\HasPropertyType Object (...), PHPStan\Type\ObjectType Object (...), PHPStan\TrinaryLogic Object (...))
hasProperty(foo) -> isSuperTypeOf(Closure)
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'Maybe'
+'No'

D:\a\phpstan-src\phpstan-src\tests\PHPStan\Type\Accessory\HasPropertyTypeTest.php:120
D:\a\phpstan-src\phpstan-src\tests\vendor\phpunit\phpunit\src\TextUI\Command.php:146

and

1) PHPStan\Type\Accessory\HasPropertyTypeTest::testIsSuperTypeOf with data set #4 (PHPStan\Type\Accessory\HasPropertyType Object (...), PHPStan\Type\ObjectType Object (...), PHPStan\TrinaryLogic Object (...))
hasProperty(foo) -> isSuperTypeOf(Closure)
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'Maybe'
+'No'

/home/runner/work/phpstan-src/phpstan-src/tests/PHPStan/Type/Accessory/HasPropertyTypeTest.php:120
/home/runner/work/phpstan-src/phpstan-src/tests/vendor/phpunit/phpunit/src/TextUI/Command.php:146

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