Skip to content

fix: Deprecation with PHP 8.1#7

Closed
vincent4vx wants to merge 1 commit intoMoln:masterfrom
b2pweb:feat-php81
Closed

fix: Deprecation with PHP 8.1#7
vincent4vx wants to merge 1 commit intoMoln:masterfrom
b2pweb:feat-php81

Conversation

@vincent4vx
Copy link

Main repository seams to be dead, and this repository is the most active one, so...

Fixes issue krowinski#89
by adding return typehint (which is required since PHP 8.1 because native API are now typehinted), and also refactoring jsonSerialize() into a trait.

I also added error reporting on github action to show actual deprecation and notice.

@Moln
Copy link
Owner

Moln commented Jan 10, 2023

@vincent4vx Thanks for your report.
I created a new PR #8 for fix PHP 8.1 deprecation and added PHP8.2 git action checking.

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