Skip to content

set min php 7.4#889

Open
seanlynchwv wants to merge 4 commits intoPHPOffice:masterfrom
seanlynchwv:update/min-php7-4
Open

set min php 7.4#889
seanlynchwv wants to merge 4 commits intoPHPOffice:masterfrom
seanlynchwv:update/min-php7-4

Conversation

@seanlynchwv
Copy link
Copy Markdown
Contributor

@seanlynchwv seanlynchwv commented Mar 16, 2026

This PR raises the minimum supported PHP version for PHPPresentation to PHP 7.4.

Recent versions of PhpSpreadsheet (a core dependency) now require PHP 7.4+, which means PHPPresentation can no longer install or run correctly on PHP 7.2 or 7.3.
CI was failing for these versions due to dependency resolution errors.

Changes in this PR:

Update Composer requirement from
^7.1 || ^8.0 → ^7.4 || ^8.0

Remove PHP 7.1–7.3 from GitHub Actions test matrices

Adjust coverage job from 7.3 → 7.4

Limit PHPStan analysis to the src directory to avoid unrelated legacy test warnings

PHP 7.4 reached end-of-life on 28 November 2022.

@auto-assign auto-assign Bot requested a review from Progi1984 March 16, 2026 15:33
@seanlynchwv
Copy link
Copy Markdown
Contributor Author

Hey @Progi1984 if you can accept this I'd love to submit a few more and help with the next release

@seanlynchwv seanlynchwv mentioned this pull request Mar 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants