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 dhii\module-interface #100

Merged
merged 3 commits into from
Jul 6, 2021

Conversation

Dinamiko
Copy link
Contributor

Fixes the problem when there is more than one instance of dhii\module-interface composer package by updating it to the latest version.

@Dinamiko Dinamiko requested a review from mmaymo January 13, 2021 14:32
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",
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
"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.

Copy link
Contributor Author

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 👍

@Dinamiko Dinamiko requested a review from AlexP11223 January 13, 2021 14:59
@websupporter
Copy link
Member

dhii/module-interface": "0.1" was introduced in #2

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

@XedinUnknown
Copy link
Contributor

@Dinamiko, this package has already been upgraded to use dhii/module-interface 0.3.x here. XedinUnknown#1 will be merged into #120.

@jorgeatorres jorgeatorres force-pushed the PCP-72-error-on-plugin-activation-with-i branch from 834e718 to f5837f4 Compare July 6, 2021 14:44
@jorgeatorres jorgeatorres force-pushed the PCP-72-error-on-plugin-activation-with-i branch from f5837f4 to 2a8ee97 Compare July 6, 2021 14:49
@jorgeatorres jorgeatorres self-requested a review July 6, 2021 14:54
Copy link
Member

@jorgeatorres jorgeatorres left a 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 👍.

@jorgeatorres jorgeatorres merged commit e679156 into trunk Jul 6, 2021
@jorgeatorres jorgeatorres deleted the PCP-72-error-on-plugin-activation-with-i branch July 6, 2021 14:56
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.

5 participants