File tree Expand file tree Collapse file tree 4 files changed +20
-17
lines changed
Expand file tree Collapse file tree 4 files changed +20
-17
lines changed Original file line number Diff line number Diff line change 1515 "require" : {
1616 "php" : " >=7.4" ,
1717
18- "jbzoo/phpunit" : " >=4.13.1 " ,
19- "jbzoo/codestyle" : " >= 4.0.0 " ,
20- "jbzoo/markdown" : " >= 1.1.1" ,
18+ "jbzoo/phpunit" : " ^5.0.0 " ,
19+ "jbzoo/codestyle" : " ^ 4.0.1 " ,
20+ "jbzoo/markdown" : " ^ 1.1.1" ,
2121
2222 "jbzoo/jbdump" : " >=1.5.6" ,
2323 "symfony/var-dumper" : " >=4.4" ,
Original file line number Diff line number Diff line change 1111 @copyright Copyright (C) JBZoo.com, All rights reserved.
1212 @link https://github.com/JBZoo/Toolbox-Dev
1313-->
14- <phpunit bootstrap =" tests/autoload.php"
14+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
15+ bootstrap =" tests/autoload.php"
1516 convertErrorsToExceptions =" true"
1617 convertNoticesToExceptions =" true"
1718 convertWarningsToExceptions =" true"
2324 stopOnIncomplete =" false"
2425 stopOnSkipped =" false"
2526 stopOnRisky =" false"
27+ xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.3/phpunit.xsd"
2628>
29+ <coverage processUncoveredFiles =" true" >
30+ <include >
31+ <directory suffix =" .php" >src</directory >
32+ </include >
33+ <report >
34+ <clover outputFile =" build/coverage_xml/main.xml" />
35+ <php outputFile =" build/coverage_cov/main.cov" />
36+ <text outputFile =" php://stdout" showUncoveredFiles =" true" showOnlySummary =" false" />
37+ </report >
38+ </coverage >
2739
2840 <testsuites >
2941 <testsuite name =" PHPUnit" >
3042 <directory suffix =" Test.php" >tests</directory >
3143 </testsuite >
3244 </testsuites >
3345
34- <filter >
35- <whitelist processUncoveredFilesFromWhitelist =" true" >
36- <directory suffix =" .php" >src</directory >
37- </whitelist >
38- </filter >
39-
4046 <logging >
41- <log type =" coverage-clover" target =" build/coverage_xml/main.xml" />
42- <log type =" coverage-php" target =" build/coverage_cov/main.cov" />
43- <log type =" junit" target =" build/coverage_junit/main.xml" />
44- <log type =" coverage-text" target =" php://stdout" showUncoveredFiles =" true" showOnlySummary =" false" />
47+ <junit outputFile =" build/coverage_junit/main.xml" />
4548 </logging >
46-
4749</phpunit >
Original file line number Diff line number Diff line change 1616declare (strict_types=1 );
1717
1818use Symfony \Component \VarDumper \Cloner \VarCloner ;
19+ use Symfony \Component \VarDumper \Dumper \AbstractDumper ;
1920use Symfony \Component \VarDumper \Dumper \CliDumper ;
2021use Symfony \Component \VarDumper \VarDumper ;
2122
3132 $ varCloner ->setMaxItems (500 );
3233 $ varCloner ->setMaxString ($ maxStringWidth );
3334
34- $ cliDumper = new CliDumper (null , 'UTF-8 ' , CliDumper ::DUMP_COMMA_SEPARATOR );
35+ $ cliDumper = new CliDumper (null , 'UTF-8 ' , AbstractDumper ::DUMP_COMMA_SEPARATOR );
3536 $ cliDumper ->setMaxStringWidth ($ maxStringWidth );
3637 $ cliDumper ->setIndentPad (' ' );
3738 $ cliDumper ->setDisplayOptions (['fileLinkFormat ' => false ]);
Original file line number Diff line number Diff line change 2424 */
2525class ToolboxDevReadmeTest extends AbstractReadmeTest
2626{
27- protected $ packageName = 'Toolbox-Dev ' ;
27+ protected string $ packageName = 'Toolbox-Dev ' ;
2828}
You can’t perform that action at this time.
0 commit comments