File tree Expand file tree Collapse file tree 5 files changed +8
-46
lines changed Expand file tree Collapse file tree 5 files changed +8
-46
lines changed Original file line number Diff line number Diff line change 11build
22vendor
33composer.lock
4+ .phpunit.result.cache
45tests /files
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1616 ],
1717 "license" : " MIT" ,
1818 "require" : {
19- "php" : " ^5.6 || ^7 .0"
19+ "php" : " ^7.3 || ^8 .0"
2020 },
2121 "autoload" : {
2222 "psr-4" : {
3232 "test" : " vendor/bin/phpunit"
3333 },
3434 "require-dev" : {
35- "phpunit/phpunit" : " ^5.7 || ^7 .0"
35+ "phpunit/phpunit" : " ^9 .0"
3636 }
3737}
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
2- <phpunit bootstrap =" vendor/autoload.php"
3- backupGlobals =" false"
4- backupStaticAttributes =" false"
5- colors =" true"
6- verbose =" true"
7- convertErrorsToExceptions =" true"
8- convertNoticesToExceptions =" true"
9- convertWarningsToExceptions =" true"
10- processIsolation =" false"
11- stopOnFailure =" false" >
2+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" bootstrap =" vendor/autoload.php" backupGlobals =" false" backupStaticAttributes =" false" colors =" true" verbose =" true" convertErrorsToExceptions =" true" convertNoticesToExceptions =" true" convertWarningsToExceptions =" true" processIsolation =" false" stopOnFailure =" false" xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.3/phpunit.xsd" >
123 <testsuites >
13- <testsuite name =" League Test Suite" >
4+ <testsuite name =" Test Suite" >
145 <directory >tests</directory >
156 </testsuite >
167 </testsuites >
17- <filter >
18- <whitelist >
19- <directory suffix =" .php" >src/</directory >
20- </whitelist >
21- </filter >
22- <logging >
23- <log type =" tap" target =" build/report.tap" />
24- <log type =" junit" target =" build/report.junit.xml" />
25- <log type =" coverage-html" target =" build/coverage" charset =" UTF-8" yui =" true" highlight =" true" />
26- <log type =" coverage-text" target =" build/coverage.txt" />
27- <log type =" coverage-clover" target =" build/logs/clover.xml" />
28- </logging >
29- </phpunit >
8+ </phpunit >
Original file line number Diff line number Diff line change @@ -8,14 +8,14 @@ class TestCase extends PHPUnitTestCase
88{
99 const DIR_WORK = __DIR__ .'/files/ ' ;
1010
11- public function setUp ()
11+ public function setUp (): void
1212 {
1313 if (! is_dir (self ::DIR_WORK )) {
1414 mkdir (self ::DIR_WORK );
1515 }
1616 }
1717
18- public function tearDown ()
18+ public function tearDown (): void
1919 {
2020 $ files = array_diff (scandir (self ::DIR_WORK ), ['. ' , '.. ' ]);
2121
You can’t perform that action at this time.
0 commit comments