auraphp/Aura.Framework — Issue #1: rmdir , will not work when file exists
Author: harikt
Created: 2012-02-16 14:39:56+00:00
State: open

When we try to remove the directory with `rmdir()` ,

https://github.com/auraphp/Aura.Framework/blob/master/tests/Aura/Framework/Mock/System.php#L41

and if the directory contains file , it will not remove the directory .

Why not use

exec( "rm -Rf " . $path->__toString() );

See build failure over

http://travis-ci.org/#!/harikt/system/builds/687058

phpunit in my system is not working :( , so not able to test it .