Skip to content

Conversation

@rullzer
Copy link
Member

@rullzer rullzer commented Jan 16, 2018

  • Return types
  • Typehints
  • made strict

Signed-off-by: Roeland Jago Douma roeland@famdouma.nl

namespace OC\Memcache;

use OCP\ICache;
use \OCP\ICacheFactory;
Copy link
Member

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 😉

Copy link
Member Author

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 ;)

@rullzer rullzer force-pushed the strict_cache_factory branch from faf3f86 to 3197209 Compare January 16, 2018 20:02
@MorrisJobke
Copy link
Member

ref #7392

@MorrisJobke
Copy link
Member

Unit tests fail

* Return types
* Typehints
* made strict
* fix tests

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
@rullzer rullzer force-pushed the strict_cache_factory branch from 3197209 to c5fcfb0 Compare January 16, 2018 20:58
@codecov
Copy link

codecov bot commented Jan 16, 2018

Codecov Report

Merging #7901 into master will decrease coverage by <.01%.
The diff coverage is 75%.

@@             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
Impacted Files Coverage Δ Complexity Δ
lib/private/Memcache/Factory.php 70.83% <75%> (ø) 21 <21> (ø) ⬇️
apps/files_trashbin/lib/Trashbin.php 72.28% <0%> (-0.25%) 136% <0%> (ø)

@rullzer rullzer merged commit d1420ef into master Jan 17, 2018
@rullzer rullzer deleted the strict_cache_factory branch January 17, 2018 05:51
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.

5 participants