Skip to content

Unspecific assert methods not detected when called on Assert class directly #46

Closed
@Majkl578

Description

@Majkl578

The following is detected inside a test and assertNull is suggested:

$this->assertSame(null, $foo);
self::assertSame(null, $foo);

However the following is not:

Assert::assertSame(null, $foo);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions