Skip to content

Require PHP 7.0 or later - #35

Merged
adamdickmeiss merged 2 commits into
masterfrom
requires-php7-0-or-later
Oct 13, 2026
Merged

adamdickmeiss merged 2 commits into
masterfrom
requires-php7-0-or-later

Conversation

@adamdickmeiss

Copy link
Copy Markdown
Contributor

No description provided.

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.

🟡 Changes recommended

The Composer/PIE manifest must also enforce the new PHP minimum.

1 open finding
What changed in this PR

Raises the extension’s minimum supported PHP version to 7.0 and removes obsolete PHP 5 compatibility code.

Changes:

  • Uses PHP 7+ Zend APIs directly.
  • Updates PECL metadata to require PHP 7.0.
File Description
php_yaz.c Removes legacy PHP API branches and compatibility macros.
package.xml Raises the minimum PHP version to 7.0.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread package.xml

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.

🟢 Approval recommended

The code and package metadata consistently enforce the intended PHP 7.0 minimum.

0 open findings

1 resolved since last review

🧠 Review effort: Balanced

@adamdickmeiss
adamdickmeiss merged commit 2845e54 into master Oct 13, 2026
3 checks passed
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