File tree Expand file tree Collapse file tree 4 files changed +8
-12
lines changed Expand file tree Collapse file tree 4 files changed +8
-12
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " codedungeon/phpunit-result-printer" ,
3- "version" : " 0.26.2 " ,
3+ "version" : " 0.27.0 " ,
44 "description" : " PHPUnit Pretty Result Printer" ,
55 "keywords" : [
66 " phpunit" ,
2525 "symfony/yaml" : " ^2.7|^3.0|^4.0" ,
2626 "codedungeon/php-cli-colors" : " ^1.10.2" ,
2727 "2bj/phanybar" : " ^1.0" ,
28- "phpunit/phpunit" : " ^8.0"
28+ "phpunit/phpunit" : " ^8.0|^9.0 "
2929 },
3030 "require-dev" : {
3131 "spatie/phpunit-watcher" : " ^1.6"
Original file line number Diff line number Diff line change 99 cd-pass : " ✔ "
1010 cd-fail : " ✖ "
1111 cd-error : " ⚈ "
12- cd-skipped : " => "
12+ cd-skipped : " ⇢ "
1313 cd-incomplete : " ∅ "
1414 cd-risky : " ⌽ "
Original file line number Diff line number Diff line change 1111use PHPUnit \Framework \TestFailure ;
1212
1313$ low = version_compare (Version::series (), '8.0 ' , '>= ' );
14- <<<<<<< HEAD
15- $ high = true ; // version_compare(Version::series(),'7.1.99','<=');
16- =======
1714$ high = version_compare (Version::series (),'8.99.99 ' ,'<= ' );
18- >>>>>>> php74-phpunit9
1915
2016if ($ low && $ high ) {
2117 class ResultPrinter80 extends ResultPrinter
@@ -87,7 +83,7 @@ protected function formatExceptionMsg($exceptionMessage): string
8783 return "$ exceptionMessage " ;
8884 }
8985
90- protected function printDefectTrace (TestFailure $ defect ): void
86+ protected function printDefectTrace (TestFailure $ defect ):void
9187 {
9288 $ this ->write ($ this ->formatExceptionMsg ($ defect ->getExceptionAsString ()));
9389 $ trace = Filter::getFilteredStacktrace (
@@ -100,8 +96,8 @@ protected function printDefectTrace(TestFailure $defect): void
10096 while ($ exception ) {
10197 $ this ->write (
10298 "\nCaused by \n" .
103- TestFailure::exceptionToString ($ exception ) . "\n" .
104- Filter::getFilteredStacktrace ($ exception )
99+ TestFailure::exceptionToString ($ exception ) . "\n" .
100+ Filter::getFilteredStacktrace ($ exception )
105101 );
106102 $ exception = $ exception ->getPrevious ();
107103 }
Original file line number Diff line number Diff line change 99 cd-pass : " ✔ "
1010 cd-fail : " ✖ "
1111 cd-error : " ⚈ "
12- cd-skipped : " => "
12+ cd-skipped : " ⇢ "
1313 cd-incomplete : " ∅ "
14- cd-risky : " ⌽ "
14+ cd-risky : " ⌽ "
You can’t perform that action at this time.
0 commit comments