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:
10
10
- php : 5.4
11
11
- php : 5.5
12
12
- php : 5.6
13
- env : SCRUTINIZER=1
13
+ env : SCRUTINIZER=1 PHPUNIT_FLAGS="--coverage-clover=coverage.xml"
14
14
- php : 7.0
15
15
env : COMPOSER_FLAGS="--prefer-lowest"
16
16
- php : 7.1
@@ -26,14 +26,15 @@ cache:
26
26
- $HOME/.composer/cache
27
27
28
28
before_script :
29
+ - if [[ SCRUTINIZER != '1' ]]; then phpenv config-rm xdebug.ini || true; fi
29
30
- composer self-update
30
31
- composer update $COMPOSER_FLAGS --prefer-dist
31
32
32
33
script :
33
34
- stty cols 120
34
35
- 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
35
36
- mkdir -p build/logs
36
- - ./vendor/bin/phpunit --coverage-clover=coverage.xml
37
+ - ./vendor/bin/phpunit $PHPUNIT_FLAGS
37
38
38
39
after_script :
39
40
- 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 26
26
"php" : " >=5.3.0"
27
27
},
28
28
"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"
32
30
},
33
31
"autoload" : {
34
32
"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)
475
475
$ lname = $ this ->normalizeTagName ($ name );
476
476
477
477
// 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 ) {
479
479
$ this ->parseError ('Closing tag encountered for void element br. ' );
480
480
481
481
$ this ->startTag ('br ' );
Original file line number Diff line number Diff line change @@ -718,7 +718,7 @@ public function testIAudioInParagraph()
718
718
719
719
public function testClosingBr ()
720
720
{
721
- $ html = <<<EOM
721
+ $ html = <<<EOM
722
722
<!DOCTYPE html>
723
723
<html>
724
724
<head>
You can’t perform that action at this time.
0 commit comments