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 DISTRIBUTION constant check for PHP 8.x #37

Merged
merged 1 commit into from
Aug 9, 2023
Merged

Conversation

relrod
Copy link
Contributor

@relrod relrod commented Aug 9, 2023

@dg9vh I know you are not maintaining this code anymore, but this is a super simple one-line patch which gets this functioning on PHP 8, so perhaps you'll consider it.

defined() wants a string, and modern PHP does not by default, coerce unknown constants to a string.

`defined()` wants a string, and modern PHP does not, by default, coerce unknown constants to a string.
@dg9vh dg9vh merged commit 31c88b9 into dg9vh:master Aug 9, 2023
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

2 participants