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

test: fix incorrect condition in AbstractTranslationTestCase #1153

Merged

Commits on Aug 7, 2024

  1. test: fix incorrect condition

     ------ -----------------------------------------------------------------------
      Line   tests/Language/AbstractTranslationTestCase.php
     ------ -----------------------------------------------------------------------
      327    Strict comparison using === between array{list<non-empty-string>} and
             array{} will always evaluate to false.
             💡 Because the type is coming from a PHPDoc, you can turn off this
                check by setting treatPhpDocTypesAsCertain: false in your
                phpstan.neon.dist.
     ------ -----------------------------------------------------------------------
    kenjis committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    13e5f02 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1d9290f View commit details
    Browse the repository at this point in the history