Skip to content

[ProxyManagerBridge] fix PHP notice, switch to "friendsofphp/proxy-manager-lts" #39610

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

Merged
merged 1 commit into from
Dec 23, 2020

Conversation

nicolas-grekas
Copy link
Member

Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #39089
License MIT
Doc PR -

I submitted the fix for #39089 on the origin library at Ocramius/ProxyManager#646.

Because of the versioning policy in use at the origin library, this fix won't be available for PHP < 7.4.

We usually resort to monkey-patching to workaround the policy and still ship the fix for 4.4 (which supports PHP >= 7.1).

This time, and as explained in Ocramius/ProxyManager#630, I propose to delegate the fix to friendsofphp/proxy-manager-lts. It already embeds the fix and a few others that allow us to remove most of the monkey-patching we had to accumulate over time.

@nicolas-grekas nicolas-grekas force-pushed the pm-lts branch 3 times, most recently from 0d44477 to 63c3d62 Compare December 22, 2020 15:52
Copy link
Member

@jderusse jderusse left a comment

Choose a reason for hiding this comment

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

❤️

@nicolas-grekas nicolas-grekas merged commit 64cc4d8 into symfony:4.4 Dec 23, 2020
@nicolas-grekas nicolas-grekas deleted the pm-lts branch December 23, 2020 14:37
OskarStark added a commit to symfony/symfony-docs that referenced this pull request Dec 28, 2020
This PR was merged into the 4.4 branch.

Discussion
----------

Tweak doc around proxy manager bridge

ProxyManager is already a dep of the ProxyManagerBridge, that's why only the bridge needs to be installed.

Relates to symfony/symfony#39610

Commits
-------

84ac5b2 Tweak doc around proxy manager bridge
This was referenced Jan 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants