Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: PHP 8.4 #996

Open
wants to merge 12 commits into
base: dev
Choose a base branch
from
Open

feat: PHP 8.4 #996

wants to merge 12 commits into from

Conversation

ZNeumann
Copy link
Contributor

@ZNeumann ZNeumann commented Dec 12, 2024

Adds 8.4 to builds/tests/installers. Requires some updates to our make/configure scripts to adapt to changes in PHP autoconf macros.

Bumps monolog and guzzle versions for 8.4 support from those libraries.

Adjusts tests to account for new closure naming in PHP 8.4

Adjusts tests to account for deprecation of E_USER_ERROR

@newrelic-php-agent-bot
Copy link

newrelic-php-agent-bot commented Dec 12, 2024

Test Suite Status Result
Multiverse 7/7 passing
SOAK 60/62 passing

@codecov-commenter
Copy link

codecov-commenter commented Dec 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.03%. Comparing base (0d0f724) to head (d5cf37b).

Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #996      +/-   ##
==========================================
+ Coverage   77.94%   78.03%   +0.08%     
==========================================
  Files         195      196       +1     
  Lines       26325    27084     +759     
==========================================
+ Hits        20520    21134     +614     
- Misses       5805     5950     +145     
Flag Coverage Δ
agent-for-php-7.2 78.03% <ø> (?)
agent-for-php-7.3 78.05% <ø> (?)
agent-for-php-7.4 77.76% <ø> (?)
agent-for-php-8.0 77.13% <ø> (?)
agent-for-php-8.1 77.79% <ø> (?)
agent-for-php-8.2 77.38% <ø> (-0.57%) ⬇️
agent-for-php-8.3 77.38% <ø> (?)
agent-for-php-8.4 77.38% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ZNeumann ZNeumann marked this pull request as ready for review December 12, 2024 19:58
@ZNeumann ZNeumann linked an issue Dec 12, 2024 that may be closed by this pull request
@zsistla zsistla added this to the PHP 8.4 support milestone Dec 16, 2024
willitscale and others added 12 commits December 20, 2024 18:06
`ZEND_MODULE_API_NO` for PHP 8.4 is actually `20240924`.
PHP's build system received a fix for 'out of tree' builds. This broke build of
agent's unit tests which require agent's source directory to be in the include
search path. Working agent's unit tests showed that `test_function_debug_name`
needed its expectations tweaked - closures are named differently on PHP 8.4.
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.

PHP 8.4
6 participants