You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR was merged into the 4.4 branch.
Discussion
----------
[Filesystem] Safeguard (sym)link calls
| Q | A
| ------------- | ---
| Branch? | 4.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets | #46402
| License | MIT
| Doc PR | N/A
This PR let's link and symlink operations fail if the corresponding PHP functions are unavailable, e.g. because they have been disabled. Without the patch, the user receives a cryptic `TypeError` in such cases.
I'm not really sure, if I can write tests for this scenario because we cannot disable those functions at runtime, can we?
Commits
-------
c15028f [Filesystem] Safeguard (sym)link calls
0 commit comments