Skip to content

Conversation

@spaze
Copy link
Owner

@spaze spaze commented Nov 23, 2025

Because the nette/tester version that supports PHP 8.5 doesn't support 7.4, and test with --prefer-lowest would fail with anything else than nette/tester with 8.5 support. Tests on 8.5 added in #19.

Because the nette/tester version that supports PHP 8.5 doesn't support 7.4, and test with --prefer-lowest would fail with anything else than nette/tester with 8.5 support.
@spaze spaze requested a review from Copilot November 23, 2025 00:46
@spaze spaze self-assigned this Nov 23, 2025
@spaze spaze merged commit c3eb785 into main Nov 23, 2025
25 checks passed
@spaze spaze deleted the spaze/drop-php-7.4 branch November 23, 2025 00:47
Copy link

Copilot AI left a comment

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 drops support for PHP 7.4 to enable compatibility with nette/tester versions that support PHP 8.5, ensuring the test suite can run successfully with --prefer-lowest dependency resolution.

  • Updated minimum PHP version requirement from ^7.4 || ^8.0 to ^8.0
  • Removed PHP 7.4 from the CI test matrix

Reviewed changes

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

File Description
composer.json Updated PHP version constraint to require PHP 8.0 or higher, removing PHP 7.4 support
.github/workflows/php.yml Removed PHP 7.4 from the CI test matrix, maintaining testing for PHP 8.0-8.4

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

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