Changed tests namespace to reflect the namespace of the source code
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests;
|
namespace PhpOffice\PhpWord\Tests;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\Autoloader;
|
use PhpOffice\PhpWord\Autoloader;
|
||||||
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests;
|
namespace PhpOffice\PhpWord\Tests;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\DocumentProperties;
|
use PhpOffice\PhpWord\DocumentProperties;
|
||||||
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests\Exceptions;
|
namespace PhpOffice\PhpWord\Tests\Exceptions;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\Exceptions\Exception;
|
use PhpOffice\PhpWord\Exceptions\Exception;
|
||||||
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests\Exceptions;
|
namespace PhpOffice\PhpWord\Tests\Exceptions;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\Exceptions\InvalidImageException;
|
use PhpOffice\PhpWord\Exceptions\InvalidImageException;
|
||||||
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests\Exceptions;
|
namespace PhpOffice\PhpWord\Tests\Exceptions;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\Exceptions\InvalidStyleException;
|
use PhpOffice\PhpWord\Exceptions\InvalidStyleException;
|
||||||
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests\Exceptions;
|
namespace PhpOffice\PhpWord\Tests\Exceptions;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\Exceptions\UnsupportedImageTypeException;
|
use PhpOffice\PhpWord\Exceptions\UnsupportedImageTypeException;
|
||||||
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests;
|
namespace PhpOffice\PhpWord\Tests;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\PhpWord;
|
use PhpOffice\PhpWord\PhpWord;
|
||||||
use PhpOffice\PhpWord\IOFactory;
|
use PhpOffice\PhpWord\IOFactory;
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests;
|
namespace PhpOffice\PhpWord\Tests;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\Media;
|
use PhpOffice\PhpWord\Media;
|
||||||
use PhpOffice\PhpWord\Section;
|
use PhpOffice\PhpWord\Section;
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests;
|
namespace PhpOffice\PhpWord\Tests;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\PhpWord;
|
use PhpOffice\PhpWord\PhpWord;
|
||||||
use PhpOffice\PhpWord\DocumentProperties;
|
use PhpOffice\PhpWord\DocumentProperties;
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests\Reader;
|
namespace PhpOffice\PhpWord\Tests\Reader;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\Reader\Word2007;
|
use PhpOffice\PhpWord\Reader\Word2007;
|
||||||
use PhpOffice\PhpWord\IOFactory;
|
use PhpOffice\PhpWord\IOFactory;
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests\Section\Footer;
|
namespace PhpOffice\PhpWord\Tests\Section\Footer;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\Section\Footer\PreserveText;
|
use PhpOffice\PhpWord\Section\Footer\PreserveText;
|
||||||
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests\Section;
|
namespace PhpOffice\PhpWord\Tests\Section;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\Section\Footer;
|
use PhpOffice\PhpWord\Section\Footer;
|
||||||
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests\Section;
|
namespace PhpOffice\PhpWord\Tests\Section;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\Section\Footnote;
|
use PhpOffice\PhpWord\Section\Footnote;
|
||||||
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests\Section;
|
namespace PhpOffice\PhpWord\Tests\Section;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\Section\Header;
|
use PhpOffice\PhpWord\Section\Header;
|
||||||
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests\Section;
|
namespace PhpOffice\PhpWord\Tests\Section;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\Section\Image;
|
use PhpOffice\PhpWord\Section\Image;
|
||||||
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests\Section;
|
namespace PhpOffice\PhpWord\Tests\Section;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\Section\Link;
|
use PhpOffice\PhpWord\Section\Link;
|
||||||
use PhpOffice\PhpWord\Style\Font;
|
use PhpOffice\PhpWord\Style\Font;
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests\Section;
|
namespace PhpOffice\PhpWord\Tests\Section;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\Section\ListItem;
|
use PhpOffice\PhpWord\Section\ListItem;
|
||||||
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests\Section;
|
namespace PhpOffice\PhpWord\Tests\Section;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\Section\MemoryImage;
|
use PhpOffice\PhpWord\Section\MemoryImage;
|
||||||
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests\Section;
|
namespace PhpOffice\PhpWord\Tests\Section;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\Section\Object;
|
use PhpOffice\PhpWord\Section\Object;
|
||||||
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests\Section;
|
namespace PhpOffice\PhpWord\Tests\Section;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\Section\PageBreak;
|
use PhpOffice\PhpWord\Section\PageBreak;
|
||||||
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests\Section;
|
namespace PhpOffice\PhpWord\Tests\Section;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\Section\Settings;
|
use PhpOffice\PhpWord\Section\Settings;
|
||||||
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests\Section\Table;
|
namespace PhpOffice\PhpWord\Tests\Section\Table;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\Section\Table\Cell;
|
use PhpOffice\PhpWord\Section\Table\Cell;
|
||||||
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests\Section\Table;
|
namespace PhpOffice\PhpWord\Tests\Section\Table;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\Section\Table\Row;
|
use PhpOffice\PhpWord\Section\Table\Row;
|
||||||
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests\Section;
|
namespace PhpOffice\PhpWord\Tests\Section;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\Section\Table;
|
use PhpOffice\PhpWord\Section\Table;
|
||||||
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests\Section;
|
namespace PhpOffice\PhpWord\Tests\Section;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\Section\TextBreak;
|
use PhpOffice\PhpWord\Section\TextBreak;
|
||||||
use PhpOffice\PhpWord\Style\Font;
|
use PhpOffice\PhpWord\Style\Font;
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests\Section;
|
namespace PhpOffice\PhpWord\Tests\Section;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\Section\TextRun;
|
use PhpOffice\PhpWord\Section\TextRun;
|
||||||
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests\Section;
|
namespace PhpOffice\PhpWord\Tests\Section;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\Section\Text;
|
use PhpOffice\PhpWord\Section\Text;
|
||||||
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests\Section;
|
namespace PhpOffice\PhpWord\Tests\Section;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\Section\Title;
|
use PhpOffice\PhpWord\Section\Title;
|
||||||
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests;
|
namespace PhpOffice\PhpWord\Tests;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\Section;
|
use PhpOffice\PhpWord\Section;
|
||||||
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests;
|
namespace PhpOffice\PhpWord\Tests;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\Settings;
|
use PhpOffice\PhpWord\Settings;
|
||||||
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests\Shared;
|
namespace PhpOffice\PhpWord\Tests\Shared;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\Shared\Drawing;
|
use PhpOffice\PhpWord\Shared\Drawing;
|
||||||
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests\Shared;
|
namespace PhpOffice\PhpWord\Tests\Shared;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\Shared\File;
|
use PhpOffice\PhpWord\Shared\File;
|
||||||
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests\Shared;
|
namespace PhpOffice\PhpWord\Tests\Shared;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\PhpWord;
|
use PhpOffice\PhpWord\PhpWord;
|
||||||
use PhpOffice\PhpWord\Shared\Font;
|
use PhpOffice\PhpWord\Shared\Font;
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests\Shared;
|
namespace PhpOffice\PhpWord\Tests\Shared;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\Shared\String;
|
use PhpOffice\PhpWord\Shared\String;
|
||||||
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests\Style;
|
namespace PhpOffice\PhpWord\Tests\Style;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\Style\Cell;
|
use PhpOffice\PhpWord\Style\Cell;
|
||||||
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests\Style;
|
namespace PhpOffice\PhpWord\Tests\Style;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\PhpWord;
|
use PhpOffice\PhpWord\PhpWord;
|
||||||
use PhpOffice\PhpWord\Style\Font;
|
use PhpOffice\PhpWord\Style\Font;
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests\Style;
|
namespace PhpOffice\PhpWord\Tests\Style;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\Style\Image;
|
use PhpOffice\PhpWord\Style\Image;
|
||||||
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests\Style;
|
namespace PhpOffice\PhpWord\Tests\Style;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\Style\ListItem;
|
use PhpOffice\PhpWord\Style\ListItem;
|
||||||
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests\Style;
|
namespace PhpOffice\PhpWord\Tests\Style;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\PhpWord;
|
use PhpOffice\PhpWord\PhpWord;
|
||||||
use PhpOffice\PhpWord\Style\Paragraph;
|
use PhpOffice\PhpWord\Style\Paragraph;
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests\Style;
|
namespace PhpOffice\PhpWord\Tests\Style;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\Style\Row;
|
use PhpOffice\PhpWord\Style\Row;
|
||||||
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests\Style;
|
namespace PhpOffice\PhpWord\Tests\Style;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\Style\TOC;
|
use PhpOffice\PhpWord\Style\TOC;
|
||||||
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests\Style;
|
namespace PhpOffice\PhpWord\Tests\Style;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\Style\TableFull;
|
use PhpOffice\PhpWord\Style\TableFull;
|
||||||
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests\Style;
|
namespace PhpOffice\PhpWord\Tests\Style;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\Style\Table;
|
use PhpOffice\PhpWord\Style\Table;
|
||||||
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests\Style;
|
namespace PhpOffice\PhpWord\Tests\Style;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\PhpWord;
|
use PhpOffice\PhpWord\PhpWord;
|
||||||
use PhpOffice\PhpWord\Style\Tab;
|
use PhpOffice\PhpWord\Style\Tab;
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests;
|
namespace PhpOffice\PhpWord\Tests;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\Style;
|
use PhpOffice\PhpWord\Style;
|
||||||
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests;
|
namespace PhpOffice\PhpWord\Tests;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\TOC;
|
use PhpOffice\PhpWord\TOC;
|
||||||
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests;
|
namespace PhpOffice\PhpWord\Tests;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\PhpWord;
|
use PhpOffice\PhpWord\PhpWord;
|
||||||
use PhpOffice\PhpWord\Template;
|
use PhpOffice\PhpWord\Template;
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests\Writer\ODText;
|
namespace PhpOffice\PhpWord\Tests\Writer\ODText;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\PhpWord;
|
use PhpOffice\PhpWord\PhpWord;
|
||||||
use PhpWord\Tests\TestHelperDOCX;
|
use PhpWord\Tests\TestHelperDOCX;
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests\Writer\ODText;
|
namespace PhpOffice\PhpWord\Tests\Writer\ODText;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\Writer\ODText;
|
use PhpOffice\PhpWord\Writer\ODText;
|
||||||
use PhpWord\Tests\TestHelperDOCX;
|
use PhpWord\Tests\TestHelperDOCX;
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests\Writer;
|
namespace PhpOffice\PhpWord\Tests\Writer;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\PhpWord;
|
use PhpOffice\PhpWord\PhpWord;
|
||||||
use PhpOffice\PhpWord\Writer\ODText;
|
use PhpOffice\PhpWord\Writer\ODText;
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests\Writer;
|
namespace PhpOffice\PhpWord\Tests\Writer;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\PhpWord;
|
use PhpOffice\PhpWord\PhpWord;
|
||||||
use PhpOffice\PhpWord\Writer\RTF;
|
use PhpOffice\PhpWord\Writer\RTF;
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests\Writer\Word2007;
|
namespace PhpOffice\PhpWord\Tests\Writer\Word2007;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\PhpWord;
|
use PhpOffice\PhpWord\PhpWord;
|
||||||
use PhpWord\Tests\TestHelperDOCX;
|
use PhpWord\Tests\TestHelperDOCX;
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests\Writer\Word2007;
|
namespace PhpOffice\PhpWord\Tests\Writer\Word2007;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\PhpWord;
|
use PhpOffice\PhpWord\PhpWord;
|
||||||
use PhpWord\Tests\TestHelperDOCX;
|
use PhpWord\Tests\TestHelperDOCX;
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests\Writer\Word2007;
|
namespace PhpOffice\PhpWord\Tests\Writer\Word2007;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\Writer\Word2007\Footer;
|
use PhpOffice\PhpWord\Writer\Word2007\Footer;
|
||||||
use PhpOffice\PhpWord\Writer\Word2007;
|
use PhpOffice\PhpWord\Writer\Word2007;
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests\Writer\Word2007;
|
namespace PhpOffice\PhpWord\Tests\Writer\Word2007;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\PhpWord;
|
use PhpOffice\PhpWord\PhpWord;
|
||||||
use PhpWord\Tests\TestHelperDOCX;
|
use PhpWord\Tests\TestHelperDOCX;
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests\Writer\Word2007;
|
namespace PhpOffice\PhpWord\Tests\Writer\Word2007;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\Writer\Word2007\Header;
|
use PhpOffice\PhpWord\Writer\Word2007\Header;
|
||||||
use PhpOffice\PhpWord\Writer\Word2007;
|
use PhpOffice\PhpWord\Writer\Word2007;
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests\Writer\Word2007;
|
namespace PhpOffice\PhpWord\Tests\Writer\Word2007;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\PhpWord;
|
use PhpOffice\PhpWord\PhpWord;
|
||||||
use PhpWord\Tests\TestHelperDOCX;
|
use PhpWord\Tests\TestHelperDOCX;
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests\Writer\Word2007;
|
namespace PhpOffice\PhpWord\Tests\Writer\Word2007;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\Writer\Word2007\WriterPart;
|
use PhpOffice\PhpWord\Writer\Word2007\WriterPart;
|
||||||
use PhpOffice\PhpWord\Writer\Word2007;
|
use PhpOffice\PhpWord\Writer\Word2007;
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests\Writer;
|
namespace PhpOffice\PhpWord\Tests\Writer;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\PhpWord;
|
use PhpOffice\PhpWord\PhpWord;
|
||||||
use PhpOffice\PhpWord\Writer\Word2007;
|
use PhpOffice\PhpWord\Writer\Word2007;
|
||||||
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 1.2 MiB |
|
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 37 KiB |
|
Before Width: | Height: | Size: 952 KiB After Width: | Height: | Size: 952 KiB |
|
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 54 KiB |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests;
|
namespace PhpOffice\PhpWord\Tests;
|
||||||
|
|
||||||
use PhpOffice\PhpWord\PhpWord;
|
use PhpOffice\PhpWord\PhpWord;
|
||||||
use PhpOffice\PhpWord\IOFactory;
|
use PhpOffice\PhpWord\IOFactory;
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace PhpWord\Tests;
|
namespace PhpOffice\PhpWord\Tests;
|
||||||
|
|
||||||
class XmlDocument
|
class XmlDocument
|
||||||
{
|
{
|
||||||
|
|
@ -10,5 +10,15 @@ if (!\defined('PHPWORD_TESTS_BASE_DIR')) {
|
||||||
require_once __DIR__ . '/../../src/PhpWord/Autoloader.php';
|
require_once __DIR__ . '/../../src/PhpWord/Autoloader.php';
|
||||||
\PhpOffice\PhpWord\Autoloader::register();
|
\PhpOffice\PhpWord\Autoloader::register();
|
||||||
|
|
||||||
require_once __DIR__ . '/TestHelperDOCX.php';
|
spl_autoload_register(function ($class) {
|
||||||
require_once __DIR__ . '/XmlDocument.php';
|
$class = ltrim($class, '\\');
|
||||||
|
$prefix = 'PhpOffice\\PhpWord\\Tests';
|
||||||
|
if (strpos($class, $prefix) === 0) {
|
||||||
|
$class = str_replace('\\', DIRECTORY_SEPARATOR, $class);
|
||||||
|
$class = 'PhpWord' . DIRECTORY_SEPARATOR . 'Tests' . DIRECTORY_SEPARATOR . '_includes' . substr($class, strlen($prefix));
|
||||||
|
$file = __DIR__ . DIRECTORY_SEPARATOR . $class . '.php';
|
||||||
|
if (file_exists($file)) {
|
||||||
|
require_once $file;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||