-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Made the cache factory strict #7901
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
Conversation
lib/private/Memcache/Factory.php
Outdated
| namespace OC\Memcache; | ||
|
|
||
| use OCP\ICache; | ||
| use \OCP\ICacheFactory; |
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.
I'd prefer consistency here 😉
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.
fair enough... I gues one was hand writen and the other a phpstorm import ;)
faf3f86 to
3197209
Compare
|
ref #7392 |
|
Unit tests fail |
* Return types * Typehints * made strict * fix tests Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3197209 to
c5fcfb0
Compare
Codecov Report
@@ Coverage Diff @@
## master #7901 +/- ##
============================================
- Coverage 51.24% 51.24% -0.01%
Complexity 24930 24930
============================================
Files 1604 1604
Lines 94988 94988
Branches 1376 1376
============================================
- Hits 48674 48673 -1
- Misses 46314 46315 +1
|
Signed-off-by: Roeland Jago Douma roeland@famdouma.nl