Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve PHPUnit assertions #82

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Commits on Aug 7, 2020

  1. Improve PHPUnit assertions

    The two assertion methods:
    
    - assertArrayHasKey
    - assertArrayNotHasKey
    
    benefit from a @psalm-assert as well.
    ktomk committed Aug 7, 2020
    Configuration menu
    Copy the full SHA
    ac336a8 View commit details
    Browse the repository at this point in the history
  2. squash! Improve PHPUnit assertions

    Make PHPUnit assertion of an array-key of an actual array redundant
    condition free on evaluation and reconciliation of an actual array to
    the array type in the psalm-assertion.
    ktomk committed Aug 7, 2020
    Configuration menu
    Copy the full SHA
    1e3e3a1 View commit details
    Browse the repository at this point in the history