diff --git a/.scrutinizer.yml b/.scrutinizer.yml index 8efd68d3..d6a58c0f 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -8,9 +8,8 @@ tools: external_code_coverage: enabled: true timeout: 900 - php_code_coverage: - enabled: false - test_command: phpunit -c phpunit.xml.dist - php_sim: true + php_sim: + min_mass: 25 php_pdepend: true php_analyzer: true + sensiolabs_security_checker: true diff --git a/src/PhpWord/Writer/HTML/Element/Text.php b/src/PhpWord/Writer/HTML/Element/Text.php index 7130ea21..96e0c25e 100644 --- a/src/PhpWord/Writer/HTML/Element/Text.php +++ b/src/PhpWord/Writer/HTML/Element/Text.php @@ -40,7 +40,6 @@ class Text extends Element return; } - $html = ''; // Paragraph style $paragraphStyle = $this->element->getParagraphStyle(); $pStyleIsObject = ($paragraphStyle instanceof Paragraph);