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

Whip_Requirement: be explicit about all expected methods #146

Merged
merged 1 commit into from
Oct 2, 2023

Conversation

jrfnl
Copy link
Contributor

@jrfnl jrfnl commented Sep 26, 2023

The Whip_RequirementsChecker::requirementIsFulfilled() method makes unconditional calls to the version() and operator() methods on an object implementing Whip_Requirement, so these methods ought to be made explicitly required for classes implementing the Whip_Requirement interface.

Fixed now.

Includes updating some tests to match.

Note: this change may warrant a new major release!

The `Whip_RequirementsChecker::requirementIsFulfilled()` method makes unconditional calls to the `version()` and `operator()` methods on an object implementing `Whip_Requirement`, so these methods ought to be made explicitly required for classes implementing the `Whip_Requirement` interface.

Fixed now.

Includes updating some tests to match.

Note: this change may warrant a new major release!
@coveralls
Copy link

Pull Request Test Coverage Report for Build 6312667804

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 27.5%

Totals Coverage Status
Change from base Build 6312631530: 0.0%
Covered Lines: 66
Relevant Lines: 240

💛 - Coveralls

@enricobattocchi enricobattocchi merged commit 68f867b into main Oct 2, 2023
16 checks passed
@enricobattocchi enricobattocchi deleted the JRF/whip_requirement-stablize-interface branch October 2, 2023 14:49
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.

3 participants