Skip to content

Commit 8bb4573

Browse files
author
Roman Syroeshko
committed
#51 (updated tests, refactored a little).
1 parent 2a5c667 commit 8bb4573

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/PhpWord/Tests/AutoloaderTest.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,13 @@ public function testAutoload()
4848
$this->assertCount(
4949
$declaredCount,
5050
get_declared_classes(),
51-
'PhpOffice\\PhpWord\\Autoloader::autoload() is trying to load '
52-
. 'classes outside of the PhpOffice\\PhpWord namespace'
51+
'PhpOffice\\PhpWord\\Autoloader::autoload() is trying to load classes outside of the PhpOffice\\PhpWord namespace'
5352
);
5453
// TODO change this class to the main PhpWord class when it is namespaced
5554
Autoloader::autoload('PhpOffice\\PhpWord\\Exception\\InvalidStyleException');
5655
$this->assertTrue(
5756
in_array('PhpOffice\\PhpWord\\Exception\\InvalidStyleException', get_declared_classes()),
58-
'PhpOffice\\PhpWord\\Autoloader::autoload() failed to autoload the '
59-
. 'PhpOffice\\PhpWord\\Exception\\InvalidStyleException class'
57+
'PhpOffice\\PhpWord\\Autoloader::autoload() failed to autoload the PhpOffice\\PhpWord\\Exception\\InvalidStyleException class'
6058
);
6159
}
6260
}

0 commit comments

Comments
 (0)