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

Fix PHP 8.1 deprecation #9

Merged
merged 1 commit into from
Feb 4, 2022
Merged

Fix PHP 8.1 deprecation #9

merged 1 commit into from
Feb 4, 2022

Conversation

sudo-plz
Copy link
Contributor

@sudo-plz sudo-plz commented Feb 4, 2022

Minor change to add : mixed as return type for the jsonSerialize to prevent deprecation warnings. Requires PHP 8.0 or higher.

Run (edit the volume path to your project path)
docker run -v /home/roy/Projects/enum:/srv -w /srv/ docker.vcn.ninja/php81:cli-dev php vendor/bin/phpstan

docker run -v /home/roy/Projects/enum:/srv -w /srv/ docker.vcn.ninja/php81:cli-dev php vendor/bin/phpunit

Patch tag please.

@rversteegt rversteegt self-requested a review February 4, 2022 12:43
@gerritdrost gerritdrost merged commit 3b6b806 into master Feb 4, 2022
@gerritdrost gerritdrost deleted the php81-support branch February 4, 2022 15:18
@gerritdrost
Copy link
Contributor

v1.5.0 -> v1.5.1

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.

None yet

3 participants