Rename composer package to gosuperscript/interval - #7
Merged
Conversation
The composer vendor should match the GitHub organisation (gosuperscript), consistent with other packages like gosuperscript/phpstan-rules and gosuperscript/product-catalogue-sdk. The PHP namespace stays Superscript\Interval, matching the convention in those packages. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Packagist skips tags whose composer.json version field disagrees with the tag name, so future tags would silently not be released. The tag is the source of truth for VCS-published packages. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The composer package was named
superscript/interval, but our GitHub organisation (and composer vendor used by our other packages, e.g.gosuperscript/phpstan-rules,gosuperscript/product-catalogue-sdk) isgosuperscript. This renames the package togosuperscript/intervaland updates the install instructions in the README.The PHP namespace stays
Superscript\Interval, consistent with our other packages (gosuperscript/phpstan-rules→Superscript\PHPStanRules, etc.).Follow-ups after merge
superscript/intervalis currently published on Packagist;gosuperscript/intervalwill need to be submitted there (with a new tagged release), and the old package marked as abandoned withgosuperscript/intervalas the replacement.composer.jsonupdated — at least theproduct-cataloguemodules (journey,legacy-rating-engine,tabula) requiresuperscript/interval.superscript/monetary-intervalhas the same vendor naming and may want the same treatment.🤖 Generated with Claude Code