Skip to content

Add Instructions on Supporting PHP Version Ranges#3600

Closed
Kenneth-Sills wants to merge 2 commits intorectorphp:mainfrom
Kenneth-Sills:kesills/9694-version-ranges
Closed

Add Instructions on Supporting PHP Version Ranges#3600
Kenneth-Sills wants to merge 2 commits intorectorphp:mainfrom
Kenneth-Sills:kesills/9694-version-ranges

Conversation

@Kenneth-Sills
Copy link

Parent Ticket: rectorphp/rector#9646

Adds documentation on supporting multiple PHP version ranges and adds documentation on a new ->withEagerlyResolvedDeprecation(...) flag to more optimistically apply deprecation rules.

I also fixed a couple of typos on the page while I was here.

I've documented two approaches:

1. The way ECS and Rector do it - developing at the highest version
   and releasing downgraded codebases.
2. The way mentioned in upstream rector/rector#9646, by keeping
   trunk backwards-compatible with the minimum supported version.

For (1), I did not go into detail on downgrading and shipping dependencies.
Might be worth creating separate documentation in a new blog post?
@Kenneth-Sills
Copy link
Author

Closing, since the feature is unwanted. Opened so maintainers could see the typos and cherry-pick the fix.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant