Skip to content

Commit f868131

Browse files
Merge branch '4.2'
* 4.2: [Twig] Remove spaces to fix whitespace in tags [Twig] Replace for-loops with blocks for attributes fixed CS [Tests] Change to willThrowException [Console] fix PHPDoc in Command Update FileLoaderLoadException.php Fix wrong calls to clearstatcache Add Vietnamese translation for validators Allow running PHPUnit with "xdebug.scream" ON [VarDumper] Add descriptors tests [Cache] fix bad optim [Yaml] detect circular references [DI] fix reporting bindings on overriden services as unused [Routing] minor fix or previous PR
2 parents 05cdc11 + abb3ddd commit f868131

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/FinderTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1209,7 +1209,7 @@ public function testAccessDeniedException()
12091209

12101210
// restore original permissions
12111211
chmod($testDir, 0777);
1212-
clearstatcache($testDir);
1212+
clearstatcache(true, $testDir);
12131213

12141214
if ($couldRead) {
12151215
$this->markTestSkipped('could read test files while test requires unreadable');
@@ -1248,7 +1248,7 @@ public function testIgnoredAccessDeniedException()
12481248

12491249
// restore original permissions
12501250
chmod($testDir, 0777);
1251-
clearstatcache($testDir);
1251+
clearstatcache(true, $testDir);
12521252

12531253
if ($couldRead) {
12541254
$this->markTestSkipped('could read test files while test requires unreadable');

0 commit comments

Comments
 (0)