Skip to content

Commit 0a4c6c1

Browse files
committed
#123 : Support for Video (Fix PHPUnit tests)
1 parent bf5172f commit 0a4c6c1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/PhpPresentation/Shape/Media.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@
2424
*/
2525
class Media extends Drawing implements ComparableInterface
2626
{
27-
}
27+
}

src/PhpPresentation/Writer/ODPresentation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ public function save($pFilename)
101101

102102
$oDir = new DirectoryIterator(dirname(__FILE__).DIRECTORY_SEPARATOR.'ODPresentation');
103103
foreach ($oDir as $oFile) {
104-
echo "\n".dirname(__FILE__).DIRECTORY_SEPARATOR.'ODPresentation'."/".$oFile->getBasename('.php')."\n";
105104
if (!$oFile->isFile()) {
106105
continue;
107106
}
@@ -111,6 +110,7 @@ public function save($pFilename)
111110
if ($o->isAbstract() || !$o->isSubclassOf('PhpOffice\PhpPresentation\Writer\ODPresentation\AbstractDecoratorWriter')) {
112111
continue;
113112
}
113+
echo "\n".dirname(__FILE__).DIRECTORY_SEPARATOR.'ODPresentation'."/".$oFile->getBasename('.php')."\n";
114114
$oService = $o->newInstance();
115115
$oService->setZip($oZip);
116116
$oService->setPresentation($oPresentation);

0 commit comments

Comments
 (0)