Skip to content

Commit dcb133f

Browse files
committed
Merge branch '3.4' into 4.4
* 3.4: Add Tagalog translations for validator messages 94, 95, 96 and 99 PHPUnit's assertContains() performs strict comparisons now. [ClassLoader][Routing] Fix namespace parsing on php 8. Fix deprecated libxml_disable_entity_loader Made reference to PHPUnit\Util\XML::loadfile php5-compatible. [Validator] Add missing translations for german and vietnamese Modernized deprecated PHPUnit assertion calls [Console] The message of "class not found" errors has changed in php 8. The PHPUnit\Util\XML class has been removed in PHPUnit 9.3. [Console] Make sure we pass a numeric array of arguments to call_user_func_array(). [Serializer] Fix that it will never reach DOMNode [Validator] sync translations [VarDumper] Improve previous fix on light array coloration [Cache] Fix #37667
2 parents b27f491 + 43b21e8 commit dcb133f

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

Tests/FilesystemTest.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ public function testRemoveCleansFilesAndDirectoriesIteratively()
282282

283283
$this->filesystem->remove($basePath);
284284

285-
$this->assertFileNotExists($basePath);
285+
$this->assertFileDoesNotExist($basePath);
286286
}
287287

288288
public function testRemoveCleansArrayOfFilesAndDirectories()
@@ -298,8 +298,8 @@ public function testRemoveCleansArrayOfFilesAndDirectories()
298298

299299
$this->filesystem->remove($files);
300300

301-
$this->assertFileNotExists($basePath.'dir');
302-
$this->assertFileNotExists($basePath.'file');
301+
$this->assertFileDoesNotExist($basePath.'dir');
302+
$this->assertFileDoesNotExist($basePath.'file');
303303
}
304304

305305
public function testRemoveCleansTraversableObjectOfFilesAndDirectories()
@@ -315,8 +315,8 @@ public function testRemoveCleansTraversableObjectOfFilesAndDirectories()
315315

316316
$this->filesystem->remove($files);
317317

318-
$this->assertFileNotExists($basePath.'dir');
319-
$this->assertFileNotExists($basePath.'file');
318+
$this->assertFileDoesNotExist($basePath.'dir');
319+
$this->assertFileDoesNotExist($basePath.'file');
320320
}
321321

322322
public function testRemoveIgnoresNonExistingFiles()
@@ -331,7 +331,7 @@ public function testRemoveIgnoresNonExistingFiles()
331331

332332
$this->filesystem->remove($files);
333333

334-
$this->assertFileNotExists($basePath.'dir');
334+
$this->assertFileDoesNotExist($basePath.'dir');
335335
}
336336

337337
public function testRemoveCleansInvalidLinks()
@@ -355,7 +355,7 @@ public function testRemoveCleansInvalidLinks()
355355

356356
$this->filesystem->remove($basePath);
357357

358-
$this->assertFileNotExists($basePath);
358+
$this->assertFileDoesNotExist($basePath);
359359
}
360360

361361
public function testFilesExists()
@@ -749,7 +749,7 @@ public function testRename()
749749

750750
$this->filesystem->rename($file, $newPath);
751751

752-
$this->assertFileNotExists($file);
752+
$this->assertFileDoesNotExist($file);
753753
$this->assertFileExists($newPath);
754754
}
755755

@@ -775,7 +775,7 @@ public function testRenameOverwritesTheTargetIfItAlreadyExists()
775775

776776
$this->filesystem->rename($file, $newPath, true);
777777

778-
$this->assertFileNotExists($file);
778+
$this->assertFileDoesNotExist($file);
779779
$this->assertFileExists($newPath);
780780
}
781781

@@ -1301,7 +1301,7 @@ public function testMirrorContentsWithSameNameAsSourceOrTargetWithDeleteOption()
13011301

13021302
$this->assertDirectoryExists($targetPath);
13031303
$this->assertFileExists($targetPath.'source');
1304-
$this->assertFileNotExists($targetPath.'target');
1304+
$this->assertFileDoesNotExist($targetPath.'target');
13051305
}
13061306

13071307
public function testMirrorAvoidCopyingTargetDirectoryIfInSourceDirectory()
@@ -1434,7 +1434,7 @@ public function testTempnamWithPHPTempSchemeFails()
14341434
$this->assertStringStartsWith($scheme, $filename);
14351435

14361436
// The php://temp stream deletes the file after close
1437-
$this->assertFileNotExists($filename);
1437+
$this->assertFileDoesNotExist($filename);
14381438
}
14391439

14401440
public function testTempnamWithPharSchemeFails()

0 commit comments

Comments
 (0)