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

Fix: DependencyRewriterV1 should implement DependencySolvingCapableInterface #24

Merged
merged 1 commit into from
Oct 30, 2020

Conversation

rieschl
Copy link
Contributor

@rieschl rieschl commented Oct 28, 2020

Q A
Documentation no
Bugfix yes
BC Break no
New Feature no
RFC no
QA no

Description

DependencyRewriterV1 currently implements the required method of DependencySolvingCapableInterface but the class itself doesn't say that in its signature, so the Assertion in the plugin fails.
This PR fixes that.

fixes #23

…rface

Signed-off-by: Thomas Rieschl <thomas@trinet.at>
@codecov
Copy link

codecov bot commented Oct 28, 2020

Codecov Report

Merging #24 into 2.0.x will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##              2.0.x      #24   +/-   ##
=========================================
  Coverage     92.37%   92.37%           
  Complexity      100      100           
=========================================
  Files             5        5           
  Lines           341      341           
=========================================
  Hits            315      315           
  Misses           26       26           
Flag Coverage Δ Complexity Δ
#composer1 52.78% <ø> (ø) 100.00 <ø> (ø)
#composer2 69.20% <ø> (ø) 100.00 <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ Complexity Δ
src/DependencyRewriterV1.php 100.00% <ø> (ø) 18.00 <0.00> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9a77fda...a8340f7. Read the comment docs.

@weierophinney weierophinney added this to the 2.0.0 milestone Oct 29, 2020
@weierophinney weierophinney added the Bug Something isn't working label Oct 29, 2020
@weierophinney weierophinney merged commit c82ed6d into laminas:2.0.x Oct 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants