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

update to php8 #39

Merged
merged 2 commits into from
Aug 17, 2022
Merged

update to php8 #39

merged 2 commits into from
Aug 17, 2022

Conversation

digibeuk
Copy link
Contributor

@digibeuk digibeuk commented Jul 18, 2022

this PR updates the codebase to be compatible with php8, after this we can start to use php8 features like type hints etc.

fixes : #38

composer.json Outdated
@@ -10,12 +10,12 @@
"homepage": "https://github.com/S1lentium"
}],
"require": {
"php": ">=5.4.0",
"php": ">=8.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be ^8.0 so it does not support e.g. php15

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see this fixed.

The other thing is that this package is not maintained so this won't get merged anytime soon I believe

Copy link
Contributor Author

@digibeuk digibeuk Aug 16, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see now my push was rejected due to privacy settings on my email address 🤦🏻‍♂️ anyhoo i pushed this time around 😛 see 6d0556c

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do you say this package is not maintained @S1lentium pushed some changes to this package in june?

Copy link

@lyrixx lyrixx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good except one little comment

tests/bootstrap.php Outdated Show resolved Hide resolved
@digibeuk
Copy link
Contributor Author

thanks for the comments @simPod and @lyrixx, updates have been made

@digibeuk digibeuk requested review from lyrixx and simPod and removed request for lyrixx and simPod August 11, 2022 13:18
Copy link
Contributor

@simPod simPod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@S1lentium
Copy link
Owner

@digibeuk Thank you for PR. Unfortunately, at the moment I don't have enough time to support and check PRs. I hope this commit will not break the dependence on older versions of PHP. I'll tag this commit a bit later

@S1lentium S1lentium merged commit 88be1aa into S1lentium:master Aug 17, 2022
@digibeuk digibeuk deleted the update-php-80 branch November 4, 2022 12:34
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.

PHP 8.1 is not support in version 1.1.1
4 participants