Skip to content

Commit 601ff99

Browse files
committed
Merge branch '7.0' into 7.1
* 7.0: update constraint [FrameworkBundle] fixes #54402: Suppress PHP warning when is_readable() tries to access dirs outside of open_basedir restrictions return null when message with name is not set use local PHP web server to test HTTP stream wrappers [Translation] Silence error when intl not loaded Bump Symfony version to 7.0.7 Update VERSION for 7.0.6 Update CHANGELOG for 7.0.6 Bump Symfony version to 6.4.7 Update VERSION for 6.4.6 Update CHANGELOG for 6.4.6 Bump Symfony version to 5.4.39 Update VERSION for 5.4.38 Update CONTRIBUTORS for 5.4.38 Update CHANGELOG for 5.4.38
2 parents a39bf97 + b5a08d1 commit 601ff99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Command/CacheClearCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ private function isNfs(string $dir): bool
200200

201201
if (null === $mounts) {
202202
$mounts = [];
203-
if ('/' === \DIRECTORY_SEPARATOR && is_readable('/proc/mounts') && $files = @file('/proc/mounts')) {
203+
if ('/' === \DIRECTORY_SEPARATOR && @is_readable('/proc/mounts') && $files = @file('/proc/mounts')) {
204204
foreach ($files as $mount) {
205205
$mount = \array_slice(explode(' ', $mount), 1, -3);
206206
if (!\in_array(array_pop($mount), ['vboxsf', 'nfs'])) {

0 commit comments

Comments
 (0)