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

Support php8 #4

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Support php8 #4

wants to merge 4 commits into from

Conversation

storeman
Copy link
Contributor

I want to use this polyfill, but also on PHP8 and this currently breaks it.

As the composer autoloader does not load classes which already exist, the provided class will never autoload.

@@ -5,7 +5,7 @@
"keywords": ["polyfill", "php8", "tokenizer"],
"homepage": "https://php.watch/versions/8.0/PhpToken",
"require": {
"php": "^7.1",
"php": ">=7.1",

Choose a reason for hiding this comment

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

I think it should be ^7.1 || ^8.0 for the version constraint definition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants