Skip to content

Conversation

@glensc
Copy link
Collaborator

@glensc glensc commented Feb 25, 2016

this is mostly to provide gateway for issues like #42

also, could you tag a release after this gets merged, thanks!

glensc added a commit to eventum/composer that referenced this pull request Feb 25, 2016
@glensc
Copy link
Collaborator Author

glensc commented Mar 26, 2016

@willdurand ping?

@glensc
Copy link
Collaborator Author

glensc commented Apr 16, 2016

@willdurand any chance to get this merged and released? so i could stop using own fork.

public function testCustomSigRegex()
{
$regex = $this->parser->getSignatureRegex();
$this->parser->setSignatureRegex($regex);
Copy link
Owner

Choose a reason for hiding this comment

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

Does this test case actually test anything?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

seems not other than the method call doesn't fail. what you suggest to test there?

@glensc
Copy link
Collaborator Author

glensc commented Nov 25, 2017

rebased against current master!

@willdurand
Copy link
Owner

@glensc how would you feel about giving me a hand on this project (by becoming a contributor)?

@glensc
Copy link
Collaborator Author

glensc commented Nov 28, 2017

@willdurand sure, i can get this merged then :D

@willdurand
Copy link
Owner

perfect, but don't forget to add a test case first 😉

@glensc
Copy link
Collaborator Author

glensc commented Nov 28, 2017

i was hoping to bypass that 😈

but what to test there really?
#45 (comment)

@willdurand
Copy link
Owner

I think you could add a test case similar to the other ones (with a fixture file) but involving a different signature since you obviously need that: it will document the use case you have that led to this patch.

testcase showing that ls -l listing is treated as signature for each file
@glensc
Copy link
Collaborator Author

glensc commented Nov 28, 2017

alright, i'll take testcase from #42

@glensc glensc mentioned this pull request Nov 28, 2017
@glensc
Copy link
Collaborator Author

glensc commented Nov 28, 2017

ok, looks good?

i think 2.7.0 is on the way.

and i think i'll create CHANGELOG.md before tagging it. it's nice to have changelog in repo as well.

example: https://github.com/eventum/eventum/blob/master/CHANGELOG.md

Copy link
Owner

@willdurand willdurand 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, thanks! You can merge it if Travis-CI agrees.

/**
* override regexp, not to match too greedy signature.
*
* @see https://github.com/willdurand/EmailReplyParser/pull/42
Copy link
Owner

Choose a reason for hiding this comment

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

I would simply add this:

// See: https://github.com/willdurand/EmailReplyParser/pull/42.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@see is official @phpdoc annotation, phpstorm didn't make links clickable in the past. seems that's not the case anymore. can drop.

http://docs.phpdoc.org/references/phpdoc/tags/see.html

@glensc glensc merged commit a1f6a22 into willdurand:master Nov 28, 2017
@glensc glensc deleted the set-sig-regex branch November 28, 2017 21:33

/**
* @return string
* @since 2.7.0
Copy link
Owner

Choose a reason for hiding this comment

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

Ah I did not pay attention to that, usually I dont use this and I dont think we should be using this. The CHANGELOG file (or GitHub release) is way more expressive.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

ok, so remove the annotation and commit to master?

glensc added a commit to eventum/eventum that referenced this pull request Nov 30, 2017
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