Skip to content

Release 2.0.0: PHP ^8.2, portphp ^2.0, Symfony Console 5.4–8 - #13

Merged
slashrsm merged 2 commits into
portphp:masterfrom
slashrsm:release/2.0.0
Jul 22, 2026
Merged

Release 2.0.0: PHP ^8.2, portphp ^2.0, Symfony Console 5.4–8#13
slashrsm merged 2 commits into
portphp:masterfrom
slashrsm:release/2.0.0

Conversation

@slashrsm

Copy link
Copy Markdown
Contributor

Summary

Major aligned with portphp/portphp 2.0.

Breaking

  • php: ^8.2
  • portphp/portphp: ^2.0
  • symfony/console: ^5.4 || ^6.0 || ^7.0 || ^8.0
  • Writer methods use : void return types

Other

  • Dependabot, modern README, UPGRADE-2.0.md

Please do not merge until approved.

Breaking major: drop PHP < 8.2, portphp 1.x, and old Symfony Console lines.
Add void return types, Dependabot, modern README and CI.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR prepares the 2.0.0 release by aligning this package with portphp/portphp 2.x and modernizing compatibility/docs/CI configuration for PHP 8.2+ and Symfony Console 5.4–8.

Changes:

  • Bump platform and library requirements (PHP ^8.2, portphp/portphp ^2.0, symfony/console ^5.4 || ^6 || ^7 || ^8) and document the upgrade path.
  • Update writers to use : void return types on core writer methods.
  • Refresh project metadata/docs and adjust tooling config (PhpSpec suites, removal of Scrutinizer config, GitHub Actions/Dependabot files added/updated).

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
UPGRADE-2.0.md Adds a short upgrade guide for the 2.0 breaking changes.
src/TableWriter.php Adds : void return types to writer methods.
src/ProgressWriter.php Adds : void return types to writer methods.
README.md Modernizes badges/links and states updated requirements.
phpspec.yml.dist Updates PhpSpec suite naming/structure.
phpspec.yml.ci Updates CI PhpSpec config and removes coverage extension config.
composer.json Updates dependency constraints and dev requirements for 2.0.
.scrutinizer.yml Removes Scrutinizer configuration.
.github/workflows/checks.yml Replaces legacy CI config (currently ends up empty in this diff).
.github/dependabot.yml Adds Dependabot file (currently ends up empty in this diff).
.gitattributes Updates export-ignore list to reflect removed CI/Scrutinizer files.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@@ -1,42 +1 @@
name: Checks

Comment thread .github/dependabot.yml Outdated
@@ -0,0 +1 @@

Comment thread src/TableWriter.php Outdated
Comment on lines 36 to 38
public function writeItem(array $item): void
{

Comment thread src/TableWriter.php Outdated
Comment on lines +50 to +51
public function finish(): void
{
Comment thread src/ProgressWriter.php Outdated
Comment on lines 63 to 64
public function prepare(): void
{
Comment thread src/ProgressWriter.php Outdated
Comment on lines 74 to 75
public function writeItem(array $item): void
{
Comment thread src/ProgressWriter.php Outdated
Comment on lines 82 to 83
public function finish(): void
{
Empty workflow files were committed by mistake; restore full definitions.
Match existing same-line brace style for Writer methods.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 11 out of 11 changed files in this pull request and generated no new comments.

@slashrsm
slashrsm requested a review from Copilot July 22, 2026 13:05

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@slashrsm
slashrsm requested a review from Copilot July 22, 2026 13:06

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@slashrsm
slashrsm merged commit 3599715 into portphp:master Jul 22, 2026
5 of 6 checks passed
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.

2 participants