Skip to content

Merging upstream changes (excluding PhpStan)#2

Merged
aik099 merged 22 commits into
console-helpers:masterfrom
aik099:phpspec-merge
May 14, 2026
Merged

Merging upstream changes (excluding PhpStan)#2
aik099 merged 22 commits into
console-helpers:masterfrom
aik099:phpspec-merge

Conversation

@aik099

@aik099 aik099 commented May 14, 2026

Copy link
Copy Markdown
Member

No description provided.

stof and others added 22 commits March 13, 2024 14:17
Add static analysis with phpstan
Add a CI job running on PHP 8.4
Add a CI job running PHP 8.5
The min supported PHP version is now PHP 8.2, aligning with the PHP
versions supported by Prophecy.
Drop support for PHP 8.1 and older
* phpspec/master:
  Update CI setup
  Use phpstan 2
  Enforce package sorting in composer.json
  Drop support for PHP 8.1 and older
  Update changelog
  Add a CI job running PHP 8.5
  Allow PHPUnit 13
  Add changelog entry
  Allow PHPUnit 12
  Update changelog
  Add a CI job running on PHP 8.4
  Add static analysis with phpstan

Copilot AI left a comment

Copy link
Copy Markdown

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 merges upstream compatibility updates for newer PHPUnit/PHP versions and CI maintenance.

Changes:

  • Expands PHPUnit compatibility to include PHPUnit 12 and 13.
  • Adds PHP 8.4/8.5 CI coverage and updates workflow actions/runners.
  • Adds static-analysis assertions around non-null Prophet usage and updates changelog entries.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/ProphecyTrait7.php Adds a non-null assertion before iterating prophecies.
src/ProphecyTrait5.php Mirrors the non-null assertion for PHP 5-compatible trait code.
composer.json Extends PHPUnit version constraints and enables package sorting.
CHANGES.md Adds changelog entries for PHPUnit 12/13 and CI updates.
.github/workflows/ci.yml Updates CI runner/action versions and PHP matrix coverage.
Comments suppressed due to low confidence (1)

CHANGES.md:15

  • The new 2.3.0 changelog entry is a placeholder rather than a usable release note. Shipping changes unmerged makes the changelog ambiguous for users and should be replaced with the actual changes or omitted until known.
* changes unmerged

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

Comment thread CHANGES.md
* Add support for PHPUnit 13
* Add a CI job running on PHP 8.5

# 2.4.0
Comment thread .github/workflows/ci.yml
fail-fast: false
matrix:
php: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
php: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5']
@aik099 aik099 merged commit 4481aab into console-helpers:master May 14, 2026
18 checks passed
@aik099 aik099 deleted the phpspec-merge branch May 14, 2026 10:21
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.

4 participants