File tree Expand file tree Collapse file tree 8 files changed +32
-22
lines changed
Expand file tree Collapse file tree 8 files changed +32
-22
lines changed Original file line number Diff line number Diff line change 11language : php
2-
32dist : trusty
43
54matrix :
98 - php : 7.4
109 env : ANALYSIS='true'
1110 - php : nightly
11+
1212 allow_failures :
1313 - php : nightly
1414
Original file line number Diff line number Diff line change 1818 }
1919 ],
2020 "require" : {
21- "php" : " ^7.2" ,
21+ "php" : " ^7.2 || ^8.0 " ,
2222 "psr/http-message" : " ^1.0" ,
2323 "psr/http-server-middleware" : " ^1.0"
2424 },
2525 "require-dev" : {
26+ "phpunit/phpunit" : " ^8.5.13 || ^9.3.8" ,
2627 "slim/psr7" : " ^1.1" ,
27- "phpunit/phpunit" : " ^8.5" ,
2828 "squizlabs/php_codesniffer" : " ^3.5" ,
2929 "phpstan/phpstan" : " ^0.12.28"
3030 },
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
22<phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3- xsi : noNamespaceSchemaLocation =" http ://schema.phpunit.de/8.5 /phpunit.xsd"
3+ xsi : noNamespaceSchemaLocation =" https ://schema.phpunit.de/9.3 /phpunit.xsd"
44 backupGlobals =" false"
55 backupStaticAttributes =" false"
66 beStrictAboutTestsThatDoNotTestAnything =" true"
1919 <directory >./tests/</directory >
2020 </testsuite >
2121 </testsuites >
22- <filter >
23- <whitelist processUncoveredFilesFromWhitelist = " true " >
22+ <coverage processUncoveredFiles = " true " >
23+ <include >
2424 <directory >./src/</directory >
25- </whitelist >
26- </filter >
27- <logging >
28- <log
29- type =" coverage-html"
30- target =" ./coverage"
31- lowUpperBound =" 20"
32- highLowerBound =" 50"
33- />
34- </logging >
25+ </include >
26+ <report >
27+ <html outputDirectory =" ./coverage" lowUpperBound =" 20" highLowerBound =" 50" />
28+ </report >
29+ </coverage >
30+ <logging />
3531</phpunit >
Original file line number Diff line number Diff line change 22/**
33 * Slim Framework (https://www.slimframework.com)
44 *
5- * @license https://github.com/slimphp/Slim-HttpCache/blob/master/LICENSE.md (MIT License)
5+ * @license https://github.com/slimphp/Slim-HttpCache/blob/master/LICENSE.md (MIT License)
66 */
77
88declare (strict_types=1 );
Original file line number Diff line number Diff line change 22/**
33 * Slim Framework (https://www.slimframework.com)
44 *
5- * @license https://github.com/slimphp/Slim-HttpCache/blob/master/LICENSE.md (MIT License)
5+ * @license https://github.com/slimphp/Slim-HttpCache/blob/master/LICENSE.md (MIT License)
66 */
77
88declare (strict_types=1 );
Original file line number Diff line number Diff line change 22/**
33 * Slim Framework (https://www.slimframework.com)
44 *
5- * @license https://github.com/slimphp/Slim-HttpCache/blob/master/LICENSE.md (MIT License)
5+ * @license https://github.com/slimphp/Slim-HttpCache/blob/master/LICENSE.md (MIT License)
66 */
77
88declare (strict_types=1 );
99
1010namespace Slim \HttpCache \Tests ;
1111
1212use InvalidArgumentException ;
13- use PHPUnit \Framework \TestCase ;
1413use Psr \Http \Message \ResponseInterface ;
1514use Slim \HttpCache \CacheProvider ;
1615use Slim \Psr7 \Factory \ResponseFactory ;
Original file line number Diff line number Diff line change 22/**
33 * Slim Framework (https://www.slimframework.com)
44 *
5- * @license https://github.com/slimphp/Slim-HttpCache/blob/master/LICENSE.md (MIT License)
5+ * @license https://github.com/slimphp/Slim-HttpCache/blob/master/LICENSE.md (MIT License)
66 */
77
88declare (strict_types=1 );
99
1010namespace Slim \HttpCache \Tests ;
1111
12- use PHPUnit \Framework \TestCase ;
1312use Psr \Http \Message \ResponseInterface ;
1413use Psr \Http \Message \ServerRequestInterface ;
1514use Psr \Http \Server \RequestHandlerInterface ;
Original file line number Diff line number Diff line change 1+ <?php
2+ /**
3+ * Slim Framework (https://www.slimframework.com)
4+ *
5+ * @license https://github.com/slimphp/Slim-HttpCache/blob/master/LICENSE.md (MIT License)
6+ */
7+
8+ declare (strict_types=1 );
9+
10+ namespace Slim \HttpCache \Tests ;
11+
12+ use PHPUnit \Framework \TestCase as PhpUnitTestCase ;
13+
14+ abstract class TestCase extends PhpUnitTestCase
15+ {
16+ }
You can’t perform that action at this time.
0 commit comments