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

Fixes for TimestampFormatter #7608

Merged
merged 1 commit into from
Dec 28, 2017
Merged

Fixes for TimestampFormatter #7608

merged 1 commit into from
Dec 28, 2017

Conversation

rullzer
Copy link
Member

@rullzer rullzer commented Dec 22, 2017

I was looking at the code (to use in the previewgenerator). And noticed some things that needed fixing.

Easy PR of the day.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
@rullzer rullzer added the 3. to review Waiting for reviews label Dec 22, 2017
@rullzer rullzer added this to the Nextcloud 13 milestone Dec 22, 2017
@codecov
Copy link

codecov bot commented Dec 22, 2017

Codecov Report

Merging #7608 into master will not change coverage.
The diff coverage is 0%.

@@            Coverage Diff            @@
##             master    #7608   +/-   ##
=========================================
  Coverage     51.17%   51.17%           
  Complexity    24886    24886           
=========================================
  Files          1602     1602           
  Lines         94750    94750           
  Branches       1368     1368           
=========================================
  Hits          48485    48485           
  Misses        46265    46265
Impacted Files Coverage Δ Complexity Δ
lib/private/Server.php 81.43% <ø> (ø) 134 <0> (ø) ⬇️
core/register_command.php 0% <0%> (ø) 0 <0> (ø) ⬇️
core/Command/Upgrade.php 0% <0%> (ø) 28 <0> (ø) ⬇️
lib/private/Console/TimestampFormatter.php 0% <0%> (ø) 8 <0> (ø) ⬇️
apps/files_trashbin/lib/Trashbin.php 72.28% <0%> (-0.25%) 136% <0%> (ø)
apps/files_trashbin/lib/Expiration.php 91.93% <0%> (+1.61%) 29% <0%> (ø) ⬇️

Copy link
Member

@ChristophWurst ChristophWurst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@@ -75,14 +78,15 @@ public function setStyle($name, OutputFormatterStyleInterface $style) {
* @return bool
*/
public function hasStyle($name) {
$this->formatter->hasStyle($name);
return $this->formatter->hasStyle($name);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh 🙈

@ChristophWurst ChristophWurst added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Dec 27, 2017
@rullzer rullzer merged commit 46958e4 into master Dec 28, 2017
@rullzer rullzer deleted the pimp_timestampformatter branch December 28, 2017 09:51
@MorrisJobke MorrisJobke mentioned this pull request Jan 2, 2018
30 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants