Breaking change! · Issue #30 · php-actions/phpstan · GitHub
Skip to content

Breaking change! #30

Open
Open

Description

@hosni

Hello, in the #21 there is a breaking change!
Many projects use the standalone version of PHPstan without using Composer.

But with changes that were made in #21 the default value of version is changed to composer and it's a breaking change!
Because many CIs relied on this and it was broken now!
I think it should be published under a new version!
Or, using a fallback strategy to fix this.

image

Activity

  1. changed the title [-]Breaking change made![/-] [+]Breaking change![/+] on Dec 9, 2024
  2. g105b commented on Dec 12, 2024

    @g105b
    Member

    Hi @hosni thank you for reporting this.

    You are completely correct! I appologise for this oversight.

    What course of action do you think it the most appropriate? Should I recall the changes to the latest rolling release, and make a new stable release version, or do you think it would cause more issues in altering the existing release?

  3. hosni commented on Dec 15, 2024

    @hosni
    Author

    Hi @g105b thank for your great job here.

    I think it's better to just change the default value of the version input to it's previous value (latest), and keep the changes still remain.
    There is no need to revert whole PR, just changing the default value is enough.

    And in the next major version, change it back again to composer.

    Anything missed?

  4. g105b commented on Dec 19, 2024

    @g105b
    Member

    I think that's the best approach. I will make this change today, and mark the change to be made for the next version. Thanks for you insight.

  5. AniLeo commented on Feb 8, 2025

    @AniLeo

    I can currently reproduce this issue with the following CI file: https://github.com/AniLeo/rpcs3-compatibility/blob/master/.github/workflows/master.yml

    I have worked around the issue by specifying version: latest

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