Returns the file name without the extension from a file path.
/** * @expectedException \InvalidArgumentException * @expectedExceptionMessage The extension must be a string or null. Got: array */ public function testGetFilenameWithoutExtensionFailsIfInvalidExtension() { Path::getFilenameWithoutExtension('/style.css', array()); }