fix formating
This commit is contained in:
parent
6cd2633b85
commit
0115fc3d91
|
|
@ -55,5 +55,4 @@ after_script:
|
|||
## PHPDocumentor
|
||||
- bash .travis_shell_after_success.sh
|
||||
## Scrutinizer
|
||||
- wget https://scrutinizer-ci.com/ocular.phar
|
||||
- php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
|
||||
- if [ -n "$COVERAGE" ]; then wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml ; fi
|
||||
|
|
|
|||
|
|
@ -152,7 +152,8 @@ class PhpWordTest extends \PHPUnit_Framework_TestCase
|
|||
*/
|
||||
public function testSave()
|
||||
{
|
||||
$this->setOutputCallback(function() {});
|
||||
$this->setOutputCallback(function () {
|
||||
});
|
||||
$phpWord = new PhpWord();
|
||||
$section = $phpWord->addSection();
|
||||
$section->addText('Hello world!');
|
||||
|
|
|
|||
|
|
@ -102,7 +102,8 @@ class ODTextTest extends \PHPUnit_Framework_TestCase
|
|||
*/
|
||||
public function testSavePhpOutput()
|
||||
{
|
||||
$this->setOutputCallback(function() {});
|
||||
$this->setOutputCallback(function () {
|
||||
});
|
||||
$phpWord = new PhpWord();
|
||||
$section = $phpWord->addSection();
|
||||
$section->addText('Test');
|
||||
|
|
|
|||
|
|
@ -103,7 +103,8 @@ class RTFTest extends \PHPUnit_Framework_TestCase
|
|||
*/
|
||||
public function testSavePhpOutput()
|
||||
{
|
||||
$this->setOutputCallback(function() {});
|
||||
$this->setOutputCallback(function () {
|
||||
});
|
||||
$phpWord = new PhpWord();
|
||||
$section = $phpWord->addSection();
|
||||
$section->addText(htmlspecialchars('Test', ENT_COMPAT, 'UTF-8'));
|
||||
|
|
|
|||
|
|
@ -115,7 +115,8 @@ class StylesTest extends \PHPUnit_Framework_TestCase
|
|||
$this->assertNull($element);
|
||||
}
|
||||
|
||||
function testFontStyleBasedOnOtherFontStyle() {
|
||||
function testFontStyleBasedOnOtherFontStyle()
|
||||
{
|
||||
$phpWord = new PhpWord();
|
||||
|
||||
$styleGenerationP = new Paragraph();
|
||||
|
|
|
|||
|
|
@ -166,7 +166,8 @@ class Word2007Test extends \PHPUnit_Framework_TestCase
|
|||
*/
|
||||
public function testSetGetUseDiskCaching()
|
||||
{
|
||||
$this->setOutputCallback(function() {});
|
||||
$this->setOutputCallback(function () {
|
||||
});
|
||||
$phpWord = new PhpWord();
|
||||
$phpWord->addSection();
|
||||
$object = new Word2007($phpWord);
|
||||
|
|
|
|||
Loading…
Reference in New Issue