Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Basster
Copy link
Contributor

@Basster Basster commented Jun 6, 2018

I hope master is fine as target branch.

parameters:
env(REDIS_URL): redis://localhost
env(REDIS_PROFILE): 2.6
env(REDIS_PROFILE): '2.6'
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think we should wait on a fix from Symfony for this : symfony/symfony#27470
It's a nice thing to automatically know when BC break are introduced.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed it, since it wasn't directly related with the PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will add it again, as travis fails on PHP 7.1 and 7.2 when a float value is given!

Copy link
Collaborator

Choose a reason for hiding this comment

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

Can just keep it out, we're stalling new release until Symfony 4.1.1 is out anyway.

}

/**
* @test
Copy link
Collaborator

Choose a reason for hiding this comment

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

I am not sure this project is using this convention.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I hope it's not a big deal. I find the test method names generally much more readable without the test... prefix. Same reason why I prefer the prophecy mocks over phpunit mocking.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Sorry but preferring existing convention here, and all remaining tests use test prefixes.

Basster added 2 commits June 17, 2018 20:59
remove unrelated .yaml change
made REDIS_PROFILE a string again, as travis fails on PHP 7.1 and 7.2

$clientLocatorDefinition = $this->createClientLocatorDefinition($container, $clients);

$this->passClientLocatorToSncRedisCommans($container, $clientLocatorDefinition);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Typo in function name.

@Basster
Copy link
Contributor Author

Basster commented Jun 19, 2018

@curry684 I renamed the test methods and fixed the typo.

@curry684
Copy link
Collaborator

Thanks!

@curry684 curry684 merged commit 6db83c0 into snc:master Jun 19, 2018
@Basster Basster deleted the bugfix/#419-service-locator branch June 30, 2018 12:02
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.

3 participants