Skip to content

Add getCookieParam method#1929

Merged
akrabat merged 4 commits intoslimphp:3.xfrom
martynbiz:martynbiz-patch-add-getCookieParam-method
Jul 26, 2016
Merged

Add getCookieParam method#1929
akrabat merged 4 commits intoslimphp:3.xfrom
martynbiz:martynbiz-patch-add-getCookieParam-method

Conversation

@martynbiz
Copy link
Copy Markdown
Contributor

Added new getCookieParam method with tests

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.01%) to 96.615% when pulling d127682 on martynbiz:martynbiz-patch-add-getCookieParam-method into 805150e on slimphp:3.x.

@martynbiz
Copy link
Copy Markdown
Contributor Author

What's went wrong here? I see a few tests are being skipped, but that was the case before I made changes. Is that what's prevent 1 check from passing?

@akrabat
Copy link
Copy Markdown
Member

akrabat commented Jul 7, 2016

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.6%) to 97.169% when pulling 89a2e47 on martynbiz:martynbiz-patch-add-getCookieParam-method into 805150e on slimphp:3.x.

@martynbiz
Copy link
Copy Markdown
Contributor Author

Thanks for the screenshot, I think it's OK now?

@akrabat akrabat merged commit 89a2e47 into slimphp:3.x Jul 26, 2016
akrabat added a commit that referenced this pull request Jul 26, 2016
@akrabat
Copy link
Copy Markdown
Member

akrabat commented Jul 26, 2016

Thanks!

@akrabat akrabat added this to the 3.5.0 milestone Jul 26, 2016
@akrabat akrabat changed the title Martynbiz patch add get cookie param method Add getCookieParam method Jul 26, 2016
* Fetch cookie value from cookies sent by the client to the server.
*
* Note: This method is not part of the PSR-7 standard.
*
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Can the phpdoc get fixed?

Copy link
Copy Markdown
Member

@akrabat akrabat Jul 26, 2016

Choose a reason for hiding this comment

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

@basert, This is what I committed: https://github.com/slimphp/Slim/blob/3.x/Slim/Http/Request.php#L687L696

Nearly got it right :)

@martynbiz martynbiz deleted the martynbiz-patch-add-getCookieParam-method branch July 27, 2016 01:30
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.

4 participants