Skip to content

Conversation

@Bilge
Copy link
Member

@Bilge Bilge commented Apr 8, 2018

This final PR for 4.0 RC adds the the missing __clone() method and a method to access the wrapped connector in CachingConnector. It also adds a new findBaseConnector() method to ImportConnector to save callers having to call getWrappedConnector() multiple times. getWrappedConnector() is now specified by the new ConnectorWrapper interface.

Technical changes

  • Added missing CachingConnector::__clone() method.
  • Added ImportConnector::findBaseConnector().
  • Changed CachingConnector to implement ConnectorWrapper.
  • Changed ImportConnector to clone its connector instead of relying on caller.
  • Fixed some ImportSpecification docblocks.

Added missing CachingConnector::__clone() method.
Added ImportConnector::findBaseConnector().
Changed CachingConnector to implement ConnectorWrapper.
Changed ImportConnector to clone its connector instead of relying on caller.
Fixed some ImportSpecification docblocks.
@Bilge Bilge added this to the 4.0.0 milestone Apr 8, 2018
@codecov-io
Copy link

codecov-io commented Apr 8, 2018

Codecov Report

Merging #51 into 4.0 will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@         Coverage Diff         @@
##            4.0    #51   +/-   ##
===================================
  Coverage   100%   100%           
===================================
  Files        29     29           
  Lines       343    352    +9     
===================================
+ Hits        343    352    +9
Impacted Files Coverage Δ
src/Specification/ImportSpecification.php 100% <ø> (ø) ⬆️
src/Connector/CachingConnector.php 100% <100%> (ø) ⬆️
src/Connector/ImportConnector.php 100% <100%> (ø) ⬆️
src/Porter.php 100% <100%> (ø) ⬆️

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 07a2445...821d2bd. Read the comment docs.

@Bilge Bilge force-pushed the connector-wrapper branch 2 times, most recently from e382720 to 2eff2cb Compare April 8, 2018 19:29
Added test for CachingConnector::__clone().
@Bilge Bilge force-pushed the connector-wrapper branch from 2eff2cb to 821d2bd Compare April 8, 2018 19:35
@Bilge Bilge merged commit 821d2bd into 4.0 Apr 8, 2018
@Bilge Bilge deleted the connector-wrapper branch April 9, 2018 21:00
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.

3 participants