Skip to content

Ideas for additional strict rules #7

Open
@mhujer

Description

@mhujer

Here is a list of a ideas that may be implemented in the future:

  • suggest assertInstanceOf(Foo::class, $a) instead of assertTrue($a instanceof Foo)
  • suggest assertNotInstanceOf(Foo::class, $a) instead of assertFalse($a instanceof Foo)
  • suggest assertArrayHasKey() instead of assertTrue(array_key_exists(..))
  • suggest assertFileExists() instead of assertTrue(file_exists($filePath))

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