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

Make OCP\IL10N strict #8476

Merged
merged 4 commits into from
Feb 22, 2018
Merged

Make OCP\IL10N strict #8476

merged 4 commits into from
Feb 22, 2018

Conversation

rullzer
Copy link
Member

@rullzer rullzer commented Feb 21, 2018

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

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
@rullzer
Copy link
Member Author

rullzer commented Feb 21, 2018

Mmmm errors. lets me dive into that.

@rullzer rullzer added 2. developing Work in progress and removed 3. to review Waiting for reviews labels Feb 21, 2018
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
@codecov
Copy link

codecov bot commented Feb 21, 2018

Codecov Report

Merging #8476 into master will decrease coverage by 0.05%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master    #8476      +/-   ##
============================================
- Coverage     51.81%   51.75%   -0.06%     
  Complexity    25362    25362              
============================================
  Files          1601     1601              
  Lines         95017    95018       +1     
  Branches       1377     1377              
============================================
- Hits          49233    49179      -54     
- Misses        45784    45839      +55
Impacted Files Coverage Δ Complexity Δ
lib/private/L10N/L10N.php 87.27% <100%> (ø) 4 <2> (ø) ⬇️
lib/private/App/DependencyAnalyzer.php 95.62% <100%> (ø) 64 <0> (ø) ⬇️
lib/private/Files/ObjectStore/Swift.php 0% <0%> (-75%) 8% <0%> (ø)
lib/private/Files/ObjectStore/SwiftFactory.php 0% <0%> (-54.44%) 30% <0%> (ø)
lib/private/App/AppStore/Fetcher/Fetcher.php 91.66% <0%> (+0.14%) 20% <0%> (ø) ⬇️
apps/files_trashbin/lib/Trashbin.php 72.7% <0%> (+0.24%) 136% <0%> (ø) ⬇️
core/js/js.js 66.25% <0%> (+0.55%) 0% <0%> (ø) ⬇️

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
@rullzer rullzer added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Feb 21, 2018
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
@rullzer
Copy link
Member Author

rullzer commented Feb 21, 2018

Only https://drone.nextcloud.com/nextcloud/server/5077/244 fails which is unrelated

@nickvergessen
Copy link
Member

I wonder how many apps have the wrong usage of the parameter (not array) 🙈

@rullzer
Copy link
Member Author

rullzer commented Feb 22, 2018

@nickvergessen yeah it is a shame that we can't het real function overloading. Then we could just write two.

But the phpdoc has been like this for ages. So I would say we are fine here. We just need to make sure people test their apps well ahead of 14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants