fix formating

This commit is contained in:
troosan 2017-09-14 00:00:48 +02:00
parent 6cd2633b85
commit 0115fc3d91
6 changed files with 11 additions and 7 deletions

View File

@ -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

View File

@ -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!');

View File

@ -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');

View File

@ -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'));

View File

@ -115,7 +115,8 @@ class StylesTest extends \PHPUnit_Framework_TestCase
$this->assertNull($element);
}
function testFontStyleBasedOnOtherFontStyle() {
function testFontStyleBasedOnOtherFontStyle()
{
$phpWord = new PhpWord();
$styleGenerationP = new Paragraph();

View File

@ -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);