Skip to content

Comments

Allow configuring retain_visibility on Filesystem#195

Merged
maxhelias merged 4 commits intothephpleague:3.xfrom
rvanlaak:feat/retain-visibility-config
Dec 11, 2025
Merged

Allow configuring retain_visibility on Filesystem#195
maxhelias merged 4 commits intothephpleague:3.xfrom
rvanlaak:feat/retain-visibility-config

Conversation

@rvanlaak
Copy link
Contributor

@rvanlaak rvanlaak commented Dec 11, 2025

Follow-up of thephpleague/flysystem#1732 an thephpleague/flysystem#1721

This PR implements retain_visibility as configuration values on the bundle.

Without this change, calling move or copy on a Cloudflare R2 bucket will lead to an exception as ACL methods are not implemented yet.

@rvanlaak rvanlaak changed the title allow configuring retain_visibility, and pass along its value to Fi… Allow configuring retain_visibility on Filesystem Dec 11, 2025
@rvanlaak rvanlaak force-pushed the feat/retain-visibility-config branch from 598d311 to 9c6defe Compare December 11, 2025 14:59
Updated retain_visibility to allow null value for visibility checks.
Clarified the behavior of retain_visibility in the configuration reference.
Copy link
Collaborator

@maxhelias maxhelias left a comment

Choose a reason for hiding this comment

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

Thanks for adding this feature, which has not been followed up on here.

@maxhelias maxhelias merged commit 61e7f98 into thephpleague:3.x Dec 11, 2025
9 checks passed
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.

2 participants