-
Notifications
You must be signed in to change notification settings - Fork 0
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 for PHP8 support. #3
base: master
Are you sure you want to change the base?
Conversation
"composer/composer": "~1.1", | ||
"phpunit/phpunit": "~5.3", | ||
"etsy/phpunit-extensions": "0.7.*" | ||
"composer/composer": "^2", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's this for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah this is mostly for step debugging, see purple box here: https://getcomposer.org/doc/articles/plugins.md#plugin-package
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are you sure you're not after
"composer-plugin-api": "^1.0.0 || ^2.0.0"
or just v2?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah need to add this, the composer thing is for debugging, so want to keep as dev requirement.
composer.json
Outdated
@@ -11,12 +11,11 @@ | |||
], | |||
"minimum-stability": "stable", | |||
"require": { | |||
"php": ">=5.6,<8.0-DEV" | |||
"php": ">=7.4" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this will allow php8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah that's desired?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
up to you init!
* Updates PHPUnit to ^9. * Remove phpunit_extensions due to lack of php8 support and implements assertion in a trait.
assertion in a trait.