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 1
1
{
2
2
"name" : " codedungeon/phpunit-result-printer" ,
3
- "version" : " 0.26.2 " ,
3
+ "version" : " 0.27.0 " ,
4
4
"description" : " PHPUnit Pretty Result Printer" ,
5
5
"keywords" : [
6
6
" phpunit" ,
25
25
"symfony/yaml" : " ^2.7|^3.0|^4.0" ,
26
26
"codedungeon/php-cli-colors" : " ^1.10.2" ,
27
27
"2bj/phanybar" : " ^1.0" ,
28
- "phpunit/phpunit" : " ^8.0"
28
+ "phpunit/phpunit" : " ^8.0|^9.0 "
29
29
},
30
30
"require-dev" : {
31
31
"spatie/phpunit-watcher" : " ^1.6"
Original file line number Diff line number Diff line change 9
9
cd-pass : " ✔ "
10
10
cd-fail : " ✖ "
11
11
cd-error : " ⚈ "
12
- cd-skipped : " => "
12
+ cd-skipped : " ⇢ "
13
13
cd-incomplete : " ∅ "
14
14
cd-risky : " ⌽ "
Original file line number Diff line number Diff line change 11
11
use PHPUnit \Framework \TestFailure ;
12
12
13
13
$ low = version_compare (Version::series (), '8.0 ' , '>= ' );
14
- <<<<<<< HEAD
15
- $ high = true ; // version_compare(Version::series(),'7.1.99','<=');
16
- =======
17
14
$ high = version_compare (Version::series (),'8.99.99 ' ,'<= ' );
18
- >>>>>>> php74-phpunit9
19
15
20
16
if ($ low && $ high ) {
21
17
class ResultPrinter80 extends ResultPrinter
@@ -87,7 +83,7 @@ protected function formatExceptionMsg($exceptionMessage): string
87
83
return "$ exceptionMessage " ;
88
84
}
89
85
90
- protected function printDefectTrace (TestFailure $ defect ): void
86
+ protected function printDefectTrace (TestFailure $ defect ):void
91
87
{
92
88
$ this ->write ($ this ->formatExceptionMsg ($ defect ->getExceptionAsString ()));
93
89
$ trace = Filter::getFilteredStacktrace (
@@ -100,8 +96,8 @@ protected function printDefectTrace(TestFailure $defect): void
100
96
while ($ exception ) {
101
97
$ this ->write (
102
98
"\nCaused by \n" .
103
- TestFailure::exceptionToString ($ exception ) . "\n" .
104
- Filter::getFilteredStacktrace ($ exception )
99
+ TestFailure::exceptionToString ($ exception ) . "\n" .
100
+ Filter::getFilteredStacktrace ($ exception )
105
101
);
106
102
$ exception = $ exception ->getPrevious ();
107
103
}
Original file line number Diff line number Diff line change 9
9
cd-pass : " ✔ "
10
10
cd-fail : " ✖ "
11
11
cd-error : " ⚈ "
12
- cd-skipped : " => "
12
+ cd-skipped : " ⇢ "
13
13
cd-incomplete : " ∅ "
14
- cd-risky : " ⌽ "
14
+ cd-risky : " ⌽ "
You can’t perform that action at this time.
0 commit comments