I have downloaded development branch and test "Sample_36_RTL.php".
I got the following exception :
Fatal error: Uncaught exception 'PhpOffice\PhpWord\Exception\Exception' with message '"HTML" is not a valid writer.' in D:\Projects\PHPWord\PHPWord-develop\src\PhpWord\IOFactory.php on line 32