File tree Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -22,8 +22,6 @@ matrix:
22
22
dist : trusty
23
23
- php : 5.5
24
24
dist : trusty
25
- - php : 7.0
26
- env : COVERAGE=1
27
25
- php : nightly
28
26
env : DEPENDENCIES="--ignore-platform-reqs"
29
27
exclude :
@@ -47,8 +45,6 @@ before_install:
47
45
- sudo apt-get install -y graphviz
48
46
49
47
before_script :
50
- # # Deactivate xdebug if we don't do code coverage
51
- - if [ -z "$COVERAGE" ]; then phpenv config-rm xdebug.ini || echo "xdebug not available" ; fi
52
48
# # Composer
53
49
- composer self-update
54
50
# # Composer in PHP versions 5.x requires 3 GB memory
@@ -60,17 +56,17 @@ before_script:
60
56
61
57
script :
62
58
# # PHP_CodeSniffer
63
- - if [ -z "$COVERAGE" ]; then ./vendor/bin/phpcs src/ tests/ --standard=PSR2 -n ; fi
59
+ - ./vendor/bin/phpcs src/ tests/ --standard=PSR2 -n
64
60
# # PHP Copy/Paste Detector
65
61
# - ./vendor/bin/phpcpd src/
66
62
# # PHP Mess Detector
67
- - if [ -z "$COVERAGE" ]; then ./vendor/bin/phpmd src/,tests/ text ./phpmd.xml.dist ; fi
63
+ - ./vendor/bin/phpmd src/,tests/ text ./phpmd.xml.dist
68
64
# # PHPUnit
69
- - ./vendor/bin/ phpunit -c ./ $(if [ -n "$COVERAGE" ]; then echo -- coverage-text --coverage-html ./build/coverage; else echo --no-coverage; fi)
65
+ - phpunit -c ./ -- coverage-text --coverage-html ./build/coverage
70
66
# # PHPLOC
71
- - if [ -z "$COVERAGE" ]; then ./vendor/bin/phploc src/ ; fi
67
+ - ./vendor/bin/phploc src/
72
68
# # PHPDocumentor
73
- # - if [ -z "$COVERAGE" ]; then ./vendor/bin/phpdoc -q -d ./src -t ./build/docs --template="responsive-twig" ; fi
69
+ # - ./vendor/bin/phpdoc -q -d ./src -t ./build/docs --template="responsive-twig"
74
70
75
71
after_script :
76
72
# # PHPDocumentor
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ public function testWriteAttributeShouldWriteFloatValueLocaleIndependent()
64
64
$ xmlWriter ->endElement ();
65
65
66
66
setlocale (LC_NUMERIC , 'de_DE.UTF-8 ' , 'de ' );
67
-
67
+
68
68
$ this ->assertSame ('<element name="1.2"/> ' . chr (10 ), $ xmlWriter ->getData ());
69
69
}
70
70
}
You can’t perform that action at this time.
0 commit comments