Skip to content

Conversation

@vnealv
Copy link

@vnealv vnealv commented Jun 6, 2020

No description provided.

@vnealv vnealv mentioned this pull request Jun 6, 2020
Copy link
Owner

@jmacdotorg jmacdotorg left a comment

Choose a reason for hiding this comment

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

I'm unfamiliar with Test::Perl::Critic, coming more from a Code::TidyAll background. Is there a simple way to automatically clean up code (e.g. with tidyall) that these tests flag?

"Test::Pod" : "1.41",
"Test::Spellunker" : "v0.2.7"
"Test::Spellunker" : "v0.2.7",
"Test::Perl::Critic" : "0"
Copy link
Owner

Choose a reason for hiding this comment

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

Could you please add these to the cpanfile, as well?

{$a->time_published <=> $b->time_published }
values( %{ $self->webmentions_by_source } )
;
my $ret = sort { $a->time_published <=> $b->time_published } values(%{$self->webmentions_by_source});
Copy link
Owner

Choose a reason for hiding this comment

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

This changes this method's behavior? It is supposed to return a list (the output of the call to sort()), not a scalar value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants