@@ -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 ()
@@ -753,7 +753,7 @@ public function testRename()
753753
754754 $ this ->filesystem ->rename ($ file , $ newPath );
755755
756- $ this ->assertFileNotExists ($ file );
756+ $ this ->assertFileDoesNotExist ($ file );
757757 $ this ->assertFileExists ($ newPath );
758758 }
759759
@@ -779,7 +779,7 @@ public function testRenameOverwritesTheTargetIfItAlreadyExists()
779779
780780 $ this ->filesystem ->rename ($ file , $ newPath , true );
781781
782- $ this ->assertFileNotExists ($ file );
782+ $ this ->assertFileDoesNotExist ($ file );
783783 $ this ->assertFileExists ($ newPath );
784784 }
785785
@@ -1321,7 +1321,7 @@ public function testMirrorContentsWithSameNameAsSourceOrTargetWithDeleteOption()
13211321
13221322 $ this ->assertDirectoryExists ($ targetPath );
13231323 $ this ->assertFileExists ($ targetPath .'source ' );
1324- $ this ->assertFileNotExists ($ targetPath .'target ' );
1324+ $ this ->assertFileDoesNotExist ($ targetPath .'target ' );
13251325 }
13261326
13271327 public function testMirrorFromSubdirectoryInToParentDirectory ()
@@ -1416,7 +1416,7 @@ public function testTempnamWithPHPTempSchemeFails()
14161416 $ this ->assertStringStartsWith ($ scheme , $ filename );
14171417
14181418 // The php://temp stream deletes the file after close
1419- $ this ->assertFileNotExists ($ filename );
1419+ $ this ->assertFileDoesNotExist ($ filename );
14201420 }
14211421
14221422 public function testTempnamWithPharSchemeFails ()
0 commit comments