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