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

Enhancement: Use ChainUriRetriever #104

Merged
merged 1 commit into from
Nov 4, 2018
Merged

Conversation

localheinz
Copy link
Member

This PR

  • allows to inject a UriRetriever into the SchemaNormalizer, and defaults to using the newly added ChainUriRetriever, which composes instances of FileGetContents and Curl URI retrievers

Related to ergebnis/composer-normalize#80.

💁‍♂️ I think this will help, @Koc!

@localheinz localheinz self-assigned this Nov 4, 2018
@codecov
Copy link

codecov bot commented Nov 4, 2018

Codecov Report

Merging #104 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##             master   #104   +/-   ##
=======================================
  Coverage       100%   100%           
- Complexity      135    136    +1     
=======================================
  Files            30     30           
  Lines           410    415    +5     
=======================================
+ Hits            410    415    +5
Impacted Files Coverage Δ Complexity Δ
src/SchemaNormalizer.php 100% <100%> (ø) 35 <0> (+1) ⬆️

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 f19d382...e9d0382. Read the comment docs.

@localheinz localheinz merged commit f50cfda into master Nov 4, 2018
@localheinz localheinz deleted the feature/uri-retriever branch November 4, 2018 16:34
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.

None yet

1 participant