Skip to content

Drop PHP-Parser 2.x support #293

Closed
Closed
@Ocramius

Description

@Ocramius

As I'm setting up (yet again) --prefer-lowest dependency testing, I'm encountering this nasty issue about PHP-Parser 2.x being installed, while my code is written for PHP 7.1.

Since PHPStan cannot work with PHP-Parser 2.x and a PHP 7.1 codebase, it would be best to finally drop support for it, and restrict dependency targets to PHP-Parser 3.x.

If support for PHPStan on PHP 5.x is required, then I strongly advise to make alternate releases: some for PHP 5.x (using PHP-Parser 2.x ONLY) and some for PHP 7.x (using PHP-Parser 3.x ONLY)

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