Skip to content

Conversation

@AlessandroMinoccheri
Copy link
Member

No description provided.

@codecov-commenter
Copy link

codecov-commenter commented Aug 17, 2022

Codecov Report

Merging #283 (3159927) into main (f947211) will increase coverage by 0.49%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##               main     #283      +/-   ##
============================================
+ Coverage     93.73%   94.23%   +0.49%     
  Complexity      376      376              
============================================
  Files            58       58              
  Lines          1006     1006              
============================================
+ Hits            943      948       +5     
+ Misses           63       58       -5     
Impacted Files Coverage Δ
src/Rules/Violations.php 100.00% <0.00%> (+14.70%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

$this->assertEquals($expected, $this->violationStore->toString());
}

public function test_get_iterable(): void
Copy link
Collaborator

Choose a reason for hiding this comment

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

I suppose that the type checker already check this?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, I was trying to explicit it well. I would like to be more specific, any suggestions @fain182 ?

Copy link
Member Author

Choose a reason for hiding this comment

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

@fain182 I changed the assertion with a more proper one, what do you think?

Copy link
Collaborator

Choose a reason for hiding this comment

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

much better 👍

@AlessandroMinoccheri AlessandroMinoccheri force-pushed the add-violations-tests-not-covered branch from da8117f to 2476868 Compare August 17, 2022 21:06
@AlessandroMinoccheri AlessandroMinoccheri force-pushed the add-violations-tests-not-covered branch from 2476868 to 3159927 Compare August 17, 2022 21:08
@AlessandroMinoccheri AlessandroMinoccheri merged commit ec38de5 into main Aug 18, 2022
@AlessandroMinoccheri AlessandroMinoccheri deleted the add-violations-tests-not-covered branch August 18, 2022 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants