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

Add \Phar::loadPhar() in custom autoloader with Stream Interceptor #3

Merged
merged 1 commit into from Jul 11, 2017

Conversation

maks-rafalko
Copy link
Member

Load infection.phar in custom autoloader with Stream Interceptor because
for some reason requiring interceptor file from renamed (interceptor.phar
-> interceptor) phar does not work.

After adding \Phar.loadPhar('/path/to/renamed/phar') everything works
as expected

for some reason requiring interceptor file from renamed (interceptor.phar
-> interceptor) phar does not work.

After adding ``\Phar.loadPhar(/path/to/renamed/phar)` everything works
as expected
@codecov-io
Copy link

Codecov Report

Merging #3 into master will increase coverage by 0.22%.
The diff coverage is 66.66%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master       #3      +/-   ##
============================================
+ Coverage     33.81%   34.03%   +0.22%     
- Complexity      666      668       +2     
============================================
  Files           113      114       +1     
  Lines          2076     2086      +10     
============================================
+ Hits            702      710       +8     
- Misses         1374     1376       +2
Impacted Files Coverage Δ Complexity Δ
...k/PhpUnit/Config/Builder/MutationConfigBuilder.php 0% <0%> (ø) 4 <0> (ø) ⬇️
...k/PhpSpec/Config/Builder/MutationConfigBuilder.php 97.29% <100%> (+0.15%) 7 <0> (ø) ⬇️
src/TestFramework/Config/MutationConfigBuilder.php 60% <60%> (ø) 2 <2> (?)

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 c21376b...0f3fb14. Read the comment docs.

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.

None yet

2 participants