-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Minor changes on Stream adapter #14721
Conversation
Codecov Report
@@ Coverage Diff @@
## 4.0.x #14721 +/- ##
==========================================
+ Coverage 67.97% 67.97% +<.01%
==========================================
Files 483 483
Lines 111473 111435 -38
==========================================
- Hits 75773 75749 -24
+ Misses 35700 35686 -14 |
@ekmst Can you add a test for this? |
@ruudboon Existing tests pass and I did not add. Ok, add later |
I caught another bug when writing tests. $serializer = new \Phalcon\Storage\SerializerFactory();
$adapter = new \Phalcon\Cache\Adapter\Stream(
$serializer,
[
'storageDir' => '/tmp/',
'prefix' => 'pref-', // The '/tmp/pref-' directory will not be created until we have written any data
]
);
$adapter->getKeys(); // Throws an exception We get an exception:
|
Let's handle that in a new issue. |
@ruudboon |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ekmst Thank you
Please don't merge this yet. Looks like Travis missed this pull |
@ruudboon The build was in the previous commit |
@ekmst Sorry. I was sleeping ;) |
@ruudboon no problem :) |
Thank you @ekmst ! |
Hello!
In raising this pull request, I confirm the following:
Small description of change:
I could not reproduce this problem(#14714), but I think this will solve it.
Even if this does not help, I think this improvement will not be superfluous :)
Thanks