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

Issue 43 - TypeError: MediaWiki\Api\ApiBase::__construct() - null added as param, string expected #44

Merged
merged 6 commits into from
Dec 16, 2024

Conversation

gesinn-it-ilm
Copy link
Collaborator

This PR is related to #43.

This PR contains:

  • updated CI, dropped support for MW 1.35, added support for MW 1.40
  • two tests updated, TypeError fixed
  • since MW 1.40, ApiBase::__construct() method requires the $moduleName argument to be a non-null string
  • Support for MW 1.43 works good as well

- update test, add $moduleName as a param to Increment object
- drop support for MW 1.35
- add matrix for MW 1.40 and cover coverage upload with MW 1.40
- handle module name based on MediaWiki version
Copy link

codecov bot commented Dec 16, 2024

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

Copy link
Collaborator

@gesinn-it-gea gesinn-it-gea left a comment

Choose a reason for hiding this comment

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

If we drop support for older MediaWiki versions, we should adjust https://github.com/gesinn-it-pub/IDProvider/blob/master/extension.json#L14

Also we should bump the version to 3.0.0-alpha1

@gesinn-it-ilm gesinn-it-ilm marked this pull request as draft December 16, 2024 15:45
- set requires to MW 1.39+
@gesinn-it-ilm gesinn-it-ilm marked this pull request as ready for review December 16, 2024 16:06
@gesinn-it-ilm
Copy link
Collaborator Author

@gesinn-it-gea extension.json adjusted as requested.

- update to MW 1.39
- MW 1.35 has been dropped
@gesinn-it-ilm gesinn-it-ilm merged commit 896308c into master Dec 16, 2024
4 checks passed
@gesinn-it-ilm gesinn-it-ilm deleted the issue-43 branch December 16, 2024 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants