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

Updating composer deps, don't fail tests on vendor deprecations #855

Closed
wants to merge 3 commits into from
Closed

Updating composer deps, don't fail tests on vendor deprecations #855

wants to merge 3 commits into from

Conversation

bobdenotter
Copy link
Contributor

Follows #846, replaces #854

I've taken the liberty of updating @nicolas-grekas' PR to update flex to 1.1, whilst keeping bound constraints for the symfony components.

Tests would fail on a deprecation in doctrine/common. I have also added a temporary SYMFONY_DEPRECATIONS_HELPER=weak_vendors, so it'll pass tests. After Symfony 4.2 has been released, I'll remove it.

bin/phpunit Outdated
@@ -14,5 +14,8 @@ if (false === getenv('SYMFONY_PHPUNIT_VERSION')) {
if (false === getenv('SYMFONY_PHPUNIT_DIR')) {
putenv('SYMFONY_PHPUNIT_DIR='.__DIR__.'/.phpunit');
}
if (false === getenv('SYMFONY_DEPRECATIONS_HELPER')) {
putenv('SYMFONY_DEPRECATIONS_HELPER=weak_vendors');
Copy link
Member

Choose a reason for hiding this comment

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

Weak_vendor is only for libraries. Let's borrow from https://github.com/symfony/recipes/pull/442/files instead

composer.json Show resolved Hide resolved
@javiereguiluz
Copy link
Member

Thanks Bob! We created #858 to not forget about tweaking this once Symfony 4.2 is released.

@bobdenotter bobdenotter deleted the housekeeping-composer-update branch September 7, 2018 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants