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

don't install unneeded polyfills with composer #16653

Merged
merged 2 commits into from Nov 2, 2020

Conversation

Findus23
Copy link
Member

@Findus23 Findus23 commented Nov 2, 2020

see https://github.com/symfony/polyfill/blob/main/README.md#design

This removes symfony/polyfill-php56 on the next composer install

@Findus23 Findus23 added Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change. not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. labels Nov 2, 2020
@Findus23 Findus23 added this to the 4.0.0-RC milestone Nov 2, 2020
@sgiehl
Copy link
Member

sgiehl commented Nov 2, 2020

That package actually was already automatically removed with a composer update. See #16649

@Findus23
Copy link
Member Author

Findus23 commented Nov 2, 2020

Ah, I didn't see that PR.
We could still add those lines in case any other dependency adds polyfills.

@sgiehl
Copy link
Member

sgiehl commented Nov 2, 2020

Yes. Shouldn't hurt to prevent installing those polyfills nevertheless

@tsteur
Copy link
Member

tsteur commented Nov 2, 2020

@sgiehl
Copy link
Member

sgiehl commented Nov 2, 2020

guess merging in the latest changes should fix it...

@tsteur
Copy link
Member

tsteur commented Nov 2, 2020

there's a test now failing. not sure if it is due to this? https://travis-ci.com/github/matomo-org/matomo/jobs/424766921#L925 @sgiehl @Findus23

@Findus23
Copy link
Member Author

Findus23 commented Nov 2, 2020

The same failure seems to be on 4.x-dev without this PR: https://travis-ci.com/github/matomo-org/matomo/jobs/424766869#L921

@tsteur tsteur merged commit 2f2c487 into 4.x-dev Nov 2, 2020
@tsteur tsteur deleted the no-outdated-symfony-polyfills branch November 2, 2020 21:02
@sgiehl
Copy link
Member

sgiehl commented Nov 2, 2020

That was caused by the cookie PR. See #14444 (review)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants