Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Travis matrix build & bump up Composer dependencies #61

Merged
merged 2 commits into from Jul 4, 2016

Conversation

pamil
Copy link
Contributor

@pamil pamil commented Jun 20, 2016

Similar to SymfonyTest/SymfonyConfigTest#32 - drops unsupported Symfony versions and PhpUnit 3.7. Moreover, drops support for SymfonyConfigTest 0.* and allows for 2.0 to be installed.

$wrongParameterValue = 'some other value';

return array(
// the container does not have the parameter
array($emptyContainer, $parameterName, $parameterValue, true, false),
// the container has the parameter but the values don't match
array($containerWithParameter, $parameterName, $wrongParameterValue, true, false),
array($this->createMockContainerWithParameters(array($parameterName => $parameterValue)), $parameterName, $wrongParameterValue, true, false),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Mocked method was available only for the first call, I haven't used PhpUnit mocks yet so this is the best I came up with :)

Copy link
Member

Choose a reason for hiding this comment

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

Looks reasonable to me as it doesn't make much sense to reuse the mocked object.

@pamil
Copy link
Contributor Author

pamil commented Jun 29, 2016

Ping @matthiasnoback 🎉 Anyway, I'm using these test libraries heavily for a while and if you're looking for someone to maintain it, just drop me a line :)

@pamil
Copy link
Contributor Author

pamil commented Jul 4, 2016

It's quite a blocker, since I can't install new release of ConfigTest along with DependencyInjectionTest.

@matthiasnoback matthiasnoback merged commit 9904ae7 into SymfonyTest:master Jul 4, 2016
@matthiasnoback
Copy link
Collaborator

Thanks, sorry for letting you wait.

"symfony/config": "^2.0.5|~3.0",
"sebastian/exporter": "~1"
"matthiasnoback/symfony-config-test": "^1.0|^2.0",
"phpunit/phpunit": "^4.0|^5.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

This has nothing to do here and was especially removed on #47.

@matthiasnoback Could you please revert this back?

greg0ire added a commit to greg0ire/SymfonyDependencyInjectionTest that referenced this pull request Oct 19, 2016
It was sneakily moved back to require in SymfonyTest#61, without any explanation.
Also see SymfonyTest#47, SymfonyTest#28.
@pamil pamil deleted the update-constraints branch February 9, 2017 15:22
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.

None yet

5 participants