Skip to content

Static analysis suite rendered useless by past refactoring? #360

Description

@Ocramius

See b5addd4

In this commit, the static analysis test suite was rendered non-functional.

For instance:

/**
 * @psalm-pure
 *
 * @param mixed $value
- *
- * @return iterable<string>
 */
function allString($value): iterable
{
    Assert::allString($value);

    return $value;
}

This rendered the main purpose of the allString() function moot: static analysis tooling is no longer picking up if an iterable<string> is being produced

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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