Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[VarDumper] Add Redis caster#18675

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
nicolas-grekas merged 1 commit intosymfony:masterfromnicolas-grekas:dump-redis
May 25, 2016

Conversation

@nicolas-grekas
Copy link
Member

QA
Branch?3.2
Bug fix?no
New feature?yes
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets-
LicenseMIT
Doc PR-

Helps working on Redis connections

*/
class RedisCaster
{
private static $serializer = array(
Copy link
Contributor

@phansysphansysMay 2, 2016
edited
Loading

Choose a reason for hiding this comment

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

Are you planning to add the docblocks when the PR will be ready to merge?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Nope, I'm not planning any doc block here...

Copy link
Contributor

Choose a reason for hiding this comment

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

@nicolas-grekas, that makes me wonder: which are the criteria we use to decide what to document and what to not document?

@stof
Copy link
Member

stof commentedMay 2, 2016

Can the caster be tested ?

@nicolas-grekas
Copy link
MemberAuthor

Tests added, comments addressed.

@javiereguiluz
Copy link
Member

This feature looks great ... but the code sometimes is not very readable because of the single-letter variable names ($a,$c, etc.)

theofidry reacted with thumbs up emoji

$redis = new \Redis();

if (defined('HHVM_VERSION_ID')) {
$xCast = <<<EODUMP
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we use nowdoc? See#17086.

@nicolas-grekasnicolas-grekasforce-pushed thedump-redis branch 2 times, most recently frome79b572 to0b73d77CompareMay 15, 2016 16:09
@nicolas-grekas
Copy link
MemberAuthor

ping @symfony/deciders

@nicolas-grekasnicolas-grekas merged commit56ae8c8 intosymfony:masterMay 25, 2016
nicolas-grekas added a commit that referenced this pull requestMay 25, 2016
This PR was merged into the 3.2-dev branch.Discussion----------[VarDumper] Add Redis caster| Q             | A| ------------- | ---| Branch?       | 3.2| Bug fix?      | no| New feature?  | yes| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets | -| License       | MIT| Doc PR        | -Helps working on Redis connectionsCommits-------56ae8c8 [VarDumper] Add Redis caster
@nicolas-grekasnicolas-grekas deleted the dump-redis branchMay 25, 2016 08:21
@fabpotfabpot mentioned this pull requestOct 27, 2016
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

6 participants

@nicolas-grekas@stof@javiereguiluz@phansys@xabbuh@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp