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

Add PHP 8.4 Support #27

Merged
merged 6 commits into from
Dec 2, 2024
Merged

Add PHP 8.4 Support #27

merged 6 commits into from
Dec 2, 2024

Conversation

sweptsquash
Copy link
Contributor

This pull request includes several updates to improve compatibility, enhance functionality, and fix issues in the project. The most important changes include adding support for new PHP versions, updating dependencies, and improving test coverage.

Compatibility and Dependency Updates:

  • .github/workflows/run-tests.yml: Added PHP versions 8.3 and 8.4 to the test matrix to ensure compatibility with the latest PHP releases.
  • composer.json: Updated the require and require-dev sections to support a wider range of PHP versions and package versions, ensuring compatibility with newer releases. Also moved the funding homepage and license fields for better organization. [1] [2] [3]

Code Improvements:

  • src/Backtrace.php: Changed the $options variable to use DEBUG_BACKTRACE_PROVIDE_OBJECT as parameter doesn't accept null and throws deprecation warning on PHP 8.4 PHP Docs.
  • src/Frame.php: Made the method and class parameters nullable in the constructor for better flexibility and fixing of deprecation warnings.

Test Enhancements:

@sweptsquash
Copy link
Contributor Author

@freekmurze this PR should help provide some insight into the failed tests on the ray package.

@riasvdv riasvdv merged commit ca8be54 into spatie:main Dec 2, 2024
1 check passed
@riasvdv
Copy link
Member

riasvdv commented Dec 2, 2024

Thanks!

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