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

Remove PHP 8.4 deprecations and update test matrices #547

Merged
merged 4 commits into from
Dec 17, 2024
Merged

Conversation

Cawllec
Copy link
Contributor

@Cawllec Cawllec commented Dec 12, 2024

Goal

This follows the changes made to the main PHP notifier in removing type annotations in method signatures that will cause deprecation warnings in PHP 8.4. It also adds PHP 8.4 to the test matrices to ensure we have coverage when required.

A check was also made for E_STRICT instances, but none were found.

This hasn't required any changes in the PSR-logger, so that will remain unchanged.

Tests

It may be difficult for CI to run through until the new version of the PHP notifier is released, however I've run through all of the test scenarios locally, they all passed, and there were no deprecation warnings during testing.

@Cawllec Cawllec merged commit 144c95a into next Dec 17, 2024
127 checks passed
@Cawllec Cawllec deleted the tests/update-deps branch December 17, 2024 18:42
Cawllec added a commit that referenced this pull request Jan 13, 2025
* updated memory limit in fixture

* moved memory increase to init

* removed old increase

* Remove PHP 8.4 deprecations and update test matrices (#547)

* Use dev version of bugsnag-php for tests

* Use in dev version of the PSR logger

* Remove nullable type annotations from method signatures

* Remove test dependency setup

* [Pre-release] Update changelog and version for v2.28.1 release (#548)

* Update changelog and version for v2.28.1 release

* Update release date in changelog

* Update CHANGELOG.md

Co-authored-by: Tom Longridge <tom@bugsnag.com>

---------

Co-authored-by: Tom Longridge <tom@bugsnag.com>

---------

Co-authored-by: Aleksander Grzegorzewski <aleksander.grzegorzewski@smartbear.com>
Co-authored-by: Tom Longridge <tom@bugsnag.com>
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