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 for PHP8 support. #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update for PHP8 support. #3

wants to merge 1 commit into from

Conversation

jenkoian
Copy link
Owner

@jenkoian jenkoian commented Dec 4, 2020

  • Updates PHPUnit to ^9.
  • Remove phpunit_extensions due to lack of php8 support and implements
    assertion in a trait.

"composer/composer": "~1.1",
"phpunit/phpunit": "~5.3",
"etsy/phpunit-extensions": "0.7.*"
"composer/composer": "^2",

Choose a reason for hiding this comment

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

what's this for?

Copy link
Owner Author

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

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?

Copy link
Owner Author

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"

Choose a reason for hiding this comment

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

this will allow php8

Copy link
Owner Author

Choose a reason for hiding this comment

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

Yeah that's desired?

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.
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.

2 participants