Release 2.0.0: PHP ^8.2, portphp ^2.0, GitHub Actions#3
Merged
Conversation
Breaking major: drop PHP < 8.2 and portphp 1.x. Add void return types, Dependabot, modern README.
There was a problem hiding this comment.
Pull request overview
This PR prepares the portphp/xml package for a 2.0.0 release by modernizing runtime requirements (PHP ^8.2, portphp/portphp ^2.0), updating the writer API to match the new core interfaces, and migrating CI from Travis/Scrutinizer to GitHub Actions.
Changes:
- Bump platform/dependency requirements (PHP ^8.2, portphp/portphp ^2.0) and update docs/upgrade guide accordingly.
- Update
XmlWritermethod signatures to use: voidreturn types. - Replace legacy CI/QA tooling (Travis/Scrutinizer) with GitHub Actions and add Dependabot configuration.
Reviewed changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
UPGRADE-2.0.md |
Adds upgrade notes documenting breaking changes for 2.0.0. |
src/XmlWriter.php |
Updates writer method return types to void to align with updated interfaces. |
README.md |
Refreshes package naming/badges and updates documentation URL and requirements summary. |
phpspec.yml.dist |
Updates PhpSpec suite configuration for the new CI flow. |
phpspec.yml.ci |
Removes the CI-specific PhpSpec/coverage configuration. |
composer.json |
Updates PHP and dependency constraints; modernizes dev dependencies (PhpSpec ^8). |
.travis.yml |
Removes Travis CI configuration. |
.scrutinizer.yml |
Removes Scrutinizer configuration. |
.github/workflows/checks.yml |
Adds GitHub Actions workflow to run PhpSpec across supported PHP versions. |
.github/dependabot.yml |
Adds Dependabot updates for GitHub Actions and Composer dependencies. |
.gitattributes |
Updates export-ignore list to drop legacy CI files (but still contains a stale entry). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
5
to
7
| CONTRIBUTING.md export-ignore | ||
| phpspec.yml.ci export-ignore | ||
| phpspec.yml.dist export-ignore |
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
Major modernization of the XML writer.
Breaking
php:^8.2portphp/portphp:^2.0: voidreturn typesOther
UPGRADE-2.0.mdPlease do not merge until approved.