@@ -282,7 +282,7 @@ public function testRemoveCleansFilesAndDirectoriesIteratively()
282
282
283
283
$ this ->filesystem ->remove ($ basePath );
284
284
285
- $ this ->assertFileNotExists ($ basePath );
285
+ $ this ->assertFileDoesNotExist ($ basePath );
286
286
}
287
287
288
288
public function testRemoveCleansArrayOfFilesAndDirectories ()
@@ -298,8 +298,8 @@ public function testRemoveCleansArrayOfFilesAndDirectories()
298
298
299
299
$ this ->filesystem ->remove ($ files );
300
300
301
- $ this ->assertFileNotExists ($ basePath .'dir ' );
302
- $ this ->assertFileNotExists ($ basePath .'file ' );
301
+ $ this ->assertFileDoesNotExist ($ basePath .'dir ' );
302
+ $ this ->assertFileDoesNotExist ($ basePath .'file ' );
303
303
}
304
304
305
305
public function testRemoveCleansTraversableObjectOfFilesAndDirectories ()
@@ -315,8 +315,8 @@ public function testRemoveCleansTraversableObjectOfFilesAndDirectories()
315
315
316
316
$ this ->filesystem ->remove ($ files );
317
317
318
- $ this ->assertFileNotExists ($ basePath .'dir ' );
319
- $ this ->assertFileNotExists ($ basePath .'file ' );
318
+ $ this ->assertFileDoesNotExist ($ basePath .'dir ' );
319
+ $ this ->assertFileDoesNotExist ($ basePath .'file ' );
320
320
}
321
321
322
322
public function testRemoveIgnoresNonExistingFiles ()
@@ -331,7 +331,7 @@ public function testRemoveIgnoresNonExistingFiles()
331
331
332
332
$ this ->filesystem ->remove ($ files );
333
333
334
- $ this ->assertFileNotExists ($ basePath .'dir ' );
334
+ $ this ->assertFileDoesNotExist ($ basePath .'dir ' );
335
335
}
336
336
337
337
public function testRemoveCleansInvalidLinks ()
@@ -355,7 +355,7 @@ public function testRemoveCleansInvalidLinks()
355
355
356
356
$ this ->filesystem ->remove ($ basePath );
357
357
358
- $ this ->assertFileNotExists ($ basePath );
358
+ $ this ->assertFileDoesNotExist ($ basePath );
359
359
}
360
360
361
361
public function testFilesExists ()
@@ -753,7 +753,7 @@ public function testRename()
753
753
754
754
$ this ->filesystem ->rename ($ file , $ newPath );
755
755
756
- $ this ->assertFileNotExists ($ file );
756
+ $ this ->assertFileDoesNotExist ($ file );
757
757
$ this ->assertFileExists ($ newPath );
758
758
}
759
759
@@ -779,7 +779,7 @@ public function testRenameOverwritesTheTargetIfItAlreadyExists()
779
779
780
780
$ this ->filesystem ->rename ($ file , $ newPath , true );
781
781
782
- $ this ->assertFileNotExists ($ file );
782
+ $ this ->assertFileDoesNotExist ($ file );
783
783
$ this ->assertFileExists ($ newPath );
784
784
}
785
785
@@ -1321,7 +1321,7 @@ public function testMirrorContentsWithSameNameAsSourceOrTargetWithDeleteOption()
1321
1321
1322
1322
$ this ->assertDirectoryExists ($ targetPath );
1323
1323
$ this ->assertFileExists ($ targetPath .'source ' );
1324
- $ this ->assertFileNotExists ($ targetPath .'target ' );
1324
+ $ this ->assertFileDoesNotExist ($ targetPath .'target ' );
1325
1325
}
1326
1326
1327
1327
public function testMirrorFromSubdirectoryInToParentDirectory ()
@@ -1416,7 +1416,7 @@ public function testTempnamWithPHPTempSchemeFails()
1416
1416
$ this ->assertStringStartsWith ($ scheme , $ filename );
1417
1417
1418
1418
// The php://temp stream deletes the file after close
1419
- $ this ->assertFileNotExists ($ filename );
1419
+ $ this ->assertFileDoesNotExist ($ filename );
1420
1420
}
1421
1421
1422
1422
public function testTempnamWithPharSchemeFails ()
0 commit comments