File tree Expand file tree Collapse file tree 5 files changed +6
-17
lines changed
Expand file tree Collapse file tree 5 files changed +6
-17
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ matrix:
1010 - php : 5.4
1111 - php : 5.5
1212 - php : 5.6
13- env : SCRUTINIZER=1
13+ env : SCRUTINIZER=1 PHPUNIT_FLAGS="--coverage-clover=coverage.xml"
1414 - php : 7.0
1515 env : COMPOSER_FLAGS="--prefer-lowest"
1616 - php : 7.1
@@ -26,14 +26,15 @@ cache:
2626 - $HOME/.composer/cache
2727
2828before_script :
29+ - if [[ SCRUTINIZER != '1' ]]; then phpenv config-rm xdebug.ini || true; fi
2930 - composer self-update
3031 - composer update $COMPOSER_FLAGS --prefer-dist
3132
3233script :
3334 - stty cols 120
3435 - if [ "$CS_FIXER" == 1 ]; then wget https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v2.13.1/php-cs-fixer.phar && php php-cs-fixer.phar fix --dry-run --diff; fi
3536 - mkdir -p build/logs
36- - ./vendor/bin/phpunit --coverage-clover=coverage.xml
37+ - ./vendor/bin/phpunit $PHPUNIT_FLAGS
3738
3839after_script :
3940 - if [ "$SCRUTINIZER" == 1 ]; then wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover coverage.xml; fi
Original file line number Diff line number Diff line change 2626 "php" : " >=5.3.0"
2727 },
2828 "require-dev" : {
29- "satooshi/php-coveralls" : " 1.0.*" ,
30- "phpunit/phpunit" : " ^4.8.35" ,
31- "sami/sami" : " ~2.0"
29+ "phpunit/phpunit" : " ^4.8.35"
3230 },
3331 "autoload" : {
3432 "psr-4" : {"Masterminds\\ " : " src" }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -475,7 +475,7 @@ public function endTag($name)
475475 $ lname = $ this ->normalizeTagName ($ name );
476476
477477 // Special case within 12.2.6.4.7: An end tag whose tag name is "br" should be treated as an opening tag
478- if ($ name === ' br ' ) {
478+ if (' br ' === $ name ) {
479479 $ this ->parseError ('Closing tag encountered for void element br. ' );
480480
481481 $ this ->startTag ('br ' );
Original file line number Diff line number Diff line change @@ -718,7 +718,7 @@ public function testIAudioInParagraph()
718718
719719 public function testClosingBr ()
720720 {
721- $ html = <<<EOM
721+ $ html = <<<EOM
722722<!DOCTYPE html>
723723<html>
724724 <head>
You can’t perform that action at this time.
0 commit comments