File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ before_install:
1111
1212before_script :
1313 - phpenv config-rm xdebug.ini
14+ - export XDEBUG_MODE=coverage
1415
1516script :
1617 - vendor/bin/phpunit
Original file line number Diff line number Diff line change 1- <phpunit bootstrap =" ./tests/bootstrap.php" colors =" true" >
2- <testsuites >
3- <testsuite name =" OneLogin PHP-SAML Test Suite" >
4- <directory >./tests/src</directory >
5- </testsuite >
6- </testsuites >
7- <filter >
8- <whitelist processUncoveredFilesFromWhitelist =" true" >
9- <directory >./src</directory >
10- </whitelist >
11- </filter >
12- <logging >
13- <log type =" coverage-html" target =" ./tests/build/coverage" lowUpperBound =" 35" highLowerBound =" 70" />
14- <log type =" coverage-xml" target =" ./tests/build/logfile.xml" />
15- <log type =" coverage-clover" target =" ./tests/build/logs/clover.xml" />
16- <log type =" coverage-php" target =" ./tests/build/logs/coverage.cov" />
17- </logging >
1+ <?xml version =" 1.0" ?>
2+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" bootstrap =" tests/bootstrap.php" colors =" true" xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.3/phpunit.xsd" verbose =" true" >
3+ <coverage processUncoveredFiles =" true" >
4+ <include >
5+ <directory >./src</directory >
6+ </include >
7+ <report >
8+ <clover outputFile =" tests/build/logs/clover.xml" />
9+ <html outputDirectory =" tests/build/coverage" lowUpperBound =" 35" highLowerBound =" 70" />
10+ <php outputFile =" tests/build/logs/coverage.cov" />
11+ <xml outputDirectory =" tests/build/logfile.xml" />
12+ </report >
13+ </coverage >
14+ <testsuites >
15+ <testsuite name =" OneLogin PHP-SAML Test Suite" >
16+ <directory >./tests/src</directory >
17+ </testsuite >
18+ </testsuites >
19+ <logging />
1820</phpunit >
Original file line number Diff line number Diff line change 11<?php
2+ ini_set ('error_reporting ' , E_ALL );
3+ ini_set ('display_errors ' , '1 ' );
4+ ini_set ('display_startup_errors ' , '1 ' );
25
36include ('compatibility.php ' );
47
You can’t perform that action at this time.
0 commit comments