-
Notifications
You must be signed in to change notification settings - Fork 50
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 dhii\module-interface
#100
Conversation
composer.json
Outdated
@@ -4,7 +4,7 @@ | |||
"description": "PayPal Commerce Platform for WooCommerce", | |||
"license": "GPL-2.0", | |||
"require": { | |||
"dhii/module-interface": "0.1", | |||
"dhii/module-interface": "0.2.x-dev", |
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.
"dhii/module-interface": "0.2.x-dev", | |
"dhii/module-interface": "^0.2", |
Maybe better to use this, that's what we do in other projects.
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.
@AlexP11223 done, thanks for the info 👍
0.2 requires PHP 7.1 (see https://github.com/Dhii/module-interface/blob/v0.2.0-alpha1/composer.json#L15), while #1 requires the plugin to be compatible with PHP7.0 |
@Dinamiko, this package has already been upgraded to use |
834e718
to
f5837f4
Compare
f5837f4
to
2a8ee97
Compare
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.
Had to rebase to fix conflicts and also update PluginModule::run()
to follow ModuleInterface::run()
. Other than that, this looks good 👍.
Fixes the problem when there is more than one instance of
dhii\module-interface
composer package by updating it to the latest version.