Skip to content
This repository has been archived by the owner on Feb 19, 2025. It is now read-only.

Add sign data provider #15

Closed
wants to merge 14 commits into from
Closed

Conversation

peter279k
Copy link
Contributor

Changed log

  • Add the signProvider for the testSign data provider.

peter279k and others added 12 commits April 18, 2018 11:51
Signed-off-by: Jefersson Nathan <admin@phpse.net>
Signed-off-by: Jefersson Nathan <admin@phpse.net>
Signed-off-by: Jefersson Nathan <admin@phpse.net>
Signed-off-by: Jefersson Nathan <admin@phpse.net>
Signed-off-by: Jefersson Nathan <admin@phpse.net>
Signed-off-by: Jefersson Nathan <admin@phpse.net>
Copy link
Member

@asgrim asgrim left a comment

Choose a reason for hiding this comment

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

Just types missing, otherwise all good, thank you!

@@ -13,13 +13,23 @@
*/
final class FileContentSignerTest extends TestCase
{
public function testSign()
public function signProvider()
Copy link
Member

Choose a reason for hiding this comment

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

Please add return type : array and ideally a phpdoc block with @return string[][]

/**
* @dataProvider signProvider
*/
public function testSign($expected, $inputString)
Copy link
Member

Choose a reason for hiding this comment

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

Please add parameter types string for each and return type void

@asgrim asgrim added this to the 1.1.0 milestone Apr 18, 2018
@asgrim asgrim self-assigned this Apr 18, 2018
@asgrim
Copy link
Member

asgrim commented Apr 18, 2018

Rebased, fixed up and merged manually (so PR won't close automatically) in 2341f4f - thanks @peter279k for the change! 👍

@asgrim asgrim closed this Apr 18, 2018
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants